cable 0.9.16 → 0.9.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. data/VERSION +1 -1
  2. data/app/controllers/admin_controller.rb +1 -1
  3. data/app/views/layouts/admin.html.erb +3 -1
  4. data/lib/generators/cable/install_generator.rb +1 -0
  5. data/lib/generators/cable/menu/templates/erb/menus/_menu.html.erb +1 -1
  6. data/lib/generators/cable/menu/templates/erb/menus/_resources.html.erb +1 -1
  7. data/lib/generators/cable/menu/templates/erb/menus/show.html.erb +1 -1
  8. data/public/javascripts/admin.js +16 -16
  9. metadata +2 -254
  10. data/public/javascripts/tinymce/jquery.tinymce.js +0 -1
  11. data/public/javascripts/tinymce/langs/en.js +0 -222
  12. data/public/javascripts/tinymce/license.txt +0 -504
  13. data/public/javascripts/tinymce/plugins/advhr/css/advhr.css +0 -5
  14. data/public/javascripts/tinymce/plugins/advhr/editor_plugin.js +0 -1
  15. data/public/javascripts/tinymce/plugins/advhr/editor_plugin_src.js +0 -57
  16. data/public/javascripts/tinymce/plugins/advhr/js/rule.js +0 -43
  17. data/public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +0 -7
  18. data/public/javascripts/tinymce/plugins/advhr/rule.htm +0 -58
  19. data/public/javascripts/tinymce/plugins/advimage/css/advimage.css +0 -13
  20. data/public/javascripts/tinymce/plugins/advimage/editor_plugin.js +0 -1
  21. data/public/javascripts/tinymce/plugins/advimage/editor_plugin_src.js +0 -50
  22. data/public/javascripts/tinymce/plugins/advimage/image.htm +0 -235
  23. data/public/javascripts/tinymce/plugins/advimage/img/sample.gif +0 -0
  24. data/public/javascripts/tinymce/plugins/advimage/js/image.js +0 -445
  25. data/public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +0 -45
  26. data/public/javascripts/tinymce/plugins/advlink/css/advlink.css +0 -8
  27. data/public/javascripts/tinymce/plugins/advlink/editor_plugin.js +0 -1
  28. data/public/javascripts/tinymce/plugins/advlink/editor_plugin_src.js +0 -61
  29. data/public/javascripts/tinymce/plugins/advlink/js/advlink.js +0 -523
  30. data/public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +0 -54
  31. data/public/javascripts/tinymce/plugins/advlink/link.htm +0 -338
  32. data/public/javascripts/tinymce/plugins/advlist/editor_plugin.js +0 -1
  33. data/public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +0 -154
  34. data/public/javascripts/tinymce/plugins/autolink/editor_plugin.js +0 -1
  35. data/public/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +0 -169
  36. data/public/javascripts/tinymce/plugins/autoresize/editor_plugin.js +0 -1
  37. data/public/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +0 -119
  38. data/public/javascripts/tinymce/plugins/autosave/editor_plugin.js +0 -1
  39. data/public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +0 -431
  40. data/public/javascripts/tinymce/plugins/autosave/langs/en.js +0 -4
  41. data/public/javascripts/tinymce/plugins/bbcode/editor_plugin.js +0 -1
  42. data/public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +0 -120
  43. data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +0 -1
  44. data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +0 -156
  45. data/public/javascripts/tinymce/plugins/directionality/editor_plugin.js +0 -1
  46. data/public/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +0 -82
  47. data/public/javascripts/tinymce/plugins/emotions/editor_plugin.js +0 -1
  48. data/public/javascripts/tinymce/plugins/emotions/editor_plugin_src.js +0 -43
  49. data/public/javascripts/tinymce/plugins/emotions/emotions.htm +0 -41
  50. data/public/javascripts/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
  51. data/public/javascripts/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
  52. data/public/javascripts/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  53. data/public/javascripts/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  54. data/public/javascripts/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
  55. data/public/javascripts/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
  56. data/public/javascripts/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
  57. data/public/javascripts/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
  58. data/public/javascripts/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  59. data/public/javascripts/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
  60. data/public/javascripts/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
  61. data/public/javascripts/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
  62. data/public/javascripts/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  63. data/public/javascripts/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
  64. data/public/javascripts/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
  65. data/public/javascripts/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
  66. data/public/javascripts/tinymce/plugins/emotions/js/emotions.js +0 -22
  67. data/public/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +0 -20
  68. data/public/javascripts/tinymce/plugins/example/dialog.htm +0 -22
  69. data/public/javascripts/tinymce/plugins/example/editor_plugin.js +0 -1
  70. data/public/javascripts/tinymce/plugins/example/editor_plugin_src.js +0 -84
  71. data/public/javascripts/tinymce/plugins/example/img/example.gif +0 -0
  72. data/public/javascripts/tinymce/plugins/example/js/dialog.js +0 -19
  73. data/public/javascripts/tinymce/plugins/example/langs/en.js +0 -3
  74. data/public/javascripts/tinymce/plugins/example/langs/en_dlg.js +0 -3
  75. data/public/javascripts/tinymce/plugins/fullpage/css/fullpage.css +0 -184
  76. data/public/javascripts/tinymce/plugins/fullpage/editor_plugin.js +0 -1
  77. data/public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +0 -198
  78. data/public/javascripts/tinymce/plugins/fullpage/fullpage.htm +0 -571
  79. data/public/javascripts/tinymce/plugins/fullpage/js/fullpage.js +0 -497
  80. data/public/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js +0 -85
  81. data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +0 -1
  82. data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +0 -159
  83. data/public/javascripts/tinymce/plugins/fullscreen/fullscreen.htm +0 -109
  84. data/public/javascripts/tinymce/plugins/iespell/editor_plugin.js +0 -1
  85. data/public/javascripts/tinymce/plugins/iespell/editor_plugin_src.js +0 -54
  86. data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +0 -1
  87. data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +0 -696
  88. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  89. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  90. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  91. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  92. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  93. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  94. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  95. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -90
  96. data/public/javascripts/tinymce/plugins/inlinepopups/template.htm +0 -387
  97. data/public/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js +0 -1
  98. data/public/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js +0 -83
  99. data/public/javascripts/tinymce/plugins/layer/editor_plugin.js +0 -1
  100. data/public/javascripts/tinymce/plugins/layer/editor_plugin_src.js +0 -214
  101. data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +0 -1
  102. data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +0 -139
  103. data/public/javascripts/tinymce/plugins/lists/editor_plugin.js +0 -1
  104. data/public/javascripts/tinymce/plugins/lists/editor_plugin_src.js +0 -617
  105. data/public/javascripts/tinymce/plugins/media/css/media.css +0 -17
  106. data/public/javascripts/tinymce/plugins/media/editor_plugin.js +0 -1
  107. data/public/javascripts/tinymce/plugins/media/editor_plugin_src.js +0 -770
  108. data/public/javascripts/tinymce/plugins/media/js/embed.js +0 -73
  109. data/public/javascripts/tinymce/plugins/media/js/media.js +0 -354
  110. data/public/javascripts/tinymce/plugins/media/langs/en_dlg.js +0 -109
  111. data/public/javascripts/tinymce/plugins/media/media.htm +0 -812
  112. data/public/javascripts/tinymce/plugins/media/moxieplayer.swf +0 -0
  113. data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +0 -1
  114. data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +0 -53
  115. data/public/javascripts/tinymce/plugins/noneditable/editor_plugin.js +0 -1
  116. data/public/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +0 -90
  117. data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +0 -1
  118. data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +0 -74
  119. data/public/javascripts/tinymce/plugins/paste/editor_plugin.js +0 -1
  120. data/public/javascripts/tinymce/plugins/paste/editor_plugin_src.js +0 -930
  121. data/public/javascripts/tinymce/plugins/paste/js/pastetext.js +0 -36
  122. data/public/javascripts/tinymce/plugins/paste/js/pasteword.js +0 -51
  123. data/public/javascripts/tinymce/plugins/paste/langs/en_dlg.js +0 -5
  124. data/public/javascripts/tinymce/plugins/paste/pastetext.htm +0 -27
  125. data/public/javascripts/tinymce/plugins/paste/pasteword.htm +0 -21
  126. data/public/javascripts/tinymce/plugins/preview/editor_plugin.js +0 -1
  127. data/public/javascripts/tinymce/plugins/preview/editor_plugin_src.js +0 -53
  128. data/public/javascripts/tinymce/plugins/preview/example.html +0 -28
  129. data/public/javascripts/tinymce/plugins/preview/jscripts/embed.js +0 -73
  130. data/public/javascripts/tinymce/plugins/preview/preview.html +0 -17
  131. data/public/javascripts/tinymce/plugins/print/editor_plugin.js +0 -1
  132. data/public/javascripts/tinymce/plugins/print/editor_plugin_src.js +0 -34
  133. data/public/javascripts/tinymce/plugins/save/editor_plugin.js +0 -1
  134. data/public/javascripts/tinymce/plugins/save/editor_plugin_src.js +0 -101
  135. data/public/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css +0 -6
  136. data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +0 -1
  137. data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +0 -61
  138. data/public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +0 -142
  139. data/public/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js +0 -16
  140. data/public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +0 -100
  141. data/public/javascripts/tinymce/plugins/spellchecker/css/content.css +0 -1
  142. data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +0 -1
  143. data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +0 -435
  144. data/public/javascripts/tinymce/plugins/spellchecker/img/wline.gif +0 -0
  145. data/public/javascripts/tinymce/plugins/style/css/props.css +0 -13
  146. data/public/javascripts/tinymce/plugins/style/editor_plugin.js +0 -1
  147. data/public/javascripts/tinymce/plugins/style/editor_plugin_src.js +0 -55
  148. data/public/javascripts/tinymce/plugins/style/js/props.js +0 -635
  149. data/public/javascripts/tinymce/plugins/style/langs/en_dlg.js +0 -70
  150. data/public/javascripts/tinymce/plugins/style/props.htm +0 -838
  151. data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +0 -1
  152. data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +0 -114
  153. data/public/javascripts/tinymce/plugins/table/cell.htm +0 -178
  154. data/public/javascripts/tinymce/plugins/table/css/cell.css +0 -17
  155. data/public/javascripts/tinymce/plugins/table/css/row.css +0 -25
  156. data/public/javascripts/tinymce/plugins/table/css/table.css +0 -13
  157. data/public/javascripts/tinymce/plugins/table/editor_plugin.js +0 -1
  158. data/public/javascripts/tinymce/plugins/table/editor_plugin_src.js +0 -1198
  159. data/public/javascripts/tinymce/plugins/table/js/cell.js +0 -284
  160. data/public/javascripts/tinymce/plugins/table/js/merge_cells.js +0 -27
  161. data/public/javascripts/tinymce/plugins/table/js/row.js +0 -232
  162. data/public/javascripts/tinymce/plugins/table/js/table.js +0 -450
  163. data/public/javascripts/tinymce/plugins/table/langs/en_dlg.js +0 -74
  164. data/public/javascripts/tinymce/plugins/table/merge_cells.htm +0 -32
  165. data/public/javascripts/tinymce/plugins/table/row.htm +0 -157
  166. data/public/javascripts/tinymce/plugins/table/table.htm +0 -188
  167. data/public/javascripts/tinymce/plugins/template/blank.htm +0 -12
  168. data/public/javascripts/tinymce/plugins/template/css/template.css +0 -23
  169. data/public/javascripts/tinymce/plugins/template/editor_plugin.js +0 -1
  170. data/public/javascripts/tinymce/plugins/template/editor_plugin_src.js +0 -159
  171. data/public/javascripts/tinymce/plugins/template/js/template.js +0 -106
  172. data/public/javascripts/tinymce/plugins/template/langs/en_dlg.js +0 -15
  173. data/public/javascripts/tinymce/plugins/template/template.htm +0 -31
  174. data/public/javascripts/tinymce/plugins/visualchars/editor_plugin.js +0 -1
  175. data/public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +0 -83
  176. data/public/javascripts/tinymce/plugins/wordcount/editor_plugin.js +0 -1
  177. data/public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +0 -114
  178. data/public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +0 -142
  179. data/public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +0 -142
  180. data/public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +0 -149
  181. data/public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +0 -142
  182. data/public/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css +0 -11
  183. data/public/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css +0 -9
  184. data/public/javascripts/tinymce/plugins/xhtmlxtras/del.htm +0 -162
  185. data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js +0 -1
  186. data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +0 -132
  187. data/public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +0 -162
  188. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js +0 -28
  189. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js +0 -28
  190. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +0 -125
  191. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js +0 -28
  192. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +0 -53
  193. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +0 -229
  194. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +0 -53
  195. data/public/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +0 -32
  196. data/public/javascripts/tinymce/themes/advanced/about.htm +0 -52
  197. data/public/javascripts/tinymce/themes/advanced/anchor.htm +0 -26
  198. data/public/javascripts/tinymce/themes/advanced/charmap.htm +0 -51
  199. data/public/javascripts/tinymce/themes/advanced/color_picker.htm +0 -74
  200. data/public/javascripts/tinymce/themes/advanced/editor_template.js +0 -1
  201. data/public/javascripts/tinymce/themes/advanced/editor_template_src.js +0 -1360
  202. data/public/javascripts/tinymce/themes/advanced/image.htm +0 -80
  203. data/public/javascripts/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
  204. data/public/javascripts/tinymce/themes/advanced/img/flash.gif +0 -0
  205. data/public/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
  206. data/public/javascripts/tinymce/themes/advanced/img/iframe.gif +0 -0
  207. data/public/javascripts/tinymce/themes/advanced/img/pagebreak.gif +0 -0
  208. data/public/javascripts/tinymce/themes/advanced/img/quicktime.gif +0 -0
  209. data/public/javascripts/tinymce/themes/advanced/img/realmedia.gif +0 -0
  210. data/public/javascripts/tinymce/themes/advanced/img/shockwave.gif +0 -0
  211. data/public/javascripts/tinymce/themes/advanced/img/trans.gif +0 -0
  212. data/public/javascripts/tinymce/themes/advanced/img/video.gif +0 -0
  213. data/public/javascripts/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
  214. data/public/javascripts/tinymce/themes/advanced/js/about.js +0 -73
  215. data/public/javascripts/tinymce/themes/advanced/js/anchor.js +0 -42
  216. data/public/javascripts/tinymce/themes/advanced/js/charmap.js +0 -355
  217. data/public/javascripts/tinymce/themes/advanced/js/color_picker.js +0 -329
  218. data/public/javascripts/tinymce/themes/advanced/js/image.js +0 -247
  219. data/public/javascripts/tinymce/themes/advanced/js/link.js +0 -153
  220. data/public/javascripts/tinymce/themes/advanced/js/source_editor.js +0 -56
  221. data/public/javascripts/tinymce/themes/advanced/langs/en.js +0 -68
  222. data/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +0 -54
  223. data/public/javascripts/tinymce/themes/advanced/link.htm +0 -57
  224. data/public/javascripts/tinymce/themes/advanced/shortcuts.htm +0 -47
  225. data/public/javascripts/tinymce/themes/advanced/skins/default/content.css +0 -47
  226. data/public/javascripts/tinymce/themes/advanced/skins/default/dialog.css +0 -117
  227. data/public/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
  228. data/public/javascripts/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
  229. data/public/javascripts/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  230. data/public/javascripts/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  231. data/public/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
  232. data/public/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
  233. data/public/javascripts/tinymce/themes/advanced/skins/default/ui.css +0 -213
  234. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css +0 -23
  235. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +0 -105
  236. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +0 -101
  237. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +0 -46
  238. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +0 -117
  239. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  240. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  241. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  242. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +0 -216
  243. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +0 -8
  244. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +0 -5
  245. data/public/javascripts/tinymce/themes/advanced/source_editor.htm +0 -25
  246. data/public/javascripts/tinymce/themes/simple/editor_template.js +0 -1
  247. data/public/javascripts/tinymce/themes/simple/editor_template_src.js +0 -84
  248. data/public/javascripts/tinymce/themes/simple/img/icons.gif +0 -0
  249. data/public/javascripts/tinymce/themes/simple/langs/en.js +0 -11
  250. data/public/javascripts/tinymce/themes/simple/skins/default/content.css +0 -25
  251. data/public/javascripts/tinymce/themes/simple/skins/default/ui.css +0 -32
  252. data/public/javascripts/tinymce/themes/simple/skins/o2k7/content.css +0 -17
  253. data/public/javascripts/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  254. data/public/javascripts/tinymce/themes/simple/skins/o2k7/ui.css +0 -35
  255. data/public/javascripts/tinymce/tiny_mce.js +0 -1
  256. data/public/javascripts/tinymce/tiny_mce_popup.js +0 -5
  257. data/public/javascripts/tinymce/tiny_mce_src.js +0 -15752
  258. data/public/javascripts/tinymce/utils/editable_selects.js +0 -70
  259. data/public/javascripts/tinymce/utils/form_utils.js +0 -210
  260. data/public/javascripts/tinymce/utils/mctabs.js +0 -162
  261. data/public/javascripts/tinymce/utils/validate.js +0 -252
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.16
1
+ 0.9.17
@@ -1,6 +1,6 @@
1
1
  class AdminController < Cable::CableAdminController
2
2
  layout proc{ |c| c.request.xhr? ? false : "admin" }
3
-
3
+ #uses_tiny_mce :options => {:editor_selector => "html_editor"}
4
4
  def index
5
5
  end
6
6
 
@@ -11,7 +11,9 @@
11
11
  <%= stylesheet_link_tag 'cable/formtastic' %>
12
12
  <%= stylesheet_link_tag 'cable/formtastic_changes' %>
13
13
  <%= stylesheet_link_tag 'jquery/ui/jquery-ui-1.8.7.custom.css' %>
14
- <%= javascript_include_tag 'jquery' , 'jquery-ui', 'rails','tinymce/jquery.tinymce.js', 'jquery.tablesorter.min.js', 'jquery.ui.autocomplete.html.js', 'admin.js' %>
14
+ <%= javascript_include_tag 'jquery' , 'jquery-ui', 'rails', 'jquery.tablesorter.min.js', 'jquery.ui.autocomplete.html.js', 'admin.js' %>
15
+ <%# javascript_include_tag 'tinymce/jquery.tinymce.js'%>
16
+ <%= include_tiny_mce_if_needed %>
15
17
  <%= yield :scripts %>
16
18
  </head>
17
19
  <body>
@@ -61,6 +61,7 @@ module Cable
61
61
  end
62
62
 
63
63
  def install_admin
64
+ copy_file "app/controllers/admin_controller.rb", "app/controllers/admin_controller.rb"
64
65
  copy_file "app/views/layouts/admin.html.erb", 'app/views/layouts/admin.html.erb'
65
66
  directory 'app/views/layouts/admin', 'app/views/layouts/admin'
66
67
  directory "public/stylesheets/tinymce", "public/stylesheets/tinymce"
@@ -67,7 +67,7 @@
67
67
  <%%= f.inputs do %>
68
68
  <%%= f.input :cable_menuable_type, :as => :hidden %>
69
69
  <%%= f.input :cable_menuable_id, :as => :hidden %>
70
- <li><div id="selected-resource"><%%= @<%= singular_table_name %>.cable_menuable_type %> &raquo; <%%= @<%= singular_table_name %>.resource.title unless @<%= singular_table_name %>.resource.nil? %></div></li>
70
+ <li><div id="selected-resource"><%%= @<%= singular_table_name %>.cable_menuable_type %> &raquo; <%%= @<%= singular_table_name %>.resource.first_displayable_attribute unless @<%= singular_table_name %>.resource.nil? %></div></li>
71
71
  <li>
72
72
  <table id="resources">
73
73
  <thead>
@@ -2,7 +2,7 @@
2
2
  <tbody>
3
3
  <%% @resources.each do |resource| %>
4
4
  <tr>
5
- <td menu_id="<%%= resource.id %>" resource_type="<%%= resource.class.name %>" class="resource"><%%= resource.title %></td>
5
+ <td menu_id="<%%= resource.id %>" resource_type="<%%= resource.class.name %>" class="resource"><%%= resource.first_displayable_attribute %></td>
6
6
  <td><%%= link_to image_tag("cable/search.png"), [:admin, resource], :target => "_blank" %></td>
7
7
  </tr>
8
8
  <%% end %>
@@ -11,7 +11,7 @@
11
11
  <%% unless @<%= singular_table_name %>.resource.nil? %>
12
12
  <tr>
13
13
  <th class="label">Links to:</th>
14
- <td><%%= @<%= singular_table_name %>.cable_<%= singular_table_name %>able_type %> | <%%= link_to @<%= singular_table_name %>.resource.title, [:admin, @<%= singular_table_name %>.resource] %></td>
14
+ <td><%%= @<%= singular_table_name %>.cable_<%= singular_table_name %>able_type %> | <%%= link_to @<%= singular_table_name %>.resource.first_displayable_attribute, [:admin, @<%= singular_table_name %>.resource] %></td>
15
15
  </tr>
16
16
  <%% end %>
17
17
  </tbody>
@@ -1,21 +1,21 @@
1
1
  $(document).ready(function(){
2
2
  $('.sortable-table').tablesorter();
3
- $('.rich_editor').tinymce({
4
- script_url : '/javascripts/tinymce/tiny_mce.js',
5
- theme : "advanced",
6
- plugins : "pdw,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",
7
- theme_advanced_buttons1 : "pdw_toggle,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,cut,copy,paste,pastetext,pasteword",
8
- theme_advanced_buttons2 : "search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,preview",
9
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,media|,fullscreen",
10
- theme_advanced_toolbar_location : "top",
11
- theme_advanced_toolbar_align : "left",
12
- theme_advanced_statusbar_location : "bottom",
13
- theme_advanced_resizing : true,
14
- theme_advanced_resize_horizontal : false,
15
- pdw_toggle_on : 1,
16
- pdw_toggle_toolbars : "2,3",
17
- content_css : "/stylesheets/tinymce/custom_rich_editor.css"
18
- });
3
+ // $('.rich_editor').tinymce({
4
+ // script_url : '/javascripts/tinymce/tiny_mce.js',
5
+ // theme : "advanced",
6
+ // plugins : "pdw,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",
7
+ // theme_advanced_buttons1 : "pdw_toggle,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,cut,copy,paste,pastetext,pasteword",
8
+ // theme_advanced_buttons2 : "search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,preview",
9
+ // theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,media,|,fullscreen",
10
+ // theme_advanced_toolbar_location : "top",
11
+ // theme_advanced_toolbar_align : "left",
12
+ // theme_advanced_statusbar_location : "bottom",
13
+ // theme_advanced_resizing : true,
14
+ // theme_advanced_resize_horizontal : false,
15
+ // pdw_toggle_on : 1,
16
+ // pdw_toggle_toolbars : "2,3",
17
+ // content_css : "/stylesheets/tinymce/custom_rich_editor.css"
18
+ // });
19
19
 
20
20
  $('.disabled-button').button({disabled: true});
21
21
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cable
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.16
5
+ version: 0.9.17
6
6
  platform: ruby
7
7
  authors:
8
8
  - Spencer Markowski
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-05-11 00:00:00 -04:00
15
+ date: 2011-07-08 00:00:00 -04:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -249,258 +249,6 @@ files:
249
249
  - public/javascripts/jquery.tablesorter.min.js
250
250
  - public/javascripts/jquery.tagsinput.js
251
251
  - public/javascripts/jquery.ui.autocomplete.html.js
252
- - public/javascripts/tinymce/jquery.tinymce.js
253
- - public/javascripts/tinymce/langs/en.js
254
- - public/javascripts/tinymce/license.txt
255
- - public/javascripts/tinymce/plugins/advhr/css/advhr.css
256
- - public/javascripts/tinymce/plugins/advhr/editor_plugin.js
257
- - public/javascripts/tinymce/plugins/advhr/editor_plugin_src.js
258
- - public/javascripts/tinymce/plugins/advhr/js/rule.js
259
- - public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js
260
- - public/javascripts/tinymce/plugins/advhr/rule.htm
261
- - public/javascripts/tinymce/plugins/advimage/css/advimage.css
262
- - public/javascripts/tinymce/plugins/advimage/editor_plugin.js
263
- - public/javascripts/tinymce/plugins/advimage/editor_plugin_src.js
264
- - public/javascripts/tinymce/plugins/advimage/image.htm
265
- - public/javascripts/tinymce/plugins/advimage/img/sample.gif
266
- - public/javascripts/tinymce/plugins/advimage/js/image.js
267
- - public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js
268
- - public/javascripts/tinymce/plugins/advlink/css/advlink.css
269
- - public/javascripts/tinymce/plugins/advlink/editor_plugin.js
270
- - public/javascripts/tinymce/plugins/advlink/editor_plugin_src.js
271
- - public/javascripts/tinymce/plugins/advlink/js/advlink.js
272
- - public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js
273
- - public/javascripts/tinymce/plugins/advlink/link.htm
274
- - public/javascripts/tinymce/plugins/advlist/editor_plugin.js
275
- - public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js
276
- - public/javascripts/tinymce/plugins/autolink/editor_plugin.js
277
- - public/javascripts/tinymce/plugins/autolink/editor_plugin_src.js
278
- - public/javascripts/tinymce/plugins/autoresize/editor_plugin.js
279
- - public/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js
280
- - public/javascripts/tinymce/plugins/autosave/editor_plugin.js
281
- - public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js
282
- - public/javascripts/tinymce/plugins/autosave/langs/en.js
283
- - public/javascripts/tinymce/plugins/bbcode/editor_plugin.js
284
- - public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js
285
- - public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js
286
- - public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js
287
- - public/javascripts/tinymce/plugins/directionality/editor_plugin.js
288
- - public/javascripts/tinymce/plugins/directionality/editor_plugin_src.js
289
- - public/javascripts/tinymce/plugins/emotions/editor_plugin.js
290
- - public/javascripts/tinymce/plugins/emotions/editor_plugin_src.js
291
- - public/javascripts/tinymce/plugins/emotions/emotions.htm
292
- - public/javascripts/tinymce/plugins/emotions/img/smiley-cool.gif
293
- - public/javascripts/tinymce/plugins/emotions/img/smiley-cry.gif
294
- - public/javascripts/tinymce/plugins/emotions/img/smiley-embarassed.gif
295
- - public/javascripts/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif
296
- - public/javascripts/tinymce/plugins/emotions/img/smiley-frown.gif
297
- - public/javascripts/tinymce/plugins/emotions/img/smiley-innocent.gif
298
- - public/javascripts/tinymce/plugins/emotions/img/smiley-kiss.gif
299
- - public/javascripts/tinymce/plugins/emotions/img/smiley-laughing.gif
300
- - public/javascripts/tinymce/plugins/emotions/img/smiley-money-mouth.gif
301
- - public/javascripts/tinymce/plugins/emotions/img/smiley-sealed.gif
302
- - public/javascripts/tinymce/plugins/emotions/img/smiley-smile.gif
303
- - public/javascripts/tinymce/plugins/emotions/img/smiley-surprised.gif
304
- - public/javascripts/tinymce/plugins/emotions/img/smiley-tongue-out.gif
305
- - public/javascripts/tinymce/plugins/emotions/img/smiley-undecided.gif
306
- - public/javascripts/tinymce/plugins/emotions/img/smiley-wink.gif
307
- - public/javascripts/tinymce/plugins/emotions/img/smiley-yell.gif
308
- - public/javascripts/tinymce/plugins/emotions/js/emotions.js
309
- - public/javascripts/tinymce/plugins/emotions/langs/en_dlg.js
310
- - public/javascripts/tinymce/plugins/example/dialog.htm
311
- - public/javascripts/tinymce/plugins/example/editor_plugin.js
312
- - public/javascripts/tinymce/plugins/example/editor_plugin_src.js
313
- - public/javascripts/tinymce/plugins/example/img/example.gif
314
- - public/javascripts/tinymce/plugins/example/js/dialog.js
315
- - public/javascripts/tinymce/plugins/example/langs/en.js
316
- - public/javascripts/tinymce/plugins/example/langs/en_dlg.js
317
- - public/javascripts/tinymce/plugins/fullpage/css/fullpage.css
318
- - public/javascripts/tinymce/plugins/fullpage/editor_plugin.js
319
- - public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js
320
- - public/javascripts/tinymce/plugins/fullpage/fullpage.htm
321
- - public/javascripts/tinymce/plugins/fullpage/js/fullpage.js
322
- - public/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js
323
- - public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js
324
- - public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js
325
- - public/javascripts/tinymce/plugins/fullscreen/fullscreen.htm
326
- - public/javascripts/tinymce/plugins/iespell/editor_plugin.js
327
- - public/javascripts/tinymce/plugins/iespell/editor_plugin_src.js
328
- - public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js
329
- - public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js
330
- - public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
331
- - public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
332
- - public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
333
- - public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
334
- - public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
335
- - public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
336
- - public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
337
- - public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css
338
- - public/javascripts/tinymce/plugins/inlinepopups/template.htm
339
- - public/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js
340
- - public/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js
341
- - public/javascripts/tinymce/plugins/layer/editor_plugin.js
342
- - public/javascripts/tinymce/plugins/layer/editor_plugin_src.js
343
- - public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js
344
- - public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js
345
- - public/javascripts/tinymce/plugins/lists/editor_plugin.js
346
- - public/javascripts/tinymce/plugins/lists/editor_plugin_src.js
347
- - public/javascripts/tinymce/plugins/media/css/media.css
348
- - public/javascripts/tinymce/plugins/media/editor_plugin.js
349
- - public/javascripts/tinymce/plugins/media/editor_plugin_src.js
350
- - public/javascripts/tinymce/plugins/media/js/embed.js
351
- - public/javascripts/tinymce/plugins/media/js/media.js
352
- - public/javascripts/tinymce/plugins/media/langs/en_dlg.js
353
- - public/javascripts/tinymce/plugins/media/media.htm
354
- - public/javascripts/tinymce/plugins/media/moxieplayer.swf
355
- - public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js
356
- - public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js
357
- - public/javascripts/tinymce/plugins/noneditable/editor_plugin.js
358
- - public/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js
359
- - public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js
360
- - public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js
361
- - public/javascripts/tinymce/plugins/paste/editor_plugin.js
362
- - public/javascripts/tinymce/plugins/paste/editor_plugin_src.js
363
- - public/javascripts/tinymce/plugins/paste/js/pastetext.js
364
- - public/javascripts/tinymce/plugins/paste/js/pasteword.js
365
- - public/javascripts/tinymce/plugins/paste/langs/en_dlg.js
366
- - public/javascripts/tinymce/plugins/paste/pastetext.htm
367
- - public/javascripts/tinymce/plugins/paste/pasteword.htm
368
- - public/javascripts/tinymce/plugins/preview/editor_plugin.js
369
- - public/javascripts/tinymce/plugins/preview/editor_plugin_src.js
370
- - public/javascripts/tinymce/plugins/preview/example.html
371
- - public/javascripts/tinymce/plugins/preview/jscripts/embed.js
372
- - public/javascripts/tinymce/plugins/preview/preview.html
373
- - public/javascripts/tinymce/plugins/print/editor_plugin.js
374
- - public/javascripts/tinymce/plugins/print/editor_plugin_src.js
375
- - public/javascripts/tinymce/plugins/save/editor_plugin.js
376
- - public/javascripts/tinymce/plugins/save/editor_plugin_src.js
377
- - public/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css
378
- - public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js
379
- - public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js
380
- - public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js
381
- - public/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js
382
- - public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm
383
- - public/javascripts/tinymce/plugins/spellchecker/css/content.css
384
- - public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js
385
- - public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js
386
- - public/javascripts/tinymce/plugins/spellchecker/img/wline.gif
387
- - public/javascripts/tinymce/plugins/style/css/props.css
388
- - public/javascripts/tinymce/plugins/style/editor_plugin.js
389
- - public/javascripts/tinymce/plugins/style/editor_plugin_src.js
390
- - public/javascripts/tinymce/plugins/style/js/props.js
391
- - public/javascripts/tinymce/plugins/style/langs/en_dlg.js
392
- - public/javascripts/tinymce/plugins/style/props.htm
393
- - public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js
394
- - public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js
395
- - public/javascripts/tinymce/plugins/table/cell.htm
396
- - public/javascripts/tinymce/plugins/table/css/cell.css
397
- - public/javascripts/tinymce/plugins/table/css/row.css
398
- - public/javascripts/tinymce/plugins/table/css/table.css
399
- - public/javascripts/tinymce/plugins/table/editor_plugin.js
400
- - public/javascripts/tinymce/plugins/table/editor_plugin_src.js
401
- - public/javascripts/tinymce/plugins/table/js/cell.js
402
- - public/javascripts/tinymce/plugins/table/js/merge_cells.js
403
- - public/javascripts/tinymce/plugins/table/js/row.js
404
- - public/javascripts/tinymce/plugins/table/js/table.js
405
- - public/javascripts/tinymce/plugins/table/langs/en_dlg.js
406
- - public/javascripts/tinymce/plugins/table/merge_cells.htm
407
- - public/javascripts/tinymce/plugins/table/row.htm
408
- - public/javascripts/tinymce/plugins/table/table.htm
409
- - public/javascripts/tinymce/plugins/template/blank.htm
410
- - public/javascripts/tinymce/plugins/template/css/template.css
411
- - public/javascripts/tinymce/plugins/template/editor_plugin.js
412
- - public/javascripts/tinymce/plugins/template/editor_plugin_src.js
413
- - public/javascripts/tinymce/plugins/template/js/template.js
414
- - public/javascripts/tinymce/plugins/template/langs/en_dlg.js
415
- - public/javascripts/tinymce/plugins/template/template.htm
416
- - public/javascripts/tinymce/plugins/visualchars/editor_plugin.js
417
- - public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js
418
- - public/javascripts/tinymce/plugins/wordcount/editor_plugin.js
419
- - public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js
420
- - public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm
421
- - public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm
422
- - public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm
423
- - public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm
424
- - public/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css
425
- - public/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css
426
- - public/javascripts/tinymce/plugins/xhtmlxtras/del.htm
427
- - public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js
428
- - public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js
429
- - public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm
430
- - public/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js
431
- - public/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js
432
- - public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js
433
- - public/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js
434
- - public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js
435
- - public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js
436
- - public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js
437
- - public/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js
438
- - public/javascripts/tinymce/themes/advanced/about.htm
439
- - public/javascripts/tinymce/themes/advanced/anchor.htm
440
- - public/javascripts/tinymce/themes/advanced/charmap.htm
441
- - public/javascripts/tinymce/themes/advanced/color_picker.htm
442
- - public/javascripts/tinymce/themes/advanced/editor_template.js
443
- - public/javascripts/tinymce/themes/advanced/editor_template_src.js
444
- - public/javascripts/tinymce/themes/advanced/image.htm
445
- - public/javascripts/tinymce/themes/advanced/img/colorpicker.jpg
446
- - public/javascripts/tinymce/themes/advanced/img/flash.gif
447
- - public/javascripts/tinymce/themes/advanced/img/icons.gif
448
- - public/javascripts/tinymce/themes/advanced/img/iframe.gif
449
- - public/javascripts/tinymce/themes/advanced/img/pagebreak.gif
450
- - public/javascripts/tinymce/themes/advanced/img/quicktime.gif
451
- - public/javascripts/tinymce/themes/advanced/img/realmedia.gif
452
- - public/javascripts/tinymce/themes/advanced/img/shockwave.gif
453
- - public/javascripts/tinymce/themes/advanced/img/trans.gif
454
- - public/javascripts/tinymce/themes/advanced/img/video.gif
455
- - public/javascripts/tinymce/themes/advanced/img/windowsmedia.gif
456
- - public/javascripts/tinymce/themes/advanced/js/about.js
457
- - public/javascripts/tinymce/themes/advanced/js/anchor.js
458
- - public/javascripts/tinymce/themes/advanced/js/charmap.js
459
- - public/javascripts/tinymce/themes/advanced/js/color_picker.js
460
- - public/javascripts/tinymce/themes/advanced/js/image.js
461
- - public/javascripts/tinymce/themes/advanced/js/link.js
462
- - public/javascripts/tinymce/themes/advanced/js/source_editor.js
463
- - public/javascripts/tinymce/themes/advanced/langs/en.js
464
- - public/javascripts/tinymce/themes/advanced/langs/en_dlg.js
465
- - public/javascripts/tinymce/themes/advanced/link.htm
466
- - public/javascripts/tinymce/themes/advanced/shortcuts.htm
467
- - public/javascripts/tinymce/themes/advanced/skins/default/content.css
468
- - public/javascripts/tinymce/themes/advanced/skins/default/dialog.css
469
- - public/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png
470
- - public/javascripts/tinymce/themes/advanced/skins/default/img/items.gif
471
- - public/javascripts/tinymce/themes/advanced/skins/default/img/menu_arrow.gif
472
- - public/javascripts/tinymce/themes/advanced/skins/default/img/menu_check.gif
473
- - public/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif
474
- - public/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif
475
- - public/javascripts/tinymce/themes/advanced/skins/default/ui.css
476
- - public/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css
477
- - public/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css
478
- - public/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css
479
- - public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css
480
- - public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css
481
- - public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png
482
- - public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png
483
- - public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png
484
- - public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css
485
- - public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css
486
- - public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css
487
- - public/javascripts/tinymce/themes/advanced/source_editor.htm
488
- - public/javascripts/tinymce/themes/simple/editor_template.js
489
- - public/javascripts/tinymce/themes/simple/editor_template_src.js
490
- - public/javascripts/tinymce/themes/simple/img/icons.gif
491
- - public/javascripts/tinymce/themes/simple/langs/en.js
492
- - public/javascripts/tinymce/themes/simple/skins/default/content.css
493
- - public/javascripts/tinymce/themes/simple/skins/default/ui.css
494
- - public/javascripts/tinymce/themes/simple/skins/o2k7/content.css
495
- - public/javascripts/tinymce/themes/simple/skins/o2k7/img/button_bg.png
496
- - public/javascripts/tinymce/themes/simple/skins/o2k7/ui.css
497
- - public/javascripts/tinymce/tiny_mce.js
498
- - public/javascripts/tinymce/tiny_mce_popup.js
499
- - public/javascripts/tinymce/tiny_mce_src.js
500
- - public/javascripts/tinymce/utils/editable_selects.js
501
- - public/javascripts/tinymce/utils/form_utils.js
502
- - public/javascripts/tinymce/utils/mctabs.js
503
- - public/javascripts/tinymce/utils/validate.js
504
252
  - public/stylesheets/cable.css
505
253
  - public/stylesheets/cable/base.css
506
254
  - public/stylesheets/cable/blueprint/ie.css
@@ -1 +0,0 @@
1
- (function(b){var e,d,a=[],c=window;b.fn.tinymce=function(j){var p=this,g,k,h,m,i,l="",n="";if(!p.length){return p}if(!j){return tinyMCE.get(p[0].id)}function o(){var r=[],q=0;if(f){f();f=null}p.each(function(t,u){var s,w=u.id,v=j.oninit;if(!w){u.id=w=tinymce.DOM.uniqueId()}s=new tinymce.Editor(w,j);r.push(s);if(v){s.onInit.add(function(){var x,y=v;if(++q==r.length){if(tinymce.is(y,"string")){x=(y.indexOf(".")===-1)?null:tinymce.resolve(y.replace(/\.\w+$/,""));y=tinymce.resolve(y)}y.apply(x||tinymce,r)}})}});b.each(r,function(t,s){s.render()})}if(!c.tinymce&&!d&&(g=j.script_url)){d=1;h=g.substring(0,g.lastIndexOf("/"));if(/_(src|dev)\.js/g.test(g)){n="_src"}m=g.lastIndexOf("?");if(m!=-1){l=g.substring(m+1)}c.tinyMCEPreInit=c.tinyMCEPreInit||{base:h,suffix:n,query:l};if(g.indexOf("gzip")!=-1){i=j.language||"en";g=g+(/\?/.test(g)?"&":"?")+"js=true&core=true&suffix="+escape(n)+"&themes="+escape(j.theme)+"&plugins="+escape(j.plugins)+"&languages="+i;if(!c.tinyMCE_GZ){tinyMCE_GZ={start:function(){tinymce.suffix=n;function q(r){tinymce.ScriptLoader.markDone(tinyMCE.baseURI.toAbsolute(r))}q("langs/"+i+".js");q("themes/"+j.theme+"/editor_template"+n+".js");q("themes/"+j.theme+"/langs/"+i+".js");b.each(j.plugins.split(","),function(s,r){if(r){q("plugins/"+r+"/editor_plugin"+n+".js");q("plugins/"+r+"/langs/"+i+".js")}})},end:function(){}}}}b.ajax({type:"GET",url:g,dataType:"script",cache:true,success:function(){tinymce.dom.Event.domLoaded=1;d=2;if(j.script_loaded){j.script_loaded()}o();b.each(a,function(q,r){r()})}})}else{if(d===1){a.push(o)}else{o()}}return p};b.extend(b.expr[":"],{tinymce:function(g){return g.id&&!!tinyMCE.get(g.id)}});function f(){function i(l){if(l==="remove"){this.each(function(n,o){var m=h(o);if(m){m.remove()}})}this.find("span.mceEditor,div.mceEditor").each(function(n,o){var m=tinyMCE.get(o.id.replace(/_parent$/,""));if(m){m.remove()}})}function k(n){var m=this,l;if(n!==e){i.call(m);m.each(function(p,q){var o;if(o=tinyMCE.get(q.id)){o.setContent(n)}})}else{if(m.length>0){if(l=tinyMCE.get(m[0].id)){return l.getContent()}}}}function h(m){var l=null;(m)&&(m.id)&&(c.tinymce)&&(l=tinyMCE.get(m.id));return l}function g(l){return !!((l)&&(l.length)&&(c.tinymce)&&(l.is(":tinymce")))}var j={};b.each(["text","html","val"],function(n,l){var o=j[l]=b.fn[l],m=(l==="text");b.fn[l]=function(s){var p=this;if(!g(p)){return o.apply(p,arguments)}if(s!==e){k.call(p.filter(":tinymce"),s);o.apply(p.not(":tinymce"),arguments);return p}else{var r="";var q=arguments;(m?p:p.eq(0)).each(function(u,v){var t=h(v);r+=t?(m?t.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):t.getContent()):o.apply(b(v),q)});return r}}});b.each(["append","prepend"],function(n,m){var o=j[m]=b.fn[m],l=(m==="prepend");b.fn[m]=function(q){var p=this;if(!g(p)){return o.apply(p,arguments)}if(q!==e){p.filter(":tinymce").each(function(s,t){var r=h(t);r&&r.setContent(l?q+r.getContent():r.getContent()+q)});o.apply(p.not(":tinymce"),arguments);return p}}});b.each(["remove","replaceWith","replaceAll","empty"],function(m,l){var n=j[l]=b.fn[l];b.fn[l]=function(){i.call(this,l);return n.apply(this,arguments)}});j.attr=b.fn.attr;b.fn.attr=function(n,q,o){var m=this;if((!n)||(n!=="value")||(!g(m))){return j.attr.call(m,n,q,o)}if(q!==e){k.call(m.filter(":tinymce"),q);j.attr.call(m.not(":tinymce"),n,q,o);return m}else{var p=m[0],l=h(p);return l?l.getContent():j.attr.call(b(p),n,q,o)}}}})(jQuery);
@@ -1,222 +0,0 @@
1
- tinyMCE.addI18n({en:{
2
- common:{
3
- edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?",
4
- apply:"Apply",
5
- insert:"Insert",
6
- update:"Update",
7
- cancel:"Cancel",
8
- close:"Close",
9
- browse:"Browse",
10
- class_name:"Class",
11
- not_set:"-- Not set --",
12
- clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?",
13
- clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.",
14
- popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
15
- invalid_data:"{#field} is invalid",
16
- invalid_data_number:"{#field} must be a number",
17
- invalid_data_min:"{#field} must be a number greater than {#min}",
18
- invalid_data_size:"{#field} must be a number or percentage",
19
- more_colors:"More colors"
20
- },
21
- colors:{
22
- '000000':'Black',
23
- '993300':'Burnt orange',
24
- '333300':'Dark olive',
25
- '003300':'Dark green',
26
- '003366':'Dark azure',
27
- '000080':'Navy Blue',
28
- '333399':'Indigo',
29
- '333333':'Very dark gray',
30
- '800000':'Maroon',
31
- 'FF6600':'Orange',
32
- '808000':'Olive',
33
- '008000':'Green',
34
- '008080':'Teal',
35
- '0000FF':'Blue',
36
- '666699':'Grayish blue',
37
- '808080':'Gray',
38
- 'FF0000':'Red',
39
- 'FF9900':'Amber',
40
- '99CC00':'Yellow green',
41
- '339966':'Sea green',
42
- '33CCCC':'Turquoise',
43
- '3366FF':'Royal blue',
44
- '800080':'Purple',
45
- '999999':'Medium gray',
46
- 'FF00FF':'Magenta',
47
- 'FFCC00':'Gold',
48
- 'FFFF00':'Yellow',
49
- '00FF00':'Lime',
50
- '00FFFF':'Aqua',
51
- '00CCFF':'Sky blue',
52
- '993366':'Brown',
53
- 'C0C0C0':'Silver',
54
- 'FF99CC':'Pink',
55
- 'FFCC99':'Peach',
56
- 'FFFF99':'Light yellow',
57
- 'CCFFCC':'Pale green',
58
- 'CCFFFF':'Pale cyan',
59
- '99CCFF':'Light sky blue',
60
- 'CC99FF':'Plum',
61
- 'FFFFFF':'White'
62
- },
63
- contextmenu:{
64
- align:"Alignment",
65
- left:"Left",
66
- center:"Center",
67
- right:"Right",
68
- full:"Full"
69
- },
70
- insertdatetime:{
71
- date_fmt:"%Y-%m-%d",
72
- time_fmt:"%H:%M:%S",
73
- insertdate_desc:"Insert date",
74
- inserttime_desc:"Insert time",
75
- months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
76
- months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
77
- day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
78
- day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
79
- },
80
- print:{
81
- print_desc:"Print"
82
- },
83
- preview:{
84
- preview_desc:"Preview"
85
- },
86
- directionality:{
87
- ltr_desc:"Direction left to right",
88
- rtl_desc:"Direction right to left"
89
- },
90
- layer:{
91
- insertlayer_desc:"Insert new layer",
92
- forward_desc:"Move forward",
93
- backward_desc:"Move backward",
94
- absolute_desc:"Toggle absolute positioning",
95
- content:"New layer..."
96
- },
97
- save:{
98
- save_desc:"Save",
99
- cancel_desc:"Cancel all changes"
100
- },
101
- nonbreaking:{
102
- nonbreaking_desc:"Insert non-breaking space character"
103
- },
104
- iespell:{
105
- iespell_desc:"Run spell checking",
106
- download:"ieSpell not detected. Do you want to install it now?"
107
- },
108
- advhr:{
109
- advhr_desc:"Horizontal rule"
110
- },
111
- emotions:{
112
- emotions_desc:"Emotions"
113
- },
114
- searchreplace:{
115
- search_desc:"Find",
116
- replace_desc:"Find/Replace"
117
- },
118
- advimage:{
119
- image_desc:"Insert/edit image"
120
- },
121
- advlink:{
122
- link_desc:"Insert/edit link"
123
- },
124
- xhtmlxtras:{
125
- cite_desc:"Citation",
126
- abbr_desc:"Abbreviation",
127
- acronym_desc:"Acronym",
128
- del_desc:"Deletion",
129
- ins_desc:"Insertion",
130
- attribs_desc:"Insert/Edit Attributes"
131
- },
132
- style:{
133
- desc:"Edit CSS Style"
134
- },
135
- paste:{
136
- paste_text_desc:"Paste as Plain Text",
137
- paste_word_desc:"Paste from Word",
138
- selectall_desc:"Select All",
139
- plaintext_mode_sticky:"Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.",
140
- plaintext_mode:"Paste is now in plain text mode. Click again to toggle back to regular paste mode."
141
- },
142
- paste_dlg:{
143
- text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
144
- text_linebreaks:"Keep linebreaks",
145
- word_title:"Use CTRL+V on your keyboard to paste the text into the window."
146
- },
147
- table:{
148
- desc:"Inserts a new table",
149
- row_before_desc:"Insert row before",
150
- row_after_desc:"Insert row after",
151
- delete_row_desc:"Delete row",
152
- col_before_desc:"Insert column before",
153
- col_after_desc:"Insert column after",
154
- delete_col_desc:"Remove column",
155
- split_cells_desc:"Split merged table cells",
156
- merge_cells_desc:"Merge table cells",
157
- row_desc:"Table row properties",
158
- cell_desc:"Table cell properties",
159
- props_desc:"Table properties",
160
- paste_row_before_desc:"Paste table row before",
161
- paste_row_after_desc:"Paste table row after",
162
- cut_row_desc:"Cut table row",
163
- copy_row_desc:"Copy table row",
164
- del:"Delete table",
165
- row:"Row",
166
- col:"Column",
167
- cell:"Cell"
168
- },
169
- autosave:{
170
- unload_msg:"The changes you made will be lost if you navigate away from this page.",
171
- restore_content:"Restore auto-saved content.",
172
- warning_message:"If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?."
173
- },
174
- fullscreen:{
175
- desc:"Toggle fullscreen mode"
176
- },
177
- media:{
178
- desc:"Insert / edit embedded media",
179
- edit:"Edit embedded media"
180
- },
181
- fullpage:{
182
- desc:"Document properties"
183
- },
184
- template:{
185
- desc:"Insert predefined template content"
186
- },
187
- visualchars:{
188
- desc:"Visual control characters on/off."
189
- },
190
- spellchecker:{
191
- desc:"Toggle spellchecker",
192
- menu:"Spellchecker settings",
193
- ignore_word:"Ignore word",
194
- ignore_words:"Ignore all",
195
- langs:"Languages",
196
- wait:"Please wait...",
197
- sug:"Suggestions",
198
- no_sug:"No suggestions",
199
- no_mpell:"No misspellings found."
200
- },
201
- pagebreak:{
202
- desc:"Insert page break."
203
- },
204
- advlist:{
205
- types:"Types",
206
- def:"Default",
207
- lower_alpha:"Lower alpha",
208
- lower_greek:"Lower greek",
209
- lower_roman:"Lower roman",
210
- upper_alpha:"Upper alpha",
211
- upper_roman:"Upper roman",
212
- circle:"Circle",
213
- disc:"Disc",
214
- square:"Square"
215
- },
216
- aria:{
217
- rich_text_area:"Rich Text Area"
218
- },
219
- wordcount:{
220
- words: 'Words: '
221
- }
222
- }});