xheditor 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. data/Gemfile +13 -0
  2. data/LICENSE.txt +20 -0
  3. data/README.rdoc +19 -0
  4. data/Rakefile +55 -0
  5. data/assets/xheditor/xheditor-en.min.js +109 -0
  6. data/assets/xheditor/xheditor-zh-cn.min.js +112 -0
  7. data/assets/xheditor/xheditor-zh-tw.min.js +112 -0
  8. data/assets/xheditor/xheditor.js +0 -0
  9. data/assets/xheditor/xheditor_emot/default/angry.gif +0 -0
  10. data/assets/xheditor/xheditor_emot/default/awkward.gif +0 -0
  11. data/assets/xheditor/xheditor_emot/default/bye.gif +0 -0
  12. data/assets/xheditor/xheditor_emot/default/config.txt +1 -0
  13. data/assets/xheditor/xheditor_emot/default/crazy.gif +0 -0
  14. data/assets/xheditor/xheditor_emot/default/cry.gif +0 -0
  15. data/assets/xheditor/xheditor_emot/default/curse.gif +0 -0
  16. data/assets/xheditor/xheditor_emot/default/cute.gif +0 -0
  17. data/assets/xheditor/xheditor_emot/default/despise.gif +0 -0
  18. data/assets/xheditor/xheditor_emot/default/doubt.gif +0 -0
  19. data/assets/xheditor/xheditor_emot/default/envy.gif +0 -0
  20. data/assets/xheditor/xheditor_emot/default/fastcry.gif +0 -0
  21. data/assets/xheditor/xheditor_emot/default/knock.gif +0 -0
  22. data/assets/xheditor/xheditor_emot/default/laugh.gif +0 -0
  23. data/assets/xheditor/xheditor_emot/default/mad.gif +0 -0
  24. data/assets/xheditor/xheditor_emot/default/ohmy.gif +0 -0
  25. data/assets/xheditor/xheditor_emot/default/panic.gif +0 -0
  26. data/assets/xheditor/xheditor_emot/default/proud.gif +0 -0
  27. data/assets/xheditor/xheditor_emot/default/quiet.gif +0 -0
  28. data/assets/xheditor/xheditor_emot/default/sad.gif +0 -0
  29. data/assets/xheditor/xheditor_emot/default/shutup.gif +0 -0
  30. data/assets/xheditor/xheditor_emot/default/shy.gif +0 -0
  31. data/assets/xheditor/xheditor_emot/default/sleep.gif +0 -0
  32. data/assets/xheditor/xheditor_emot/default/smile.gif +0 -0
  33. data/assets/xheditor/xheditor_emot/default/struggle.gif +0 -0
  34. data/assets/xheditor/xheditor_emot/default/titter.gif +0 -0
  35. data/assets/xheditor/xheditor_emot/default/tongue.gif +0 -0
  36. data/assets/xheditor/xheditor_emot/default/wail.gif +0 -0
  37. data/assets/xheditor/xheditor_emot/default/wronged.gif +0 -0
  38. data/assets/xheditor/xheditor_emot/ipb/alien.gif +0 -0
  39. data/assets/xheditor/xheditor_emot/ipb/angel.gif +0 -0
  40. data/assets/xheditor/xheditor_emot/ipb/angry.gif +0 -0
  41. data/assets/xheditor/xheditor_emot/ipb/bandit.gif +0 -0
  42. data/assets/xheditor/xheditor_emot/ipb/biglaugh.gif +0 -0
  43. data/assets/xheditor/xheditor_emot/ipb/blink.gif +0 -0
  44. data/assets/xheditor/xheditor_emot/ipb/blush.gif +0 -0
  45. data/assets/xheditor/xheditor_emot/ipb/config.txt +1 -0
  46. data/assets/xheditor/xheditor_emot/ipb/cool.gif +0 -0
  47. data/assets/xheditor/xheditor_emot/ipb/cry.gif +0 -0
  48. data/assets/xheditor/xheditor_emot/ipb/depres.gif +0 -0
  49. data/assets/xheditor/xheditor_emot/ipb/devil.gif +0 -0
  50. data/assets/xheditor/xheditor_emot/ipb/glare.gif +0 -0
  51. data/assets/xheditor/xheditor_emot/ipb/heart.gif +0 -0
  52. data/assets/xheditor/xheditor_emot/ipb/joyful.gif +0 -0
  53. data/assets/xheditor/xheditor_emot/ipb/kiss.gif +0 -0
  54. data/assets/xheditor/xheditor_emot/ipb/laugh.gif +0 -0
  55. data/assets/xheditor/xheditor_emot/ipb/magician.gif +0 -0
  56. data/assets/xheditor/xheditor_emot/ipb/ninja.gif +0 -0
  57. data/assets/xheditor/xheditor_emot/ipb/pinch.gif +0 -0
  58. data/assets/xheditor/xheditor_emot/ipb/police.gif +0 -0
  59. data/assets/xheditor/xheditor_emot/ipb/sad.gif +0 -0
  60. data/assets/xheditor/xheditor_emot/ipb/sick.gif +0 -0
  61. data/assets/xheditor/xheditor_emot/ipb/sideways.gif +0 -0
  62. data/assets/xheditor/xheditor_emot/ipb/sleep.gif +0 -0
  63. data/assets/xheditor/xheditor_emot/ipb/smile.gif +0 -0
  64. data/assets/xheditor/xheditor_emot/ipb/surprised.gif +0 -0
  65. data/assets/xheditor/xheditor_emot/ipb/tongue.gif +0 -0
  66. data/assets/xheditor/xheditor_emot/ipb/unsure.gif +0 -0
  67. data/assets/xheditor/xheditor_emot/ipb/w00t.gif +0 -0
  68. data/assets/xheditor/xheditor_emot/ipb/whistling.gif +0 -0
  69. data/assets/xheditor/xheditor_emot/ipb/wondering.gif +0 -0
  70. data/assets/xheditor/xheditor_emot/ipb/wub.gif +0 -0
  71. data/assets/xheditor/xheditor_emot/msn/1.gif +0 -0
  72. data/assets/xheditor/xheditor_emot/msn/10.gif +0 -0
  73. data/assets/xheditor/xheditor_emot/msn/11.gif +0 -0
  74. data/assets/xheditor/xheditor_emot/msn/12.gif +0 -0
  75. data/assets/xheditor/xheditor_emot/msn/13.gif +0 -0
  76. data/assets/xheditor/xheditor_emot/msn/14.gif +0 -0
  77. data/assets/xheditor/xheditor_emot/msn/15.gif +0 -0
  78. data/assets/xheditor/xheditor_emot/msn/16.gif +0 -0
  79. data/assets/xheditor/xheditor_emot/msn/17.gif +0 -0
  80. data/assets/xheditor/xheditor_emot/msn/18.gif +0 -0
  81. data/assets/xheditor/xheditor_emot/msn/19.gif +0 -0
  82. data/assets/xheditor/xheditor_emot/msn/2.gif +0 -0
  83. data/assets/xheditor/xheditor_emot/msn/20.gif +0 -0
  84. data/assets/xheditor/xheditor_emot/msn/21.gif +0 -0
  85. data/assets/xheditor/xheditor_emot/msn/22.gif +0 -0
  86. data/assets/xheditor/xheditor_emot/msn/23.gif +0 -0
  87. data/assets/xheditor/xheditor_emot/msn/24.gif +0 -0
  88. data/assets/xheditor/xheditor_emot/msn/25.gif +0 -0
  89. data/assets/xheditor/xheditor_emot/msn/26.gif +0 -0
  90. data/assets/xheditor/xheditor_emot/msn/27.gif +0 -0
  91. data/assets/xheditor/xheditor_emot/msn/28.gif +0 -0
  92. data/assets/xheditor/xheditor_emot/msn/29.gif +0 -0
  93. data/assets/xheditor/xheditor_emot/msn/3.gif +0 -0
  94. data/assets/xheditor/xheditor_emot/msn/30.gif +0 -0
  95. data/assets/xheditor/xheditor_emot/msn/31.gif +0 -0
  96. data/assets/xheditor/xheditor_emot/msn/32.gif +0 -0
  97. data/assets/xheditor/xheditor_emot/msn/33.gif +0 -0
  98. data/assets/xheditor/xheditor_emot/msn/34.gif +0 -0
  99. data/assets/xheditor/xheditor_emot/msn/35.gif +0 -0
  100. data/assets/xheditor/xheditor_emot/msn/36.gif +0 -0
  101. data/assets/xheditor/xheditor_emot/msn/37.gif +0 -0
  102. data/assets/xheditor/xheditor_emot/msn/38.gif +0 -0
  103. data/assets/xheditor/xheditor_emot/msn/39.gif +0 -0
  104. data/assets/xheditor/xheditor_emot/msn/4.gif +0 -0
  105. data/assets/xheditor/xheditor_emot/msn/40.gif +0 -0
  106. data/assets/xheditor/xheditor_emot/msn/5.gif +0 -0
  107. data/assets/xheditor/xheditor_emot/msn/6.gif +0 -0
  108. data/assets/xheditor/xheditor_emot/msn/7.gif +0 -0
  109. data/assets/xheditor/xheditor_emot/msn/8.gif +0 -0
  110. data/assets/xheditor/xheditor_emot/msn/9.gif +0 -0
  111. data/assets/xheditor/xheditor_emot/pidgin/angry.gif +0 -0
  112. data/assets/xheditor/xheditor_emot/pidgin/bad.gif +0 -0
  113. data/assets/xheditor/xheditor_emot/pidgin/blush.gif +0 -0
  114. data/assets/xheditor/xheditor_emot/pidgin/brokenheart.gif +0 -0
  115. data/assets/xheditor/xheditor_emot/pidgin/bye.gif +0 -0
  116. data/assets/xheditor/xheditor_emot/pidgin/coffee.gif +0 -0
  117. data/assets/xheditor/xheditor_emot/pidgin/config.txt +1 -0
  118. data/assets/xheditor/xheditor_emot/pidgin/cool.gif +0 -0
  119. data/assets/xheditor/xheditor_emot/pidgin/cry.gif +0 -0
  120. data/assets/xheditor/xheditor_emot/pidgin/curse.gif +0 -0
  121. data/assets/xheditor/xheditor_emot/pidgin/cute.gif +0 -0
  122. data/assets/xheditor/xheditor_emot/pidgin/devil.gif +0 -0
  123. data/assets/xheditor/xheditor_emot/pidgin/envy.gif +0 -0
  124. data/assets/xheditor/xheditor_emot/pidgin/gift.gif +0 -0
  125. data/assets/xheditor/xheditor_emot/pidgin/good.gif +0 -0
  126. data/assets/xheditor/xheditor_emot/pidgin/kiss.gif +0 -0
  127. data/assets/xheditor/xheditor_emot/pidgin/laugh.gif +0 -0
  128. data/assets/xheditor/xheditor_emot/pidgin/love.gif +0 -0
  129. data/assets/xheditor/xheditor_emot/pidgin/music.gif +0 -0
  130. data/assets/xheditor/xheditor_emot/pidgin/question.gif +0 -0
  131. data/assets/xheditor/xheditor_emot/pidgin/rose.gif +0 -0
  132. data/assets/xheditor/xheditor_emot/pidgin/sad.gif +0 -0
  133. data/assets/xheditor/xheditor_emot/pidgin/shocked.gif +0 -0
  134. data/assets/xheditor/xheditor_emot/pidgin/shout.gif +0 -0
  135. data/assets/xheditor/xheditor_emot/pidgin/sick.gif +0 -0
  136. data/assets/xheditor/xheditor_emot/pidgin/sleepy.gif +0 -0
  137. data/assets/xheditor/xheditor_emot/pidgin/smile.gif +0 -0
  138. data/assets/xheditor/xheditor_emot/pidgin/soccer.gif +0 -0
  139. data/assets/xheditor/xheditor_emot/pidgin/sweat.gif +0 -0
  140. data/assets/xheditor/xheditor_emot/pidgin/tired.gif +0 -0
  141. data/assets/xheditor/xheditor_emot/pidgin/tongue.gif +0 -0
  142. data/assets/xheditor/xheditor_emot/pidgin/victory.gif +0 -0
  143. data/assets/xheditor/xheditor_emot/pidgin/wink.gif +0 -0
  144. data/assets/xheditor/xheditor_plugins/multiupload/img/add.gif +0 -0
  145. data/assets/xheditor/xheditor_plugins/multiupload/img/bg1.gif +0 -0
  146. data/assets/xheditor/xheditor_plugins/multiupload/img/bg2.gif +0 -0
  147. data/assets/xheditor/xheditor_plugins/multiupload/img/btnbg.gif +0 -0
  148. data/assets/xheditor/xheditor_plugins/multiupload/img/btnbgr.gif +0 -0
  149. data/assets/xheditor/xheditor_plugins/multiupload/img/clear.gif +0 -0
  150. data/assets/xheditor/xheditor_plugins/multiupload/img/progressbg.gif +0 -0
  151. data/assets/xheditor/xheditor_plugins/multiupload/img/start.gif +0 -0
  152. data/assets/xheditor/xheditor_plugins/multiupload/multiupload.css +61 -0
  153. data/assets/xheditor/xheditor_plugins/multiupload/multiupload.html +120 -0
  154. data/assets/xheditor/xheditor_plugins/multiupload/multiupload.js +125 -0
  155. data/assets/xheditor/xheditor_plugins/multiupload/swfupload/swfupload.js +980 -0
  156. data/assets/xheditor/xheditor_plugins/multiupload/swfupload/swfupload.swf +0 -0
  157. data/assets/xheditor/xheditor_plugins/ubb.min.js +20 -0
  158. data/assets/xheditor/xheditor_skin/default/iframe.css +29 -0
  159. data/assets/xheditor/xheditor_skin/default/img/anchor.gif +0 -0
  160. data/assets/xheditor/xheditor_skin/default/img/close.gif +0 -0
  161. data/assets/xheditor/xheditor_skin/default/img/flash.gif +0 -0
  162. data/assets/xheditor/xheditor_skin/default/img/icons.gif +0 -0
  163. data/assets/xheditor/xheditor_skin/default/img/loading.gif +0 -0
  164. data/assets/xheditor/xheditor_skin/default/img/progress.gif +0 -0
  165. data/assets/xheditor/xheditor_skin/default/img/progressbg.gif +0 -0
  166. data/assets/xheditor/xheditor_skin/default/img/tag-address.gif +0 -0
  167. data/assets/xheditor/xheditor_skin/default/img/tag-div.gif +0 -0
  168. data/assets/xheditor/xheditor_skin/default/img/tag-h1.gif +0 -0
  169. data/assets/xheditor/xheditor_skin/default/img/tag-h2.gif +0 -0
  170. data/assets/xheditor/xheditor_skin/default/img/tag-h3.gif +0 -0
  171. data/assets/xheditor/xheditor_skin/default/img/tag-h4.gif +0 -0
  172. data/assets/xheditor/xheditor_skin/default/img/tag-h5.gif +0 -0
  173. data/assets/xheditor/xheditor_skin/default/img/tag-h6.gif +0 -0
  174. data/assets/xheditor/xheditor_skin/default/img/tag-p.gif +0 -0
  175. data/assets/xheditor/xheditor_skin/default/img/tag-pre.gif +0 -0
  176. data/assets/xheditor/xheditor_skin/default/img/waiting.gif +0 -0
  177. data/assets/xheditor/xheditor_skin/default/img/wmp.gif +0 -0
  178. data/assets/xheditor/xheditor_skin/default/ui.css +140 -0
  179. data/assets/xheditor/xheditor_skin/nostyle/iframe.css +29 -0
  180. data/assets/xheditor/xheditor_skin/nostyle/img/anchor.gif +0 -0
  181. data/assets/xheditor/xheditor_skin/nostyle/img/close.gif +0 -0
  182. data/assets/xheditor/xheditor_skin/nostyle/img/flash.gif +0 -0
  183. data/assets/xheditor/xheditor_skin/nostyle/img/icons.gif +0 -0
  184. data/assets/xheditor/xheditor_skin/nostyle/img/loading.gif +0 -0
  185. data/assets/xheditor/xheditor_skin/nostyle/img/progress.gif +0 -0
  186. data/assets/xheditor/xheditor_skin/nostyle/img/progressbg.gif +0 -0
  187. data/assets/xheditor/xheditor_skin/nostyle/img/tag-address.gif +0 -0
  188. data/assets/xheditor/xheditor_skin/nostyle/img/tag-div.gif +0 -0
  189. data/assets/xheditor/xheditor_skin/nostyle/img/tag-h1.gif +0 -0
  190. data/assets/xheditor/xheditor_skin/nostyle/img/tag-h2.gif +0 -0
  191. data/assets/xheditor/xheditor_skin/nostyle/img/tag-h3.gif +0 -0
  192. data/assets/xheditor/xheditor_skin/nostyle/img/tag-h4.gif +0 -0
  193. data/assets/xheditor/xheditor_skin/nostyle/img/tag-h5.gif +0 -0
  194. data/assets/xheditor/xheditor_skin/nostyle/img/tag-h6.gif +0 -0
  195. data/assets/xheditor/xheditor_skin/nostyle/img/tag-p.gif +0 -0
  196. data/assets/xheditor/xheditor_skin/nostyle/img/tag-pre.gif +0 -0
  197. data/assets/xheditor/xheditor_skin/nostyle/img/waiting.gif +0 -0
  198. data/assets/xheditor/xheditor_skin/nostyle/img/wmp.gif +0 -0
  199. data/assets/xheditor/xheditor_skin/nostyle/ui.css +140 -0
  200. data/assets/xheditor/xheditor_skin/o2007blue/iframe.css +29 -0
  201. data/assets/xheditor/xheditor_skin/o2007blue/img/anchor.gif +0 -0
  202. data/assets/xheditor/xheditor_skin/o2007blue/img/buttonbg.gif +0 -0
  203. data/assets/xheditor/xheditor_skin/o2007blue/img/close.gif +0 -0
  204. data/assets/xheditor/xheditor_skin/o2007blue/img/flash.gif +0 -0
  205. data/assets/xheditor/xheditor_skin/o2007blue/img/icons.gif +0 -0
  206. data/assets/xheditor/xheditor_skin/o2007blue/img/loading.gif +0 -0
  207. data/assets/xheditor/xheditor_skin/o2007blue/img/progress.gif +0 -0
  208. data/assets/xheditor/xheditor_skin/o2007blue/img/progressbg.gif +0 -0
  209. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-address.gif +0 -0
  210. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-div.gif +0 -0
  211. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-h1.gif +0 -0
  212. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-h2.gif +0 -0
  213. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-h3.gif +0 -0
  214. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-h4.gif +0 -0
  215. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-h5.gif +0 -0
  216. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-h6.gif +0 -0
  217. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-p.gif +0 -0
  218. data/assets/xheditor/xheditor_skin/o2007blue/img/tag-pre.gif +0 -0
  219. data/assets/xheditor/xheditor_skin/o2007blue/img/waiting.gif +0 -0
  220. data/assets/xheditor/xheditor_skin/o2007blue/img/wmp.gif +0 -0
  221. data/assets/xheditor/xheditor_skin/o2007blue/ui.css +139 -0
  222. data/assets/xheditor/xheditor_skin/o2007silver/iframe.css +29 -0
  223. data/assets/xheditor/xheditor_skin/o2007silver/img/anchor.gif +0 -0
  224. data/assets/xheditor/xheditor_skin/o2007silver/img/buttonbg.gif +0 -0
  225. data/assets/xheditor/xheditor_skin/o2007silver/img/close.gif +0 -0
  226. data/assets/xheditor/xheditor_skin/o2007silver/img/flash.gif +0 -0
  227. data/assets/xheditor/xheditor_skin/o2007silver/img/icons.gif +0 -0
  228. data/assets/xheditor/xheditor_skin/o2007silver/img/loading.gif +0 -0
  229. data/assets/xheditor/xheditor_skin/o2007silver/img/progress.gif +0 -0
  230. data/assets/xheditor/xheditor_skin/o2007silver/img/progressbg.gif +0 -0
  231. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-address.gif +0 -0
  232. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-div.gif +0 -0
  233. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-h1.gif +0 -0
  234. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-h2.gif +0 -0
  235. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-h3.gif +0 -0
  236. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-h4.gif +0 -0
  237. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-h5.gif +0 -0
  238. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-h6.gif +0 -0
  239. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-p.gif +0 -0
  240. data/assets/xheditor/xheditor_skin/o2007silver/img/tag-pre.gif +0 -0
  241. data/assets/xheditor/xheditor_skin/o2007silver/img/waiting.gif +0 -0
  242. data/assets/xheditor/xheditor_skin/o2007silver/img/wmp.gif +0 -0
  243. data/assets/xheditor/xheditor_skin/o2007silver/ui.css +139 -0
  244. data/assets/xheditor/xheditor_skin/vista/iframe.css +29 -0
  245. data/assets/xheditor/xheditor_skin/vista/img/anchor.gif +0 -0
  246. data/assets/xheditor/xheditor_skin/vista/img/buttonbg.gif +0 -0
  247. data/assets/xheditor/xheditor_skin/vista/img/close.gif +0 -0
  248. data/assets/xheditor/xheditor_skin/vista/img/flash.gif +0 -0
  249. data/assets/xheditor/xheditor_skin/vista/img/icons.gif +0 -0
  250. data/assets/xheditor/xheditor_skin/vista/img/loading.gif +0 -0
  251. data/assets/xheditor/xheditor_skin/vista/img/progress.gif +0 -0
  252. data/assets/xheditor/xheditor_skin/vista/img/progressbg.gif +0 -0
  253. data/assets/xheditor/xheditor_skin/vista/img/tag-address.gif +0 -0
  254. data/assets/xheditor/xheditor_skin/vista/img/tag-div.gif +0 -0
  255. data/assets/xheditor/xheditor_skin/vista/img/tag-h1.gif +0 -0
  256. data/assets/xheditor/xheditor_skin/vista/img/tag-h2.gif +0 -0
  257. data/assets/xheditor/xheditor_skin/vista/img/tag-h3.gif +0 -0
  258. data/assets/xheditor/xheditor_skin/vista/img/tag-h4.gif +0 -0
  259. data/assets/xheditor/xheditor_skin/vista/img/tag-h5.gif +0 -0
  260. data/assets/xheditor/xheditor_skin/vista/img/tag-h6.gif +0 -0
  261. data/assets/xheditor/xheditor_skin/vista/img/tag-p.gif +0 -0
  262. data/assets/xheditor/xheditor_skin/vista/img/tag-pre.gif +0 -0
  263. data/assets/xheditor/xheditor_skin/vista/img/titlebg.gif +0 -0
  264. data/assets/xheditor/xheditor_skin/vista/img/waiting.gif +0 -0
  265. data/assets/xheditor/xheditor_skin/vista/img/wmp.gif +0 -0
  266. data/assets/xheditor/xheditor_skin/vista/ui.css +140 -0
  267. data/lib/xheditor.rb +17 -0
  268. data/lib/xheditor/railtie.rb +10 -0
  269. data/lib/xheditor/version.rb +4 -0
  270. data/test/helper.rb +18 -0
  271. data/test/test_xheditor.rb +4 -0
  272. metadata +365 -0
File without changes
@@ -0,0 +1 @@
1
+ 'default':{name:'Ĭ��',width:24,height:24,line:7,list:{'smile':'΢Ц','tongue':'����ͷ','titter':'͵Ц','laugh':'��Ц','sad':'�ѹ�','wronged':'ί��','fastcry':'�����','cry':'��','wail':'���','mad':'����','knock':'�ô�','curse':'����','crazy':'ץ��','angry':'����','ohmy':'����','awkward':'����','panic':'����','shy':'����','cute':'����','envy':'��Ľ','proud':'����','struggle':'�ܶ�','quiet':'����','shutup':'����','doubt':'����','despise':'����','sleep':'˯��','bye':'�ټ�'}}
@@ -0,0 +1 @@
1
+ ipb:{name:'IPB',width:20,height:25,line:8,list:{smile:'΢Ц',joyful:'����',laugh:'Ц',biglaugh:'��Ц',w00t:'����',wub:'��ϲ',depres:'��ɥ',sad:'����',cry:'����',angry:'����',devil:'ħ��',blush:'����',kiss:'��',surprised:'����',wondering:'�ɻ�',unsure:'��ȷ��',tongue:'����ͷ',cool:'ˣ��',blink:'գ��',whistling:'������',glare:'����',pinch:'��',sideways:'����',sleep:'˯��',sick:'����',ninja:'����',bandit:'ǿ��',police:'����',angel:'��ʹ',magician:'ħ��ʦ',alien:'������',heart:'�Ķ�'}}
@@ -0,0 +1 @@
1
+ pidgin:{name:'Pidgin',width:22,height:25,line:8,list:{smile:'΢Ц',cute:'�ɰ�',wink:'գ��',laugh:'��Ц',victory:'ʤ��',sad:'����',cry:'����',angry:'����',shout:'����',curse:'����',devil:'ħ��',blush:'����',tongue:'����ͷ',envy:'��Ľ',cool:'ˣ��',kiss:'��',shocked:'����',sweat:'��',sick:'����',bye:'�ټ�',tired:'��',sleepy:'˯��',question:'����',rose:'õ��',gift:'����',coffee:'����',music:'����',soccer:'����',good:'��ͬ',bad:'����',love:'��',brokenheart:'����'}}
@@ -0,0 +1,61 @@
1
+ html,body{
2
+ font-size:12px;
3
+ padding:0px;margin:0;
4
+ overflow:hidden;
5
+ width:100%;height:100%;
6
+ }
7
+ #buttonArea{
8
+ background:url(img/bg1.gif);
9
+ border-top:1px solid #F0F5FA;
10
+ border-bottom:1px solid #99BBE8;
11
+ padding:3px;
12
+ }
13
+ #controlBtns{
14
+ float:right;
15
+ }
16
+ .btn{
17
+ display:inline-block;
18
+ color:#000;
19
+ text-decoration:none;
20
+ padding-right:3px;
21
+ cursor:pointer;
22
+ }
23
+ .btn span{
24
+ display:inline-block;
25
+ height:17px;
26
+ line-height:17px;
27
+ padding:2px;
28
+ }
29
+ .btn img{border:0;vertical-align:text-bottom;}
30
+ .btn:hover{background:url(img/btnbgr.gif) top right;}
31
+ .btn:hover span{background:url(img/btnbg.gif);}
32
+ #listArea{
33
+ overflow-x:hidden;
34
+ overflow-y:auto;
35
+ }
36
+ #listTitle tr{background:url(img/bg2.gif);}
37
+ #listTitle td{padding:5px;border-top:1px solid #F0F5FA;border-left:1px solid #fff;border-right:1px solid #ccc;border-bottom:1px solid #D0D0D0;}
38
+ #listBody tr{cursor:pointer;}
39
+ #listBody .hover{background:#F0F0F0;}
40
+ #listBody .select{background:#DFE8F6;}
41
+ #listBody td{padding:5px;border-bottom:1px solid #EDEDED;}
42
+ #progressArea{
43
+ background:#D4E1F2;
44
+ border-top:1px solid #99BBE8;
45
+ padding:3px;
46
+ }
47
+ #progressBar{
48
+ position: relative;
49
+ border:1px solid #6593CF;
50
+ padding:1px;
51
+ }
52
+ #progress{
53
+ height:16px;
54
+ background:#8FB5E8 url(img/progressbg.gif);
55
+ }
56
+ #progressBar span{
57
+ position: absolute;
58
+ text-align: center;
59
+ width:100%;line-height:16px;
60
+ color:#396095;
61
+ }
@@ -0,0 +1,120 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" >
3
+ <head>
4
+ <meta name="robots" content="noindex, nofollow" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>MultiUpload Demo</title>
7
+ <link href="multiupload.css" rel="stylesheet" type="text/css" />
8
+ <script type="text/javascript" src="../../jquery/jquery-1.4.4.min.js"></script>
9
+ <script type="text/javascript" src="swfupload/swfupload.js"></script>
10
+ <script type="text/javascript" src="multiupload.js"></script>
11
+ <script type="text/javascript">
12
+ $(window).load(pageInit);
13
+ function pageInit()
14
+ {
15
+ var uploadurl='../upload.php',ext='所有文件 (*.*)',size='2 MB',count=5,useget=0,params={}//默认值
16
+
17
+ uploadurl=getQuery('uploadurl')||uploadurl;ext=getQuery('ext')||ext;size=getQuery('size')||size;count=getQuery('count')||count;useget=getQuery('useget')||useget;
18
+ var tmpParams=getQuery('params');
19
+ if(tmpParams)
20
+ {
21
+ try{eval("tmpParams=" + tmpParams);}catch(ex){};
22
+ params=$.extend({},params,tmpParams);
23
+ }
24
+ ext=ext.match(/([^\(]+?)\s*\(\s*([^\)]+?)\s*\)/i);
25
+ setTimeout(fixHeight,10);
26
+ swfu = new SWFUpload({
27
+ // Flash组件
28
+ flash_url : "swfupload/swfupload.swf",
29
+ prevent_swf_caching : false,//是否缓存SWF文件
30
+
31
+ // 服务器端
32
+ upload_url: uploadurl,
33
+ file_post_name : "filedata",
34
+ post_params: params,//随文件上传一同向上传接收程序提交的Post数据
35
+ use_query_string : useget=='1'?true:false,//是否用GET方式发送参数
36
+
37
+ // 文件设置
38
+ file_types : ext[2],//文件格式限制
39
+ file_types_description : ext[1],//文件格式描述
40
+ file_size_limit : size, // 文件大小限制
41
+ file_upload_limit : count,//上传文件总数
42
+ file_queue_limit:0,//上传队列总数
43
+ custom_settings : {
44
+ test : "aaa"
45
+ },
46
+
47
+ // 事件处理
48
+ file_queued_handler : fileQueued,//添加成功
49
+ file_queue_error_handler : fileQueueError,//添加失败
50
+ upload_start_handler : uploadStart,//上传开始
51
+ upload_progress_handler : uploadProgress,//上传进度
52
+ upload_error_handler : uploadError,//上传失败
53
+ upload_success_handler : uploadSuccess,//上传成功
54
+ upload_complete_handler : uploadComplete,//上传结束
55
+
56
+ // 按钮设置
57
+ button_placeholder_id : "divAddFiles",
58
+ button_width: 69,
59
+ button_height: 17,
60
+ button_window_mode: SWFUpload.WINDOW_MODE.TRANSPARENT,
61
+ button_cursor: SWFUpload.CURSOR.HAND,
62
+ button_image_url : "img/add.gif",
63
+ button_text: '<span class="theFont">添加文件</span>',
64
+ button_text_style: ".theFont { font-size: 12px; }",
65
+ button_text_left_padding: 20,
66
+ button_text_top_padding: 0,
67
+
68
+ // 调试设置
69
+ debug: false
70
+ });
71
+ }
72
+ function fixHeight(){$('#listArea').css('height',(document.body.clientHeight-56)+'px');}
73
+ function getQuery(item){var svalue = location.search.match(new RegExp('[\?\&]' + item + '=([^\&]*)(\&?)','i'));return svalue?decodeURIComponent(svalue[1]):'';}
74
+
75
+ //----------------跨域支持代码开始(非跨域环境请删除这段代码)----------------
76
+ var JSON = JSON || {};
77
+ JSON.stringify = JSON.stringify || function (obj) {
78
+ var t = typeof (obj);
79
+ if (t != "object" || obj === null) {
80
+ if (t == "string")obj = '"'+obj+'"';
81
+ return String(obj);
82
+ }
83
+ else {
84
+ var n, v, json = [], arr = (obj && obj.constructor == Array);
85
+ for (n in obj) {
86
+ v = obj[n]; t = typeof(v);
87
+ if (t == "string") v = '"'+v+'"';
88
+ else if (t == "object" && v !== null) v = JSON.stringify(v);
89
+ json.push((arr ? "" : '"' + n + '":') + String(v));
90
+ }
91
+ return (arr ? "[" : "{") + String(json) + (arr ? "]" : "}");
92
+ }
93
+ };
94
+ var callback= callback || function(v){
95
+ v=JSON.stringify(v);
96
+ window.name=escape(v);
97
+ window.location='http://'+location.search.match(/[\?&]parenthost=(.*)(&|$)/i)[1]+'/xheditorproxy.html';//这个文件最好是一个0字节文件,如果无此文件也会正常工作
98
+ }
99
+ //----------------跨域支持代码结束----------------
100
+ </script>
101
+ </head>
102
+ <body>
103
+ <div id="upload">
104
+ <div id="buttonArea">
105
+ <div id="controlBtns" style="display:none;"><a href="javascript:void(0);" id="btnClear" onclick="removeFile();" class="btn" style="display:none;"><span><img src="img/clear.gif" /> 删除文件</span></a> <a href="javascript:void(0);" id="btnStart" onclick="startUploadFiles();" class="btn"><span><img src="img/start.gif" /> 开始上传</span></a></div>
106
+ <a href="javascript:void(0);" id="addFiles" class="btn"><span><div id="divAddFiles">添加文件</div></span></a>
107
+ </div>
108
+ <div id="listArea">
109
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
110
+ <thead id="listTitle"><tr><td width="53%">文件名</td><td width="25%">大小</td><td width="22%">状态</td></tr></thead>
111
+ <tbody id="listBody">
112
+ </tbody>
113
+ </table>
114
+ </div>
115
+ <div id="progressArea">
116
+ <div id="progressBar"><span>0%</span><div id="progress" style="width:1px;"></div></div>
117
+ </div>
118
+ </div>
119
+ </body>
120
+ </html>