bcms_fckeditor 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (670) hide show
  1. metadata +5 -679
  2. data/.gitignore +0 -11
  3. data/COPYRIGHT.txt +0 -23
  4. data/GPL.txt +0 -674
  5. data/Rakefile +0 -36
  6. data/VERSION +0 -1
  7. data/app/controllers/application_controller.rb +0 -10
  8. data/app/helpers/application_helper.rb +0 -3
  9. data/bcms_fckeditor.gemspec +0 -1046
  10. data/config/boot.rb +0 -110
  11. data/config/database.yml +0 -22
  12. data/config/environment.rb +0 -42
  13. data/config/environments/development.rb +0 -18
  14. data/config/environments/production.rb +0 -31
  15. data/config/environments/test.rb +0 -29
  16. data/config/initializers/backtrace_silencers.rb +0 -7
  17. data/config/initializers/inflections.rb +0 -10
  18. data/config/initializers/init_module.rb +0 -1
  19. data/config/initializers/mime_types.rb +0 -5
  20. data/config/initializers/new_rails_defaults.rb +0 -21
  21. data/config/initializers/session_store.rb +0 -15
  22. data/config/locales/en.yml +0 -5
  23. data/config/routes.rb +0 -45
  24. data/db/migrate/20080815014337_browsercms_3_0_0.rb +0 -274
  25. data/db/migrate/20081114172307_load_seed_data.rb +0 -92
  26. data/db/migrate/20091109175123_browsercms_3_0_5.rb +0 -9
  27. data/db/seeds.rb +0 -7
  28. data/doc/README_FOR_APP +0 -2
  29. data/public/404.html +0 -30
  30. data/public/422.html +0 -30
  31. data/public/500.html +0 -30
  32. data/public/bcms/ckeditor/ckeditor.js +0 -108
  33. data/public/bcms/ckeditor/config.js +0 -18
  34. data/public/bcms/ckeditor/core/_bootstrap.js +0 -64
  35. data/public/bcms/ckeditor/core/ajax.js +0 -143
  36. data/public/bcms/ckeditor/core/ckeditor.js +0 -96
  37. data/public/bcms/ckeditor/core/ckeditor_base.js +0 -190
  38. data/public/bcms/ckeditor/core/ckeditor_basic.js +0 -241
  39. data/public/bcms/ckeditor/core/command.js +0 -70
  40. data/public/bcms/ckeditor/core/commanddefinition.js +0 -72
  41. data/public/bcms/ckeditor/core/config.js +0 -287
  42. data/public/bcms/ckeditor/core/dom/document.js +0 -210
  43. data/public/bcms/ckeditor/core/dom/documentfragment.js +0 -49
  44. data/public/bcms/ckeditor/core/dom/domobject.js +0 -204
  45. data/public/bcms/ckeditor/core/dom/element.js +0 -1384
  46. data/public/bcms/ckeditor/core/dom/elementpath.js +0 -104
  47. data/public/bcms/ckeditor/core/dom/event.js +0 -137
  48. data/public/bcms/ckeditor/core/dom/node.js +0 -649
  49. data/public/bcms/ckeditor/core/dom/nodelist.js +0 -23
  50. data/public/bcms/ckeditor/core/dom/range.js +0 -1668
  51. data/public/bcms/ckeditor/core/dom/text.js +0 -123
  52. data/public/bcms/ckeditor/core/dom/walker.js +0 -411
  53. data/public/bcms/ckeditor/core/dom/window.js +0 -96
  54. data/public/bcms/ckeditor/core/dom.js +0 -21
  55. data/public/bcms/ckeditor/core/dtd.js +0 -200
  56. data/public/bcms/ckeditor/core/editor.js +0 -650
  57. data/public/bcms/ckeditor/core/editor_basic.js +0 -178
  58. data/public/bcms/ckeditor/core/env.js +0 -219
  59. data/public/bcms/ckeditor/core/event.js +0 -335
  60. data/public/bcms/ckeditor/core/eventInfo.js +0 -120
  61. data/public/bcms/ckeditor/core/focusmanager.js +0 -123
  62. data/public/bcms/ckeditor/core/htmlparser/basicwriter.js +0 -140
  63. data/public/bcms/ckeditor/core/htmlparser/cdata.js +0 -44
  64. data/public/bcms/ckeditor/core/htmlparser/comment.js +0 -59
  65. data/public/bcms/ckeditor/core/htmlparser/element.js +0 -196
  66. data/public/bcms/ckeditor/core/htmlparser/filter.js +0 -233
  67. data/public/bcms/ckeditor/core/htmlparser/fragment.js +0 -434
  68. data/public/bcms/ckeditor/core/htmlparser/text.js +0 -55
  69. data/public/bcms/ckeditor/core/htmlparser.js +0 -212
  70. data/public/bcms/ckeditor/core/imagecacher.js +0 -58
  71. data/public/bcms/ckeditor/core/lang.js +0 -147
  72. data/public/bcms/ckeditor/core/loader.js +0 -238
  73. data/public/bcms/ckeditor/core/plugindefinition.js +0 -66
  74. data/public/bcms/ckeditor/core/plugins.js +0 -82
  75. data/public/bcms/ckeditor/core/resourcemanager.js +0 -233
  76. data/public/bcms/ckeditor/core/scriptloader.js +0 -194
  77. data/public/bcms/ckeditor/core/skins.js +0 -185
  78. data/public/bcms/ckeditor/core/test.js +0 -184
  79. data/public/bcms/ckeditor/core/themes.js +0 -18
  80. data/public/bcms/ckeditor/core/tools.js +0 -531
  81. data/public/bcms/ckeditor/core/ui.js +0 -106
  82. data/public/bcms/ckeditor/core/xml.js +0 -165
  83. data/public/bcms/ckeditor/editor.js +0 -50
  84. data/public/bcms/ckeditor/lang/_languages.js +0 -82
  85. data/public/bcms/ckeditor/lang/_translationstatus.txt +0 -59
  86. data/public/bcms/ckeditor/lang/af.js +0 -674
  87. data/public/bcms/ckeditor/lang/ar.js +0 -674
  88. data/public/bcms/ckeditor/lang/bg.js +0 -674
  89. data/public/bcms/ckeditor/lang/bn.js +0 -674
  90. data/public/bcms/ckeditor/lang/bs.js +0 -674
  91. data/public/bcms/ckeditor/lang/ca.js +0 -674
  92. data/public/bcms/ckeditor/lang/cs.js +0 -674
  93. data/public/bcms/ckeditor/lang/da.js +0 -674
  94. data/public/bcms/ckeditor/lang/de.js +0 -674
  95. data/public/bcms/ckeditor/lang/el.js +0 -674
  96. data/public/bcms/ckeditor/lang/en-au.js +0 -674
  97. data/public/bcms/ckeditor/lang/en-ca.js +0 -674
  98. data/public/bcms/ckeditor/lang/en-uk.js +0 -674
  99. data/public/bcms/ckeditor/lang/en.js +0 -674
  100. data/public/bcms/ckeditor/lang/eo.js +0 -674
  101. data/public/bcms/ckeditor/lang/es.js +0 -674
  102. data/public/bcms/ckeditor/lang/et.js +0 -674
  103. data/public/bcms/ckeditor/lang/eu.js +0 -674
  104. data/public/bcms/ckeditor/lang/fa.js +0 -674
  105. data/public/bcms/ckeditor/lang/fi.js +0 -674
  106. data/public/bcms/ckeditor/lang/fo.js +0 -674
  107. data/public/bcms/ckeditor/lang/fr-ca.js +0 -674
  108. data/public/bcms/ckeditor/lang/fr.js +0 -674
  109. data/public/bcms/ckeditor/lang/gl.js +0 -674
  110. data/public/bcms/ckeditor/lang/gu.js +0 -674
  111. data/public/bcms/ckeditor/lang/he.js +0 -674
  112. data/public/bcms/ckeditor/lang/hi.js +0 -674
  113. data/public/bcms/ckeditor/lang/hr.js +0 -674
  114. data/public/bcms/ckeditor/lang/hu.js +0 -674
  115. data/public/bcms/ckeditor/lang/is.js +0 -674
  116. data/public/bcms/ckeditor/lang/it.js +0 -674
  117. data/public/bcms/ckeditor/lang/ja.js +0 -674
  118. data/public/bcms/ckeditor/lang/km.js +0 -674
  119. data/public/bcms/ckeditor/lang/ko.js +0 -674
  120. data/public/bcms/ckeditor/lang/lt.js +0 -674
  121. data/public/bcms/ckeditor/lang/lv.js +0 -674
  122. data/public/bcms/ckeditor/lang/mn.js +0 -674
  123. data/public/bcms/ckeditor/lang/ms.js +0 -674
  124. data/public/bcms/ckeditor/lang/nb.js +0 -674
  125. data/public/bcms/ckeditor/lang/nl.js +0 -674
  126. data/public/bcms/ckeditor/lang/no.js +0 -674
  127. data/public/bcms/ckeditor/lang/pl.js +0 -674
  128. data/public/bcms/ckeditor/lang/pt-br.js +0 -674
  129. data/public/bcms/ckeditor/lang/pt.js +0 -674
  130. data/public/bcms/ckeditor/lang/ro.js +0 -674
  131. data/public/bcms/ckeditor/lang/ru.js +0 -674
  132. data/public/bcms/ckeditor/lang/sk.js +0 -674
  133. data/public/bcms/ckeditor/lang/sl.js +0 -674
  134. data/public/bcms/ckeditor/lang/sr-latn.js +0 -674
  135. data/public/bcms/ckeditor/lang/sr.js +0 -674
  136. data/public/bcms/ckeditor/lang/sv.js +0 -674
  137. data/public/bcms/ckeditor/lang/th.js +0 -674
  138. data/public/bcms/ckeditor/lang/tr.js +0 -674
  139. data/public/bcms/ckeditor/lang/uk.js +0 -674
  140. data/public/bcms/ckeditor/lang/vi.js +0 -674
  141. data/public/bcms/ckeditor/lang/zh-cn.js +0 -674
  142. data/public/bcms/ckeditor/lang/zh.js +0 -674
  143. data/public/bcms/ckeditor/plugins/about/dialogs/about.js +0 -73
  144. data/public/bcms/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  145. data/public/bcms/ckeditor/plugins/about/plugin.js +0 -22
  146. data/public/bcms/ckeditor/plugins/basicstyles/plugin.js +0 -50
  147. data/public/bcms/ckeditor/plugins/blockquote/plugin.js +0 -301
  148. data/public/bcms/ckeditor/plugins/button/plugin.js +0 -264
  149. data/public/bcms/ckeditor/plugins/clipboard/dialogs/paste.js +0 -167
  150. data/public/bcms/ckeditor/plugins/clipboard/plugin.js +0 -208
  151. data/public/bcms/ckeditor/plugins/colorbutton/plugin.js +0 -202
  152. data/public/bcms/ckeditor/plugins/contextmenu/plugin.js +0 -178
  153. data/public/bcms/ckeditor/plugins/dialog/dialogDefinition.js +0 -315
  154. data/public/bcms/ckeditor/plugins/dialog/plugin.js +0 -2742
  155. data/public/bcms/ckeditor/plugins/dialogui/plugin.js +0 -1319
  156. data/public/bcms/ckeditor/plugins/domiterator/plugin.js +0 -354
  157. data/public/bcms/ckeditor/plugins/editingblock/plugin.js +0 -236
  158. data/public/bcms/ckeditor/plugins/elementspath/plugin.js +0 -182
  159. data/public/bcms/ckeditor/plugins/enterkey/plugin.js +0 -324
  160. data/public/bcms/ckeditor/plugins/entities/plugin.js +0 -200
  161. data/public/bcms/ckeditor/plugins/fakeobjects/plugin.js +0 -111
  162. data/public/bcms/ckeditor/plugins/filebrowser/plugin.js +0 -383
  163. data/public/bcms/ckeditor/plugins/find/dialogs/find.js +0 -843
  164. data/public/bcms/ckeditor/plugins/find/plugin.js +0 -46
  165. data/public/bcms/ckeditor/plugins/flash/dialogs/flash.js +0 -682
  166. data/public/bcms/ckeditor/plugins/flash/images/placeholder.png +0 -0
  167. data/public/bcms/ckeditor/plugins/flash/plugin.js +0 -165
  168. data/public/bcms/ckeditor/plugins/floatpanel/plugin.js +0 -325
  169. data/public/bcms/ckeditor/plugins/font/plugin.js +0 -227
  170. data/public/bcms/ckeditor/plugins/format/plugin.js +0 -191
  171. data/public/bcms/ckeditor/plugins/forms/dialogs/button.js +0 -135
  172. data/public/bcms/ckeditor/plugins/forms/dialogs/checkbox.js +0 -138
  173. data/public/bcms/ckeditor/plugins/forms/dialogs/form.js +0 -177
  174. data/public/bcms/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -91
  175. data/public/bcms/ckeditor/plugins/forms/dialogs/radio.js +0 -135
  176. data/public/bcms/ckeditor/plugins/forms/dialogs/select.js +0 -541
  177. data/public/bcms/ckeditor/plugins/forms/dialogs/textarea.js +0 -114
  178. data/public/bcms/ckeditor/plugins/forms/dialogs/textfield.js +0 -193
  179. data/public/bcms/ckeditor/plugins/forms/plugin.js +0 -193
  180. data/public/bcms/ckeditor/plugins/horizontalrule/plugin.js +0 -35
  181. data/public/bcms/ckeditor/plugins/htmldataprocessor/plugin.js +0 -373
  182. data/public/bcms/ckeditor/plugins/htmlwriter/plugin.js +0 -289
  183. data/public/bcms/ckeditor/plugins/iframedialog/plugin.js +0 -136
  184. data/public/bcms/ckeditor/plugins/image/dialogs/image.js +0 -1225
  185. data/public/bcms/ckeditor/plugins/image/plugin.js +0 -64
  186. data/public/bcms/ckeditor/plugins/indent/plugin.js +0 -323
  187. data/public/bcms/ckeditor/plugins/justify/plugin.js +0 -164
  188. data/public/bcms/ckeditor/plugins/keystrokes/plugin.js +0 -217
  189. data/public/bcms/ckeditor/plugins/link/dialogs/anchor.js +0 -98
  190. data/public/bcms/ckeditor/plugins/link/dialogs/link.js +0 -1217
  191. data/public/bcms/ckeditor/plugins/link/images/anchor.gif +0 -0
  192. data/public/bcms/ckeditor/plugins/link/plugin.js +0 -188
  193. data/public/bcms/ckeditor/plugins/list/plugin.js +0 -570
  194. data/public/bcms/ckeditor/plugins/listblock/plugin.js +0 -231
  195. data/public/bcms/ckeditor/plugins/maximize/plugin.js +0 -267
  196. data/public/bcms/ckeditor/plugins/menu/plugin.js +0 -377
  197. data/public/bcms/ckeditor/plugins/menubutton/plugin.js +0 -93
  198. data/public/bcms/ckeditor/plugins/newpage/plugin.js +0 -65
  199. data/public/bcms/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  200. data/public/bcms/ckeditor/plugins/pagebreak/plugin.js +0 -96
  201. data/public/bcms/ckeditor/plugins/panel/plugin.js +0 -330
  202. data/public/bcms/ckeditor/plugins/panelbutton/plugin.js +0 -140
  203. data/public/bcms/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -307
  204. data/public/bcms/ckeditor/plugins/pastefromword/plugin.js +0 -54
  205. data/public/bcms/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -65
  206. data/public/bcms/ckeditor/plugins/pastetext/plugin.js +0 -142
  207. data/public/bcms/ckeditor/plugins/popup/plugin.js +0 -62
  208. data/public/bcms/ckeditor/plugins/preview/plugin.js +0 -97
  209. data/public/bcms/ckeditor/plugins/print/plugin.js +0 -41
  210. data/public/bcms/ckeditor/plugins/removeformat/plugin.js +0 -132
  211. data/public/bcms/ckeditor/plugins/resize/plugin.js +0 -115
  212. data/public/bcms/ckeditor/plugins/richcombo/plugin.js +0 -357
  213. data/public/bcms/ckeditor/plugins/save/plugin.js +0 -55
  214. data/public/bcms/ckeditor/plugins/scayt/dialogs/options.js +0 -494
  215. data/public/bcms/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
  216. data/public/bcms/ckeditor/plugins/scayt/plugin.js +0 -511
  217. data/public/bcms/ckeditor/plugins/selection/plugin.js +0 -1072
  218. data/public/bcms/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  219. data/public/bcms/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  220. data/public/bcms/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  221. data/public/bcms/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  222. data/public/bcms/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  223. data/public/bcms/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  224. data/public/bcms/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  225. data/public/bcms/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  226. data/public/bcms/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  227. data/public/bcms/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  228. data/public/bcms/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  229. data/public/bcms/ckeditor/plugins/showblocks/plugin.js +0 -153
  230. data/public/bcms/ckeditor/plugins/smiley/dialogs/smiley.js +0 -219
  231. data/public/bcms/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  232. data/public/bcms/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  233. data/public/bcms/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  234. data/public/bcms/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  235. data/public/bcms/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  236. data/public/bcms/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  237. data/public/bcms/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  238. data/public/bcms/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  239. data/public/bcms/ckeditor/plugins/smiley/images/heart.gif +0 -0
  240. data/public/bcms/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  241. data/public/bcms/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  242. data/public/bcms/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  243. data/public/bcms/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  244. data/public/bcms/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  245. data/public/bcms/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  246. data/public/bcms/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  247. data/public/bcms/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  248. data/public/bcms/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  249. data/public/bcms/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  250. data/public/bcms/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  251. data/public/bcms/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  252. data/public/bcms/ckeditor/plugins/smiley/plugin.js +0 -74
  253. data/public/bcms/ckeditor/plugins/sourcearea/plugin.js +0 -185
  254. data/public/bcms/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -362
  255. data/public/bcms/ckeditor/plugins/specialchar/plugin.js +0 -29
  256. data/public/bcms/ckeditor/plugins/styles/plugin.js +0 -1242
  257. data/public/bcms/ckeditor/plugins/stylescombo/plugin.js +0 -295
  258. data/public/bcms/ckeditor/plugins/stylescombo/styles/default.js +0 -85
  259. data/public/bcms/ckeditor/plugins/tab/plugin.js +0 -266
  260. data/public/bcms/ckeditor/plugins/table/dialogs/table.js +0 -550
  261. data/public/bcms/ckeditor/plugins/table/plugin.js +0 -70
  262. data/public/bcms/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -328
  263. data/public/bcms/ckeditor/plugins/tabletools/plugin.js +0 -701
  264. data/public/bcms/ckeditor/plugins/templates/dialogs/templates.js +0 -170
  265. data/public/bcms/ckeditor/plugins/templates/plugin.js +0 -99
  266. data/public/bcms/ckeditor/plugins/templates/templates/default.js +0 -94
  267. data/public/bcms/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  268. data/public/bcms/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  269. data/public/bcms/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  270. data/public/bcms/ckeditor/plugins/toolbar/plugin.js +0 -412
  271. data/public/bcms/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -203
  272. data/public/bcms/ckeditor/plugins/uicolor/lang/en.js +0 -15
  273. data/public/bcms/ckeditor/plugins/uicolor/plugin.js +0 -35
  274. data/public/bcms/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  275. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  276. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  277. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  278. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  279. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -15
  280. data/public/bcms/ckeditor/plugins/uicolor/yui/yui.js +0 -71
  281. data/public/bcms/ckeditor/plugins/undo/plugin.js +0 -490
  282. data/public/bcms/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
  283. data/public/bcms/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  284. data/public/bcms/ckeditor/plugins/wsc/dialogs/wsc.css +0 -83
  285. data/public/bcms/ckeditor/plugins/wsc/dialogs/wsc.js +0 -169
  286. data/public/bcms/ckeditor/plugins/wsc/plugin.js +0 -32
  287. data/public/bcms/ckeditor/plugins/wysiwygarea/plugin.js +0 -636
  288. data/public/bcms/ckeditor/skins/kama/dialog.css +0 -742
  289. data/public/bcms/ckeditor/skins/kama/editor.css +0 -21
  290. data/public/bcms/ckeditor/skins/kama/elementspath.css +0 -68
  291. data/public/bcms/ckeditor/skins/kama/icons.css +0 -309
  292. data/public/bcms/ckeditor/skins/kama/icons.png +0 -0
  293. data/public/bcms/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  294. data/public/bcms/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  295. data/public/bcms/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  296. data/public/bcms/ckeditor/skins/kama/images/mini.gif +0 -0
  297. data/public/bcms/ckeditor/skins/kama/images/noimage.png +0 -0
  298. data/public/bcms/ckeditor/skins/kama/images/sprites.png +0 -0
  299. data/public/bcms/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  300. data/public/bcms/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  301. data/public/bcms/ckeditor/skins/kama/mainui.css +0 -139
  302. data/public/bcms/ckeditor/skins/kama/menu.css +0 -179
  303. data/public/bcms/ckeditor/skins/kama/panel.css +0 -203
  304. data/public/bcms/ckeditor/skins/kama/presets.css +0 -49
  305. data/public/bcms/ckeditor/skins/kama/reset.css +0 -78
  306. data/public/bcms/ckeditor/skins/kama/richcombo.css +0 -260
  307. data/public/bcms/ckeditor/skins/kama/skin.js +0 -291
  308. data/public/bcms/ckeditor/skins/kama/templates.css +0 -71
  309. data/public/bcms/ckeditor/skins/kama/toolbar.css +0 -384
  310. data/public/bcms/ckeditor/skins/office2003/dialog.css +0 -643
  311. data/public/bcms/ckeditor/skins/office2003/editor.css +0 -21
  312. data/public/bcms/ckeditor/skins/office2003/elementspath.css +0 -68
  313. data/public/bcms/ckeditor/skins/office2003/icons.css +0 -309
  314. data/public/bcms/ckeditor/skins/office2003/icons.png +0 -0
  315. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  316. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  317. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  318. data/public/bcms/ckeditor/skins/office2003/images/mini.gif +0 -0
  319. data/public/bcms/ckeditor/skins/office2003/images/noimage.png +0 -0
  320. data/public/bcms/ckeditor/skins/office2003/images/sprites.png +0 -0
  321. data/public/bcms/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  322. data/public/bcms/ckeditor/skins/office2003/mainui.css +0 -97
  323. data/public/bcms/ckeditor/skins/office2003/menu.css +0 -175
  324. data/public/bcms/ckeditor/skins/office2003/panel.css +0 -198
  325. data/public/bcms/ckeditor/skins/office2003/presets.css +0 -49
  326. data/public/bcms/ckeditor/skins/office2003/reset.css +0 -78
  327. data/public/bcms/ckeditor/skins/office2003/richcombo.css +0 -279
  328. data/public/bcms/ckeditor/skins/office2003/skin.js +0 -77
  329. data/public/bcms/ckeditor/skins/office2003/templates.css +0 -71
  330. data/public/bcms/ckeditor/skins/office2003/toolbar.css +0 -442
  331. data/public/bcms/ckeditor/skins/v2/dialog.css +0 -653
  332. data/public/bcms/ckeditor/skins/v2/editor.css +0 -21
  333. data/public/bcms/ckeditor/skins/v2/elementspath.css +0 -68
  334. data/public/bcms/ckeditor/skins/v2/icons.css +0 -309
  335. data/public/bcms/ckeditor/skins/v2/icons.png +0 -0
  336. data/public/bcms/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  337. data/public/bcms/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  338. data/public/bcms/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  339. data/public/bcms/ckeditor/skins/v2/images/mini.gif +0 -0
  340. data/public/bcms/ckeditor/skins/v2/images/noimage.png +0 -0
  341. data/public/bcms/ckeditor/skins/v2/images/sprites.png +0 -0
  342. data/public/bcms/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  343. data/public/bcms/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  344. data/public/bcms/ckeditor/skins/v2/mainui.css +0 -112
  345. data/public/bcms/ckeditor/skins/v2/menu.css +0 -178
  346. data/public/bcms/ckeditor/skins/v2/panel.css +0 -198
  347. data/public/bcms/ckeditor/skins/v2/presets.css +0 -50
  348. data/public/bcms/ckeditor/skins/v2/reset.css +0 -78
  349. data/public/bcms/ckeditor/skins/v2/richcombo.css +0 -275
  350. data/public/bcms/ckeditor/skins/v2/skin.js +0 -73
  351. data/public/bcms/ckeditor/skins/v2/templates.css +0 -71
  352. data/public/bcms/ckeditor/skins/v2/toolbar.css +0 -399
  353. data/public/bcms/ckeditor/tests/_assets/sample.css +0 -4
  354. data/public/bcms/ckeditor/tests/_assets/sample.js +0 -1
  355. data/public/bcms/ckeditor/tests/_assets/sample.txt +0 -1
  356. data/public/bcms/ckeditor/tests/_assets/sample.xml +0 -5
  357. data/public/bcms/ckeditor/tests/_assets/sample_xml.txt +0 -5
  358. data/public/bcms/ckeditor/tests/core/_editor/custom_config_1.js +0 -10
  359. data/public/bcms/ckeditor/tests/core/_editor/custom_config_2.js +0 -9
  360. data/public/bcms/ckeditor/tests/core/ajax.html +0 -163
  361. data/public/bcms/ckeditor/tests/core/bootstrap.html +0 -66
  362. data/public/bcms/ckeditor/tests/core/ckeditor.html +0 -160
  363. data/public/bcms/ckeditor/tests/core/dom/document.html +0 -126
  364. data/public/bcms/ckeditor/tests/core/dom/documentfragment.html +0 -292
  365. data/public/bcms/ckeditor/tests/core/dom/element.html +0 -637
  366. data/public/bcms/ckeditor/tests/core/dom/node.html +0 -164
  367. data/public/bcms/ckeditor/tests/core/dom/range.html +0 -2411
  368. data/public/bcms/ckeditor/tests/core/dom/text.html +0 -128
  369. data/public/bcms/ckeditor/tests/core/dom/walker.html +0 -340
  370. data/public/bcms/ckeditor/tests/core/dom/window.html +0 -53
  371. data/public/bcms/ckeditor/tests/core/editor.html +0 -123
  372. data/public/bcms/ckeditor/tests/core/env.html +0 -52
  373. data/public/bcms/ckeditor/tests/core/event.html +0 -487
  374. data/public/bcms/ckeditor/tests/core/htmlparser/fragment.html +0 -188
  375. data/public/bcms/ckeditor/tests/core/htmlparser/htmlparser.html +0 -91
  376. data/public/bcms/ckeditor/tests/core/plugins/myplugins/sample/my_plugin.js +0 -3
  377. data/public/bcms/ckeditor/tests/core/plugins.html +0 -45
  378. data/public/bcms/ckeditor/tests/core/scriptloader.html +0 -52
  379. data/public/bcms/ckeditor/tests/core/tools.html +0 -170
  380. data/public/bcms/ckeditor/tests/core/xml.html +0 -150
  381. data/public/bcms/ckeditor/tests/plugins/domiterator/domiterator.html +0 -236
  382. data/public/bcms/ckeditor/tests/plugins/htmldataprocessor/htmldataprocessor.html +0 -386
  383. data/public/bcms/ckeditor/tests/plugins/link/link.html +0 -123
  384. data/public/bcms/ckeditor/tests/plugins/list/list.html +0 -217
  385. data/public/bcms/ckeditor/tests/plugins/selection/selection.html +0 -49
  386. data/public/bcms/ckeditor/tests/plugins/styles/styles.html +0 -596
  387. data/public/bcms/ckeditor/tests/test.css +0 -81
  388. data/public/bcms/ckeditor/tests/test.js +0 -93
  389. data/public/bcms/ckeditor/tests/testall.html +0 -114
  390. data/public/bcms/ckeditor/tests/yuitest.js +0 -75
  391. data/public/bcms/ckeditor/themes/default/theme.js +0 -232
  392. data/public/favicon.ico +0 -0
  393. data/public/images/cms/administration/user_browser_bg.gif +0 -0
  394. data/public/images/cms/bg.png +0 -0
  395. data/public/images/cms/bl_curve.png +0 -0
  396. data/public/images/cms/bottom_cap.png +0 -0
  397. data/public/images/cms/bottom_cap_content.png +0 -0
  398. data/public/images/cms/browse.gif +0 -0
  399. data/public/images/cms/browser_media_logo.png +0 -0
  400. data/public/images/cms/browsercms_logo.png +0 -0
  401. data/public/images/cms/buttons/button.png +0 -0
  402. data/public/images/cms/buttons/button_bg.png +0 -0
  403. data/public/images/cms/buttons/button_cap.png +0 -0
  404. data/public/images/cms/buttons/button_cap_h.png +0 -0
  405. data/public/images/cms/buttons/button_cap_off.gif +0 -0
  406. data/public/images/cms/buttons/button_cap_off_middle.gif +0 -0
  407. data/public/images/cms/buttons/button_h.png +0 -0
  408. data/public/images/cms/buttons/button_left_bg.png +0 -0
  409. data/public/images/cms/buttons/button_off.png +0 -0
  410. data/public/images/cms/buttons/button_off_middle.png +0 -0
  411. data/public/images/cms/buttons/delete_x.png +0 -0
  412. data/public/images/cms/buttons/delete_x_disabled.png +0 -0
  413. data/public/images/cms/buttons/delete_x_h.png +0 -0
  414. data/public/images/cms/buttons/sm_button.gif +0 -0
  415. data/public/images/cms/buttons/sm_button_2.gif +0 -0
  416. data/public/images/cms/buttons/sm_button_2_h.gif +0 -0
  417. data/public/images/cms/buttons/sm_button_h.gif +0 -0
  418. data/public/images/cms/containers/add.gif +0 -0
  419. data/public/images/cms/containers/alpha.png +0 -0
  420. data/public/images/cms/containers/beta.png +0 -0
  421. data/public/images/cms/containers/delete.gif +0 -0
  422. data/public/images/cms/containers/down.gif +0 -0
  423. data/public/images/cms/containers/edit.gif +0 -0
  424. data/public/images/cms/containers/up.gif +0 -0
  425. data/public/images/cms/containers/view.gif +0 -0
  426. data/public/images/cms/content_bg.gif +0 -0
  427. data/public/images/cms/dashboard/bottom_cap.png +0 -0
  428. data/public/images/cms/dashboard/bottom_cap_content.png +0 -0
  429. data/public/images/cms/dashboard/header_bg.gif +0 -0
  430. data/public/images/cms/dashboard/header_left_bg.gif +0 -0
  431. data/public/images/cms/dashboard/table_header_bg.gif +0 -0
  432. data/public/images/cms/dashboard/top_cap.png +0 -0
  433. data/public/images/cms/dashed.gif +0 -0
  434. data/public/images/cms/datepicker/clear.gif +0 -0
  435. data/public/images/cms/datepicker/close.gif +0 -0
  436. data/public/images/cms/dk_button_l.gif +0 -0
  437. data/public/images/cms/dk_button_r.gif +0 -0
  438. data/public/images/cms/dot.png +0 -0
  439. data/public/images/cms/draft_status.gif +0 -0
  440. data/public/images/cms/gray_long_bg.gif +0 -0
  441. data/public/images/cms/icons/actions/add.png +0 -0
  442. data/public/images/cms/icons/actions/config.png +0 -0
  443. data/public/images/cms/icons/actions/connect.png +0 -0
  444. data/public/images/cms/icons/actions/delete.png +0 -0
  445. data/public/images/cms/icons/actions/down.png +0 -0
  446. data/public/images/cms/icons/actions/edit.png +0 -0
  447. data/public/images/cms/icons/actions/folder.png +0 -0
  448. data/public/images/cms/icons/actions/folder_add.png +0 -0
  449. data/public/images/cms/icons/actions/folder_delete.png +0 -0
  450. data/public/images/cms/icons/actions/folder_edit.png +0 -0
  451. data/public/images/cms/icons/actions/folder_move.png +0 -0
  452. data/public/images/cms/icons/actions/folder_open.png +0 -0
  453. data/public/images/cms/icons/actions/history.png +0 -0
  454. data/public/images/cms/icons/actions/home.png +0 -0
  455. data/public/images/cms/icons/actions/left.png +0 -0
  456. data/public/images/cms/icons/actions/link.png +0 -0
  457. data/public/images/cms/icons/actions/page.png +0 -0
  458. data/public/images/cms/icons/actions/page_add.png +0 -0
  459. data/public/images/cms/icons/actions/page_edit.png +0 -0
  460. data/public/images/cms/icons/actions/page_move.png +0 -0
  461. data/public/images/cms/icons/actions/redo.png +0 -0
  462. data/public/images/cms/icons/actions/refresh.png +0 -0
  463. data/public/images/cms/icons/actions/right.png +0 -0
  464. data/public/images/cms/icons/actions/root_folder.png +0 -0
  465. data/public/images/cms/icons/actions/root_link.png +0 -0
  466. data/public/images/cms/icons/actions/root_page.png +0 -0
  467. data/public/images/cms/icons/actions/undo.png +0 -0
  468. data/public/images/cms/icons/actions/up.png +0 -0
  469. data/public/images/cms/icons/actions/view.png +0 -0
  470. data/public/images/cms/icons/file_types/doc.png +0 -0
  471. data/public/images/cms/icons/file_types/file.png +0 -0
  472. data/public/images/cms/icons/file_types/gif.png +0 -0
  473. data/public/images/cms/icons/file_types/htm.png +0 -0
  474. data/public/images/cms/icons/file_types/pdf.png +0 -0
  475. data/public/images/cms/icons/file_types/ppt.png +0 -0
  476. data/public/images/cms/icons/file_types/swf.png +0 -0
  477. data/public/images/cms/icons/file_types/txt.png +0 -0
  478. data/public/images/cms/icons/file_types/xls.png +0 -0
  479. data/public/images/cms/icons/file_types/xml.png +0 -0
  480. data/public/images/cms/icons/file_types/zip.png +0 -0
  481. data/public/images/cms/icons/status/archived.gif +0 -0
  482. data/public/images/cms/icons/status/draft.gif +0 -0
  483. data/public/images/cms/icons/status/hidden.gif +0 -0
  484. data/public/images/cms/icons/status/locked.gif +0 -0
  485. data/public/images/cms/icons/status/published.gif +0 -0
  486. data/public/images/cms/icons/status/unlocked.gif +0 -0
  487. data/public/images/cms/icons/user.png +0 -0
  488. data/public/images/cms/login_bg.jpg +0 -0
  489. data/public/images/cms/login_bottom.jpg +0 -0
  490. data/public/images/cms/login_top.gif +0 -0
  491. data/public/images/cms/lt_button_bg.gif +0 -0
  492. data/public/images/cms/lt_button_l.gif +0 -0
  493. data/public/images/cms/lt_button_r.gif +0 -0
  494. data/public/images/cms/menu/block_cap_h.gif +0 -0
  495. data/public/images/cms/menu/bottom_cap.png +0 -0
  496. data/public/images/cms/menu/bottom_cap_menu.png +0 -0
  497. data/public/images/cms/menu/bottom_cap_menu_first.png +0 -0
  498. data/public/images/cms/menu/menu_header_first_bg.gif +0 -0
  499. data/public/images/cms/menu/selected_block_cap.gif +0 -0
  500. data/public/images/cms/menu/top_cap.png +0 -0
  501. data/public/images/cms/menu/top_cap_menu_header.png +0 -0
  502. data/public/images/cms/menu.png +0 -0
  503. data/public/images/cms/menu_h.gif +0 -0
  504. data/public/images/cms/menu_header.png +0 -0
  505. data/public/images/cms/menu_open.png +0 -0
  506. data/public/images/cms/menu_open_bg.gif +0 -0
  507. data/public/images/cms/nav/on_bg.gif +0 -0
  508. data/public/images/cms/nav.png +0 -0
  509. data/public/images/cms/nav_admin.gif +0 -0
  510. data/public/images/cms/nav_admin_h.gif +0 -0
  511. data/public/images/cms/nav_admin_on.gif +0 -0
  512. data/public/images/cms/nav_cap.png +0 -0
  513. data/public/images/cms/nav_cap_h.gif +0 -0
  514. data/public/images/cms/nav_content_library.gif +0 -0
  515. data/public/images/cms/nav_content_library_h.gif +0 -0
  516. data/public/images/cms/nav_content_library_on.gif +0 -0
  517. data/public/images/cms/nav_dash.gif +0 -0
  518. data/public/images/cms/nav_dash_h.gif +0 -0
  519. data/public/images/cms/nav_dash_on.gif +0 -0
  520. data/public/images/cms/nav_h.gif +0 -0
  521. data/public/images/cms/nav_sitemap.gif +0 -0
  522. data/public/images/cms/nav_sitemap_h.gif +0 -0
  523. data/public/images/cms/nav_sitemap_on.gif +0 -0
  524. data/public/images/cms/page_toolbar/page_toolbar_bg.gif +0 -0
  525. data/public/images/cms/page_toolbar/page_toolbar_inset_bg.gif +0 -0
  526. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_bg.gif +0 -0
  527. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_l.gif +0 -0
  528. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_r.gif +0 -0
  529. data/public/images/cms/page_toolbar/page_toolbar_inset_l.gif +0 -0
  530. data/public/images/cms/page_toolbar/page_toolbar_inset_published_bg.gif +0 -0
  531. data/public/images/cms/page_toolbar/page_toolbar_inset_published_l.gif +0 -0
  532. data/public/images/cms/page_toolbar/page_toolbar_inset_published_r.gif +0 -0
  533. data/public/images/cms/page_toolbar/page_toolbar_inset_r.gif +0 -0
  534. data/public/images/cms/page_toolbar/page_toolbar_l.gif +0 -0
  535. data/public/images/cms/page_toolbar/page_toolbar_r.gif +0 -0
  536. data/public/images/cms/page_toolbar/status_draft_bg.gif +0 -0
  537. data/public/images/cms/page_toolbar/status_draft_l.gif +0 -0
  538. data/public/images/cms/page_toolbar/status_l.gif +0 -0
  539. data/public/images/cms/page_toolbar/status_published_bg.gif +0 -0
  540. data/public/images/cms/page_toolbar/status_published_l.gif +0 -0
  541. data/public/images/cms/page_toolbar/visual_editor_bg.gif +0 -0
  542. data/public/images/cms/page_toolbar/visual_editor_end.gif +0 -0
  543. data/public/images/cms/page_toolbar/visual_editor_r.gif +0 -0
  544. data/public/images/cms/page_toolbar/visual_editor_state_bg.gif +0 -0
  545. data/public/images/cms/pages/add_connectable.gif +0 -0
  546. data/public/images/cms/pages/connect_connectable.gif +0 -0
  547. data/public/images/cms/pages/container_border.gif +0 -0
  548. data/public/images/cms/pages/container_border_l.gif +0 -0
  549. data/public/images/cms/pages/container_border_r.gif +0 -0
  550. data/public/images/cms/pages/delete_connectable.gif +0 -0
  551. data/public/images/cms/pages/down_connectable.gif +0 -0
  552. data/public/images/cms/pages/down_connectable_disabled.gif +0 -0
  553. data/public/images/cms/pages/edit_connectable.gif +0 -0
  554. data/public/images/cms/pages/edit_connectable_2.gif +0 -0
  555. data/public/images/cms/pages/show_connectable.gif +0 -0
  556. data/public/images/cms/pages/up_connectable.gif +0 -0
  557. data/public/images/cms/pages/up_connectable_disabled.gif +0 -0
  558. data/public/images/cms/pagination/first.gif +0 -0
  559. data/public/images/cms/pagination/first_h.gif +0 -0
  560. data/public/images/cms/pagination/input.gif +0 -0
  561. data/public/images/cms/pagination/last.gif +0 -0
  562. data/public/images/cms/pagination/last_h.gif +0 -0
  563. data/public/images/cms/pagination/next.gif +0 -0
  564. data/public/images/cms/pagination/next_h.gif +0 -0
  565. data/public/images/cms/pagination/previous.gif +0 -0
  566. data/public/images/cms/pagination/previous_h.gif +0 -0
  567. data/public/images/cms/published_status.gif +0 -0
  568. data/public/images/cms/search.png +0 -0
  569. data/public/images/cms/search_submit.gif +0 -0
  570. data/public/images/cms/search_submit_h.gif +0 -0
  571. data/public/images/cms/searchbox_gradient.gif +0 -0
  572. data/public/images/cms/select_bg.gif +0 -0
  573. data/public/images/cms/select_bg_2.gif +0 -0
  574. data/public/images/cms/sitemap/bottom_cap.png +0 -0
  575. data/public/images/cms/sitemap/buffer_caps.png +0 -0
  576. data/public/images/cms/sitemap/contract.png +0 -0
  577. data/public/images/cms/sitemap/corners.gif +0 -0
  578. data/public/images/cms/sitemap/corners_hover.gif +0 -0
  579. data/public/images/cms/sitemap/divider.gif +0 -0
  580. data/public/images/cms/sitemap/expand.png +0 -0
  581. data/public/images/cms/sitemap/gradient.gif +0 -0
  582. data/public/images/cms/sitemap/gray_contract.png +0 -0
  583. data/public/images/cms/sitemap/gray_expand.png +0 -0
  584. data/public/images/cms/sitemap/no_contents.png +0 -0
  585. data/public/images/cms/sitemap/site_root_cap.png +0 -0
  586. data/public/images/cms/sitemap/tooltip.gif +0 -0
  587. data/public/images/cms/sitemap/top_cap_content.png +0 -0
  588. data/public/images/cms/solid.gif +0 -0
  589. data/public/images/cms/table/bl.gif +0 -0
  590. data/public/images/cms/table/br.gif +0 -0
  591. data/public/images/cms/table/divider.gif +0 -0
  592. data/public/images/cms/table/td_cap_first_h.gif +0 -0
  593. data/public/images/cms/table/td_cap_first_s.gif +0 -0
  594. data/public/images/cms/table/td_cap_last_h.gif +0 -0
  595. data/public/images/cms/table/td_cap_last_s.gif +0 -0
  596. data/public/images/cms/table/td_last_bg.gif +0 -0
  597. data/public/images/cms/table/th_bg.gif +0 -0
  598. data/public/images/cms/table/th_divider.gif +0 -0
  599. data/public/images/cms/table/th_last_bg.gif +0 -0
  600. data/public/images/cms/table/tl.gif +0 -0
  601. data/public/images/cms/table/tr.gif +0 -0
  602. data/public/images/cms/table/tr_bg.gif +0 -0
  603. data/public/images/cms/thickbox/loadingAnimation.gif +0 -0
  604. data/public/images/cms/thickbox/macFFBgHack.png +0 -0
  605. data/public/images/cms/toolbar_bg.png +0 -0
  606. data/public/images/cms/top_cap.png +0 -0
  607. data/public/images/cms/top_cap_content.png +0 -0
  608. data/public/images/cms/top_cap_menu_header.png +0 -0
  609. data/public/images/cms/user_search_submit.gif +0 -0
  610. data/public/images/cms/usercontrols_bg.png +0 -0
  611. data/public/images/cms/usercontrols_bg_cap.png +0 -0
  612. data/public/images/rails.png +0 -0
  613. data/public/javascripts/application.js +0 -2
  614. data/public/javascripts/cms/application.js +0 -148
  615. data/public/javascripts/cms/content_library.js +0 -36
  616. data/public/javascripts/cms/editor.js +0 -50
  617. data/public/javascripts/cms/sitemap.js +0 -438
  618. data/public/javascripts/controls.js +0 -963
  619. data/public/javascripts/dragdrop.js +0 -973
  620. data/public/javascripts/effects.js +0 -1128
  621. data/public/javascripts/jquery-ui.js +0 -591
  622. data/public/javascripts/jquery.contextMenu.js +0 -211
  623. data/public/javascripts/jquery.cookie.js +0 -96
  624. data/public/javascripts/jquery.dimensions.js +0 -119
  625. data/public/javascripts/jquery.js +0 -11
  626. data/public/javascripts/jquery.selectbox-0.5.js +0 -209
  627. data/public/javascripts/jquery.taglist.js +0 -136
  628. data/public/javascripts/jquery.thickbox.js +0 -10
  629. data/public/javascripts/prototype.js +0 -4320
  630. data/public/robots.txt +0 -5
  631. data/public/site/customconfig.js +0 -1
  632. data/public/stylesheets/cms/administration.css +0 -91
  633. data/public/stylesheets/cms/application.css +0 -166
  634. data/public/stylesheets/cms/block.css +0 -26
  635. data/public/stylesheets/cms/buttons.css +0 -120
  636. data/public/stylesheets/cms/content_library.css +0 -139
  637. data/public/stylesheets/cms/content_types.css +0 -4
  638. data/public/stylesheets/cms/dashboard.css +0 -118
  639. data/public/stylesheets/cms/data_table.css +0 -156
  640. data/public/stylesheets/cms/date_picker.css +0 -73
  641. data/public/stylesheets/cms/form_layout.css +0 -279
  642. data/public/stylesheets/cms/jquery.contextMenu.css +0 -61
  643. data/public/stylesheets/cms/login.css +0 -78
  644. data/public/stylesheets/cms/menu.css +0 -116
  645. data/public/stylesheets/cms/nav.css +0 -99
  646. data/public/stylesheets/cms/page_toolbar.css +0 -135
  647. data/public/stylesheets/cms/reset.css +0 -46
  648. data/public/stylesheets/cms/selectbox.css +0 -56
  649. data/public/stylesheets/cms/sitemap.css +0 -390
  650. data/public/stylesheets/cms/taglist.css +0 -18
  651. data/public/stylesheets/cms/thickbox.css +0 -163
  652. data/script/about +0 -4
  653. data/script/console +0 -3
  654. data/script/dbconsole +0 -3
  655. data/script/destroy +0 -3
  656. data/script/generate +0 -3
  657. data/script/performance/benchmarker +0 -3
  658. data/script/performance/profiler +0 -3
  659. data/script/plugin +0 -3
  660. data/script/runner +0 -3
  661. data/script/server +0 -3
  662. data/test/fixtures/content_type_groups.yml +0 -13
  663. data/test/fixtures/content_types.yml +0 -50
  664. data/test/fixtures/group_permissions.yml +0 -16
  665. data/test/fixtures/group_type_permissions.yml +0 -11
  666. data/test/fixtures/group_types.yml +0 -25
  667. data/test/fixtures/groups.yml +0 -25
  668. data/test/fixtures/permissions.yml +0 -28
  669. data/test/fixtures/user_group_memberships.yml +0 -11
  670. data/test/fixtures/users.yml +0 -15
@@ -1,96 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- /**
7
- * @fileOverview Defines the {@link CKEDITOR.dom.document} class, which
8
- * represents a DOM document.
9
- */
10
-
11
- /**
12
- * Represents a DOM window.
13
- * @constructor
14
- * @augments CKEDITOR.dom.domObject
15
- * @param {Object} domWindow A native DOM window.
16
- * @example
17
- * var document = new CKEDITOR.dom.window( window );
18
- */
19
- CKEDITOR.dom.window = function( domWindow )
20
- {
21
- CKEDITOR.dom.domObject.call( this, domWindow );
22
- };
23
-
24
- CKEDITOR.dom.window.prototype = new CKEDITOR.dom.domObject();
25
-
26
- CKEDITOR.tools.extend( CKEDITOR.dom.window.prototype,
27
- /** @lends CKEDITOR.dom.window.prototype */
28
- {
29
- /**
30
- * Moves the selection focus to this window.
31
- * @function
32
- * @example
33
- * var win = new CKEDITOR.dom.window( window );
34
- * <b>win.focus()</b>;
35
- */
36
- focus : function()
37
- {
38
- // Webkit is sometimes failed to focus iframe, blur it first(#3835).
39
- if( CKEDITOR.env.webkit && this.$.parent )
40
- this.$.parent.focus();
41
- this.$.focus();
42
- },
43
-
44
- /**
45
- * Gets the width and height of this window's viewable area.
46
- * @function
47
- * @returns {Object} An object with the "width" and "height"
48
- * properties containing the size.
49
- * @example
50
- * var win = new CKEDITOR.dom.window( window );
51
- * var size = <b>win.getViewPaneSize()</b>;
52
- * alert( size.width );
53
- * alert( size.height );
54
- */
55
- getViewPaneSize : function()
56
- {
57
- var doc = this.$.document,
58
- stdMode = doc.compatMode == 'CSS1Compat';
59
- return {
60
- width : ( stdMode ? doc.documentElement.clientWidth : doc.body.clientWidth ) || 0,
61
- height : ( stdMode ? doc.documentElement.clientHeight : doc.body.clientHeight ) || 0
62
- };
63
- },
64
-
65
- /**
66
- * Gets the current position of the window's scroll.
67
- * @function
68
- * @returns {Object} An object with the "x" and "y" properties
69
- * containing the scroll position.
70
- * @example
71
- * var win = new CKEDITOR.dom.window( window );
72
- * var pos = <b>win.getScrollPosition()</b>;
73
- * alert( pos.x );
74
- * alert( pos.y );
75
- */
76
- getScrollPosition : function()
77
- {
78
- var $ = this.$;
79
-
80
- if ( 'pageXOffset' in $ )
81
- {
82
- return {
83
- x : $.pageXOffset || 0,
84
- y : $.pageYOffset || 0
85
- };
86
- }
87
- else
88
- {
89
- var doc = $.document;
90
- return {
91
- x : doc.documentElement.scrollLeft || doc.body.scrollLeft || 0,
92
- y : doc.documentElement.scrollTop || doc.body.scrollTop || 0
93
- };
94
- }
95
- }
96
- });
@@ -1,21 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- /**
7
- * @fileOverview Defines the {@link CKEDITOR.dom} object, which contains DOM
8
- * manipulation objects and function.
9
- */
10
-
11
- /**
12
- * DOM manipulation objects and function.<br /><br />
13
- * @see CKEDITOR.dom.element
14
- * @see CKEDITOR.dom.node
15
- * @namespace
16
- * @example
17
- */
18
- CKEDITOR.dom =
19
- {};
20
-
21
- // PACKAGER_RENAME( CKEDITOR.dom )
@@ -1,200 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- /**
7
- * @fileOverview Defines the {@link CKEDITOR.dtd} object, which holds the DTD
8
- * mapping for XHTML 1.0 Transitional. This file was automatically
9
- * generated from the file: xhtml1-transitional.dtd.
10
- */
11
-
12
- /**
13
- * Holds and object representation of the HTML DTD to be used by the editor in
14
- * its internal operations.
15
- *
16
- * Each element in the DTD is represented by a
17
- * property in this object. Each property contains the list of elements that
18
- * can be contained by the element. Text is represented by the "#" property.
19
- *
20
- * Several special grouping properties are also available. Their names start
21
- * with the "$" character.
22
- * @namespace
23
- * @example
24
- * // Check if "div" can be contained in a "p" element.
25
- * alert( !!CKEDITOR.dtd[ 'p' ][ 'div' ] ); "false"
26
- * @example
27
- * // Check if "p" can be contained in a "div" element.
28
- * alert( !!CKEDITOR.dtd[ 'div' ][ 'p' ] ); "true"
29
- * @example
30
- * // Check if "p" is a block element.
31
- * alert( !!CKEDITOR.dtd.$block[ 'p' ] ); "true"
32
- */
33
- CKEDITOR.dtd = (function()
34
- {
35
- var X = CKEDITOR.tools.extend,
36
-
37
- A = {isindex:1,fieldset:1},
38
- B = {input:1,button:1,select:1,textarea:1,label:1},
39
- C = X({a:1},B),
40
- D = X({iframe:1},C),
41
- E = {hr:1,ul:1,menu:1,div:1,blockquote:1,noscript:1,table:1,center:1,address:1,dir:1,pre:1,h5:1,dl:1,h4:1,noframes:1,h6:1,ol:1,h1:1,h3:1,h2:1},
42
- F = {ins:1,del:1,script:1},
43
- G = X({b:1,acronym:1,bdo:1,'var':1,'#':1,abbr:1,code:1,br:1,i:1,cite:1,kbd:1,u:1,strike:1,s:1,tt:1,strong:1,q:1,samp:1,em:1,dfn:1,span:1},F),
44
- H = X({sub:1,img:1,object:1,sup:1,basefont:1,map:1,applet:1,font:1,big:1,small:1},G),
45
- I = X({p:1},H),
46
- J = X({iframe:1},H,B),
47
- K = {img:1,noscript:1,br:1,kbd:1,center:1,button:1,basefont:1,h5:1,h4:1,samp:1,h6:1,ol:1,h1:1,h3:1,h2:1,form:1,font:1,'#':1,select:1,menu:1,ins:1,abbr:1,label:1,code:1,table:1,script:1,cite:1,input:1,iframe:1,strong:1,textarea:1,noframes:1,big:1,small:1,span:1,hr:1,sub:1,bdo:1,'var':1,div:1,object:1,sup:1,strike:1,dir:1,map:1,dl:1,applet:1,del:1,isindex:1,fieldset:1,ul:1,b:1,acronym:1,a:1,blockquote:1,i:1,u:1,s:1,tt:1,address:1,q:1,pre:1,p:1,em:1,dfn:1},
48
-
49
- L = X({a:1},J),
50
- M = {tr:1},
51
- N = {'#':1},
52
- O = X({param:1},K),
53
- P = X({form:1},A,D,E,I),
54
- Q = {li:1};
55
-
56
- var block = {address:1,blockquote:1,center:1,dir:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,isindex:1,menu:1,noframes:1,ol:1,p:1,pre:1,table:1,ul:1};
57
-
58
- return /** @lends CKEDITOR.dtd */ {
59
-
60
- // The "$" items have been added manually.
61
-
62
- /**
63
- * List of block elements, like "p" or "div".
64
- * @type Object
65
- * @example
66
- */
67
- $block : block,
68
-
69
- $body : X({script:1}, block),
70
-
71
- $cdata : {script:1,style:1},
72
-
73
- /**
74
- * List of empty (self-closing) elements, like "br" or "img".
75
- * @type Object
76
- * @example
77
- */
78
- $empty : {area:1,base:1,br:1,col:1,hr:1,img:1,input:1,link:1,meta:1,param:1},
79
-
80
- /**
81
- * List of list item elements, like "li" or "dd".
82
- * @type Object
83
- * @example
84
- */
85
- $listItem : {dd:1,dt:1,li:1},
86
-
87
- /**
88
- * Elements that accept text nodes, but are not possible to edit into
89
- * the browser.
90
- * @type Object
91
- * @example
92
- */
93
- $nonEditable : {applet:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,script:1,textarea:1},
94
-
95
- /**
96
- * List of elements that can be ignored if empty, like "b" or "span".
97
- * @type Object
98
- * @example
99
- */
100
- $removeEmpty : {abbr:1,acronym:1,address:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,s:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1},
101
-
102
- /**
103
- * List of elements that have tabindex set to zero by default.
104
- * @type Object
105
- * @example
106
- */
107
- $tabIndex : {a:1,area:1,button:1,input:1,object:1,select:1,textarea:1},
108
-
109
- /**
110
- * List of elements used inside the "table" element, like "tbody" or "td".
111
- * @type Object
112
- * @example
113
- */
114
- $tableContent : {caption:1,col:1,colgroup:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1},
115
-
116
- col : {},
117
- tr : {td:1,th:1},
118
- img : {},
119
- colgroup : {col:1},
120
- noscript : P,
121
- td : P,
122
- br : {},
123
- th : P,
124
- center : P,
125
- kbd : L,
126
- button : X(I,E),
127
- basefont : {},
128
- h5 : L,
129
- h4 : L,
130
- samp : L,
131
- h6 : L,
132
- ol : Q,
133
- h1 : L,
134
- h3 : L,
135
- option : N,
136
- h2 : L,
137
- form : X(A,D,E,I),
138
- select : {optgroup:1,option:1},
139
- font : L,
140
- ins : P,
141
- menu : Q,
142
- abbr : L,
143
- label : L,
144
- table : {thead:1,col:1,tbody:1,tr:1,colgroup:1,caption:1,tfoot:1},
145
- code : L,
146
- script : N,
147
- tfoot : M,
148
- cite : L,
149
- li : P,
150
- input : {},
151
- iframe : P,
152
- strong : L,
153
- textarea : N,
154
- noframes : P,
155
- big : L,
156
- small : L,
157
- span : L,
158
- hr : {},
159
- dt : L,
160
- sub : L,
161
- optgroup : {option:1},
162
- param : {},
163
- bdo : L,
164
- 'var' : L,
165
- div : P,
166
- object : O,
167
- sup : L,
168
- dd : P,
169
- strike : L,
170
- area : {},
171
- dir : Q,
172
- map : X({area:1,form:1,p:1},A,F,E),
173
- applet : O,
174
- dl : {dt:1,dd:1},
175
- del : P,
176
- isindex : {},
177
- fieldset : X({legend:1},K),
178
- thead : M,
179
- ul : Q,
180
- acronym : L,
181
- b : L,
182
- a : J,
183
- blockquote : P,
184
- caption : L,
185
- i : L,
186
- u : L,
187
- tbody : M,
188
- s : L,
189
- address : X(D,I),
190
- tt : L,
191
- legend : L,
192
- q : L,
193
- pre : X(G,C),
194
- p : L,
195
- em : L,
196
- dfn : L
197
- };
198
- })();
199
-
200
- // PACKAGER_RENAME( CKEDITOR.dtd )
@@ -1,650 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- /**
7
- * @fileOverview Defines the {@link CKEDITOR.editor} class, which represents an
8
- * editor instance.
9
- */
10
-
11
- (function()
12
- {
13
- // The counter for automatic instance names.
14
- var nameCounter = 0;
15
-
16
- var getNewName = function()
17
- {
18
- var name = 'editor' + ( ++nameCounter );
19
- return ( CKEDITOR.instances && CKEDITOR.instances[ name ] ) ? getNewName() : name;
20
- };
21
-
22
- // ##### START: Config Privates
23
-
24
- // These function loads custom configuration files and cache the
25
- // CKEDITOR.editorConfig functions defined on them, so there is no need to
26
- // download them more than once for several instances.
27
- var loadConfigLoaded = {};
28
- var loadConfig = function( editor )
29
- {
30
- var customConfig = editor.config.customConfig;
31
-
32
- // Check if there is a custom config to load.
33
- if ( !customConfig )
34
- return false;
35
-
36
- var loadedConfig = loadConfigLoaded[ customConfig ] || ( loadConfigLoaded[ customConfig ] = {} );
37
-
38
- // If the custom config has already been downloaded, reuse it.
39
- if ( loadedConfig.fn )
40
- {
41
- // Call the cached CKEDITOR.editorConfig defined in the custom
42
- // config file for the editor instance depending on it.
43
- loadedConfig.fn.call( editor, editor.config );
44
-
45
- // If there is no other customConfig in the chain, fire the
46
- // "configLoaded" event.
47
- if ( editor.config.customConfig == customConfig || !loadConfig( editor ) )
48
- editor.fireOnce( 'customConfigLoaded' );
49
- }
50
- else
51
- {
52
- // Load the custom configuration file.
53
- CKEDITOR.scriptLoader.load( customConfig, function()
54
- {
55
- // If the CKEDITOR.editorConfig function has been properly
56
- // defined in the custom configuration file, cache it.
57
- if ( CKEDITOR.editorConfig )
58
- loadedConfig.fn = CKEDITOR.editorConfig;
59
- else
60
- loadedConfig.fn = function(){};
61
-
62
- // Call the load config again. This time the custom
63
- // config is already cached and so it will get loaded.
64
- loadConfig( editor );
65
- });
66
- }
67
-
68
- return true;
69
- };
70
-
71
- var initConfig = function( editor, instanceConfig )
72
- {
73
- // Setup the lister for the "customConfigLoaded" event.
74
- editor.on( 'customConfigLoaded', function()
75
- {
76
- if ( instanceConfig )
77
- {
78
- // Register the events that may have been set at the instance
79
- // configuration object.
80
- if ( instanceConfig.on )
81
- {
82
- for ( var eventName in instanceConfig.on )
83
- {
84
- editor.on( eventName, instanceConfig.on[ eventName ] );
85
- }
86
- }
87
-
88
- // Overwrite the settings from the in-page config.
89
- CKEDITOR.tools.extend( editor.config, instanceConfig, true );
90
-
91
- delete editor.config.on;
92
- }
93
-
94
- onConfigLoaded( editor );
95
- });
96
-
97
- // The instance config may override the customConfig setting to avoid
98
- // loading the default ~/config.js file.
99
- if ( instanceConfig && instanceConfig.customConfig != undefined )
100
- editor.config.customConfig = instanceConfig.customConfig;
101
-
102
- // Load configs from the custom configuration files.
103
- if ( !loadConfig( editor ) )
104
- editor.fireOnce( 'customConfigLoaded' );
105
- };
106
-
107
- // ##### END: Config Privates
108
-
109
- var onConfigLoaded = function( editor )
110
- {
111
- // Set config related properties.
112
-
113
- var skin = editor.config.skin.split( ',' ),
114
- skinName = skin[ 0 ],
115
- skinPath = CKEDITOR.getUrl( skin[ 1 ] || (
116
- 'skins/' + skinName + '/' ) );
117
-
118
- editor.skinName = skinName;
119
- editor.skinPath = skinPath;
120
- editor.skinClass = 'cke_skin_' + skinName;
121
-
122
- // Fire the "configLoaded" event.
123
- editor.fireOnce( 'configLoaded' );
124
-
125
- // Load language file.
126
- loadLang( editor );
127
- };
128
-
129
- var loadLang = function( editor )
130
- {
131
- CKEDITOR.lang.load( editor.config.language, editor.config.defaultLanguage, function( languageCode, lang )
132
- {
133
- editor.langCode = languageCode;
134
-
135
- // As we'll be adding plugin specific entries that could come
136
- // from different language code files, we need a copy of lang,
137
- // not a direct reference to it.
138
- editor.lang = CKEDITOR.tools.prototypedCopy( lang );
139
-
140
- // We're not able to support RTL in Firefox 2 at this time.
141
- if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 && editor.lang.dir == 'rtl' )
142
- editor.lang.dir = 'ltr';
143
-
144
- loadPlugins( editor );
145
- });
146
- };
147
-
148
- var loadPlugins = function( editor )
149
- {
150
- var config = editor.config,
151
- plugins = config.plugins,
152
- extraPlugins = config.extraPlugins,
153
- removePlugins = config.removePlugins;
154
-
155
- if ( extraPlugins )
156
- {
157
- // Remove them first to avoid duplications.
158
- var removeRegex = new RegExp( '(?:^|,)(?:' + extraPlugins.replace( /\s*,\s*/g, '|' ) + ')(?=,|$)' , 'g' );
159
- plugins = plugins.replace( removeRegex, '' );
160
-
161
- plugins += ',' + extraPlugins;
162
- }
163
-
164
- if ( removePlugins )
165
- {
166
- removeRegex = new RegExp( '(?:^|,)(?:' + removePlugins.replace( /\s*,\s*/g, '|' ) + ')(?=,|$)' , 'g' );
167
- plugins = plugins.replace( removeRegex, '' );
168
- }
169
-
170
- // Load all plugins defined in the "plugins" setting.
171
- CKEDITOR.plugins.load( plugins.split( ',' ), function( plugins )
172
- {
173
- // The list of plugins.
174
- var pluginsArray = [];
175
-
176
- // The language code to get loaded for each plugin. Null
177
- // entries will be appended for plugins with no language files.
178
- var languageCodes = [];
179
-
180
- // The list of URLs to language files.
181
- var languageFiles = [];
182
-
183
- // Cache the loaded plugin names.
184
- editor.plugins = plugins;
185
-
186
- // Loop through all plugins, to build the list of language
187
- // files to get loaded.
188
- for ( var pluginName in plugins )
189
- {
190
- var plugin = plugins[ pluginName ],
191
- pluginLangs = plugin.lang,
192
- pluginPath = CKEDITOR.plugins.getPath( pluginName ),
193
- lang = null;
194
-
195
- // Set the plugin path in the plugin.
196
- plugin.path = pluginPath;
197
-
198
- // If the plugin has "lang".
199
- if ( pluginLangs )
200
- {
201
- // Resolve the plugin language. If the current language
202
- // is not available, get the first one (default one).
203
- lang = ( CKEDITOR.tools.indexOf( pluginLangs, editor.langCode ) >= 0 ? editor.langCode : pluginLangs[ 0 ] );
204
-
205
- if ( !plugin.lang[ lang ] )
206
- {
207
- // Put the language file URL into the list of files to
208
- // get downloaded.
209
- languageFiles.push( CKEDITOR.getUrl( pluginPath + 'lang/' + lang + '.js' ) );
210
- }
211
- else
212
- {
213
- CKEDITOR.tools.extend( editor.lang, plugin.lang[ lang ] );
214
- lang = null;
215
- }
216
- }
217
-
218
- // Save the language code, so we know later which
219
- // language has been resolved to this plugin.
220
- languageCodes.push( lang );
221
-
222
- pluginsArray.push( plugin );
223
- }
224
-
225
- // Load all plugin specific language files in a row.
226
- CKEDITOR.scriptLoader.load( languageFiles, function()
227
- {
228
- // Initialize all plugins that have the "beforeInit" and "init" methods defined.
229
- var methods = [ 'beforeInit', 'init', 'afterInit' ];
230
- for ( var m = 0 ; m < methods.length ; m++ )
231
- {
232
- for ( var i = 0 ; i < pluginsArray.length ; i++ )
233
- {
234
- var plugin = pluginsArray[ i ];
235
-
236
- // Uses the first loop to update the language entries also.
237
- if ( m === 0 && languageCodes[ i ] && plugin.lang )
238
- CKEDITOR.tools.extend( editor.lang, plugin.lang[ languageCodes[ i ] ] );
239
-
240
- // Call the plugin method (beforeInit and init).
241
- if ( plugin[ methods[ m ] ] )
242
- plugin[ methods[ m ] ]( editor );
243
- }
244
- }
245
-
246
- // Load the editor skin.
247
- editor.fire( 'pluginsLoaded' );
248
- loadSkin( editor );
249
- });
250
- });
251
- };
252
-
253
- var loadSkin = function( editor )
254
- {
255
- CKEDITOR.skins.load( editor, 'editor', function()
256
- {
257
- loadTheme( editor );
258
- });
259
- };
260
-
261
- var loadTheme = function( editor )
262
- {
263
- var theme = editor.config.theme;
264
- CKEDITOR.themes.load( theme, function()
265
- {
266
- var editorTheme = editor.theme = CKEDITOR.themes.get( theme );
267
- editorTheme.path = CKEDITOR.themes.getPath( theme );
268
- editorTheme.build( editor );
269
-
270
- if ( editor.config.autoUpdateElement )
271
- attachToForm( editor );
272
- });
273
- };
274
-
275
- var attachToForm = function( editor )
276
- {
277
- var element = editor.element;
278
-
279
- // If are replacing a textarea, we must
280
- if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE && element.is( 'textarea' ) )
281
- {
282
- var form = element.$.form && new CKEDITOR.dom.element( element.$.form );
283
- if ( form )
284
- {
285
- function onSubmit()
286
- {
287
- editor.updateElement();
288
- }
289
- form.on( 'submit',onSubmit );
290
-
291
- // Setup the submit function because it doesn't fire the
292
- // "submit" event.
293
- if ( !form.$.submit.nodeName )
294
- {
295
- form.$.submit = CKEDITOR.tools.override( form.$.submit, function( originalSubmit )
296
- {
297
- return function()
298
- {
299
- editor.updateElement();
300
-
301
- // For IE, the DOM submit function is not a
302
- // function, so we need thid check.
303
- if ( originalSubmit.apply )
304
- originalSubmit.apply( this, arguments );
305
- else
306
- originalSubmit();
307
- };
308
- });
309
- }
310
-
311
- // Remove 'submit' events registered on form element before destroying.(#3988)
312
- editor.on( 'destroy', function()
313
- {
314
- form.removeListener( 'submit', onSubmit );
315
- } );
316
- }
317
- }
318
- };
319
-
320
- function updateCommandsMode()
321
- {
322
- var command,
323
- commands = this._.commands,
324
- mode = this.mode;
325
-
326
- for ( var name in commands )
327
- {
328
- command = commands[ name ];
329
- command[ command.modes[ mode ] ? 'enable' : 'disable' ]();
330
- }
331
- }
332
-
333
- /**
334
- * Initializes the editor instance. This function is called by the editor
335
- * contructor (editor_basic.js).
336
- * @private
337
- */
338
- CKEDITOR.editor.prototype._init = function()
339
- {
340
- // Get the properties that have been saved in the editor_base
341
- // implementation.
342
- var element = CKEDITOR.dom.element.get( this._.element ),
343
- instanceConfig = this._.instanceConfig;
344
- delete this._.element;
345
- delete this._.instanceConfig;
346
-
347
- this._.commands = {};
348
- this._.styles = [];
349
-
350
- /**
351
- * The DOM element that has been replaced by this editor instance. This
352
- * element holds the editor data on load and post.
353
- * @name CKEDITOR.editor.prototype.element
354
- * @type CKEDITOR.dom.element
355
- * @example
356
- * var editor = CKEDITOR.instances.editor1;
357
- * alert( <b>editor.element</b>.getName() ); "textarea"
358
- */
359
- this.element = element;
360
-
361
- /**
362
- * The editor instance name. It hay be the replaced element id, name or
363
- * a default name using a progressive counter (editor1, editor2, ...).
364
- * @name CKEDITOR.editor.prototype.name
365
- * @type String
366
- * @example
367
- * var editor = CKEDITOR.instances.editor1;
368
- * alert( <b>editor.name</b> ); "editor1"
369
- */
370
- this.name = ( element && ( this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
371
- && ( element.getId() || element.getNameAtt() ) )
372
- || getNewName();
373
-
374
- if ( this.name in CKEDITOR.instances )
375
- throw '[CKEDITOR.editor] The instance "' + this.name + '" already exists.';
376
-
377
- /**
378
- * The configurations for this editor instance. It inherits all
379
- * settings defined in (@link CKEDITOR.config}, combined with settings
380
- * loaded from custom configuration files and those defined inline in
381
- * the page when creating the editor.
382
- * @name CKEDITOR.editor.prototype.config
383
- * @type Object
384
- * @example
385
- * var editor = CKEDITOR.instances.editor1;
386
- * alert( <b>editor.config.theme</b> ); "default" e.g.
387
- */
388
- this.config = CKEDITOR.tools.prototypedCopy( CKEDITOR.config );
389
-
390
- /**
391
- * Namespace containing UI features related to this editor instance.
392
- * @name CKEDITOR.editor.prototype.ui
393
- * @type CKEDITOR.ui
394
- * @example
395
- */
396
- this.ui = new CKEDITOR.ui( this );
397
-
398
- /**
399
- * Controls the focus state of this editor instance. This property
400
- * is rarely used for normal API operations. It is mainly
401
- * destinated to developer adding UI elements to the editor interface.
402
- * @name CKEDITOR.editor.prototype.focusManager
403
- * @type CKEDITOR.focusManager
404
- * @example
405
- */
406
- this.focusManager = new CKEDITOR.focusManager( this );
407
-
408
- CKEDITOR.fire( 'instanceCreated', null, this );
409
-
410
- this.on( 'mode', updateCommandsMode, null, null, 1 );
411
-
412
- initConfig( this, instanceConfig );
413
- };
414
- })();
415
-
416
- CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
417
- /** @lends CKEDITOR.editor.prototype */
418
- {
419
- /**
420
- * Adds a command definition to the editor instance. Commands added with
421
- * this function can be later executed with {@link #execCommand}.
422
- * @param {String} commandName The indentifier name of the command.
423
- * @param {CKEDITOR.commandDefinition} commandDefinition The command definition.
424
- * @example
425
- * editorInstance.addCommand( 'sample',
426
- * {
427
- * exec : function( editor )
428
- * {
429
- * alert( 'Executing a command for the editor name "' + editor.name + '"!' );
430
- * }
431
- * });
432
- */
433
- addCommand : function( commandName, commandDefinition )
434
- {
435
- return this._.commands[ commandName ] = new CKEDITOR.command( this, commandDefinition );
436
- },
437
-
438
- addCss : function( css )
439
- {
440
- this._.styles.push( css );
441
- },
442
-
443
- /**
444
- * Destroys the editor instance, releasing all resources used by it.
445
- * If the editor replaced an element, the element will be recovered.
446
- * @param {Boolean} [noUpdate] If the instance is replacing a DOM
447
- * element, this parameter indicates whether or not to update the
448
- * element with the instance contents.
449
- * @example
450
- * alert( CKEDITOR.instances.editor1 ); e.g "object"
451
- * <b>CKEDITOR.instances.editor1.destroy()</b>;
452
- * alert( CKEDITOR.instances.editor1 ); "undefined"
453
- */
454
- destroy : function( noUpdate )
455
- {
456
- if ( !noUpdate )
457
- this.updateElement();
458
-
459
- this.theme.destroy( this );
460
- this.fire( 'destroy' );
461
- CKEDITOR.remove( this );
462
- },
463
-
464
- /**
465
- * Executes a command.
466
- * @param {String} commandName The indentifier name of the command.
467
- * @param {Object} [data] Data to be passed to the command
468
- * @returns {Boolean} "true" if the command has been successfuly
469
- * executed, otherwise "false".
470
- * @example
471
- * editorInstance.execCommand( 'Bold' );
472
- */
473
- execCommand : function( commandName, data )
474
- {
475
- var command = this.getCommand( commandName );
476
-
477
- var eventData =
478
- {
479
- name: commandName,
480
- commandData: data,
481
- command: command
482
- };
483
-
484
- if ( command && command.state != CKEDITOR.TRISTATE_DISABLED )
485
- {
486
- if ( this.fire( 'beforeCommandExec', eventData ) !== true )
487
- {
488
- eventData.returnValue = command.exec( eventData.commandData );
489
-
490
- // Fire the 'afterCommandExec' immediately if command is synchronous.
491
- if ( !command.async && this.fire( 'afterCommandExec', eventData ) !== true )
492
- return eventData.returnValue;
493
- }
494
- }
495
-
496
- // throw 'Unknown command name "' + commandName + '"';
497
- return false;
498
- },
499
-
500
- /**
501
- * Gets one of the registered commands. Note that, after registering a
502
- * command definition with addCommand, it is transformed internally
503
- * into an instance of {@link CKEDITOR.command}, which will be then
504
- * returned by this function.
505
- * @param {String} commandName The name of the command to be returned.
506
- * This is the same used to register the command with addCommand.
507
- * @returns {CKEDITOR.command} The command object identified by the
508
- * provided name.
509
- */
510
- getCommand : function( commandName )
511
- {
512
- return this._.commands[ commandName ];
513
- },
514
-
515
- /**
516
- * Gets the editor data. The data will be in raw format. It is the same
517
- * data that is posted by the editor.
518
- * @type String
519
- * @returns (String) The editor data.
520
- * @example
521
- * if ( CKEDITOR.instances.editor1.<b>getData()</b> == '' )
522
- * alert( 'There is no data available' );
523
- */
524
- getData : function()
525
- {
526
- this.fire( 'beforeGetData' );
527
-
528
- var eventData = this._.data;
529
-
530
- if ( typeof eventData != 'string' )
531
- {
532
- var element = this.element;
533
- if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
534
- eventData = element.is( 'textarea' ) ? element.getValue() : element.getHtml();
535
- else
536
- eventData = '';
537
- }
538
-
539
- eventData = { dataValue : eventData };
540
-
541
- // Fire "getData" so data manipulation may happen.
542
- this.fire( 'getData', eventData );
543
-
544
- return eventData.dataValue;
545
- },
546
-
547
- getSnapshot : function()
548
- {
549
- var data = this.fire( 'getSnapshot' );
550
-
551
- if ( typeof data != 'string' )
552
- {
553
- var element = this.element;
554
- if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
555
- data = element.is( 'textarea' ) ? element.getValue() : element.getHtml();
556
- }
557
-
558
- return data;
559
- },
560
-
561
- loadSnapshot : function( snapshot )
562
- {
563
- this.fire( 'loadSnapshot', snapshot );
564
- },
565
-
566
- /**
567
- * Sets the editor data. The data must be provided in raw format.
568
- * @param {String} data HTML code to replace the curent content in the editor.
569
- * @example
570
- * CKEDITOR.instances.editor1.<b>setData( '&lt;p&gt;This is the editor data.&lt;/p&gt;' )</b>;
571
- */
572
- setData : function( data )
573
- {
574
- // Fire "setData" so data manipulation may happen.
575
- var eventData = { dataValue : data };
576
- this.fire( 'setData', eventData );
577
-
578
- this._.data = eventData.dataValue;
579
-
580
- this.fire( 'afterSetData', eventData );
581
- },
582
-
583
- /**
584
- * Inserts HTML into the currently selected position in the editor.
585
- * @param {String} data HTML code to be inserted into the editor.
586
- * @example
587
- * CKEDITOR.instances.editor1.<b>insertHtml( '&lt;p&gt;This is a new paragraph.&lt;/p&gt;' )</b>;
588
- */
589
- insertHtml : function( data )
590
- {
591
- this.fire( 'insertHtml', data );
592
- },
593
-
594
- /**
595
- * Inserts an element into the currently selected position in the
596
- * editor.
597
- * @param {CKEDITOR.dom.element} element The element to be inserted
598
- * into the editor.
599
- * @example
600
- * var element = CKEDITOR.dom.element.createFromHtml( '&lt;img src="hello.png" border="0" title="Hello" /&gt;' );
601
- * CKEDITOR.instances.editor1.<b>insertElement( element )</b>;
602
- */
603
- insertElement : function( element )
604
- {
605
- this.fire( 'insertElement', element );
606
- },
607
-
608
- checkDirty : function()
609
- {
610
- return ( this.mayBeDirty && this._.previousValue !== this.getSnapshot() );
611
- },
612
-
613
- resetDirty : function()
614
- {
615
- if ( this.mayBeDirty )
616
- this._.previousValue = this.getSnapshot();
617
- },
618
-
619
- /**
620
- * Updates the &lt;textarea&gt; element that has been replaced by the editor with
621
- * the current data available in the editor.
622
- * @example
623
- * CKEDITOR.instances.editor1.updateElement();
624
- * alert( document.getElementById( 'editor1' ).value ); // The current editor data.
625
- */
626
- updateElement : function()
627
- {
628
- var element = this.element;
629
- if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
630
- {
631
- if ( element.is( 'textarea' ) )
632
- element.setValue( this.getData() );
633
- else
634
- element.setHtml( this.getData() );
635
- }
636
- }
637
- });
638
-
639
- CKEDITOR.on( 'loaded', function()
640
- {
641
- // Run the full initialization for pending editors.
642
- var pending = CKEDITOR.editor._pending;
643
- if ( pending )
644
- {
645
- delete CKEDITOR.editor._pending;
646
-
647
- for ( var i = 0 ; i < pending.length ; i++ )
648
- pending[ i ]._init();
649
- }
650
- });