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
@@ -0,0 +1,20 @@
1
+ function ubb2html(g){function o(a){return a!=null&&a!=""?!isNaN(a):false}var b=String(g),m=[],n=0,s=["10px","13px","16px","18px","24px","32px","48px"];b=b.replace(/[<>&"]/g,function(a){return{"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"}[a]});b=b.replace(/\r?\n/g,"<br />");b=b.replace(/\[code\s*(?:=\s*([^\]]+?))?\]([\s\S]*?)\[\/code\]/ig,function(a){n++;m[n]=a;return"[\tubbcodeplace_"+n+"\t]"});b=b.replace(/\[(\/?)(b|u|i|s|sup|sub)\]/ig,"<$1$2>");b=b.replace(/\[color\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,
2
+ '<font color="$1">');b=b.replace(/\[font\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,'<font face="$1">');b=b.replace(/\[\/(color|font)\]/ig,"</font>");b=b.replace(/\[size\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,function(a,h){if(h.match(/^\d+$/))h=s[h-1];return'<span style="font-size:'+h+';">'});b=b.replace(/\[back\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,'<span style="background-color:$1;">');b=b.replace(/\[\/(size|back)\]/ig,"</span>");for(g=0;g<3;g++)b=b.replace(/\[align\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\](((?!\[align(?:\s+[^\]]+)?\])[\s\S])*?)\[\/align\]/ig,
3
+ '<p align="$1">$2</p>');b=b.replace(/\[img\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/img\]/ig,'<img src="$1" alt="" />');b=b.replace(/\[img\s*=([^,\]]*)(?:\s*,\s*(\d*%?)\s*,\s*(\d*%?)\s*)?(?:,?\s*(\w+))?\s*\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*)?\s*\[\/img\]/ig,function(a,h,i,l,e,c){a='<img src="'+c+'" alt="'+h+'"';e=e?e:!o(i)?i:"";if(o(i))a+=' width="'+i+'"';if(o(l))a+=' height="'+l+'"';if(e)a+=' align="'+e+'"';a+=" />";return a});b=b.replace(/\[emot\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\/\]/ig,'<img emot="$1" />');
4
+ b=b.replace(/\[url\]\s*(((?!")[\s\S])*?)(?:"[\s\S]*?)?\s*\[\/url\]/ig,'<a href="$1">$1</a>');b=b.replace(/\[url\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]\s*([\s\S]*?)\s*\[\/url\]/ig,'<a href="$1">$2</a>');b=b.replace(/\[email\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/email\]/ig,'<a href="mailto:$1">$1</a>');b=b.replace(/\[email\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]\s*([\s\S]+?)\s*\[\/email\]/ig,'<a href="mailto:$1">$2</a>');b=b.replace(/\[quote\]([\s\S]*?)\[\/quote\]/ig,"<blockquote>$1</blockquote>");b=b.replace(/\[flash\s*(?:=\s*(\d+)\s*,\s*(\d+)\s*)?\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/flash\]/ig,
5
+ function(a,h,i,l){h||(h=480);i||(i=400);return'<embed type="application/x-shockwave-flash" src="'+l+'" wmode="opaque" quality="high" bgcolor="#ffffff" menu="false" play="true" loop="true" width="'+h+'" height="'+i+'"/>'});b=b.replace(/\[media\s*(?:=\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+)\s*)?)?\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/media\]/ig,function(a,h,i,l,e){h||(h=480);i||(i=400);return'<embed type="application/x-mplayer2" src="'+e+'" enablecontextmenu="false" autostart="'+(l=="1"?"true":"false")+
6
+ '" width="'+h+'" height="'+i+'"/>'});b=b.replace(/\[table\s*(?:=\s*(\d{1,4}%?)\s*(?:,\s*([^\]"]+)(?:"[^\]]*?)?)?)?\s*\]/ig,function(a,h,i){a="<table";if(h)a+=' width="'+h+'"';if(i)a+=' bgcolor="'+i+'"';return a+">"});b=b.replace(/\[tr\s*(?:=\s*([^\]"]+?)(?:"[^\]]*?)?)?\s*\]/ig,function(a,h){return"<tr"+(h?' bgcolor="'+h+'"':"")+">"});b=b.replace(/\[td\s*(?:=\s*(\d{1,2})\s*,\s*(\d{1,2})\s*(?:,\s*(\d{1,4}%?))?)?\s*\]/ig,function(a,h,i,l){return"<td"+(h>1?' colspan="'+h+'"':"")+(i>1?' rowspan="'+i+'"':
7
+ "")+(l?' width="'+l+'"':"")+">"});b=b.replace(/\[\/(table|tr|td)\]/ig,"</$1>");b=b.replace(/\[\*\]((?:(?!\[\*\]|\[\/list\]|\[list\s*(?:=[^\]]+)?\])[\s\S])+)/ig,"<li>$1</li>");b=b.replace(/\[list\s*(?:=\s*([^\]"]+?)(?:"[^\]]*?)?)?\s*\]/ig,function(a,h){var i="<ul";if(h)i+=' type="'+h+'"';return i+">"});b=b.replace(/\[\/list\]/ig,"</ul>");b=b.replace(/\[hr\/\]/ig,"<hr />");for(g=1;g<=n;g++)b=b.replace("[\tubbcodeplace_"+g+"\t]",m[g]);return b=b.replace(/(^|<\/?\w+(?:\s+[^>]*?)?>)([^<$]+)/ig,function(a,
8
+ h,i){return h+i.replace(/[\t ]/g,function(l){return{"\t":"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"," ":"&nbsp;"}[l]})})}
9
+ function html2ubb(g){function o(e){var c;if(c=e.match(/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i)){for(e=(c[1]*65536+c[2]*256+c[3]*1).toString(16);e.length<6;)e="0"+e;e="#"+e}return e=e.replace(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i,"#$1$1$2$2$3$3")}var b=/\s+src\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i,m=/\s+width\s*=\s*(["']?)\s*(\d+(?:\.\d+)?%?)\s*\1(\s|$)/i,n=/\s+height\s*=\s*(["']?)\s*(\d+(?:\.\d+)?%?)\s*\1(\s|$)/i,s=/(?:background|background-color|bgcolor)\s*[:=]\s*(["']?)\s*((rgb\s*\(\s*\d{1,3}%?,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\))|(#[0-9a-f]{3,6})|([a-z]{1,20}))\s*\1/i,
10
+ a=String(g),h=[],i=0;a=a.replace(/\s*\r?\n\s*/g,"");a=a.replace(/<(script|style)(\s+[^>]*?)?>[\s\S]*?<\/\1>/ig,"");a=a.replace(/<!--[\s\S]*?--\>/ig,"");a=a.replace(/<br\s*?\/?>/ig,"\r\n");a=a.replace(/\[code\s*(=\s*([^\]]+?))?\]([\s\S]*?)\[\/code\]/ig,function(e){i++;h[i]=e;return"[\tubbcodeplace_"+i+"\t]"});a=a.replace(/<(\/?)(b|u|i|s)(\s+[^>]*?)?>/ig,"[$1$2]");a=a.replace(/<(\/?)strong(\s+[^>]*?)?>/ig,"[$1b]");a=a.replace(/<(\/?)em(\s+[^>]*?)?>/ig,"[$1i]");a=a.replace(/<(\/?)(strike|del)(\s+[^>]*?)?>/ig,
11
+ "[$1s]");a=a.replace(/<(\/?)(sup|sub)(\s+[^>]*?)?>/ig,"[$1$2]");for(g=0;g<3;g++)a=a.replace(/<(span)(?:\s+[^>]*?)?\s+style\s*=\s*"((?:[^"]*?;)*\s*(?:font-family|font-size|color|background|background-color)\s*:[^"]*)"(?: [^>]+)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,function(e,c,d,f){e=d.match(/(?:^|;)\s*font-family\s*:\s*([^;]+)/i);c=d.match(/(?:^|;)\s*font-size\s*:\s*([^;]+)/i);var j=d.match(/(?:^|;)\s*color\s*:\s*([^;]+)/i);
12
+ d=d.match(/(?:^|;)\s*(?:background|background-color)\s*:\s*([^;]+)/i);f=f;if(e)f="[font="+e[1]+"]"+f+"[/font]";if(c)f="[size="+c[1]+"]"+f+"[/size]";if(j)f="[color="+o(j[1])+"]"+f+"[/color]";if(d)f="[back="+o(d[1])+"]"+f+"[/back]";return f});for(g=0;g<3;g++)a=a.replace(/<(div|p)(?:\s+[^>]*?)?[\s"';]\s*(?:text-)?align\s*[=:]\s*(["']?)\s*(left|center|right)\s*\2[^>]*>(((?!<\1(\s+[^>]*?)?>)[\s\S])+?)<\/\1>/ig,"[align=$3]$4[/align]");for(g=0;g<3;g++)a=a.replace(/<(center)(?:\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S])*?)<\/\1>/ig,
13
+ "[align=center]$2[/align]");for(g=0;g<3;g++)a=a.replace(/<(p|div)(?:\s+[^>]*?)?\s+style\s*=\s*"((?:[^"]*?;)*\s*text-align\s*:[^"]*)"(?: [^>]+)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,function(){});a=a.replace(/<a(?:\s+[^>]*?)?\s+href=(["'])\s*(.+?)\s*\1[^>]*>\s*([\s\S]*?)\s*<\/a>/ig,function(e,c,d,f){if(!(d&&f))return"";e="url";if(d.match(/^mailto:/i)){e="email";d=d.replace(/mailto:(.+?)/i,
14
+ "$1")}c="["+e;if(d!=f)c+="="+d;return c+"]"+f+"[/"+e+"]"});a=a.replace(/<img(\s+[^>]*?)\/?>/ig,function(e,c){var d=c.match(/\s+emot\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i);if(d)return"[emot="+d[2]+"/]";d=c.match(b);var f=c.match(/\s+alt\s*=\s*(["']?)\s*(.*?)\s*\1(\s|$)/i),j=c.match(m),k=c.match(n),p=c.match(/\s+align\s*=\s*(["']?)\s*(\w+)\s*\1(\s|$)/i),q="[img",r="";if(!d)return"";r+=f[2];if(j||k)r+=","+(j?j[2]:"")+","+(k?k[2]:"");if(p)r+=","+p[2];if(r)q+="="+r;q+="]"+d[2]+"[/img]";return q});a=a.replace(/<blockquote(?:\s+[^>]*?)?>([\s\S]+?)<\/blockquote>/ig,
15
+ "[quote]$1[/quote]");a=a.replace(/<embed((?:\s+[^>]*?)?(?:\s+type\s*=\s*"\s*application\/x-shockwave-flash\s*"|\s+classid\s*=\s*"\s*clsid:d27cdb6e-ae6d-11cf-96b8-4445535400000\s*")[^>]*?)\/?>/ig,function(e,c){var d=c.match(b),f=c.match(m),j=c.match(n),k="[flash";if(!d)return"";if(f&&j)k+="="+f[2]+","+j[2];k+="]"+d[2];return k+"[/flash]"});a=a.replace(/<embed((?:\s+[^>]*?)?(?:\s+type\s*=\s*"\s*application\/x-mplayer2\s*"|\s+classid\s*=\s*"\s*clsid:6bf52a52-394a-11d3-b153-00c04f79faa6\s*")[^>]*?)\/?>/ig,
16
+ function(e,c){var d=c.match(b),f=c.match(m),j=c.match(n),k=c.match(/\s+autostart\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i),p="[media",q="0";if(!d)return"";if(k)if(k[2]=="true")q="1";if(f&&j)p+="="+f[2]+","+j[2]+","+q;p+="]"+d[2];return p+"[/media]"});a=a.replace(/<table(\s+[^>]*?)?>/ig,function(e,c){var d="[table";if(c){var f=c.match(m),j=c.match(s);if(f){d+="="+f[2];if(j)d+=","+j[2]}}return d+"]"});a=a.replace(/<tr(\s+[^>]*?)?>/ig,function(e,c){var d="[tr";if(c){var f=c.match(s);if(f)d+="="+f[2]}return d+
17
+ "]"});a=a.replace(/<(?:th|td)(\s+[^>]*?)?>/ig,function(e,c){var d="[td";if(c){var f=c.match(/\s+colspan\s*=\s*(["']?)\s*(\d+)\s*\1(\s|$)/i),j=c.match(/\s+rowspan\s*=\s*(["']?)\s*(\d+)\s*\1(\s|$)/i),k=c.match(m);f=f?f[2]:1;j=j?j[2]:1;if(f>1||j>1||k)d+="="+f+","+j;if(k)d+=","+k[2]}return d+"]"});a=a.replace(/<\/(table|tr)>/ig,"[/$1]");a=a.replace(/<\/(th|td)>/ig,"[/td]");a=a.replace(/<ul(\s+[^>]*?)?>/ig,function(e,c){var d;if(c)d=c.match(/\s+type\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i);return"[list"+(d?
18
+ "="+d[2]:"")+"]"});a=a.replace(/<ol(\s+[^>]*?)?>/ig,"[list=1]");a=a.replace(/<li(\s+[^>]*?)?>/ig,"[*]");a=a.replace(/<\/li>/ig,"");a=a.replace(/<\/(ul|ol)>/ig,"[/list]");a=a.replace(/<h([1-6])(\s+[^>]*?)?>/ig,function(e,c){return"\r\n\r\n[size="+(7-c)+"][b]"});a=a.replace(/<\/h[1-6]>/ig,"[/b][/size]\r\n\r\n");a=a.replace(/<address(\s+[^>]*?)?>/ig,"\r\n[i]");a=a.replace(/<\/address>/ig,"[i]\r\n");a=a.replace(/<hr(\s+[^>]*?)?\/>/ig,"[hr/]");for(g=0;g<3;g++)a=a.replace(/<(p)(?:\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,
19
+ "\r\n\r\n$2\r\n\r\n");for(g=0;g<3;g++)a=a.replace(/<(div)(?:\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,"\r\n$2\r\n");a=a.replace(/((\s|&nbsp;)*\r?\n){3,}/g,"\r\n\r\n");a=a.replace(/^((\s|&nbsp;)*\r?\n)+/g,"");a=a.replace(/((\s|&nbsp;)*\r?\n)+$/g,"");for(g=1;g<=i;g++)a=a.replace("[\tubbcodeplace_"+g+"\t]",h[g]);a=a.replace(/<[^<>]+?>/g,"");var l={lt:"<",gt:">",nbsp:" ",amp:"&",quot:'"'};
20
+ return a=a.replace(/&(lt|gt|nbsp|amp|quot);/ig,function(e,c){return l[c]})};
@@ -0,0 +1,29 @@
1
+ html{height:100%;}
2
+ body,td,th{font-family:Arial,Helvetica,sans-serif;font-size:12px;}
3
+ body{background-color: #FFFFFF;word-break:break-word;word-wrap:break-word;}
4
+
5
+ .editMode{margin:5px;padding:0px;overflow-y:auto;}
6
+ .editMode img:-moz-broken {-moz-force-broken-image-icon:1;height:24px;width:24px;}
7
+ .editMode table.xhe-border,.editMode table.xhe-border th,.editMode table.xhe-border td{border:1px dotted #d3d3d3;}
8
+ .editMode embed{display:inline-block;border:1px dashed #FF4E4E;}
9
+ .editMode embed[type="application/x-shockwave-flash"]{background:url(img/flash.gif) center center no-repeat;}
10
+ .editMode embed[type="application/x-mplayer2"]{background:url(img/wmp.gif) center center no-repeat;}
11
+ .editMode .xhe-paste{position:absolute;left:-1000px;overflow:hidden;width:1px;height:1px;}
12
+ .editMode .xhe-anchor{display:inline-block;background: url(img/anchor.gif) no-repeat;border: 1px dotted #0000FF;width:16px;height:15px;overflow:hidden;}
13
+
14
+ .sourceMode{margin:0px;padding:0px;overflow:hidden;height:100%;}
15
+ .sourceMode textarea{border:0px;margin:0px;padding:0px;width:100%;height:100%;overflow-y:auto;font-family:'Courier New',Courier,monospace !important;font-size:10pt;resize:none;}
16
+
17
+ .previewMode{margin:5px;padding:0px;}
18
+
19
+ .showBlocktag p,.showBlocktag h1,.showBlocktag h2,.showBlocktag h3,.showBlocktag h4,.showBlocktag h5,.showBlocktag h6,.showBlocktag pre,.showBlocktag address,.showBlocktag div{background:none no-repeat scroll right top;border:1px dotted gray;}
20
+ .showBlocktag p{background-image:url(img/tag-p.gif);}
21
+ .showBlocktag h1{background-image:url(img/tag-h1.gif);}
22
+ .showBlocktag h2{background-image:url(img/tag-h2.gif);}
23
+ .showBlocktag h3{background-image:url(img/tag-h3.gif);}
24
+ .showBlocktag h4{background-image:url(img/tag-h4.gif);}
25
+ .showBlocktag h5{background-image:url(img/tag-h5.gif);}
26
+ .showBlocktag h6{background-image:url(img/tag-h6.gif);}
27
+ .showBlocktag pre{background-image:url(img/tag-pre.gif);}
28
+ .showBlocktag address{background-image:url(img/tag-address.gif);}
29
+ .showBlocktag div{background-image:url(img/tag-div.gif);}
@@ -0,0 +1,140 @@
1
+ .xhe_default table, .xhe_default tr, .xhe_default td, .xhe_default iframe {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; color:#000}
2
+
3
+ .xhe_default table.xheLayout {display:inline-table;background:#F0F0EE; border:1px solid #C5C5C5;width:100%;height:100%;}
4
+ .xhe_default td.xheTool{padding:0px 3px;border-bottom:1px solid #C5C5C5;}
5
+ .xhe_default td.xheTool span{float:left;margin:2px 0px;}
6
+ .xhe_default td.xheTool br{clear:left;}
7
+
8
+ .xhe_default span.xheGStart{display:none;}
9
+ .xhe_default span.xheGEnd{display:none;}
10
+ .xhe_default span.xheSeparator{display:block;height:22px;width:4px;margin:2px 2px !important;background:url(img/icons.gif) no-repeat -660px 0;}
11
+
12
+ .xhe_default a.xheButton{display:inline-block;margin:1px;border:0px;cursor:pointer;text-decoration:none;}
13
+ .xhe_default a.xheButton span{opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
14
+ .xhe_default a.xheEnabled span{opacity:1; -ms-filter:'alpha(opacity=100)'; filter:alpha(opacity=100);}
15
+ .xhe_default a.xheEnabled:hover {margin:0px;border:1px solid #999;background:#fff;}
16
+ .xhe_default a.xheActive{margin:0px;border:1px solid #999; background:#fff;}
17
+
18
+ .xhe_default a.xheButton span{display:block;margin:0px;height:20px;width:20px;overflow:hidden;}
19
+ .xhe_default span.xheIcon{background:url(img/icons.gif) no-repeat 20px 20px}
20
+
21
+ .xhe_default span.xheBtnCut {background-position:0 0}
22
+ .xhe_default span.xheBtnCopy {background-position:-20px 0}
23
+ .xhe_default span.xheBtnPaste {background-position:-40px 0}
24
+ .xhe_default span.xheBtnPastetext {background-position:-60px 0}
25
+ .xhe_default span.xheBtnBlocktag {background-position:-80px 0}
26
+ .xhe_default span.xheBtnFontface {background-position:-100px 0}
27
+ .xhe_default span.xheBtnFontSize {background-position:-120px 0}
28
+ .xhe_default span.xheBtnBold {background-position:-140px 0}
29
+ .xhe_default span.xheBtnItalic {background-position:-160px 0}
30
+ .xhe_default span.xheBtnUnderline {background-position:-180px 0}
31
+ .xhe_default span.xheBtnStrikethrough {background-position:-200px 0}
32
+ .xhe_default span.xheBtnFontColor {background-position:-220px 0}
33
+ .xhe_default span.xheBtnBackColor {background-position:-240px 0}
34
+ .xhe_default span.xheBtnSelectAll {background-position:-260px 0}
35
+ .xhe_default span.xheBtnRemoveformat {background-position:-280px 0}
36
+
37
+ .xhe_default span.xheBtnAlign {background-position:-300px 0}
38
+ .xhe_default span.xheBtnList {background-position:-320px 0}
39
+ .xhe_default span.xheBtnOutdent {background-position:-340px 0}
40
+ .xhe_default span.xheBtnIndent {background-position:-360px 0}
41
+
42
+ .xhe_default span.xheBtnLink {background-position:-380px 0}
43
+ .xhe_default span.xheBtnUnlink {background-position:-400px 0}
44
+ .xhe_default span.xheBtnAnchor {background-position:-420px 0}
45
+ .xhe_default span.xheBtnImg {background-position:-440px 0}
46
+ .xhe_default span.xheBtnFlash {background-position:-460px 0}
47
+ .xhe_default span.xheBtnMedia {background-position:-480px 0}
48
+ .xhe_default span.xheBtnHr {background-position:-500px 0}
49
+ .xhe_default span.xheBtnEmot {background-position:-520px 0}
50
+ .xhe_default span.xheBtnTable {background-position:-540px 0}
51
+
52
+ .xhe_default span.xheBtnSource {background-position:-560px 0}
53
+ .xhe_default span.xheBtnPreview {background-position:-580px 0}
54
+ .xhe_default span.xheBtnPrint {background-position:-600px 0}
55
+ .xhe_default span.xheBtnFullscreen {background-position:-620px 0}
56
+
57
+ .xhe_default span.xheBtnAbout {background-position:-640px 0}
58
+
59
+ .xhe_default .xheIframeArea{height:100%;}
60
+ .xhe_default iframe {display:block;background:#fff;width:100%;height:100%;}
61
+
62
+
63
+ #xheCntLine{display:none;position:absolute;z-index:1000001;background:#fff;height:1px;font-size:0;}
64
+ #xhePanel{display:none;position:absolute;z-index:1000000;border:#999 1px solid;background:#fff;text-align:left;}
65
+ #xheShadow{display:none;position:absolute;z-index:999999;background:#000;opacity:0.2; -ms-filter:'alpha(opacity=20)'; filter:alpha(opacity=20);}
66
+ .xheFixCancel{position:absolute;z-index:999998;background-color:#FFF;opacity:0; -ms-filter:'alpha(opacity=0)'; filter:alpha(opacity=0);}
67
+
68
+ .xheMenu{padding:2px;overflow-x:hidden;overflow-y:auto;max-height:230px;}
69
+ .xheMenu a{display:block;padding:3px 20px 3px 3px;line-height:normal;font-size:12px;color:#000;text-decoration:none;white-space:nowrap;}
70
+ .xheMenu a:hover{background:#e5e5e5;text-decoration:none;color:#000;}
71
+ .xheMenu p,.xheMenu h1,.xheMenu h2,.xheMenu h3,.xheMenu h4,.xheMenu h5,.xheMenu h6,.xheMenu pre,.xheMenu address,.xheMenu div{margin:0}
72
+
73
+ .xheEmot div{padding:5px;overflow-x:hidden;overflow-y:auto;}
74
+ .xheEmot div a{display:inline-block;margin:3px;padding:3px;overflow:hidden;background-repeat:no-repeat;background-position:center;text-decoration:none;}
75
+ .xheEmot div a:hover{border:1px solid #999;padding:2px;}
76
+ .xheEmot ul{border-top:1px solid #999;list-style:none;padding:0 10px;margin:0;font-size:12px;}
77
+ .xheEmot li{float:left;margin:0 2px 5px 0;}
78
+ .xheEmot li a{background:#fff;display:block;padding:0 8px;text-decoration:none;color:#000;line-height:20px;}
79
+ .xheEmot li a:hover{text-decoration:underline;}
80
+ .xheEmot li.cur{border:1px solid #999;border-top:none;position:relative;bottom:1px;}
81
+ .xheEmot li.cur a{cursor:text;padding-top:1px;}
82
+ .xheEmot li.cur a:hover{text-decoration:none;}
83
+
84
+ .xheColor{padding:5px;}
85
+ .xheColor a{display:inline-block;margin:1px;border:#999 1px solid;width:17px;height:9px;font-size:0;}
86
+ .xheColor a:hover{border:#000 1px solid;}
87
+ .xheColor a img{display:none;}
88
+
89
+ .xheDialog{padding:10px;font-size:12px;font-family:monospace;}
90
+ .xheDialog a{text-decoration:underline;color:#00f;}
91
+ .xheDialog a:hover{text-decoration:underline;color:#00f}
92
+ .xheDialog div{padding:2px 0;}
93
+ .xheDialog input{
94
+ margin:0;border-width:1px;border-style:solid;font-size:12px;
95
+ *border-width:expression((type!="checkbox")?'1px':0);*padding:expression((type=="text")?'1px':'auto');*width:expression((type=="text")?'160px':'auto');*border-color:expression((type=="text")?'#ABADB3':'#fff #888 #888 #fff');*background:expression((type=="button")?'#F0F0F0':'#FFFFFF');*cursor:expression((type=="button")?'pointer':'');*font-size:expression((type=="button")?'13px':'12px');
96
+ }
97
+ .xheDialog textarea{font-size:12px;resize:none;border:1px solid #ccc;}
98
+ .xheDialog input[type=text]{padding:1px;width:160px;border-color:#ABADB3;}
99
+ .xheDialog input[type=button]{margin:0;border-color:#fff #888 #888 #fff;background:#F0F0F0;cursor:pointer;font-size:13px;}
100
+ .xheDialog input[type=file]{font-size:13px;}
101
+ .xheDialog input[type=checkbox]{border:0;}
102
+ .xheDialog select{margin:0;border:1px #ABADB3 solid;padding:1px;}
103
+ .xheDialog input,.xheDialog select,.xheDialog textarea{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
104
+ .xheDialog .xheUpload{position: relative;display:inline-block;width:164px;}
105
+ .xheDialog .xheUpload .xheBtn{position: absolute;top: 0px;left: 114px;width:50px;z-index: 1000001;padding:0;}
106
+ .xheDialog .xheUpload .xheFile{cursor:pointer;position: absolute;top: 0px;left: 0px;width:164px;opacity:0;-ms-filter:'alpha(opacity=0)';filter:alpha(opacity=0);z-index: 1000002;}
107
+ .xheDialog .xheUpload .xheText {position: absolute;width:107px;top: 0px;left: 0px;z-index: 1000003;}
108
+
109
+ .xheModal{
110
+ position: fixed;z-index: 1000010;text-align:left;top:50%;left:50%;background:#FFF;border:1px solid #BBB;font-size:12px;
111
+ _position:absolute;_margin-top:expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
112
+ }
113
+ .xheModalTitle{padding:5px;background:#F0F0EE;border-bottom:1px solid #BBB;}
114
+ .xheModalClose{float:right;width:16px;height:16px;background:url(img/close.gif);cursor:pointer;}
115
+ .xheModalIfmWait{width:100%;height:100%;background:url(img/waiting.gif) no-repeat 50% 50%;margin:-16 0 0 -16;}
116
+ .xheModalShadow{
117
+ position:fixed;z-index:1000009;top:50%;left:50%;background:#000;opacity:0.2; -ms-filter:'alpha(opacity=20)'; filter:alpha(opacity=20);
118
+ _position:absolute;_margin-top:expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 5 + 'px');
119
+ }
120
+ .xheModalOverlay{
121
+ position: fixed;z-index:1000008;top: 0px;left: 0px;height:100%;width:100%;background-color:#000;opacity:0.2; -ms-filter:'alpha(opacity=20)'; filter:alpha(opacity=20);
122
+ _position:absolute;_height:expression(Math.max(document.documentElement.clientHeight,document.documentElement.scrollHeight)+'px');_width:expression(Math.max(document.documentElement.clientWidth,document.documentElement.scrollWidth)+'px');
123
+ }
124
+ *html{
125
+ background-image:url(about:blank);
126
+ background-attachment:fixed;
127
+ }
128
+
129
+ .xheProgress{position:relative;width:280px;margin:auto;border:1px solid #C1C1C1;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:url(img/progressbg.gif) #E9E9E9;}
130
+ .xheProgress span{position:absolute;left:0;top:0;width:100%;text-align:center;line-height:15px;font-size:12px;color:#222;text-shadow: 1px 1px 0 #eee;}
131
+ .xheProgress div{height:15px;width:1px;background:url(img/progress.gif) #31C135;}
132
+
133
+ .xhe_Fullfix{overflow:hidden;}
134
+ .xhe_Fullfix body{width:100%;height:100%;}
135
+ .xhe_Fullscreen{
136
+ top:0px;left:0px;position:fixed;z-index:100000;width:100%;height:100%;background:#fff;
137
+ _position:absolute;_top:expression((document.compatMode?documentElement.scrollTop:document.body.scrollTop)+'px');_width:expression((document.compatMode?documentElement.offsetWidth:document.body.offsetWidth) + 'px');_height:expression((document.compatMode?documentElement.offsetHeight:document.body.offsetHeight) + 'px');
138
+ }
139
+
140
+ .xheHideArea{position:absolute;top:-1000px;left:-1000px;visibility:hidden;}
@@ -0,0 +1,29 @@
1
+ html{height:100%;}
2
+ body,td,th{font-family:Arial,Verdana,sans-serif;font-size: 12px;}
3
+ body{background-color: #FFFFFF;word-break:break-word;word-wrap:break-word;}
4
+
5
+ .editMode{margin:5px;padding:0px;overflow-y:auto;}
6
+ .editMode img:-moz-broken {-moz-force-broken-image-icon:1;height:24px;width:24px;}
7
+ .editMode table.xhe-border,.editMode table.xhe-border th,.editMode table.xhe-border td{border:1px dotted #d3d3d3;}
8
+ .editMode embed{display:inline-block;border:1px dashed #FF4E4E;}
9
+ .editMode embed[type="application/x-shockwave-flash"]{background:url(img/flash.gif) center center no-repeat;}
10
+ .editMode embed[type="application/x-mplayer2"]{background:url(img/wmp.gif) center center no-repeat;}
11
+ .editMode .xhe-paste{position:absolute;left:-1000px;overflow:hidden;width:1px;height:1px;}
12
+ .editMode .xhe-anchor{display:inline-block;background: url(img/anchor.gif) no-repeat;border: 1px dotted #0000FF;width:16px;height:15px;overflow:hidden;}
13
+
14
+ .sourceMode{margin:0px;padding:0px;overflow:hidden;height:100%;}
15
+ .sourceMode textarea{border:0px;margin:0px;padding:0px;width:100%;height:100%;overflow-y:auto;font-family:'Courier New',Courier,monospace !important;font-size:10pt;}
16
+
17
+ .previewMode{margin:5px;padding:0px;}
18
+
19
+ .showBlocktag p,.showBlocktag h1,.showBlocktag h2,.showBlocktag h3,.showBlocktag h4,.showBlocktag h5,.showBlocktag h6,.showBlocktag pre,.showBlocktag address,.showBlocktag div{background:none no-repeat scroll right top;border:1px dotted gray;}
20
+ .showBlocktag p{background-image:url(img/tag-p.gif);}
21
+ .showBlocktag h1{background-image:url(img/tag-h1.gif);}
22
+ .showBlocktag h2{background-image:url(img/tag-h2.gif);}
23
+ .showBlocktag h3{background-image:url(img/tag-h3.gif);}
24
+ .showBlocktag h4{background-image:url(img/tag-h4.gif);}
25
+ .showBlocktag h5{background-image:url(img/tag-h5.gif);}
26
+ .showBlocktag h6{background-image:url(img/tag-h6.gif);}
27
+ .showBlocktag pre{background-image:url(img/tag-pre.gif);}
28
+ .showBlocktag address{background-image:url(img/tag-address.gif);}
29
+ .showBlocktag div{background-image:url(img/tag-div.gif);}
@@ -0,0 +1,140 @@
1
+ .xhe_nostyle table, .xhe_nostyle tr, .xhe_nostyle td, .xhe_nostyle iframe {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; color:#000}
2
+
3
+ .xhe_nostyle table.xheLayout {display:inline-table;background:#FFF; border:1px solid #C5C5C5;width:100%;height:100%;}
4
+ .xhe_nostyle td.xheTool{padding:0px 3px;border-bottom:1px solid #C5C5C5;}
5
+ .xhe_nostyle td.xheTool span{float:left;margin:2px 0px;}
6
+ .xhe_nostyle td.xheTool br{clear:left;}
7
+
8
+ .xhe_nostyle span.xheGStart{display:none;}
9
+ .xhe_nostyle span.xheGEnd{display:none;}
10
+ .xhe_nostyle span.xheSeparator{display:block;height:22px;width:4px;margin:2px 2px !important;background:url(img/icons.gif) no-repeat -660px 0;}
11
+
12
+ .xhe_nostyle a.xheButton{display:inline-block;margin:1px;border:0px;cursor:pointer;text-decoration:none;}
13
+ .xhe_nostyle a.xheButton span{opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
14
+ .xhe_nostyle a.xheEnabled span{opacity:1; -ms-filter:'alpha(opacity=100)'; filter:alpha(opacity=100);}
15
+ .xhe_nostyle a.xheEnabled:hover {margin:0px;border:1px solid #999;background:#fff;}
16
+ .xhe_nostyle a.xheActive{margin:0px;border:1px solid #999; background:#fff;}
17
+
18
+ .xhe_nostyle a.xheButton span{display:block;margin:0px;height:20px;width:20px;overflow:hidden;}
19
+ .xhe_nostyle span.xheIcon{background:url(img/icons.gif) no-repeat 20px 20px}
20
+
21
+ .xhe_nostyle span.xheBtnCut {background-position:0 0}
22
+ .xhe_nostyle span.xheBtnCopy {background-position:-20px 0}
23
+ .xhe_nostyle span.xheBtnPaste {background-position:-40px 0}
24
+ .xhe_nostyle span.xheBtnPastetext {background-position:-60px 0}
25
+ .xhe_nostyle span.xheBtnBlocktag {background-position:-80px 0}
26
+ .xhe_nostyle span.xheBtnFontface {background-position:-100px 0}
27
+ .xhe_nostyle span.xheBtnFontSize {background-position:-120px 0}
28
+ .xhe_nostyle span.xheBtnBold {background-position:-140px 0}
29
+ .xhe_nostyle span.xheBtnItalic {background-position:-160px 0}
30
+ .xhe_nostyle span.xheBtnUnderline {background-position:-180px 0}
31
+ .xhe_nostyle span.xheBtnStrikethrough {background-position:-200px 0}
32
+ .xhe_nostyle span.xheBtnFontColor {background-position:-220px 0}
33
+ .xhe_nostyle span.xheBtnBackColor {background-position:-240px 0}
34
+ .xhe_nostyle span.xheBtnSelectAll {background-position:-260px 0}
35
+ .xhe_nostyle span.xheBtnRemoveformat {background-position:-280px 0}
36
+
37
+ .xhe_nostyle span.xheBtnAlign {background-position:-300px 0}
38
+ .xhe_nostyle span.xheBtnList {background-position:-320px 0}
39
+ .xhe_nostyle span.xheBtnOutdent {background-position:-340px 0}
40
+ .xhe_nostyle span.xheBtnIndent {background-position:-360px 0}
41
+
42
+ .xhe_nostyle span.xheBtnLink {background-position:-380px 0}
43
+ .xhe_nostyle span.xheBtnUnlink {background-position:-400px 0}
44
+ .xhe_nostyle span.xheBtnAnchor {background-position:-420px 0}
45
+ .xhe_nostyle span.xheBtnImg {background-position:-440px 0}
46
+ .xhe_nostyle span.xheBtnFlash {background-position:-460px 0}
47
+ .xhe_nostyle span.xheBtnMedia {background-position:-480px 0}
48
+ .xhe_nostyle span.xheBtnHr {background-position:-500px 0}
49
+ .xhe_nostyle span.xheBtnEmot {background-position:-520px 0}
50
+ .xhe_nostyle span.xheBtnTable {background-position:-540px 0}
51
+
52
+ .xhe_nostyle span.xheBtnSource {background-position:-560px 0}
53
+ .xhe_nostyle span.xheBtnPreview {background-position:-580px 0}
54
+ .xhe_nostyle span.xheBtnPrint {background-position:-600px 0}
55
+ .xhe_nostyle span.xheBtnFullscreen {background-position:-620px 0}
56
+
57
+ .xhe_nostyle span.xheBtnAbout {background-position:-640px 0}
58
+
59
+ .xhe_nostyle .xheIframeArea{height:100%;}
60
+ .xhe_nostyle iframe {display:block;background:#fff;width:100%;height:100%;}
61
+
62
+
63
+ #xheCntLine{display:none;position:absolute;z-index:1000001;background:#fff;height:1px;font-size:0;}
64
+ #xhePanel{display:none;position:absolute;z-index:1000000;border:#999 1px solid;background:#fff;text-align:left;}
65
+ #xheShadow{display:none;position:absolute;z-index:999999;background:#000;opacity:0.2; -ms-filter:'alpha(opacity=20)'; filter:alpha(opacity=20);}
66
+ .xheFixCancel{position:absolute;z-index:999998;background-color:#FFF;opacity:0; -ms-filter:'alpha(opacity=0)'; filter:alpha(opacity=0);}
67
+
68
+ .xheMenu{padding:2px;overflow-x:hidden;overflow-y:auto;max-height:230px;}
69
+ .xheMenu a{display:block;padding:3px 20px 3px 3px;line-height:normal;font-size:12px;color:#000;text-decoration:none;white-space:nowrap;}
70
+ .xheMenu a:hover{background:#e5e5e5;text-decoration:none;color:#000;}
71
+ .xheMenu p,.xheMenu h1,.xheMenu h2,.xheMenu h3,.xheMenu h4,.xheMenu h5,.xheMenu h6,.xheMenu pre,.xheMenu address,.xheMenu div{margin:0}
72
+
73
+ .xheEmot div{padding:5px;overflow-x:hidden;overflow-y:auto;}
74
+ .xheEmot div a{display:inline-block;margin:3px;padding:3px;overflow:hidden;background-repeat:no-repeat;background-position:center;text-decoration:none;}
75
+ .xheEmot div a:hover{border:1px solid #999;padding:2px;}
76
+ .xheEmot ul{border-top:1px solid #999;list-style:none;padding:0 10px;margin:0;font-size:12px;}
77
+ .xheEmot li{float:left;margin:0 2px 5px 0;}
78
+ .xheEmot li a{background:#fff;display:block;padding:0 8px;text-decoration:none;color:#000;line-height:20px;}
79
+ .xheEmot li a:hover{text-decoration:underline;}
80
+ .xheEmot li.cur{border:1px solid #999;border-top:none;position:relative;bottom:1px;}
81
+ .xheEmot li.cur a{cursor:text;padding-top:1px;}
82
+ .xheEmot li.cur a:hover{text-decoration:none;}
83
+
84
+ .xheColor{padding:5px;}
85
+ .xheColor a{display:inline-block;margin:1px;border:#999 1px solid;width:17px;height:9px;font-size:0;}
86
+ .xheColor a:hover{border:#000 1px solid;}
87
+ .xheColor a img{display:none;}
88
+
89
+ .xheDialog{padding:10px;font-size:12px;font-family:monospace;}
90
+ .xheDialog a{text-decoration:underline;color:#00f;}
91
+ .xheDialog a:hover{text-decoration:underline;color:#00f}
92
+ .xheDialog div{padding:2px 0;}
93
+ .xheDialog input{
94
+ margin:0;border-width:1px;border-style:solid;font-size:12px;
95
+ *border-width:expression((type!="checkbox")?'1px':0);*padding:expression((type=="text")?'1px':'auto');*width:expression((type=="text")?'160px':'auto');*border-color:expression((type=="text")?'#ABADB3':'#fff #888 #888 #fff');*background:expression((type=="button")?'#F0F0F0':'#FFFFFF');*cursor:expression((type=="button")?'pointer':'');*font-size:expression((type=="button")?'13px':'12px');
96
+ }
97
+ .xheDialog textarea{font-size:12px;resize:none;border:1px solid #ccc;}
98
+ .xheDialog input[type=text]{padding:1px;width:160px;border-color:#ABADB3;}
99
+ .xheDialog input[type=button]{margin:0;border-color:#fff #888 #888 #fff;background:#F0F0F0;cursor:pointer;font-size:13px;}
100
+ .xheDialog input[type=file]{font-size:13px;}
101
+ .xheDialog input[type=checkbox]{border:0;}
102
+ .xheDialog select{margin:0;border:1px #ABADB3 solid;}
103
+ .xheDialog input,.xheDialog select,.xheDialog textarea{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;}
104
+ .xheDialog .xheUpload{position: relative;display:inline-block;width:164px;}
105
+ .xheDialog .xheUpload .xheBtn{position: absolute;top: 0px;left: 114px;width:50px;z-index: 1000001;padding:0;}
106
+ .xheDialog .xheUpload .xheFile{cursor:pointer;position: absolute;top: 0px;left: 0px;width:164px;opacity:0;-ms-filter:'alpha(opacity=0)';filter:alpha(opacity=0);z-index: 1000002;}
107
+ .xheDialog .xheUpload .xheText {position: absolute;width:107px;top: 0px;left: 0px;z-index: 1000003;}
108
+
109
+ .xheModal{
110
+ position: fixed;z-index: 1000010;text-align:left;top:50%;left:50%;background:#FFF;border:1px solid #BBB;font-size:12px;
111
+ _position:absolute;_margin-top:expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
112
+ }
113
+ .xheModalTitle{padding:5px;background:#F0F0EE;border-bottom:1px solid #BBB;}
114
+ .xheModalClose{float:right;width:16px;height:16px;background:url(img/close.gif);cursor:pointer;}
115
+ .xheModalIfmWait{width:100%;height:100%;background:url(img/waiting.gif) no-repeat 50% 50%;margin:-16 0 0 -16;}
116
+ .xheModalShadow{
117
+ position:fixed;z-index:1000009;top:50%;left:50%;background:#000;opacity:0.2; -ms-filter:'alpha(opacity=20)'; filter:alpha(opacity=20);
118
+ _position:absolute;_margin-top:expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 5 + 'px');
119
+ }
120
+ .xheModalOverlay{
121
+ position: fixed;z-index:1000008;top: 0px;left: 0px;height:100%;width:100%;background-color:#000;opacity:0.2; -ms-filter:'alpha(opacity=20)'; filter:alpha(opacity=20);
122
+ _position:absolute;_height:expression(Math.max(document.documentElement.clientHeight,document.documentElement.scrollHeight)+'px');_width:expression(Math.max(document.documentElement.clientWidth,document.documentElement.scrollWidth)+'px');
123
+ }
124
+ *html{
125
+ background-image:url(about:blank);
126
+ background-attachment:fixed;
127
+ }
128
+
129
+ .xheProgress{position:relative;width:280px;margin:auto;border:1px solid #C1C1C1;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:url(img/progressbg.gif) #E9E9E9;}
130
+ .xheProgress span{position:absolute;left:0;top:0;width:100%;text-align:center;line-height:15px;font-size:12px;color:#222;text-shadow: 1px 1px 0 #eee;}
131
+ .xheProgress div{height:15px;width:1px;background:url(img/progress.gif) #31C135;}
132
+
133
+ .xhe_Fullfix{overflow:hidden;}
134
+ .xhe_Fullfix body{width:100%;height:100%;}
135
+ .xhe_Fullscreen{
136
+ top:0px;left:0px;position:fixed;z-index:100000;width:100%;height:100%;background:#fff;
137
+ _position:absolute;_top:expression((document.compatMode?documentElement.scrollTop:document.body.scrollTop)+'px');_width:expression((document.compatMode?documentElement.offsetWidth:document.body.offsetWidth) + 'px');_height:expression((document.compatMode?documentElement.offsetHeight:document.body.offsetHeight) + 'px');
138
+ }
139
+
140
+ .xheHideArea{position:absolute;top:-1000px;left:-1000px;visibility:hidden;}