sbdevcore 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (658) hide show
  1. data/app/views/layouts/application.html.haml +1 -1
  2. data/lib/sbdevcore/version.rb +1 -1
  3. metadata +1 -656
  4. data/app/assets/javascripts/tiny_mce/langs/ar.js +0 -170
  5. data/app/assets/javascripts/tiny_mce/langs/ca.js +0 -170
  6. data/app/assets/javascripts/tiny_mce/langs/ch.js +0 -178
  7. data/app/assets/javascripts/tiny_mce/langs/cs.js +0 -176
  8. data/app/assets/javascripts/tiny_mce/langs/cy.js +0 -170
  9. data/app/assets/javascripts/tiny_mce/langs/de.js +0 -171
  10. data/app/assets/javascripts/tiny_mce/langs/en.js +0 -170
  11. data/app/assets/javascripts/tiny_mce/langs/es.js +0 -172
  12. data/app/assets/javascripts/tiny_mce/langs/fr.js +0 -170
  13. data/app/assets/javascripts/tiny_mce/langs/he.js +0 -170
  14. data/app/assets/javascripts/tiny_mce/langs/hi.js +0 -170
  15. data/app/assets/javascripts/tiny_mce/langs/hr.js +0 -171
  16. data/app/assets/javascripts/tiny_mce/langs/hu.js +0 -170
  17. data/app/assets/javascripts/tiny_mce/langs/it.js +0 -206
  18. data/app/assets/javascripts/tiny_mce/langs/ja.js +0 -170
  19. data/app/assets/javascripts/tiny_mce/langs/ka.js +0 -173
  20. data/app/assets/javascripts/tiny_mce/langs/kl.js +0 -170
  21. data/app/assets/javascripts/tiny_mce/langs/ko.js +0 -170
  22. data/app/assets/javascripts/tiny_mce/langs/lb.js +0 -171
  23. data/app/assets/javascripts/tiny_mce/langs/nl.js +0 -170
  24. data/app/assets/javascripts/tiny_mce/langs/pl.js +0 -170
  25. data/app/assets/javascripts/tiny_mce/langs/pt.js +0 -170
  26. data/app/assets/javascripts/tiny_mce/langs/ru.js +0 -173
  27. data/app/assets/javascripts/tiny_mce/langs/sk.js +0 -176
  28. data/app/assets/javascripts/tiny_mce/langs/sv.js +0 -170
  29. data/app/assets/javascripts/tiny_mce/langs/ta.js +0 -170
  30. data/app/assets/javascripts/tiny_mce/langs/uk.js +0 -173
  31. data/app/assets/javascripts/tiny_mce/langs/vi.js +0 -170
  32. data/app/assets/javascripts/tiny_mce/langs/zh.js +0 -178
  33. data/app/assets/javascripts/tiny_mce/license.txt +0 -504
  34. data/app/assets/javascripts/tiny_mce/plugins/advhr/css/advhr.css +0 -5
  35. data/app/assets/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +0 -1
  36. data/app/assets/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +0 -57
  37. data/app/assets/javascripts/tiny_mce/plugins/advhr/js/rule.js +0 -43
  38. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ar_dlg.js +0 -5
  39. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ca_dlg.js +0 -5
  40. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ch_dlg.js +0 -5
  41. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/cs_dlg.js +0 -5
  42. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/cy_dlg.js +0 -5
  43. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/de_dlg.js +0 -5
  44. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +0 -5
  45. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/es_dlg.js +0 -5
  46. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/fr_dlg.js +0 -5
  47. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/he_dlg.js +0 -5
  48. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/hi_dlg.js +0 -5
  49. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/hr_dlg.js +0 -5
  50. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/hu_dlg.js +0 -5
  51. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/it_dlg.js +0 -5
  52. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ja_dlg.js +0 -5
  53. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ka_dlg.js +0 -5
  54. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/kl_dlg.js +0 -5
  55. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ko_dlg.js +0 -5
  56. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/lb_dlg.js +0 -5
  57. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/nl_dlg.js +0 -5
  58. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/pl_dlg.js +0 -5
  59. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/pt_dlg.js +0 -5
  60. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ru_dlg.js +0 -5
  61. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/sk_dlg.js +0 -5
  62. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/sv_dlg.js +0 -5
  63. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ta_dlg.js +0 -5
  64. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/uk_dlg.js +0 -5
  65. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/vi_dlg.js +0 -5
  66. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/zh_dlg.js +0 -5
  67. data/app/assets/javascripts/tiny_mce/plugins/advhr/rule.htm +0 -57
  68. data/app/assets/javascripts/tiny_mce/plugins/advimage/css/advimage.css +0 -13
  69. data/app/assets/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +0 -1
  70. data/app/assets/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +0 -50
  71. data/app/assets/javascripts/tiny_mce/plugins/advimage/image.htm +0 -232
  72. data/app/assets/javascripts/tiny_mce/plugins/advimage/js/image.js +0 -443
  73. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ar_dlg.js +0 -43
  74. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ca_dlg.js +0 -43
  75. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ch_dlg.js +0 -43
  76. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/cs_dlg.js +0 -43
  77. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/cy_dlg.js +0 -43
  78. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/de_dlg.js +0 -43
  79. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +0 -43
  80. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/es_dlg.js +0 -43
  81. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/fr_dlg.js +0 -43
  82. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/he_dlg.js +0 -43
  83. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/hi_dlg.js +0 -43
  84. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/hr_dlg.js +0 -43
  85. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/hu_dlg.js +0 -43
  86. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/it_dlg.js +0 -43
  87. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ja_dlg.js +0 -43
  88. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ka_dlg.js +0 -43
  89. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/kl_dlg.js +0 -43
  90. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ko_dlg.js +0 -43
  91. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/lb_dlg.js +0 -43
  92. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/nl_dlg.js +0 -43
  93. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/pl_dlg.js +0 -43
  94. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/pt_dlg.js +0 -43
  95. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ru_dlg.js +0 -43
  96. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/sk_dlg.js +0 -43
  97. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/sv_dlg.js +0 -43
  98. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ta_dlg.js +0 -43
  99. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/uk_dlg.js +0 -43
  100. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/vi_dlg.js +0 -43
  101. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/zh_dlg.js +0 -43
  102. data/app/assets/javascripts/tiny_mce/plugins/advlink/css/advlink.css +0 -8
  103. data/app/assets/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +0 -1
  104. data/app/assets/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +0 -61
  105. data/app/assets/javascripts/tiny_mce/plugins/advlink/js/advlink.js +0 -528
  106. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ar_dlg.js +0 -52
  107. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ca_dlg.js +0 -52
  108. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ch_dlg.js +0 -52
  109. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/cs_dlg.js +0 -52
  110. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/cy_dlg.js +0 -52
  111. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/de_dlg.js +0 -52
  112. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +0 -52
  113. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/es_dlg.js +0 -52
  114. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/fr_dlg.js +0 -52
  115. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/he_dlg.js +0 -52
  116. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/hi_dlg.js +0 -52
  117. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/hr_dlg.js +0 -52
  118. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/hu_dlg.js +0 -52
  119. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/it_dlg.js +0 -52
  120. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ja_dlg.js +0 -52
  121. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ka_dlg.js +0 -52
  122. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/kl_dlg.js +0 -52
  123. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ko_dlg.js +0 -52
  124. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/lb_dlg.js +0 -52
  125. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/nl_dlg.js +0 -52
  126. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/pl_dlg.js +0 -52
  127. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/pt_dlg.js +0 -52
  128. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ru_dlg.js +0 -52
  129. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/sk_dlg.js +0 -52
  130. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/sv_dlg.js +0 -52
  131. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ta_dlg.js +0 -52
  132. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/uk_dlg.js +0 -52
  133. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js +0 -52
  134. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js +0 -52
  135. data/app/assets/javascripts/tiny_mce/plugins/advlink/link.htm +0 -333
  136. data/app/assets/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +0 -1
  137. data/app/assets/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +0 -154
  138. data/app/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +0 -3
  139. data/app/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +0 -165
  140. data/app/assets/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +0 -1
  141. data/app/assets/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +0 -422
  142. data/app/assets/javascripts/tiny_mce/plugins/autosave/langs/en.js +0 -4
  143. data/app/assets/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +0 -1
  144. data/app/assets/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +0 -120
  145. data/app/assets/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +0 -1
  146. data/app/assets/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +0 -140
  147. data/app/assets/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +0 -1
  148. data/app/assets/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +0 -82
  149. data/app/assets/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +0 -1
  150. data/app/assets/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +0 -43
  151. data/app/assets/javascripts/tiny_mce/plugins/emotions/emotions.htm +0 -40
  152. data/app/assets/javascripts/tiny_mce/plugins/emotions/js/emotions.js +0 -22
  153. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ar_dlg.js +0 -20
  154. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ca_dlg.js +0 -20
  155. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ch_dlg.js +0 -20
  156. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/cs_dlg.js +0 -20
  157. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/cy_dlg.js +0 -20
  158. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/de_dlg.js +0 -20
  159. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +0 -20
  160. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/es_dlg.js +0 -20
  161. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/fr_dlg.js +0 -20
  162. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/he_dlg.js +0 -20
  163. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/hi_dlg.js +0 -20
  164. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/hr_dlg.js +0 -20
  165. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/hu_dlg.js +0 -20
  166. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/it_dlg.js +0 -20
  167. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ja_dlg.js +0 -20
  168. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ka_dlg.js +0 -20
  169. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/kl_dlg.js +0 -20
  170. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ko_dlg.js +0 -20
  171. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/lb_dlg.js +0 -20
  172. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/nl_dlg.js +0 -20
  173. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/pl_dlg.js +0 -20
  174. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/pt_dlg.js +0 -20
  175. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ru_dlg.js +0 -20
  176. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/sk_dlg.js +0 -20
  177. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/sv_dlg.js +0 -20
  178. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ta_dlg.js +0 -20
  179. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/uk_dlg.js +0 -20
  180. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/vi_dlg.js +0 -20
  181. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/zh_dlg.js +0 -20
  182. data/app/assets/javascripts/tiny_mce/plugins/example/dialog.htm +0 -22
  183. data/app/assets/javascripts/tiny_mce/plugins/example/editor_plugin.js +0 -1
  184. data/app/assets/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +0 -84
  185. data/app/assets/javascripts/tiny_mce/plugins/example/js/dialog.js +0 -19
  186. data/app/assets/javascripts/tiny_mce/plugins/example/langs/en.js +0 -3
  187. data/app/assets/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +0 -3
  188. data/app/assets/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +0 -182
  189. data/app/assets/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +0 -1
  190. data/app/assets/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +0 -149
  191. data/app/assets/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +0 -571
  192. data/app/assets/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +0 -471
  193. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ar_dlg.js +0 -85
  194. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ca_dlg.js +0 -85
  195. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ch_dlg.js +0 -85
  196. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/cs_dlg.js +0 -85
  197. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/cy_dlg.js +0 -85
  198. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/de_dlg.js +0 -85
  199. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +0 -85
  200. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/es_dlg.js +0 -85
  201. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/fr_dlg.js +0 -85
  202. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/he_dlg.js +0 -85
  203. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/hi_dlg.js +0 -85
  204. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/hr_dlg.js +0 -85
  205. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/hu_dlg.js +0 -85
  206. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/it_dlg.js +0 -85
  207. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ja_dlg.js +0 -85
  208. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ka_dlg.js +0 -85
  209. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/kl_dlg.js +0 -85
  210. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ko_dlg.js +0 -85
  211. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/lb_dlg.js +0 -85
  212. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/nl_dlg.js +0 -85
  213. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js +0 -85
  214. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/pt_dlg.js +0 -85
  215. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ru_dlg.js +0 -85
  216. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/sk_dlg.js +0 -85
  217. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/sv_dlg.js +0 -85
  218. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ta_dlg.js +0 -85
  219. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/uk_dlg.js +0 -85
  220. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/vi_dlg.js +0 -85
  221. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/zh_dlg.js +0 -85
  222. data/app/assets/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -1
  223. data/app/assets/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +0 -151
  224. data/app/assets/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -109
  225. data/app/assets/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +0 -1
  226. data/app/assets/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +0 -54
  227. data/app/assets/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -1
  228. data/app/assets/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +0 -635
  229. data/app/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -90
  230. data/app/assets/javascripts/tiny_mce/plugins/inlinepopups/template.htm +0 -387
  231. data/app/assets/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +0 -1
  232. data/app/assets/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +0 -83
  233. data/app/assets/javascripts/tiny_mce/plugins/layer/editor_plugin.js +0 -1
  234. data/app/assets/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +0 -212
  235. data/app/assets/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +0 -1
  236. data/app/assets/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +0 -136
  237. data/app/assets/javascripts/tiny_mce/plugins/media/css/content.css +0 -6
  238. data/app/assets/javascripts/tiny_mce/plugins/media/css/media.css +0 -16
  239. data/app/assets/javascripts/tiny_mce/plugins/media/editor_plugin.js +0 -1
  240. data/app/assets/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +0 -414
  241. data/app/assets/javascripts/tiny_mce/plugins/media/js/embed.js +0 -73
  242. data/app/assets/javascripts/tiny_mce/plugins/media/js/media.js +0 -630
  243. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ar_dlg.js +0 -103
  244. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ca_dlg.js +0 -103
  245. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ch_dlg.js +0 -103
  246. data/app/assets/javascripts/tiny_mce/plugins/media/langs/cs_dlg.js +0 -103
  247. data/app/assets/javascripts/tiny_mce/plugins/media/langs/cy_dlg.js +0 -103
  248. data/app/assets/javascripts/tiny_mce/plugins/media/langs/de_dlg.js +0 -103
  249. data/app/assets/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +0 -103
  250. data/app/assets/javascripts/tiny_mce/plugins/media/langs/es_dlg.js +0 -103
  251. data/app/assets/javascripts/tiny_mce/plugins/media/langs/fr_dlg.js +0 -103
  252. data/app/assets/javascripts/tiny_mce/plugins/media/langs/he_dlg.js +0 -103
  253. data/app/assets/javascripts/tiny_mce/plugins/media/langs/hi_dlg.js +0 -103
  254. data/app/assets/javascripts/tiny_mce/plugins/media/langs/hr_dlg.js +0 -103
  255. data/app/assets/javascripts/tiny_mce/plugins/media/langs/hu_dlg.js +0 -103
  256. data/app/assets/javascripts/tiny_mce/plugins/media/langs/it_dlg.js +0 -103
  257. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ja_dlg.js +0 -103
  258. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ka_dlg.js +0 -103
  259. data/app/assets/javascripts/tiny_mce/plugins/media/langs/kl_dlg.js +0 -103
  260. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ko_dlg.js +0 -103
  261. data/app/assets/javascripts/tiny_mce/plugins/media/langs/lb_dlg.js +0 -103
  262. data/app/assets/javascripts/tiny_mce/plugins/media/langs/nl_dlg.js +0 -103
  263. data/app/assets/javascripts/tiny_mce/plugins/media/langs/pl_dlg.js +0 -103
  264. data/app/assets/javascripts/tiny_mce/plugins/media/langs/pt_dlg.js +0 -103
  265. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ru_dlg.js +0 -103
  266. data/app/assets/javascripts/tiny_mce/plugins/media/langs/sk_dlg.js +0 -103
  267. data/app/assets/javascripts/tiny_mce/plugins/media/langs/sv_dlg.js +0 -103
  268. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ta_dlg.js +0 -103
  269. data/app/assets/javascripts/tiny_mce/plugins/media/langs/uk_dlg.js +0 -103
  270. data/app/assets/javascripts/tiny_mce/plugins/media/langs/vi_dlg.js +0 -103
  271. data/app/assets/javascripts/tiny_mce/plugins/media/langs/zh_dlg.js +0 -103
  272. data/app/assets/javascripts/tiny_mce/plugins/media/media.htm +0 -817
  273. data/app/assets/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +0 -1
  274. data/app/assets/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +0 -53
  275. data/app/assets/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +0 -1
  276. data/app/assets/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +0 -90
  277. data/app/assets/javascripts/tiny_mce/plugins/pagebreak/css/content.css +0 -1
  278. data/app/assets/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +0 -1
  279. data/app/assets/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +0 -77
  280. data/app/assets/javascripts/tiny_mce/plugins/paste/editor_plugin.js +0 -1
  281. data/app/assets/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +0 -940
  282. data/app/assets/javascripts/tiny_mce/plugins/paste/js/pastetext.js +0 -36
  283. data/app/assets/javascripts/tiny_mce/plugins/paste/js/pasteword.js +0 -51
  284. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ar_dlg.js +0 -5
  285. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ca_dlg.js +0 -5
  286. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ch_dlg.js +0 -5
  287. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/cs_dlg.js +0 -5
  288. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/cy_dlg.js +0 -5
  289. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +0 -5
  290. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +0 -5
  291. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/es_dlg.js +0 -5
  292. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/fr_dlg.js +0 -5
  293. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/he_dlg.js +0 -5
  294. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/hi_dlg.js +0 -5
  295. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/hr_dlg.js +0 -5
  296. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/hu_dlg.js +0 -5
  297. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/it_dlg.js +0 -5
  298. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ja_dlg.js +0 -5
  299. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ka_dlg.js +0 -5
  300. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/kl_dlg.js +0 -5
  301. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ko_dlg.js +0 -5
  302. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/lb_dlg.js +0 -5
  303. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/nl_dlg.js +0 -5
  304. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/pl_dlg.js +0 -5
  305. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/pt_dlg.js +0 -5
  306. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ru_dlg.js +0 -5
  307. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/sk_dlg.js +0 -5
  308. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/sv_dlg.js +0 -5
  309. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ta_dlg.js +0 -5
  310. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/uk_dlg.js +0 -5
  311. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/vi_dlg.js +0 -5
  312. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/zh_dlg.js +0 -5
  313. data/app/assets/javascripts/tiny_mce/plugins/paste/pastetext.htm +0 -27
  314. data/app/assets/javascripts/tiny_mce/plugins/paste/pasteword.htm +0 -21
  315. data/app/assets/javascripts/tiny_mce/plugins/preview/editor_plugin.js +0 -1
  316. data/app/assets/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +0 -53
  317. data/app/assets/javascripts/tiny_mce/plugins/preview/example.html +0 -28
  318. data/app/assets/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +0 -73
  319. data/app/assets/javascripts/tiny_mce/plugins/preview/preview.html +0 -17
  320. data/app/assets/javascripts/tiny_mce/plugins/print/editor_plugin.js +0 -1
  321. data/app/assets/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +0 -34
  322. data/app/assets/javascripts/tiny_mce/plugins/save/editor_plugin.js +0 -1
  323. data/app/assets/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +0 -101
  324. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +0 -6
  325. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +0 -1
  326. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +0 -57
  327. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +0 -130
  328. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +0 -16
  329. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +0 -16
  330. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +0 -16
  331. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +0 -16
  332. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +0 -16
  333. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js +0 -16
  334. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +0 -16
  335. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js +0 -16
  336. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +0 -16
  337. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js +0 -16
  338. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +0 -16
  339. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +0 -16
  340. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +0 -16
  341. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js +0 -16
  342. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +0 -16
  343. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +0 -16
  344. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +0 -16
  345. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +0 -16
  346. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +0 -16
  347. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +0 -16
  348. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +0 -16
  349. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +0 -16
  350. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +0 -16
  351. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +0 -16
  352. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +0 -16
  353. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +0 -16
  354. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +0 -16
  355. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +0 -16
  356. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +0 -16
  357. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +0 -99
  358. data/app/assets/javascripts/tiny_mce/plugins/spellchecker/css/content.css +0 -1
  359. data/app/assets/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +0 -1
  360. data/app/assets/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +0 -415
  361. data/app/assets/javascripts/tiny_mce/plugins/style/css/props.css +0 -13
  362. data/app/assets/javascripts/tiny_mce/plugins/style/editor_plugin.js +0 -1
  363. data/app/assets/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +0 -55
  364. data/app/assets/javascripts/tiny_mce/plugins/style/js/props.js +0 -641
  365. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ar_dlg.js +0 -63
  366. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ca_dlg.js +0 -63
  367. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ch_dlg.js +0 -63
  368. data/app/assets/javascripts/tiny_mce/plugins/style/langs/cs_dlg.js +0 -63
  369. data/app/assets/javascripts/tiny_mce/plugins/style/langs/cy_dlg.js +0 -63
  370. data/app/assets/javascripts/tiny_mce/plugins/style/langs/de_dlg.js +0 -63
  371. data/app/assets/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +0 -63
  372. data/app/assets/javascripts/tiny_mce/plugins/style/langs/es_dlg.js +0 -63
  373. data/app/assets/javascripts/tiny_mce/plugins/style/langs/fr_dlg.js +0 -63
  374. data/app/assets/javascripts/tiny_mce/plugins/style/langs/he_dlg.js +0 -63
  375. data/app/assets/javascripts/tiny_mce/plugins/style/langs/hi_dlg.js +0 -63
  376. data/app/assets/javascripts/tiny_mce/plugins/style/langs/hr_dlg.js +0 -63
  377. data/app/assets/javascripts/tiny_mce/plugins/style/langs/hu_dlg.js +0 -63
  378. data/app/assets/javascripts/tiny_mce/plugins/style/langs/it_dlg.js +0 -63
  379. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ja_dlg.js +0 -63
  380. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ka_dlg.js +0 -63
  381. data/app/assets/javascripts/tiny_mce/plugins/style/langs/kl_dlg.js +0 -63
  382. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ko_dlg.js +0 -63
  383. data/app/assets/javascripts/tiny_mce/plugins/style/langs/lb_dlg.js +0 -63
  384. data/app/assets/javascripts/tiny_mce/plugins/style/langs/nl_dlg.js +0 -63
  385. data/app/assets/javascripts/tiny_mce/plugins/style/langs/pl_dlg.js +0 -63
  386. data/app/assets/javascripts/tiny_mce/plugins/style/langs/pt_dlg.js +0 -63
  387. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ru_dlg.js +0 -63
  388. data/app/assets/javascripts/tiny_mce/plugins/style/langs/sk_dlg.js +0 -63
  389. data/app/assets/javascripts/tiny_mce/plugins/style/langs/sv_dlg.js +0 -63
  390. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ta_dlg.js +0 -63
  391. data/app/assets/javascripts/tiny_mce/plugins/style/langs/uk_dlg.js +0 -63
  392. data/app/assets/javascripts/tiny_mce/plugins/style/langs/vi_dlg.js +0 -63
  393. data/app/assets/javascripts/tiny_mce/plugins/style/langs/zh_dlg.js +0 -63
  394. data/app/assets/javascripts/tiny_mce/plugins/style/props.htm +0 -723
  395. data/app/assets/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +0 -1
  396. data/app/assets/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +0 -112
  397. data/app/assets/javascripts/tiny_mce/plugins/table/cell.htm +0 -178
  398. data/app/assets/javascripts/tiny_mce/plugins/table/css/cell.css +0 -17
  399. data/app/assets/javascripts/tiny_mce/plugins/table/css/row.css +0 -25
  400. data/app/assets/javascripts/tiny_mce/plugins/table/css/table.css +0 -13
  401. data/app/assets/javascripts/tiny_mce/plugins/table/editor_plugin.js +0 -1
  402. data/app/assets/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +0 -1125
  403. data/app/assets/javascripts/tiny_mce/plugins/table/js/cell.js +0 -286
  404. data/app/assets/javascripts/tiny_mce/plugins/table/js/merge_cells.js +0 -27
  405. data/app/assets/javascripts/tiny_mce/plugins/table/js/row.js +0 -237
  406. data/app/assets/javascripts/tiny_mce/plugins/table/js/table.js +0 -449
  407. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ar_dlg.js +0 -74
  408. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ca_dlg.js +0 -74
  409. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ch_dlg.js +0 -74
  410. data/app/assets/javascripts/tiny_mce/plugins/table/langs/cs_dlg.js +0 -74
  411. data/app/assets/javascripts/tiny_mce/plugins/table/langs/cy_dlg.js +0 -74
  412. data/app/assets/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +0 -74
  413. data/app/assets/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +0 -74
  414. data/app/assets/javascripts/tiny_mce/plugins/table/langs/es_dlg.js +0 -74
  415. data/app/assets/javascripts/tiny_mce/plugins/table/langs/fr_dlg.js +0 -74
  416. data/app/assets/javascripts/tiny_mce/plugins/table/langs/he_dlg.js +0 -74
  417. data/app/assets/javascripts/tiny_mce/plugins/table/langs/hi_dlg.js +0 -74
  418. data/app/assets/javascripts/tiny_mce/plugins/table/langs/hr_dlg.js +0 -74
  419. data/app/assets/javascripts/tiny_mce/plugins/table/langs/hu_dlg.js +0 -74
  420. data/app/assets/javascripts/tiny_mce/plugins/table/langs/it_dlg.js +0 -74
  421. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ja_dlg.js +0 -74
  422. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ka_dlg.js +0 -74
  423. data/app/assets/javascripts/tiny_mce/plugins/table/langs/kl_dlg.js +0 -74
  424. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ko_dlg.js +0 -74
  425. data/app/assets/javascripts/tiny_mce/plugins/table/langs/lb_dlg.js +0 -74
  426. data/app/assets/javascripts/tiny_mce/plugins/table/langs/nl_dlg.js +0 -74
  427. data/app/assets/javascripts/tiny_mce/plugins/table/langs/pl_dlg.js +0 -74
  428. data/app/assets/javascripts/tiny_mce/plugins/table/langs/pt_dlg.js +0 -74
  429. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ru_dlg.js +0 -74
  430. data/app/assets/javascripts/tiny_mce/plugins/table/langs/sk_dlg.js +0 -74
  431. data/app/assets/javascripts/tiny_mce/plugins/table/langs/sv_dlg.js +0 -73
  432. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ta_dlg.js +0 -74
  433. data/app/assets/javascripts/tiny_mce/plugins/table/langs/uk_dlg.js +0 -74
  434. data/app/assets/javascripts/tiny_mce/plugins/table/langs/vi_dlg.js +0 -74
  435. data/app/assets/javascripts/tiny_mce/plugins/table/langs/zh_dlg.js +0 -74
  436. data/app/assets/javascripts/tiny_mce/plugins/table/merge_cells.htm +0 -32
  437. data/app/assets/javascripts/tiny_mce/plugins/table/row.htm +0 -155
  438. data/app/assets/javascripts/tiny_mce/plugins/table/table.htm +0 -187
  439. data/app/assets/javascripts/tiny_mce/plugins/template/blank.htm +0 -12
  440. data/app/assets/javascripts/tiny_mce/plugins/template/css/template.css +0 -23
  441. data/app/assets/javascripts/tiny_mce/plugins/template/editor_plugin.js +0 -1
  442. data/app/assets/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +0 -159
  443. data/app/assets/javascripts/tiny_mce/plugins/template/js/template.js +0 -106
  444. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ar_dlg.js +0 -15
  445. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ca_dlg.js +0 -15
  446. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ch_dlg.js +0 -15
  447. data/app/assets/javascripts/tiny_mce/plugins/template/langs/cs_dlg.js +0 -15
  448. data/app/assets/javascripts/tiny_mce/plugins/template/langs/cy_dlg.js +0 -15
  449. data/app/assets/javascripts/tiny_mce/plugins/template/langs/de_dlg.js +0 -15
  450. data/app/assets/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +0 -15
  451. data/app/assets/javascripts/tiny_mce/plugins/template/langs/es_dlg.js +0 -15
  452. data/app/assets/javascripts/tiny_mce/plugins/template/langs/fr_dlg.js +0 -15
  453. data/app/assets/javascripts/tiny_mce/plugins/template/langs/he_dlg.js +0 -15
  454. data/app/assets/javascripts/tiny_mce/plugins/template/langs/hi_dlg.js +0 -15
  455. data/app/assets/javascripts/tiny_mce/plugins/template/langs/hr_dlg.js +0 -15
  456. data/app/assets/javascripts/tiny_mce/plugins/template/langs/hu_dlg.js +0 -15
  457. data/app/assets/javascripts/tiny_mce/plugins/template/langs/it_dlg.js +0 -15
  458. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ja_dlg.js +0 -15
  459. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ka_dlg.js +0 -15
  460. data/app/assets/javascripts/tiny_mce/plugins/template/langs/kl_dlg.js +0 -15
  461. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ko_dlg.js +0 -15
  462. data/app/assets/javascripts/tiny_mce/plugins/template/langs/lb_dlg.js +0 -15
  463. data/app/assets/javascripts/tiny_mce/plugins/template/langs/nl_dlg.js +0 -15
  464. data/app/assets/javascripts/tiny_mce/plugins/template/langs/pl_dlg.js +0 -15
  465. data/app/assets/javascripts/tiny_mce/plugins/template/langs/pt_dlg.js +0 -15
  466. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ru_dlg.js +0 -15
  467. data/app/assets/javascripts/tiny_mce/plugins/template/langs/sk_dlg.js +0 -15
  468. data/app/assets/javascripts/tiny_mce/plugins/template/langs/sv_dlg.js +0 -15
  469. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ta_dlg.js +0 -15
  470. data/app/assets/javascripts/tiny_mce/plugins/template/langs/uk_dlg.js +0 -15
  471. data/app/assets/javascripts/tiny_mce/plugins/template/langs/vi_dlg.js +0 -15
  472. data/app/assets/javascripts/tiny_mce/plugins/template/langs/zh_dlg.js +0 -15
  473. data/app/assets/javascripts/tiny_mce/plugins/template/template.htm +0 -31
  474. data/app/assets/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +0 -1
  475. data/app/assets/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +0 -76
  476. data/app/assets/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +0 -1
  477. data/app/assets/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +0 -98
  478. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +0 -141
  479. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +0 -141
  480. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +0 -148
  481. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +0 -141
  482. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +0 -11
  483. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +0 -9
  484. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +0 -161
  485. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +0 -1
  486. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -144
  487. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +0 -161
  488. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +0 -28
  489. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +0 -28
  490. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -126
  491. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +0 -28
  492. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +0 -63
  493. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +0 -231
  494. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +0 -62
  495. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +0 -32
  496. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +0 -32
  497. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +0 -32
  498. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +0 -32
  499. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +0 -32
  500. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +0 -32
  501. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +0 -32
  502. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +0 -32
  503. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +0 -32
  504. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +0 -32
  505. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +0 -32
  506. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +0 -32
  507. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +0 -32
  508. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +0 -32
  509. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +0 -32
  510. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +0 -32
  511. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +0 -32
  512. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +0 -32
  513. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +0 -32
  514. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +0 -32
  515. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +0 -32
  516. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +0 -32
  517. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +0 -32
  518. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +0 -32
  519. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +0 -32
  520. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +0 -32
  521. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +0 -32
  522. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +0 -32
  523. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +0 -32
  524. data/app/assets/javascripts/tiny_mce/themes/advanced/about.htm +0 -54
  525. data/app/assets/javascripts/tiny_mce/themes/advanced/anchor.htm +0 -26
  526. data/app/assets/javascripts/tiny_mce/themes/advanced/charmap.htm +0 -52
  527. data/app/assets/javascripts/tiny_mce/themes/advanced/color_picker.htm +0 -73
  528. data/app/assets/javascripts/tiny_mce/themes/advanced/editor_template.js +0 -1
  529. data/app/assets/javascripts/tiny_mce/themes/advanced/editor_template_src.js +0 -1176
  530. data/app/assets/javascripts/tiny_mce/themes/advanced/image.htm +0 -80
  531. data/app/assets/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  532. data/app/assets/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  533. data/app/assets/javascripts/tiny_mce/themes/advanced/js/about.js +0 -72
  534. data/app/assets/javascripts/tiny_mce/themes/advanced/js/anchor.js +0 -37
  535. data/app/assets/javascripts/tiny_mce/themes/advanced/js/charmap.js +0 -335
  536. data/app/assets/javascripts/tiny_mce/themes/advanced/js/color_picker.js +0 -253
  537. data/app/assets/javascripts/tiny_mce/themes/advanced/js/image.js +0 -245
  538. data/app/assets/javascripts/tiny_mce/themes/advanced/js/link.js +0 -156
  539. data/app/assets/javascripts/tiny_mce/themes/advanced/js/source_editor.js +0 -62
  540. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ar.js +0 -62
  541. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ar_dlg.js +0 -51
  542. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ca.js +0 -62
  543. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ca_dlg.js +0 -51
  544. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ch.js +0 -64
  545. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ch_dlg.js +0 -51
  546. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/cs.js +0 -62
  547. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/cs_dlg.js +0 -51
  548. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/cy.js +0 -62
  549. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/cy_dlg.js +0 -51
  550. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/de.js +0 -63
  551. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +0 -51
  552. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/en.js +0 -62
  553. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +0 -51
  554. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/es.js +0 -62
  555. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/es_dlg.js +0 -51
  556. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/fr.js +0 -62
  557. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/fr_dlg.js +0 -51
  558. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/he.js +0 -62
  559. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/he_dlg.js +0 -51
  560. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hi.js +0 -62
  561. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hi_dlg.js +0 -51
  562. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hr.js +0 -62
  563. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hr_dlg.js +0 -51
  564. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hu.js +0 -62
  565. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hu_dlg.js +0 -51
  566. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/it.js +0 -72
  567. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/it_dlg.js +0 -51
  568. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ja.js +0 -62
  569. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ja_dlg.js +0 -51
  570. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ka.js +0 -62
  571. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ka_dlg.js +0 -51
  572. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/kl.js +0 -62
  573. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/kl_dlg.js +0 -51
  574. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ko.js +0 -62
  575. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ko_dlg.js +0 -51
  576. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/lb.js +0 -63
  577. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/lb_dlg.js +0 -51
  578. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/nl.js +0 -62
  579. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/nl_dlg.js +0 -51
  580. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/pl.js +0 -62
  581. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/pl_dlg.js +0 -51
  582. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/pt.js +0 -62
  583. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/pt_dlg.js +0 -51
  584. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ru.js +0 -62
  585. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ru_dlg.js +0 -51
  586. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/sk.js +0 -62
  587. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/sk_dlg.js +0 -51
  588. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/sv.js +0 -60
  589. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/sv_dlg.js +0 -51
  590. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ta.js +0 -62
  591. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ta_dlg.js +0 -51
  592. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/uk.js +0 -62
  593. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/uk_dlg.js +0 -51
  594. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/vi.js +0 -62
  595. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/vi_dlg.js +0 -51
  596. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/zh.js +0 -64
  597. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/zh_dlg.js +0 -51
  598. data/app/assets/javascripts/tiny_mce/themes/advanced/link.htm +0 -58
  599. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/content.css +0 -35
  600. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +0 -117
  601. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  602. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  603. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  604. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  605. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  606. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  607. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +0 -213
  608. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +0 -35
  609. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +0 -116
  610. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  611. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  612. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  613. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +0 -215
  614. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +0 -8
  615. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +0 -5
  616. data/app/assets/javascripts/tiny_mce/themes/advanced/source_editor.htm +0 -25
  617. data/app/assets/javascripts/tiny_mce/themes/simple/editor_template.js +0 -1
  618. data/app/assets/javascripts/tiny_mce/themes/simple/editor_template_src.js +0 -85
  619. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ar.js +0 -11
  620. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ca.js +0 -11
  621. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ch.js +0 -11
  622. data/app/assets/javascripts/tiny_mce/themes/simple/langs/cs.js +0 -11
  623. data/app/assets/javascripts/tiny_mce/themes/simple/langs/cy.js +0 -11
  624. data/app/assets/javascripts/tiny_mce/themes/simple/langs/de.js +0 -11
  625. data/app/assets/javascripts/tiny_mce/themes/simple/langs/en.js +0 -11
  626. data/app/assets/javascripts/tiny_mce/themes/simple/langs/es.js +0 -11
  627. data/app/assets/javascripts/tiny_mce/themes/simple/langs/fr.js +0 -11
  628. data/app/assets/javascripts/tiny_mce/themes/simple/langs/he.js +0 -11
  629. data/app/assets/javascripts/tiny_mce/themes/simple/langs/hi.js +0 -11
  630. data/app/assets/javascripts/tiny_mce/themes/simple/langs/hr.js +0 -11
  631. data/app/assets/javascripts/tiny_mce/themes/simple/langs/hu.js +0 -11
  632. data/app/assets/javascripts/tiny_mce/themes/simple/langs/it.js +0 -11
  633. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ja.js +0 -11
  634. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ka.js +0 -11
  635. data/app/assets/javascripts/tiny_mce/themes/simple/langs/kl.js +0 -11
  636. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ko.js +0 -11
  637. data/app/assets/javascripts/tiny_mce/themes/simple/langs/lb.js +0 -11
  638. data/app/assets/javascripts/tiny_mce/themes/simple/langs/nl.js +0 -11
  639. data/app/assets/javascripts/tiny_mce/themes/simple/langs/pl.js +0 -11
  640. data/app/assets/javascripts/tiny_mce/themes/simple/langs/pt.js +0 -11
  641. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ru.js +0 -11
  642. data/app/assets/javascripts/tiny_mce/themes/simple/langs/sk.js +0 -11
  643. data/app/assets/javascripts/tiny_mce/themes/simple/langs/sv.js +0 -11
  644. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ta.js +0 -11
  645. data/app/assets/javascripts/tiny_mce/themes/simple/langs/uk.js +0 -11
  646. data/app/assets/javascripts/tiny_mce/themes/simple/langs/vi.js +0 -11
  647. data/app/assets/javascripts/tiny_mce/themes/simple/langs/zh.js +0 -11
  648. data/app/assets/javascripts/tiny_mce/themes/simple/skins/default/content.css +0 -25
  649. data/app/assets/javascripts/tiny_mce/themes/simple/skins/default/ui.css +0 -32
  650. data/app/assets/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +0 -17
  651. data/app/assets/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +0 -35
  652. data/app/assets/javascripts/tiny_mce/tiny_mce.js +0 -1
  653. data/app/assets/javascripts/tiny_mce/tiny_mce_popup.js +0 -5
  654. data/app/assets/javascripts/tiny_mce/tiny_mce_src.js +0 -13959
  655. data/app/assets/javascripts/tiny_mce/utils/editable_selects.js +0 -70
  656. data/app/assets/javascripts/tiny_mce/utils/form_utils.js +0 -200
  657. data/app/assets/javascripts/tiny_mce/utils/mctabs.js +0 -77
  658. data/app/assets/javascripts/tiny_mce/utils/validate.js +0 -220
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>{#advanced_dlg.anchor_title}</title>
5
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
- <script type="text/javascript" src="js/anchor.js"></script>
7
- </head>
8
- <body style="display: none">
9
- <form onsubmit="AnchorDialog.update();return false;" action="#">
10
- <table border="0" cellpadding="4" cellspacing="0">
11
- <tr>
12
- <td colspan="2" class="title">{#advanced_dlg.anchor_title}</td>
13
- </tr>
14
- <tr>
15
- <td class="nowrap">{#advanced_dlg.anchor_name}:</td>
16
- <td><input name="anchorName" type="text" class="mceFocus" id="anchorName" value="" style="width: 200px" /></td>
17
- </tr>
18
- </table>
19
-
20
- <div class="mceActionPanel">
21
- <input type="submit" id="insert" name="insert" value="{#update}" />
22
- <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
23
- </div>
24
- </form>
25
- </body>
26
- </html>
@@ -1,52 +0,0 @@
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
- <title>{#advanced_dlg.charmap_title}</title>
5
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
- <script type="text/javascript" src="js/charmap.js"></script>
7
- </head>
8
- <body id="charmap" style="display:none">
9
- <table align="center" border="0" cellspacing="0" cellpadding="2">
10
- <tr>
11
- <td colspan="2" class="title">{#advanced_dlg.charmap_title}</td>
12
- </tr>
13
- <tr>
14
- <td id="charmapView" rowspan="2" align="left" valign="top">
15
- <!-- Chars will be rendered here -->
16
- </td>
17
- <td width="100" align="center" valign="top">
18
- <table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px">
19
- <tr>
20
- <td id="codeV">&nbsp;</td>
21
- </tr>
22
- <tr>
23
- <td id="codeN">&nbsp;</td>
24
- </tr>
25
- </table>
26
- </td>
27
- </tr>
28
- <tr>
29
- <td valign="bottom" style="padding-bottom: 3px;">
30
- <table width="100" align="center" border="0" cellpadding="2" cellspacing="0">
31
- <tr>
32
- <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">HTML-Code</td>
33
- </tr>
34
- <tr>
35
- <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&nbsp;</td>
36
- </tr>
37
- <tr>
38
- <td style="font-size: 1px;">&nbsp;</td>
39
- </tr>
40
- <tr>
41
- <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">NUM-Code</td>
42
- </tr>
43
- <tr>
44
- <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&nbsp;</td>
45
- </tr>
46
- </table>
47
- </td>
48
- </tr>
49
- </table>
50
-
51
- </body>
52
- </html>
@@ -1,73 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>{#advanced_dlg.colorpicker_title}</title>
5
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
- <script type="text/javascript" src="../../utils/mctabs.js"></script>
7
- <script type="text/javascript" src="js/color_picker.js"></script>
8
- </head>
9
- <body id="colorpicker" style="display: none">
10
- <form onsubmit="insertAction();return false" action="#">
11
- <div class="tabs">
12
- <ul>
13
- <li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
14
- <li id="rgb_tab"><span><a href="javascript:;" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
15
- <li id="named_tab"><span><a href="javascript:;" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
16
- </ul>
17
- </div>
18
-
19
- <div class="panel_wrapper">
20
- <div id="picker_panel" class="panel current">
21
- <fieldset>
22
- <legend>{#advanced_dlg.colorpicker_picker_title}</legend>
23
- <div id="picker">
24
- <img id="colors" src="img/colorpicker.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" alt="" />
25
-
26
- <div id="light">
27
- <!-- Will be filled with divs -->
28
- </div>
29
-
30
- <br style="clear: both" />
31
- </div>
32
- </fieldset>
33
- </div>
34
-
35
- <div id="rgb_panel" class="panel">
36
- <fieldset>
37
- <legend>{#advanced_dlg.colorpicker_palette_title}</legend>
38
- <div id="webcolors">
39
- <!-- Gets filled with web safe colors-->
40
- </div>
41
-
42
- <br style="clear: both" />
43
- </fieldset>
44
- </div>
45
-
46
- <div id="named_panel" class="panel">
47
- <fieldset>
48
- <legend>{#advanced_dlg.colorpicker_named_title}</legend>
49
- <div id="namedcolors">
50
- <!-- Gets filled with named colors-->
51
- </div>
52
-
53
- <br style="clear: both" />
54
-
55
- <div id="colornamecontainer">
56
- {#advanced_dlg.colorpicker_name} <span id="colorname"></span>
57
- </div>
58
- </fieldset>
59
- </div>
60
- </div>
61
-
62
- <div class="mceActionPanel">
63
- <input type="submit" id="insert" name="insert" value="{#apply}" />
64
-
65
- <div id="preview"></div>
66
-
67
- <div id="previewblock">
68
- <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text mceFocus" />
69
- </div>
70
- </div>
71
- </form>
72
- </body>
73
- </html>
@@ -1 +0,0 @@
1
- (function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(j,k){var l=this,m,i,n;l.editor=j;l.url=k;l.onResolveName=new e.util.Dispatcher(this);l.settings=m=h({theme_advanced_path:true,theme_advanced_toolbar_location:"bottom",theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"center",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",readonly:j.settings.readonly},j.settings);if(!m.font_size_style_values){m.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(e.is(m.theme_advanced_font_sizes,"string")){m.font_size_style_values=e.explode(m.font_size_style_values);m.font_size_classes=e.explode(m.font_size_classes||"");n={};j.settings.theme_advanced_font_sizes=m.theme_advanced_font_sizes;f(j.getParam("theme_advanced_font_sizes","","hash"),function(q,p){var o;if(p==q&&q>=1&&q<=7){p=q+" ("+l.sizes[q-1]+"pt)";o=m.font_size_classes[q-1];q=m.font_size_style_values[q-1]||(l.sizes[q-1]+"pt")}if(/^\s*\./.test(q)){o=q.replace(/\./g,"")}n[p]=o?{"class":o}:{fontSize:q}});m.theme_advanced_font_sizes=n}if((i=m.theme_advanced_path_location)&&i!="none"){m.theme_advanced_statusbar_location=m.theme_advanced_path_location}if(m.theme_advanced_statusbar_location=="none"){m.theme_advanced_statusbar_location=0}j.onInit.add(function(){if(!j.settings.readonly){j.onNodeChange.add(l._nodeChanged,l)}if(j.settings.content_css!==false){j.dom.loadCSS(j.baseURI.toAbsolute("themes/advanced/skins/"+j.settings.skin+"/content.css"))}});j.onSetProgressState.add(function(q,o,r){var s,t=q.id,p;if(o){l.progressTimer=setTimeout(function(){s=q.getContainer();s=s.insertBefore(d.create("DIV",{style:"position:relative"}),s.firstChild);p=d.get(q.id+"_tbl");d.add(s,"div",{id:t+"_blocker","class":"mceBlocker",style:{width:p.clientWidth+2,height:p.clientHeight+2}});d.add(s,"div",{id:t+"_progress","class":"mceProgress",style:{left:p.clientWidth/2,top:p.clientHeight/2}})},r||0)}else{d.remove(t+"_blocker");d.remove(t+"_progress");clearTimeout(l.progressTimer)}});d.loadCSS(m.editor_css?j.documentBaseURI.toAbsolute(m.editor_css):k+"/skins/"+j.settings.skin+"/ui.css");if(m.skin_variant){d.loadCSS(k+"/skins/"+j.settings.skin+"/ui_"+m.skin_variant+".css")}},createControl:function(l,i){var j,k;if(k=i.createControl(l)){return k}switch(l){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((j=this.controls[l])){return i.createButton(l,{title:"advanced."+j[0],cmd:j[1],ui:j[2],value:j[3]})}},execCommand:function(k,j,l){var i=this["_"+k];if(i){i.call(this,j,l);return true}return false},_importClasses:function(k){var i=this.editor,j=i.controlManager.get("styleselect");if(j.getLength()==0){f(i.dom.getClasses(),function(n,l){var m="style_"+l;i.formatter.register(m,{inline:"span",attributes:{"class":n["class"]},selector:"*"});j.add(n["class"],m)})}},_createStyleSelect:function(m){var k=this,i=k.editor,j=i.controlManager,l;l=j.createListBox("styleselect",{title:"advanced.style_select",onselect:function(o){var p,n=[];f(l.items,function(q){n.push(q.value)});i.focus();p=i.formatter.matchAll(n);if(p[0]==o){i.formatter.remove(o)}else{i.formatter.apply(o)}return false}});i.onInit.add(function(){var o=0,n=i.getParam("style_formats");if(n){f(n,function(p){var q,r=0;f(p,function(){r++});if(r>1){q=p.name=p.name||"style_"+(o++);i.formatter.register(q,p);l.add(p.title,q)}else{l.add(p.title)}})}else{f(i.getParam("theme_advanced_styles","","hash"),function(r,q){var p;if(r){p="style_"+(o++);i.formatter.register(p,{inline:"span",classes:r,selector:"*"});l.add(k.editor.translate(q),p)}})}});if(l.getLength()==0){l.onPostRender.add(function(o,p){if(!l.NativeListBox){b.add(p.id+"_text","focus",k._importClasses,k);b.add(p.id+"_text","mousedown",k._importClasses,k);b.add(p.id+"_open","focus",k._importClasses,k);b.add(p.id+"_open","mousedown",k._importClasses,k)}else{b.add(p.id,"focus",k._importClasses,k)}})}return l},_createFontSelect:function(){var k,j=this,i=j.editor;k=i.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",onselect:function(l){i.execCommand("FontName",false,l);return false}});if(k){f(i.getParam("theme_advanced_fonts",j.settings.theme_advanced_fonts,"hash"),function(m,l){k.add(i.translate(l),m,{style:m.indexOf("dings")==-1?"font-family:"+m:""})})}return k},_createFontSizeSelect:function(){var m=this,k=m.editor,n,l=0,j=[];n=k.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(i){if(i["class"]){k.focus();k.formatter.toggle("fontsize_class",{value:i["class"]})}else{k.execCommand("FontSize",false,i.fontSize)}return false}});if(n){f(m.settings.theme_advanced_font_sizes,function(o,i){var p=o.fontSize;if(p>=1&&p<=7){p=m.sizes[parseInt(p)-1]+"pt"}n.add(i,o,{style:"font-size:"+p,"class":"mceFontSize"+(l++)+(" "+(o["class"]||""))})})}return n},_createBlockFormats:function(){var k,i={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},j=this;k=j.editor.controlManager.createListBox("formatselect",{title:"advanced.block",cmd:"FormatBlock"});if(k){f(j.editor.getParam("theme_advanced_blockformats",j.settings.theme_advanced_blockformats,"hash"),function(m,l){k.add(j.editor.translate(l!=m?l:i[m]),m,{"class":"mce_formatPreview mce_"+m})})}return k},_createForeColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_text_colors){l.colors=i}if(k.theme_advanced_default_foreground_color){l.default_color=k.theme_advanced_default_foreground_color}l.title="advanced.forecolor_desc";l.cmd="ForeColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("forecolor",l);return m},_createBackColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_background_colors){l.colors=i}if(k.theme_advanced_default_background_color){l.default_color=k.theme_advanced_default_background_color}l.title="advanced.backcolor_desc";l.cmd="HiliteColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("backcolor",l);return m},renderUI:function(k){var m,l,q,v=this,r=v.editor,w=v.settings,u,j,i;m=j=d.create("span",{id:r.id+"_parent","class":"mceEditor "+r.settings.skin+"Skin"+(w.skin_variant?" "+r.settings.skin+"Skin"+v._ufirst(w.skin_variant):"")});if(!d.boxModel){m=d.add(m,"div",{"class":"mceOldBoxModel"})}m=u=d.add(m,"table",{id:r.id+"_tbl","class":"mceLayout",cellSpacing:0,cellPadding:0});m=q=d.add(m,"tbody");switch((w.theme_advanced_layout_manager||"").toLowerCase()){case"rowlayout":l=v._rowLayout(w,q,k);break;case"customlayout":l=r.execCallback("theme_advanced_custom_layout",w,q,k,j);break;default:l=v._simpleLayout(w,q,k,j)}m=k.targetNode;i=d.stdMode?u.getElementsByTagName("tr"):u.rows;d.addClass(i[0],"mceFirst");d.addClass(i[i.length-1],"mceLast");f(d.select("tr",q),function(o){d.addClass(o.firstChild,"mceFirst");d.addClass(o.childNodes[o.childNodes.length-1],"mceLast")});if(d.get(w.theme_advanced_toolbar_container)){d.get(w.theme_advanced_toolbar_container).appendChild(j)}else{d.insertAfter(j,m)}b.add(r.id+"_path_row","click",function(n){n=n.target;if(n.nodeName=="A"){v._sel(n.className.replace(/^.*mcePath_([0-9]+).*$/,"$1"));return b.cancel(n)}});if(!r.getParam("accessibility_focus")){b.add(d.add(j,"a",{href:"#"},"<!-- IE -->"),"focus",function(){tinyMCE.get(r.id).focus()})}if(w.theme_advanced_toolbar_location=="external"){k.deltaHeight=0}v.deltaHeight=k.deltaHeight;k.targetNode=null;return{iframeContainer:l,editorContainer:r.id+"_parent",sizeContainer:u,deltaHeight:k.deltaHeight}},getInfo:function(){return{longname:"Advanced theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:e.majorVersion+"."+e.minorVersion}},resizeBy:function(i,j){var k=d.get(this.editor.id+"_tbl");this.resizeTo(k.clientWidth+i,k.clientHeight+j)},resizeTo:function(i,l){var j=this.editor,k=this.settings,m=d.get(j.id+"_tbl"),n=d.get(j.id+"_ifr");i=Math.max(k.theme_advanced_resizing_min_width||100,i);l=Math.max(k.theme_advanced_resizing_min_height||100,l);i=Math.min(k.theme_advanced_resizing_max_width||65535,i);l=Math.min(k.theme_advanced_resizing_max_height||65535,l);d.setStyle(m,"height","");d.setStyle(n,"height",l);if(k.theme_advanced_resize_horizontal){d.setStyle(m,"width","");d.setStyle(n,"width",i);if(i<m.clientWidth){d.setStyle(n,"width",m.clientWidth)}}},destroy:function(){var i=this.editor.id;b.clear(i+"_resize");b.clear(i+"_path_row");b.clear(i+"_external_close")},_simpleLayout:function(y,r,k,i){var x=this,u=x.editor,v=y.theme_advanced_toolbar_location,m=y.theme_advanced_statusbar_location,l,j,q,w;if(y.readonly){l=d.add(r,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"});return j}if(v=="top"){x._addToolbars(r,k)}if(v=="external"){l=w=d.create("div",{style:"position:relative"});l=d.add(l,"div",{id:u.id+"_external","class":"mceExternalToolbar"});d.add(l,"a",{id:u.id+"_external_close",href:"javascript:;","class":"mceExternalClose"});l=d.add(l,"table",{id:u.id+"_tblext",cellSpacing:0,cellPadding:0});q=d.add(l,"tbody");if(i.firstChild.className=="mceOldBoxModel"){i.firstChild.appendChild(w)}else{i.insertBefore(w,i.firstChild)}x._addToolbars(q,k);u.onMouseUp.add(function(){var o=d.get(u.id+"_external");d.show(o);d.hide(g);var n=b.add(u.id+"_external_close","click",function(){d.hide(u.id+"_external");b.remove(u.id+"_external_close","click",n)});d.show(o);d.setStyle(o,"top",0-d.getRect(u.id+"_tblext").h-1);d.hide(o);d.show(o);o.style.filter="";g=u.id+"_external";o=null})}if(m=="top"){x._addStatusBar(r,k)}if(!y.theme_advanced_toolbar_container){l=d.add(r,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"})}if(v=="bottom"){x._addToolbars(r,k)}if(m=="bottom"){x._addStatusBar(r,k)}return j},_rowLayout:function(w,m,k){var v=this,p=v.editor,u,x,i=p.controlManager,l,j,r,q;u=w.theme_advanced_containers_default_class||"";x=w.theme_advanced_containers_default_align||"center";f(c(w.theme_advanced_containers||""),function(s,o){var n=w["theme_advanced_container_"+s]||"";switch(n.toLowerCase()){case"mceeditor":l=d.add(m,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"});break;case"mceelementpath":v._addStatusBar(m,k);break;default:q=(w["theme_advanced_container_"+s+"_align"]||x).toLowerCase();q="mce"+v._ufirst(q);l=d.add(d.add(m,"tr"),"td",{"class":"mceToolbar "+(w["theme_advanced_container_"+s+"_class"]||u)+" "+q||x});r=i.createToolbar("toolbar"+o);v._addControls(n,r);d.setHTML(l,r.renderHTML());k.deltaHeight-=w.theme_advanced_row_height}});return j},_addControls:function(j,i){var k=this,l=k.settings,m,n=k.editor.controlManager;if(l.theme_advanced_disable&&!k._disabled){m={};f(c(l.theme_advanced_disable),function(o){m[o]=1});k._disabled=m}else{m=k._disabled}f(c(j),function(p){var o;if(m&&m[p]){return}if(p=="tablecontrols"){f(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"],function(q){q=k.createControl(q,n);if(q){i.add(q)}});return}o=k.createControl(p,n);if(o){i.add(o)}})},_addToolbars:function(w,k){var z=this,p,m,r=z.editor,A=z.settings,y,j=r.controlManager,u,l,q=[],x;x=A.theme_advanced_toolbar_align.toLowerCase();x="mce"+z._ufirst(x);l=d.add(d.add(w,"tr"),"td",{"class":"mceToolbar "+x});if(!r.getParam("accessibility_focus")){q.push(d.createHTML("a",{href:"#",onfocus:"tinyMCE.get('"+r.id+"').focus();"},"<!-- IE -->"))}q.push(d.createHTML("a",{href:"#",accesskey:"q",title:r.getLang("advanced.toolbar_focus")},"<!-- IE -->"));for(p=1;(y=A["theme_advanced_buttons"+p]);p++){m=j.createToolbar("toolbar"+p,{"class":"mceToolbarRow"+p});if(A["theme_advanced_buttons"+p+"_add"]){y+=","+A["theme_advanced_buttons"+p+"_add"]}if(A["theme_advanced_buttons"+p+"_add_before"]){y=A["theme_advanced_buttons"+p+"_add_before"]+","+y}z._addControls(y,m);q.push(m.renderHTML());k.deltaHeight-=A.theme_advanced_row_height}q.push(d.createHTML("a",{href:"#",accesskey:"z",title:r.getLang("advanced.toolbar_focus"),onfocus:"tinyMCE.getInstanceById('"+r.id+"').focus();"},"<!-- IE -->"));d.setHTML(l,q.join(""))},_addStatusBar:function(m,j){var k,v=this,p=v.editor,w=v.settings,i,q,u,l;k=d.add(m,"tr");k=l=d.add(k,"td",{"class":"mceStatusbar"});k=d.add(k,"div",{id:p.id+"_path_row"},w.theme_advanced_path?p.translate("advanced.path")+": ":"&#160;");d.add(k,"a",{href:"#",accesskey:"x"});if(w.theme_advanced_resizing){d.add(l,"a",{id:p.id+"_resize",href:"javascript:;",onclick:"return false;","class":"mceResize"});if(w.theme_advanced_resizing_use_cookie){p.onPostRender.add(function(){var n=a.getHash("TinyMCE_"+p.id+"_size"),r=d.get(p.id+"_tbl");if(!n){return}v.resizeTo(n.cw,n.ch)})}p.onPostRender.add(function(){b.add(p.id+"_resize","mousedown",function(D){var t,r,s,o,C,z,A,F,n,E,x;function y(G){n=A+(G.screenX-C);E=F+(G.screenY-z);v.resizeTo(n,E)}function B(G){b.remove(d.doc,"mousemove",t);b.remove(p.getDoc(),"mousemove",r);b.remove(d.doc,"mouseup",s);b.remove(p.getDoc(),"mouseup",o);if(w.theme_advanced_resizing_use_cookie){a.setHash("TinyMCE_"+p.id+"_size",{cw:n,ch:E})}}D.preventDefault();C=D.screenX;z=D.screenY;x=d.get(v.editor.id+"_ifr");A=n=x.clientWidth;F=E=x.clientHeight;t=b.add(d.doc,"mousemove",y);r=b.add(p.getDoc(),"mousemove",y);s=b.add(d.doc,"mouseup",B);o=b.add(p.getDoc(),"mouseup",B)})})}j.deltaHeight-=21;k=m=null},_nodeChanged:function(r,z,l,x,j){var C=this,i,y=0,B,u,D=C.settings,A,k,w,m,q;e.each(C.stateControls,function(n){z.setActive(n,r.queryCommandState(C.controls[n][1]))});function o(p){var s,n=j.parents,t=p;if(typeof(p)=="string"){t=function(v){return v.nodeName==p}}for(s=0;s<n.length;s++){if(t(n[s])){return n[s]}}}z.setActive("visualaid",r.hasVisual);z.setDisabled("undo",!r.undoManager.hasUndo()&&!r.typing);z.setDisabled("redo",!r.undoManager.hasRedo());z.setDisabled("outdent",!r.queryCommandState("Outdent"));i=o("A");if(u=z.get("link")){if(!i||!i.name){u.setDisabled(!i&&x);u.setActive(!!i)}}if(u=z.get("unlink")){u.setDisabled(!i&&x);u.setActive(!!i&&!i.name)}if(u=z.get("anchor")){u.setActive(!!i&&i.name)}i=o("IMG");if(u=z.get("image")){u.setActive(!!i&&l.className.indexOf("mceItem")==-1)}if(u=z.get("styleselect")){C._importClasses();m=[];f(u.items,function(n){m.push(n.value)});q=r.formatter.matchAll(m);u.select(q[0])}if(u=z.get("formatselect")){i=o(d.isBlock);if(i){u.select(i.nodeName.toLowerCase())}}o(function(p){if(p.nodeName==="SPAN"){if(!A&&p.className){A=p.className}if(!k&&p.style.fontSize){k=p.style.fontSize}if(!w&&p.style.fontFamily){w=p.style.fontFamily.replace(/[\"\']+/g,"").replace(/^([^,]+).*/,"$1").toLowerCase()}}return false});if(u=z.get("fontselect")){u.select(function(n){return n.replace(/^([^,]+).*/,"$1").toLowerCase()==w})}if(u=z.get("fontsizeselect")){if(D.theme_advanced_runtime_fontsize&&!k&&!A){k=r.dom.getStyle(l,"fontSize",true)}u.select(function(n){if(n.fontSize&&n.fontSize===k){return true}if(n["class"]&&n["class"]===A){return true}})}if(D.theme_advanced_path&&D.theme_advanced_statusbar_location){i=d.get(r.id+"_path")||d.add(r.id+"_path_row","span",{id:r.id+"_path"});d.setHTML(i,"");o(function(E){var p=E.nodeName.toLowerCase(),s,v,t="";if(E.nodeType!=1||E.nodeName==="BR"||(d.hasClass(E,"mceItemHidden")||d.hasClass(E,"mceItemRemoved"))){return}if(B=d.getAttrib(E,"mce_name")){p=B}if(e.isIE&&E.scopeName!=="HTML"){p=E.scopeName+":"+p}p=p.replace(/mce\:/g,"");switch(p){case"b":p="strong";break;case"i":p="em";break;case"img":if(B=d.getAttrib(E,"src")){t+="src: "+B+" "}break;case"a":if(B=d.getAttrib(E,"name")){t+="name: "+B+" ";p+="#"+B}if(B=d.getAttrib(E,"href")){t+="href: "+B+" "}break;case"font":if(B=d.getAttrib(E,"face")){t+="font: "+B+" "}if(B=d.getAttrib(E,"size")){t+="size: "+B+" "}if(B=d.getAttrib(E,"color")){t+="color: "+B+" "}break;case"span":if(B=d.getAttrib(E,"style")){t+="style: "+B+" "}break}if(B=d.getAttrib(E,"id")){t+="id: "+B+" "}if(B=E.className){B=B.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g,"");if(B){t+="class: "+B+" ";if(d.isBlock(E)||p=="img"||p=="span"){p+="."+B}}}p=p.replace(/(html:)/g,"");p={name:p,node:E,title:t};C.onResolveName.dispatch(C,p);t=p.title;p=p.name;v=d.create("a",{href:"javascript:;",onmousedown:"return false;",title:t,"class":"mcePath_"+(y++)},p);if(i.hasChildNodes()){i.insertBefore(d.doc.createTextNode(" \u00bb "),i.firstChild);i.insertBefore(v,i.firstChild)}else{i.appendChild(v)}},r.getBody())}},_sel:function(i){this.editor.execCommand("mceSelectNodeDepth",false,i)},_mceInsertAnchor:function(k,j){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/anchor.htm",width:320+parseInt(i.getLang("advanced.anchor_delta_width",0)),height:90+parseInt(i.getLang("advanced.anchor_delta_height",0)),inline:true},{theme_url:this.url})},_mceCharMap:function(){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/charmap.htm",width:550+parseInt(i.getLang("advanced.charmap_delta_width",0)),height:250+parseInt(i.getLang("advanced.charmap_delta_height",0)),inline:true},{theme_url:this.url})},_mceHelp:function(){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/about.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceColorPicker:function(k,j){var i=this.editor;j=j||{};i.windowManager.open({url:e.baseURL+"/themes/advanced/color_picker.htm",width:375+parseInt(i.getLang("advanced.colorpicker_delta_width",0)),height:250+parseInt(i.getLang("advanced.colorpicker_delta_height",0)),close_previous:false,inline:true},{input_color:j.color,func:j.func,theme_url:this.url})},_mceCodeEditor:function(j,k){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/source_editor.htm",width:parseInt(i.getParam("theme_advanced_source_editor_width",720)),height:parseInt(i.getParam("theme_advanced_source_editor_height",580)),inline:true,resizable:true,maximizable:true},{theme_url:this.url})},_mceImage:function(j,k){var i=this.editor;if(i.dom.getAttrib(i.selection.getNode(),"class").indexOf("mceItem")!=-1){return}i.windowManager.open({url:e.baseURL+"/themes/advanced/image.htm",width:355+parseInt(i.getLang("advanced.image_delta_width",0)),height:275+parseInt(i.getLang("advanced.image_delta_height",0)),inline:true},{theme_url:this.url})},_mceLink:function(j,k){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/link.htm",width:310+parseInt(i.getLang("advanced.link_delta_width",0)),height:200+parseInt(i.getLang("advanced.link_delta_height",0)),inline:true},{theme_url:this.url})},_mceNewDocument:function(){var i=this.editor;i.windowManager.confirm("advanced.newdocument",function(j){if(j){i.execCommand("mceSetContent",false,"")}})},_mceForeColor:function(){var i=this;this._mceColorPicker(0,{color:i.fgColor,func:function(j){i.fgColor=j;i.editor.execCommand("ForeColor",false,j)}})},_mceBackColor:function(){var i=this;this._mceColorPicker(0,{color:i.bgColor,func:function(j){i.bgColor=j;i.editor.execCommand("HiliteColor",false,j)}})},_ufirst:function(i){return i.substring(0,1).toUpperCase()+i.substring(1)}});e.ThemeManager.add("advanced",e.themes.AdvancedTheme)}(tinymce));
@@ -1,1176 +0,0 @@
1
- /**
2
- * editor_template_src.js
3
- *
4
- * Copyright 2009, Moxiecode Systems AB
5
- * Released under LGPL License.
6
- *
7
- * License: http://tinymce.moxiecode.com/license
8
- * Contributing: http://tinymce.moxiecode.com/contributing
9
- */
10
-
11
- (function(tinymce) {
12
- var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce.extend, each = tinymce.each, Cookie = tinymce.util.Cookie, lastExtID, explode = tinymce.explode;
13
-
14
- // Tell it to load theme specific language pack(s)
15
- tinymce.ThemeManager.requireLangPack('advanced');
16
-
17
- tinymce.create('tinymce.themes.AdvancedTheme', {
18
- sizes : [8, 10, 12, 14, 18, 24, 36],
19
-
20
- // Control name lookup, format: title, command
21
- controls : {
22
- bold : ['bold_desc', 'Bold'],
23
- italic : ['italic_desc', 'Italic'],
24
- underline : ['underline_desc', 'Underline'],
25
- strikethrough : ['striketrough_desc', 'Strikethrough'],
26
- justifyleft : ['justifyleft_desc', 'JustifyLeft'],
27
- justifycenter : ['justifycenter_desc', 'JustifyCenter'],
28
- justifyright : ['justifyright_desc', 'JustifyRight'],
29
- justifyfull : ['justifyfull_desc', 'JustifyFull'],
30
- bullist : ['bullist_desc', 'InsertUnorderedList'],
31
- numlist : ['numlist_desc', 'InsertOrderedList'],
32
- outdent : ['outdent_desc', 'Outdent'],
33
- indent : ['indent_desc', 'Indent'],
34
- cut : ['cut_desc', 'Cut'],
35
- copy : ['copy_desc', 'Copy'],
36
- paste : ['paste_desc', 'Paste'],
37
- undo : ['undo_desc', 'Undo'],
38
- redo : ['redo_desc', 'Redo'],
39
- link : ['link_desc', 'mceLink'],
40
- unlink : ['unlink_desc', 'unlink'],
41
- image : ['image_desc', 'mceImage'],
42
- cleanup : ['cleanup_desc', 'mceCleanup'],
43
- help : ['help_desc', 'mceHelp'],
44
- code : ['code_desc', 'mceCodeEditor'],
45
- hr : ['hr_desc', 'InsertHorizontalRule'],
46
- removeformat : ['removeformat_desc', 'RemoveFormat'],
47
- sub : ['sub_desc', 'subscript'],
48
- sup : ['sup_desc', 'superscript'],
49
- forecolor : ['forecolor_desc', 'ForeColor'],
50
- forecolorpicker : ['forecolor_desc', 'mceForeColor'],
51
- backcolor : ['backcolor_desc', 'HiliteColor'],
52
- backcolorpicker : ['backcolor_desc', 'mceBackColor'],
53
- charmap : ['charmap_desc', 'mceCharMap'],
54
- visualaid : ['visualaid_desc', 'mceToggleVisualAid'],
55
- anchor : ['anchor_desc', 'mceInsertAnchor'],
56
- newdocument : ['newdocument_desc', 'mceNewDocument'],
57
- blockquote : ['blockquote_desc', 'mceBlockQuote']
58
- },
59
-
60
- stateControls : ['bold', 'italic', 'underline', 'strikethrough', 'bullist', 'numlist', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'sub', 'sup', 'blockquote'],
61
-
62
- init : function(ed, url) {
63
- var t = this, s, v, o;
64
-
65
- t.editor = ed;
66
- t.url = url;
67
- t.onResolveName = new tinymce.util.Dispatcher(this);
68
-
69
- // Default settings
70
- t.settings = s = extend({
71
- theme_advanced_path : true,
72
- theme_advanced_toolbar_location : 'bottom',
73
- theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",
74
- theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",
75
- theme_advanced_buttons3 : "hr,removeformat,visualaid,|,sub,sup,|,charmap",
76
- theme_advanced_blockformats : "p,address,pre,h1,h2,h3,h4,h5,h6",
77
- theme_advanced_toolbar_align : "center",
78
- theme_advanced_fonts : "Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",
79
- theme_advanced_more_colors : 1,
80
- theme_advanced_row_height : 23,
81
- theme_advanced_resize_horizontal : 1,
82
- theme_advanced_resizing_use_cookie : 1,
83
- theme_advanced_font_sizes : "1,2,3,4,5,6,7",
84
- readonly : ed.settings.readonly
85
- }, ed.settings);
86
-
87
- // Setup default font_size_style_values
88
- if (!s.font_size_style_values)
89
- s.font_size_style_values = "8pt,10pt,12pt,14pt,18pt,24pt,36pt";
90
-
91
- if (tinymce.is(s.theme_advanced_font_sizes, 'string')) {
92
- s.font_size_style_values = tinymce.explode(s.font_size_style_values);
93
- s.font_size_classes = tinymce.explode(s.font_size_classes || '');
94
-
95
- // Parse string value
96
- o = {};
97
- ed.settings.theme_advanced_font_sizes = s.theme_advanced_font_sizes;
98
- each(ed.getParam('theme_advanced_font_sizes', '', 'hash'), function(v, k) {
99
- var cl;
100
-
101
- if (k == v && v >= 1 && v <= 7) {
102
- k = v + ' (' + t.sizes[v - 1] + 'pt)';
103
- cl = s.font_size_classes[v - 1];
104
- v = s.font_size_style_values[v - 1] || (t.sizes[v - 1] + 'pt');
105
- }
106
-
107
- if (/^\s*\./.test(v))
108
- cl = v.replace(/\./g, '');
109
-
110
- o[k] = cl ? {'class' : cl} : {fontSize : v};
111
- });
112
-
113
- s.theme_advanced_font_sizes = o;
114
- }
115
-
116
- if ((v = s.theme_advanced_path_location) && v != 'none')
117
- s.theme_advanced_statusbar_location = s.theme_advanced_path_location;
118
-
119
- if (s.theme_advanced_statusbar_location == 'none')
120
- s.theme_advanced_statusbar_location = 0;
121
-
122
- // Init editor
123
- ed.onInit.add(function() {
124
- if (!ed.settings.readonly)
125
- ed.onNodeChange.add(t._nodeChanged, t);
126
-
127
- if (ed.settings.content_css !== false)
128
- ed.dom.loadCSS(ed.baseURI.toAbsolute("themes/advanced/skins/" + ed.settings.skin + "/content.css"));
129
- });
130
-
131
- ed.onSetProgressState.add(function(ed, b, ti) {
132
- var co, id = ed.id, tb;
133
-
134
- if (b) {
135
- t.progressTimer = setTimeout(function() {
136
- co = ed.getContainer();
137
- co = co.insertBefore(DOM.create('DIV', {style : 'position:relative'}), co.firstChild);
138
- tb = DOM.get(ed.id + '_tbl');
139
-
140
- DOM.add(co, 'div', {id : id + '_blocker', 'class' : 'mceBlocker', style : {width : tb.clientWidth + 2, height : tb.clientHeight + 2}});
141
- DOM.add(co, 'div', {id : id + '_progress', 'class' : 'mceProgress', style : {left : tb.clientWidth / 2, top : tb.clientHeight / 2}});
142
- }, ti || 0);
143
- } else {
144
- DOM.remove(id + '_blocker');
145
- DOM.remove(id + '_progress');
146
- clearTimeout(t.progressTimer);
147
- }
148
- });
149
-
150
- DOM.loadCSS(s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : url + "/skins/" + ed.settings.skin + "/ui.css");
151
-
152
- if (s.skin_variant)
153
- DOM.loadCSS(url + "/skins/" + ed.settings.skin + "/ui_" + s.skin_variant + ".css");
154
- },
155
-
156
- createControl : function(n, cf) {
157
- var cd, c;
158
-
159
- if (c = cf.createControl(n))
160
- return c;
161
-
162
- switch (n) {
163
- case "styleselect":
164
- return this._createStyleSelect();
165
-
166
- case "formatselect":
167
- return this._createBlockFormats();
168
-
169
- case "fontselect":
170
- return this._createFontSelect();
171
-
172
- case "fontsizeselect":
173
- return this._createFontSizeSelect();
174
-
175
- case "forecolor":
176
- return this._createForeColorMenu();
177
-
178
- case "backcolor":
179
- return this._createBackColorMenu();
180
- }
181
-
182
- if ((cd = this.controls[n]))
183
- return cf.createButton(n, {title : "advanced." + cd[0], cmd : cd[1], ui : cd[2], value : cd[3]});
184
- },
185
-
186
- execCommand : function(cmd, ui, val) {
187
- var f = this['_' + cmd];
188
-
189
- if (f) {
190
- f.call(this, ui, val);
191
- return true;
192
- }
193
-
194
- return false;
195
- },
196
-
197
- _importClasses : function(e) {
198
- var ed = this.editor, ctrl = ed.controlManager.get('styleselect');
199
-
200
- if (ctrl.getLength() == 0) {
201
- each(ed.dom.getClasses(), function(o, idx) {
202
- var name = 'style_' + idx;
203
-
204
- ed.formatter.register(name, {
205
- inline : 'span',
206
- attributes : {'class' : o['class']},
207
- selector : '*'
208
- });
209
-
210
- ctrl.add(o['class'], name);
211
- });
212
- }
213
- },
214
-
215
- _createStyleSelect : function(n) {
216
- var t = this, ed = t.editor, ctrlMan = ed.controlManager, ctrl;
217
-
218
- // Setup style select box
219
- ctrl = ctrlMan.createListBox('styleselect', {
220
- title : 'advanced.style_select',
221
- onselect : function(name) {
222
- var matches, formatNames = [];
223
-
224
- each(ctrl.items, function(item) {
225
- formatNames.push(item.value);
226
- });
227
-
228
- ed.focus();
229
-
230
- // Toggle off the current format
231
- matches = ed.formatter.matchAll(formatNames);
232
- if (matches[0] == name)
233
- ed.formatter.remove(name);
234
- else
235
- ed.formatter.apply(name);
236
-
237
- return false; // No auto select
238
- }
239
- });
240
-
241
- // Handle specified format
242
- ed.onInit.add(function() {
243
- var counter = 0, formats = ed.getParam('style_formats');
244
-
245
- if (formats) {
246
- each(formats, function(fmt) {
247
- var name, keys = 0;
248
-
249
- each(fmt, function() {keys++;});
250
-
251
- if (keys > 1) {
252
- name = fmt.name = fmt.name || 'style_' + (counter++);
253
- ed.formatter.register(name, fmt);
254
- ctrl.add(fmt.title, name);
255
- } else
256
- ctrl.add(fmt.title);
257
- });
258
- } else {
259
- each(ed.getParam('theme_advanced_styles', '', 'hash'), function(val, key) {
260
- var name;
261
-
262
- if (val) {
263
- name = 'style_' + (counter++);
264
-
265
- ed.formatter.register(name, {
266
- inline : 'span',
267
- classes : val,
268
- selector : '*'
269
- });
270
-
271
- ctrl.add(t.editor.translate(key), name);
272
- }
273
- });
274
- }
275
- });
276
-
277
- // Auto import classes if the ctrl box is empty
278
- if (ctrl.getLength() == 0) {
279
- ctrl.onPostRender.add(function(ed, n) {
280
- if (!ctrl.NativeListBox) {
281
- Event.add(n.id + '_text', 'focus', t._importClasses, t);
282
- Event.add(n.id + '_text', 'mousedown', t._importClasses, t);
283
- Event.add(n.id + '_open', 'focus', t._importClasses, t);
284
- Event.add(n.id + '_open', 'mousedown', t._importClasses, t);
285
- } else
286
- Event.add(n.id, 'focus', t._importClasses, t);
287
- });
288
- }
289
-
290
- return ctrl;
291
- },
292
-
293
- _createFontSelect : function() {
294
- var c, t = this, ed = t.editor;
295
-
296
- c = ed.controlManager.createListBox('fontselect', {
297
- title : 'advanced.fontdefault',
298
- onselect : function(v) {
299
- ed.execCommand('FontName', false, v);
300
- return false; // No auto select
301
- }
302
- });
303
-
304
- if (c) {
305
- each(ed.getParam('theme_advanced_fonts', t.settings.theme_advanced_fonts, 'hash'), function(v, k) {
306
- c.add(ed.translate(k), v, {style : v.indexOf('dings') == -1 ? 'font-family:' + v : ''});
307
- });
308
- }
309
-
310
- return c;
311
- },
312
-
313
- _createFontSizeSelect : function() {
314
- var t = this, ed = t.editor, c, i = 0, cl = [];
315
-
316
- c = ed.controlManager.createListBox('fontsizeselect', {title : 'advanced.font_size', onselect : function(v) {
317
- if (v['class']) {
318
- ed.focus();
319
- ed.formatter.toggle('fontsize_class', {value : v['class']});
320
- } else
321
- ed.execCommand('FontSize', false, v.fontSize);
322
-
323
- return false; // No auto select
324
- }});
325
-
326
- if (c) {
327
- each(t.settings.theme_advanced_font_sizes, function(v, k) {
328
- var fz = v.fontSize;
329
-
330
- if (fz >= 1 && fz <= 7)
331
- fz = t.sizes[parseInt(fz) - 1] + 'pt';
332
-
333
- c.add(k, v, {'style' : 'font-size:' + fz, 'class' : 'mceFontSize' + (i++) + (' ' + (v['class'] || ''))});
334
- });
335
- }
336
-
337
- return c;
338
- },
339
-
340
- _createBlockFormats : function() {
341
- var c, fmts = {
342
- p : 'advanced.paragraph',
343
- address : 'advanced.address',
344
- pre : 'advanced.pre',
345
- h1 : 'advanced.h1',
346
- h2 : 'advanced.h2',
347
- h3 : 'advanced.h3',
348
- h4 : 'advanced.h4',
349
- h5 : 'advanced.h5',
350
- h6 : 'advanced.h6',
351
- div : 'advanced.div',
352
- blockquote : 'advanced.blockquote',
353
- code : 'advanced.code',
354
- dt : 'advanced.dt',
355
- dd : 'advanced.dd',
356
- samp : 'advanced.samp'
357
- }, t = this;
358
-
359
- c = t.editor.controlManager.createListBox('formatselect', {title : 'advanced.block', cmd : 'FormatBlock'});
360
- if (c) {
361
- each(t.editor.getParam('theme_advanced_blockformats', t.settings.theme_advanced_blockformats, 'hash'), function(v, k) {
362
- c.add(t.editor.translate(k != v ? k : fmts[v]), v, {'class' : 'mce_formatPreview mce_' + v});
363
- });
364
- }
365
-
366
- return c;
367
- },
368
-
369
- _createForeColorMenu : function() {
370
- var c, t = this, s = t.settings, o = {}, v;
371
-
372
- if (s.theme_advanced_more_colors) {
373
- o.more_colors_func = function() {
374
- t._mceColorPicker(0, {
375
- color : c.value,
376
- func : function(co) {
377
- c.setColor(co);
378
- }
379
- });
380
- };
381
- }
382
-
383
- if (v = s.theme_advanced_text_colors)
384
- o.colors = v;
385
-
386
- if (s.theme_advanced_default_foreground_color)
387
- o.default_color = s.theme_advanced_default_foreground_color;
388
-
389
- o.title = 'advanced.forecolor_desc';
390
- o.cmd = 'ForeColor';
391
- o.scope = this;
392
-
393
- c = t.editor.controlManager.createColorSplitButton('forecolor', o);
394
-
395
- return c;
396
- },
397
-
398
- _createBackColorMenu : function() {
399
- var c, t = this, s = t.settings, o = {}, v;
400
-
401
- if (s.theme_advanced_more_colors) {
402
- o.more_colors_func = function() {
403
- t._mceColorPicker(0, {
404
- color : c.value,
405
- func : function(co) {
406
- c.setColor(co);
407
- }
408
- });
409
- };
410
- }
411
-
412
- if (v = s.theme_advanced_background_colors)
413
- o.colors = v;
414
-
415
- if (s.theme_advanced_default_background_color)
416
- o.default_color = s.theme_advanced_default_background_color;
417
-
418
- o.title = 'advanced.backcolor_desc';
419
- o.cmd = 'HiliteColor';
420
- o.scope = this;
421
-
422
- c = t.editor.controlManager.createColorSplitButton('backcolor', o);
423
-
424
- return c;
425
- },
426
-
427
- renderUI : function(o) {
428
- var n, ic, tb, t = this, ed = t.editor, s = t.settings, sc, p, nl;
429
-
430
- n = p = DOM.create('span', {id : ed.id + '_parent', 'class' : 'mceEditor ' + ed.settings.skin + 'Skin' + (s.skin_variant ? ' ' + ed.settings.skin + 'Skin' + t._ufirst(s.skin_variant) : '')});
431
-
432
- if (!DOM.boxModel)
433
- n = DOM.add(n, 'div', {'class' : 'mceOldBoxModel'});
434
-
435
- n = sc = DOM.add(n, 'table', {id : ed.id + '_tbl', 'class' : 'mceLayout', cellSpacing : 0, cellPadding : 0});
436
- n = tb = DOM.add(n, 'tbody');
437
-
438
- switch ((s.theme_advanced_layout_manager || '').toLowerCase()) {
439
- case "rowlayout":
440
- ic = t._rowLayout(s, tb, o);
441
- break;
442
-
443
- case "customlayout":
444
- ic = ed.execCallback("theme_advanced_custom_layout", s, tb, o, p);
445
- break;
446
-
447
- default:
448
- ic = t._simpleLayout(s, tb, o, p);
449
- }
450
-
451
- n = o.targetNode;
452
-
453
- // Add classes to first and last TRs
454
- nl = DOM.stdMode ? sc.getElementsByTagName('tr') : sc.rows; // Quick fix for IE 8
455
- DOM.addClass(nl[0], 'mceFirst');
456
- DOM.addClass(nl[nl.length - 1], 'mceLast');
457
-
458
- // Add classes to first and last TDs
459
- each(DOM.select('tr', tb), function(n) {
460
- DOM.addClass(n.firstChild, 'mceFirst');
461
- DOM.addClass(n.childNodes[n.childNodes.length - 1], 'mceLast');
462
- });
463
-
464
- if (DOM.get(s.theme_advanced_toolbar_container))
465
- DOM.get(s.theme_advanced_toolbar_container).appendChild(p);
466
- else
467
- DOM.insertAfter(p, n);
468
-
469
- Event.add(ed.id + '_path_row', 'click', function(e) {
470
- e = e.target;
471
-
472
- if (e.nodeName == 'A') {
473
- t._sel(e.className.replace(/^.*mcePath_([0-9]+).*$/, '$1'));
474
-
475
- return Event.cancel(e);
476
- }
477
- });
478
- /*
479
- if (DOM.get(ed.id + '_path_row')) {
480
- Event.add(ed.id + '_tbl', 'mouseover', function(e) {
481
- var re;
482
-
483
- e = e.target;
484
-
485
- if (e.nodeName == 'SPAN' && DOM.hasClass(e.parentNode, 'mceButton')) {
486
- re = DOM.get(ed.id + '_path_row');
487
- t.lastPath = re.innerHTML;
488
- DOM.setHTML(re, e.parentNode.title);
489
- }
490
- });
491
-
492
- Event.add(ed.id + '_tbl', 'mouseout', function(e) {
493
- if (t.lastPath) {
494
- DOM.setHTML(ed.id + '_path_row', t.lastPath);
495
- t.lastPath = 0;
496
- }
497
- });
498
- }
499
- */
500
-
501
- if (!ed.getParam('accessibility_focus'))
502
- Event.add(DOM.add(p, 'a', {href : '#'}, '<!-- IE -->'), 'focus', function() {tinyMCE.get(ed.id).focus();});
503
-
504
- if (s.theme_advanced_toolbar_location == 'external')
505
- o.deltaHeight = 0;
506
-
507
- t.deltaHeight = o.deltaHeight;
508
- o.targetNode = null;
509
-
510
- return {
511
- iframeContainer : ic,
512
- editorContainer : ed.id + '_parent',
513
- sizeContainer : sc,
514
- deltaHeight : o.deltaHeight
515
- };
516
- },
517
-
518
- getInfo : function() {
519
- return {
520
- longname : 'Advanced theme',
521
- author : 'Moxiecode Systems AB',
522
- authorurl : 'http://tinymce.moxiecode.com',
523
- version : tinymce.majorVersion + "." + tinymce.minorVersion
524
- }
525
- },
526
-
527
- resizeBy : function(dw, dh) {
528
- var e = DOM.get(this.editor.id + '_tbl');
529
-
530
- this.resizeTo(e.clientWidth + dw, e.clientHeight + dh);
531
- },
532
-
533
- resizeTo : function(w, h) {
534
- var ed = this.editor, s = this.settings, e = DOM.get(ed.id + '_tbl'), ifr = DOM.get(ed.id + '_ifr');
535
-
536
- // Boundery fix box
537
- w = Math.max(s.theme_advanced_resizing_min_width || 100, w);
538
- h = Math.max(s.theme_advanced_resizing_min_height || 100, h);
539
- w = Math.min(s.theme_advanced_resizing_max_width || 0xFFFF, w);
540
- h = Math.min(s.theme_advanced_resizing_max_height || 0xFFFF, h);
541
-
542
- // Resize iframe and container
543
- DOM.setStyle(e, 'height', '');
544
- DOM.setStyle(ifr, 'height', h);
545
-
546
- if (s.theme_advanced_resize_horizontal) {
547
- DOM.setStyle(e, 'width', '');
548
- DOM.setStyle(ifr, 'width', w);
549
-
550
- // Make sure that the size is never smaller than the over all ui
551
- if (w < e.clientWidth)
552
- DOM.setStyle(ifr, 'width', e.clientWidth);
553
- }
554
- },
555
-
556
- destroy : function() {
557
- var id = this.editor.id;
558
-
559
- Event.clear(id + '_resize');
560
- Event.clear(id + '_path_row');
561
- Event.clear(id + '_external_close');
562
- },
563
-
564
- // Internal functions
565
-
566
- _simpleLayout : function(s, tb, o, p) {
567
- var t = this, ed = t.editor, lo = s.theme_advanced_toolbar_location, sl = s.theme_advanced_statusbar_location, n, ic, etb, c;
568
-
569
- if (s.readonly) {
570
- n = DOM.add(tb, 'tr');
571
- n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
572
- return ic;
573
- }
574
-
575
- // Create toolbar container at top
576
- if (lo == 'top')
577
- t._addToolbars(tb, o);
578
-
579
- // Create external toolbar
580
- if (lo == 'external') {
581
- n = c = DOM.create('div', {style : 'position:relative'});
582
- n = DOM.add(n, 'div', {id : ed.id + '_external', 'class' : 'mceExternalToolbar'});
583
- DOM.add(n, 'a', {id : ed.id + '_external_close', href : 'javascript:;', 'class' : 'mceExternalClose'});
584
- n = DOM.add(n, 'table', {id : ed.id + '_tblext', cellSpacing : 0, cellPadding : 0});
585
- etb = DOM.add(n, 'tbody');
586
-
587
- if (p.firstChild.className == 'mceOldBoxModel')
588
- p.firstChild.appendChild(c);
589
- else
590
- p.insertBefore(c, p.firstChild);
591
-
592
- t._addToolbars(etb, o);
593
-
594
- ed.onMouseUp.add(function() {
595
- var e = DOM.get(ed.id + '_external');
596
- DOM.show(e);
597
-
598
- DOM.hide(lastExtID);
599
-
600
- var f = Event.add(ed.id + '_external_close', 'click', function() {
601
- DOM.hide(ed.id + '_external');
602
- Event.remove(ed.id + '_external_close', 'click', f);
603
- });
604
-
605
- DOM.show(e);
606
- DOM.setStyle(e, 'top', 0 - DOM.getRect(ed.id + '_tblext').h - 1);
607
-
608
- // Fixes IE rendering bug
609
- DOM.hide(e);
610
- DOM.show(e);
611
- e.style.filter = '';
612
-
613
- lastExtID = ed.id + '_external';
614
-
615
- e = null;
616
- });
617
- }
618
-
619
- if (sl == 'top')
620
- t._addStatusBar(tb, o);
621
-
622
- // Create iframe container
623
- if (!s.theme_advanced_toolbar_container) {
624
- n = DOM.add(tb, 'tr');
625
- n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
626
- }
627
-
628
- // Create toolbar container at bottom
629
- if (lo == 'bottom')
630
- t._addToolbars(tb, o);
631
-
632
- if (sl == 'bottom')
633
- t._addStatusBar(tb, o);
634
-
635
- return ic;
636
- },
637
-
638
- _rowLayout : function(s, tb, o) {
639
- var t = this, ed = t.editor, dc, da, cf = ed.controlManager, n, ic, to, a;
640
-
641
- dc = s.theme_advanced_containers_default_class || '';
642
- da = s.theme_advanced_containers_default_align || 'center';
643
-
644
- each(explode(s.theme_advanced_containers || ''), function(c, i) {
645
- var v = s['theme_advanced_container_' + c] || '';
646
-
647
- switch (v.toLowerCase()) {
648
- case 'mceeditor':
649
- n = DOM.add(tb, 'tr');
650
- n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
651
- break;
652
-
653
- case 'mceelementpath':
654
- t._addStatusBar(tb, o);
655
- break;
656
-
657
- default:
658
- a = (s['theme_advanced_container_' + c + '_align'] || da).toLowerCase();
659
- a = 'mce' + t._ufirst(a);
660
-
661
- n = DOM.add(DOM.add(tb, 'tr'), 'td', {
662
- 'class' : 'mceToolbar ' + (s['theme_advanced_container_' + c + '_class'] || dc) + ' ' + a || da
663
- });
664
-
665
- to = cf.createToolbar("toolbar" + i);
666
- t._addControls(v, to);
667
- DOM.setHTML(n, to.renderHTML());
668
- o.deltaHeight -= s.theme_advanced_row_height;
669
- }
670
- });
671
-
672
- return ic;
673
- },
674
-
675
- _addControls : function(v, tb) {
676
- var t = this, s = t.settings, di, cf = t.editor.controlManager;
677
-
678
- if (s.theme_advanced_disable && !t._disabled) {
679
- di = {};
680
-
681
- each(explode(s.theme_advanced_disable), function(v) {
682
- di[v] = 1;
683
- });
684
-
685
- t._disabled = di;
686
- } else
687
- di = t._disabled;
688
-
689
- each(explode(v), function(n) {
690
- var c;
691
-
692
- if (di && di[n])
693
- return;
694
-
695
- // Compatiblity with 2.x
696
- if (n == 'tablecontrols') {
697
- each(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"], function(n) {
698
- n = t.createControl(n, cf);
699
-
700
- if (n)
701
- tb.add(n);
702
- });
703
-
704
- return;
705
- }
706
-
707
- c = t.createControl(n, cf);
708
-
709
- if (c)
710
- tb.add(c);
711
- });
712
- },
713
-
714
- _addToolbars : function(c, o) {
715
- var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = [], a;
716
-
717
- a = s.theme_advanced_toolbar_align.toLowerCase();
718
- a = 'mce' + t._ufirst(a);
719
-
720
- n = DOM.add(DOM.add(c, 'tr'), 'td', {'class' : 'mceToolbar ' + a});
721
-
722
- if (!ed.getParam('accessibility_focus'))
723
- h.push(DOM.createHTML('a', {href : '#', onfocus : 'tinyMCE.get(\'' + ed.id + '\').focus();'}, '<!-- IE -->'));
724
-
725
- h.push(DOM.createHTML('a', {href : '#', accesskey : 'q', title : ed.getLang("advanced.toolbar_focus")}, '<!-- IE -->'));
726
-
727
- // Create toolbar and add the controls
728
- for (i=1; (v = s['theme_advanced_buttons' + i]); i++) {
729
- tb = cf.createToolbar("toolbar" + i, {'class' : 'mceToolbarRow' + i});
730
-
731
- if (s['theme_advanced_buttons' + i + '_add'])
732
- v += ',' + s['theme_advanced_buttons' + i + '_add'];
733
-
734
- if (s['theme_advanced_buttons' + i + '_add_before'])
735
- v = s['theme_advanced_buttons' + i + '_add_before'] + ',' + v;
736
-
737
- t._addControls(v, tb);
738
-
739
- //n.appendChild(n = tb.render());
740
- h.push(tb.renderHTML());
741
-
742
- o.deltaHeight -= s.theme_advanced_row_height;
743
- }
744
-
745
- h.push(DOM.createHTML('a', {href : '#', accesskey : 'z', title : ed.getLang("advanced.toolbar_focus"), onfocus : 'tinyMCE.getInstanceById(\'' + ed.id + '\').focus();'}, '<!-- IE -->'));
746
- DOM.setHTML(n, h.join(''));
747
- },
748
-
749
- _addStatusBar : function(tb, o) {
750
- var n, t = this, ed = t.editor, s = t.settings, r, mf, me, td;
751
-
752
- n = DOM.add(tb, 'tr');
753
- n = td = DOM.add(n, 'td', {'class' : 'mceStatusbar'});
754
- n = DOM.add(n, 'div', {id : ed.id + '_path_row'}, s.theme_advanced_path ? ed.translate('advanced.path') + ': ' : '&#160;');
755
- DOM.add(n, 'a', {href : '#', accesskey : 'x'});
756
-
757
- if (s.theme_advanced_resizing) {
758
- DOM.add(td, 'a', {id : ed.id + '_resize', href : 'javascript:;', onclick : "return false;", 'class' : 'mceResize'});
759
-
760
- if (s.theme_advanced_resizing_use_cookie) {
761
- ed.onPostRender.add(function() {
762
- var o = Cookie.getHash("TinyMCE_" + ed.id + "_size"), c = DOM.get(ed.id + '_tbl');
763
-
764
- if (!o)
765
- return;
766
-
767
- t.resizeTo(o.cw, o.ch);
768
- });
769
- }
770
-
771
- ed.onPostRender.add(function() {
772
- Event.add(ed.id + '_resize', 'mousedown', function(e) {
773
- var mouseMoveHandler1, mouseMoveHandler2,
774
- mouseUpHandler1, mouseUpHandler2,
775
- startX, startY, startWidth, startHeight, width, height, ifrElm;
776
-
777
- function resizeOnMove(e) {
778
- width = startWidth + (e.screenX - startX);
779
- height = startHeight + (e.screenY - startY);
780
-
781
- t.resizeTo(width, height);
782
- };
783
-
784
- function endResize(e) {
785
- // Stop listening
786
- Event.remove(DOM.doc, 'mousemove', mouseMoveHandler1);
787
- Event.remove(ed.getDoc(), 'mousemove', mouseMoveHandler2);
788
- Event.remove(DOM.doc, 'mouseup', mouseUpHandler1);
789
- Event.remove(ed.getDoc(), 'mouseup', mouseUpHandler2);
790
-
791
- // Store away the size
792
- if (s.theme_advanced_resizing_use_cookie) {
793
- Cookie.setHash("TinyMCE_" + ed.id + "_size", {
794
- cw : width,
795
- ch : height
796
- });
797
- }
798
- };
799
-
800
- e.preventDefault();
801
-
802
- // Get the current rect size
803
- startX = e.screenX;
804
- startY = e.screenY;
805
- ifrElm = DOM.get(t.editor.id + '_ifr');
806
- startWidth = width = ifrElm.clientWidth;
807
- startHeight = height = ifrElm.clientHeight;
808
-
809
- // Register envent handlers
810
- mouseMoveHandler1 = Event.add(DOM.doc, 'mousemove', resizeOnMove);
811
- mouseMoveHandler2 = Event.add(ed.getDoc(), 'mousemove', resizeOnMove);
812
- mouseUpHandler1 = Event.add(DOM.doc, 'mouseup', endResize);
813
- mouseUpHandler2 = Event.add(ed.getDoc(), 'mouseup', endResize);
814
- });
815
- });
816
- }
817
-
818
- o.deltaHeight -= 21;
819
- n = tb = null;
820
- },
821
-
822
- _nodeChanged : function(ed, cm, n, co, ob) {
823
- var t = this, p, de = 0, v, c, s = t.settings, cl, fz, fn, formatNames, matches;
824
-
825
- tinymce.each(t.stateControls, function(c) {
826
- cm.setActive(c, ed.queryCommandState(t.controls[c][1]));
827
- });
828
-
829
- function getParent(name) {
830
- var i, parents = ob.parents, func = name;
831
-
832
- if (typeof(name) == 'string') {
833
- func = function(node) {
834
- return node.nodeName == name;
835
- };
836
- }
837
-
838
- for (i = 0; i < parents.length; i++) {
839
- if (func(parents[i]))
840
- return parents[i];
841
- }
842
- };
843
-
844
- cm.setActive('visualaid', ed.hasVisual);
845
- cm.setDisabled('undo', !ed.undoManager.hasUndo() && !ed.typing);
846
- cm.setDisabled('redo', !ed.undoManager.hasRedo());
847
- cm.setDisabled('outdent', !ed.queryCommandState('Outdent'));
848
-
849
- p = getParent('A');
850
- if (c = cm.get('link')) {
851
- if (!p || !p.name) {
852
- c.setDisabled(!p && co);
853
- c.setActive(!!p);
854
- }
855
- }
856
-
857
- if (c = cm.get('unlink')) {
858
- c.setDisabled(!p && co);
859
- c.setActive(!!p && !p.name);
860
- }
861
-
862
- if (c = cm.get('anchor')) {
863
- c.setActive(!!p && p.name);
864
- }
865
-
866
- p = getParent('IMG');
867
- if (c = cm.get('image'))
868
- c.setActive(!!p && n.className.indexOf('mceItem') == -1);
869
-
870
- if (c = cm.get('styleselect')) {
871
- t._importClasses();
872
-
873
- formatNames = [];
874
- each(c.items, function(item) {
875
- formatNames.push(item.value);
876
- });
877
-
878
- matches = ed.formatter.matchAll(formatNames);
879
- c.select(matches[0]);
880
- }
881
-
882
- if (c = cm.get('formatselect')) {
883
- p = getParent(DOM.isBlock);
884
-
885
- if (p)
886
- c.select(p.nodeName.toLowerCase());
887
- }
888
-
889
- // Find out current fontSize, fontFamily and fontClass
890
- getParent(function(n) {
891
- if (n.nodeName === 'SPAN') {
892
- if (!cl && n.className)
893
- cl = n.className;
894
-
895
- if (!fz && n.style.fontSize)
896
- fz = n.style.fontSize;
897
-
898
- if (!fn && n.style.fontFamily)
899
- fn = n.style.fontFamily.replace(/[\"\']+/g, '').replace(/^([^,]+).*/, '$1').toLowerCase();
900
- }
901
-
902
- return false;
903
- });
904
-
905
- if (c = cm.get('fontselect')) {
906
- c.select(function(v) {
907
- return v.replace(/^([^,]+).*/, '$1').toLowerCase() == fn;
908
- });
909
- }
910
-
911
- // Select font size
912
- if (c = cm.get('fontsizeselect')) {
913
- // Use computed style
914
- if (s.theme_advanced_runtime_fontsize && !fz && !cl)
915
- fz = ed.dom.getStyle(n, 'fontSize', true);
916
-
917
- c.select(function(v) {
918
- if (v.fontSize && v.fontSize === fz)
919
- return true;
920
-
921
- if (v['class'] && v['class'] === cl)
922
- return true;
923
- });
924
- }
925
-
926
- if (s.theme_advanced_path && s.theme_advanced_statusbar_location) {
927
- p = DOM.get(ed.id + '_path') || DOM.add(ed.id + '_path_row', 'span', {id : ed.id + '_path'});
928
- DOM.setHTML(p, '');
929
-
930
- getParent(function(n) {
931
- var na = n.nodeName.toLowerCase(), u, pi, ti = '';
932
-
933
- /*if (n.getAttribute('_mce_bogus'))
934
- return;
935
- */
936
- // Ignore non element and hidden elements
937
- if (n.nodeType != 1 || n.nodeName === 'BR' || (DOM.hasClass(n, 'mceItemHidden') || DOM.hasClass(n, 'mceItemRemoved')))
938
- return;
939
-
940
- // Fake name
941
- if (v = DOM.getAttrib(n, 'mce_name'))
942
- na = v;
943
-
944
- // Handle prefix
945
- if (tinymce.isIE && n.scopeName !== 'HTML')
946
- na = n.scopeName + ':' + na;
947
-
948
- // Remove internal prefix
949
- na = na.replace(/mce\:/g, '');
950
-
951
- // Handle node name
952
- switch (na) {
953
- case 'b':
954
- na = 'strong';
955
- break;
956
-
957
- case 'i':
958
- na = 'em';
959
- break;
960
-
961
- case 'img':
962
- if (v = DOM.getAttrib(n, 'src'))
963
- ti += 'src: ' + v + ' ';
964
-
965
- break;
966
-
967
- case 'a':
968
- if (v = DOM.getAttrib(n, 'name')) {
969
- ti += 'name: ' + v + ' ';
970
- na += '#' + v;
971
- }
972
-
973
- if (v = DOM.getAttrib(n, 'href'))
974
- ti += 'href: ' + v + ' ';
975
-
976
- break;
977
-
978
- case 'font':
979
- if (v = DOM.getAttrib(n, 'face'))
980
- ti += 'font: ' + v + ' ';
981
-
982
- if (v = DOM.getAttrib(n, 'size'))
983
- ti += 'size: ' + v + ' ';
984
-
985
- if (v = DOM.getAttrib(n, 'color'))
986
- ti += 'color: ' + v + ' ';
987
-
988
- break;
989
-
990
- case 'span':
991
- if (v = DOM.getAttrib(n, 'style'))
992
- ti += 'style: ' + v + ' ';
993
-
994
- break;
995
- }
996
-
997
- if (v = DOM.getAttrib(n, 'id'))
998
- ti += 'id: ' + v + ' ';
999
-
1000
- if (v = n.className) {
1001
- v = v.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g, '')
1002
-
1003
- if (v) {
1004
- ti += 'class: ' + v + ' ';
1005
-
1006
- if (DOM.isBlock(n) || na == 'img' || na == 'span')
1007
- na += '.' + v;
1008
- }
1009
- }
1010
-
1011
- na = na.replace(/(html:)/g, '');
1012
- na = {name : na, node : n, title : ti};
1013
- t.onResolveName.dispatch(t, na);
1014
- ti = na.title;
1015
- na = na.name;
1016
-
1017
- //u = "javascript:tinymce.EditorManager.get('" + ed.id + "').theme._sel('" + (de++) + "');";
1018
- pi = DOM.create('a', {'href' : "javascript:;", onmousedown : "return false;", title : ti, 'class' : 'mcePath_' + (de++)}, na);
1019
-
1020
- if (p.hasChildNodes()) {
1021
- p.insertBefore(DOM.doc.createTextNode(' \u00bb '), p.firstChild);
1022
- p.insertBefore(pi, p.firstChild);
1023
- } else
1024
- p.appendChild(pi);
1025
- }, ed.getBody());
1026
- }
1027
- },
1028
-
1029
- // Commands gets called by execCommand
1030
-
1031
- _sel : function(v) {
1032
- this.editor.execCommand('mceSelectNodeDepth', false, v);
1033
- },
1034
-
1035
- _mceInsertAnchor : function(ui, v) {
1036
- var ed = this.editor;
1037
-
1038
- ed.windowManager.open({
1039
- url : tinymce.baseURL + '/themes/advanced/anchor.htm',
1040
- width : 320 + parseInt(ed.getLang('advanced.anchor_delta_width', 0)),
1041
- height : 90 + parseInt(ed.getLang('advanced.anchor_delta_height', 0)),
1042
- inline : true
1043
- }, {
1044
- theme_url : this.url
1045
- });
1046
- },
1047
-
1048
- _mceCharMap : function() {
1049
- var ed = this.editor;
1050
-
1051
- ed.windowManager.open({
1052
- url : tinymce.baseURL + '/themes/advanced/charmap.htm',
1053
- width : 550 + parseInt(ed.getLang('advanced.charmap_delta_width', 0)),
1054
- height : 250 + parseInt(ed.getLang('advanced.charmap_delta_height', 0)),
1055
- inline : true
1056
- }, {
1057
- theme_url : this.url
1058
- });
1059
- },
1060
-
1061
- _mceHelp : function() {
1062
- var ed = this.editor;
1063
-
1064
- ed.windowManager.open({
1065
- url : tinymce.baseURL + '/themes/advanced/about.htm',
1066
- width : 480,
1067
- height : 380,
1068
- inline : true
1069
- }, {
1070
- theme_url : this.url
1071
- });
1072
- },
1073
-
1074
- _mceColorPicker : function(u, v) {
1075
- var ed = this.editor;
1076
-
1077
- v = v || {};
1078
-
1079
- ed.windowManager.open({
1080
- url : tinymce.baseURL + '/themes/advanced/color_picker.htm',
1081
- width : 375 + parseInt(ed.getLang('advanced.colorpicker_delta_width', 0)),
1082
- height : 250 + parseInt(ed.getLang('advanced.colorpicker_delta_height', 0)),
1083
- close_previous : false,
1084
- inline : true
1085
- }, {
1086
- input_color : v.color,
1087
- func : v.func,
1088
- theme_url : this.url
1089
- });
1090
- },
1091
-
1092
- _mceCodeEditor : function(ui, val) {
1093
- var ed = this.editor;
1094
-
1095
- ed.windowManager.open({
1096
- url : tinymce.baseURL + '/themes/advanced/source_editor.htm',
1097
- width : parseInt(ed.getParam("theme_advanced_source_editor_width", 720)),
1098
- height : parseInt(ed.getParam("theme_advanced_source_editor_height", 580)),
1099
- inline : true,
1100
- resizable : true,
1101
- maximizable : true
1102
- }, {
1103
- theme_url : this.url
1104
- });
1105
- },
1106
-
1107
- _mceImage : function(ui, val) {
1108
- var ed = this.editor;
1109
-
1110
- // Internal image object like a flash placeholder
1111
- if (ed.dom.getAttrib(ed.selection.getNode(), 'class').indexOf('mceItem') != -1)
1112
- return;
1113
-
1114
- ed.windowManager.open({
1115
- url : tinymce.baseURL + '/themes/advanced/image.htm',
1116
- width : 355 + parseInt(ed.getLang('advanced.image_delta_width', 0)),
1117
- height : 275 + parseInt(ed.getLang('advanced.image_delta_height', 0)),
1118
- inline : true
1119
- }, {
1120
- theme_url : this.url
1121
- });
1122
- },
1123
-
1124
- _mceLink : function(ui, val) {
1125
- var ed = this.editor;
1126
-
1127
- ed.windowManager.open({
1128
- url : tinymce.baseURL + '/themes/advanced/link.htm',
1129
- width : 310 + parseInt(ed.getLang('advanced.link_delta_width', 0)),
1130
- height : 200 + parseInt(ed.getLang('advanced.link_delta_height', 0)),
1131
- inline : true
1132
- }, {
1133
- theme_url : this.url
1134
- });
1135
- },
1136
-
1137
- _mceNewDocument : function() {
1138
- var ed = this.editor;
1139
-
1140
- ed.windowManager.confirm('advanced.newdocument', function(s) {
1141
- if (s)
1142
- ed.execCommand('mceSetContent', false, '');
1143
- });
1144
- },
1145
-
1146
- _mceForeColor : function() {
1147
- var t = this;
1148
-
1149
- this._mceColorPicker(0, {
1150
- color: t.fgColor,
1151
- func : function(co) {
1152
- t.fgColor = co;
1153
- t.editor.execCommand('ForeColor', false, co);
1154
- }
1155
- });
1156
- },
1157
-
1158
- _mceBackColor : function() {
1159
- var t = this;
1160
-
1161
- this._mceColorPicker(0, {
1162
- color: t.bgColor,
1163
- func : function(co) {
1164
- t.bgColor = co;
1165
- t.editor.execCommand('HiliteColor', false, co);
1166
- }
1167
- });
1168
- },
1169
-
1170
- _ufirst : function(s) {
1171
- return s.substring(0, 1).toUpperCase() + s.substring(1);
1172
- }
1173
- });
1174
-
1175
- tinymce.ThemeManager.add('advanced', tinymce.themes.AdvancedTheme);
1176
- }(tinymce));