bcms_content_syncing 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (657) hide show
  1. data/{README → README.markdown} +5 -0
  2. metadata +6 -661
  3. data/.gitignore +0 -13
  4. data/COPYRIGHT.txt +0 -23
  5. data/GPL.txt +0 -674
  6. data/Rakefile +0 -34
  7. data/VERSION +0 -1
  8. data/bcms_content_syncing.gemspec +0 -710
  9. data/config/boot.rb +0 -110
  10. data/config/database.yml +0 -22
  11. data/config/environment.rb +0 -42
  12. data/config/environments/development.rb +0 -18
  13. data/config/environments/production.rb +0 -31
  14. data/config/environments/test.rb +0 -29
  15. data/config/initializers/backtrace_silencers.rb +0 -7
  16. data/config/initializers/inflections.rb +0 -10
  17. data/config/initializers/init_module.rb +0 -1
  18. data/config/initializers/mime_types.rb +0 -5
  19. data/config/initializers/new_rails_defaults.rb +0 -21
  20. data/config/initializers/session_store.rb +0 -15
  21. data/config/locales/en.yml +0 -5
  22. data/config/routes.rb +0 -45
  23. data/db/seeds.rb +0 -7
  24. data/doc/README_FOR_APP +0 -2
  25. data/public/404.html +0 -30
  26. data/public/422.html +0 -30
  27. data/public/500.html +0 -30
  28. data/public/bcms/ckeditor/ckeditor.js +0 -108
  29. data/public/bcms/ckeditor/config.js +0 -18
  30. data/public/bcms/ckeditor/core/_bootstrap.js +0 -64
  31. data/public/bcms/ckeditor/core/ajax.js +0 -143
  32. data/public/bcms/ckeditor/core/ckeditor.js +0 -96
  33. data/public/bcms/ckeditor/core/ckeditor_base.js +0 -190
  34. data/public/bcms/ckeditor/core/ckeditor_basic.js +0 -241
  35. data/public/bcms/ckeditor/core/command.js +0 -70
  36. data/public/bcms/ckeditor/core/commanddefinition.js +0 -72
  37. data/public/bcms/ckeditor/core/config.js +0 -287
  38. data/public/bcms/ckeditor/core/dom.js +0 -21
  39. data/public/bcms/ckeditor/core/dom/document.js +0 -210
  40. data/public/bcms/ckeditor/core/dom/documentfragment.js +0 -49
  41. data/public/bcms/ckeditor/core/dom/domobject.js +0 -204
  42. data/public/bcms/ckeditor/core/dom/element.js +0 -1384
  43. data/public/bcms/ckeditor/core/dom/elementpath.js +0 -104
  44. data/public/bcms/ckeditor/core/dom/event.js +0 -137
  45. data/public/bcms/ckeditor/core/dom/node.js +0 -649
  46. data/public/bcms/ckeditor/core/dom/nodelist.js +0 -23
  47. data/public/bcms/ckeditor/core/dom/range.js +0 -1668
  48. data/public/bcms/ckeditor/core/dom/text.js +0 -123
  49. data/public/bcms/ckeditor/core/dom/walker.js +0 -411
  50. data/public/bcms/ckeditor/core/dom/window.js +0 -96
  51. data/public/bcms/ckeditor/core/dtd.js +0 -200
  52. data/public/bcms/ckeditor/core/editor.js +0 -650
  53. data/public/bcms/ckeditor/core/editor_basic.js +0 -178
  54. data/public/bcms/ckeditor/core/env.js +0 -219
  55. data/public/bcms/ckeditor/core/event.js +0 -335
  56. data/public/bcms/ckeditor/core/eventInfo.js +0 -120
  57. data/public/bcms/ckeditor/core/focusmanager.js +0 -123
  58. data/public/bcms/ckeditor/core/htmlparser.js +0 -212
  59. data/public/bcms/ckeditor/core/htmlparser/basicwriter.js +0 -140
  60. data/public/bcms/ckeditor/core/htmlparser/cdata.js +0 -44
  61. data/public/bcms/ckeditor/core/htmlparser/comment.js +0 -59
  62. data/public/bcms/ckeditor/core/htmlparser/element.js +0 -196
  63. data/public/bcms/ckeditor/core/htmlparser/filter.js +0 -233
  64. data/public/bcms/ckeditor/core/htmlparser/fragment.js +0 -434
  65. data/public/bcms/ckeditor/core/htmlparser/text.js +0 -55
  66. data/public/bcms/ckeditor/core/imagecacher.js +0 -58
  67. data/public/bcms/ckeditor/core/lang.js +0 -147
  68. data/public/bcms/ckeditor/core/loader.js +0 -238
  69. data/public/bcms/ckeditor/core/plugindefinition.js +0 -66
  70. data/public/bcms/ckeditor/core/plugins.js +0 -82
  71. data/public/bcms/ckeditor/core/resourcemanager.js +0 -233
  72. data/public/bcms/ckeditor/core/scriptloader.js +0 -194
  73. data/public/bcms/ckeditor/core/skins.js +0 -185
  74. data/public/bcms/ckeditor/core/test.js +0 -184
  75. data/public/bcms/ckeditor/core/themes.js +0 -18
  76. data/public/bcms/ckeditor/core/tools.js +0 -531
  77. data/public/bcms/ckeditor/core/ui.js +0 -106
  78. data/public/bcms/ckeditor/core/xml.js +0 -165
  79. data/public/bcms/ckeditor/editor.js +0 -51
  80. data/public/bcms/ckeditor/lang/_languages.js +0 -82
  81. data/public/bcms/ckeditor/lang/_translationstatus.txt +0 -59
  82. data/public/bcms/ckeditor/lang/af.js +0 -674
  83. data/public/bcms/ckeditor/lang/ar.js +0 -674
  84. data/public/bcms/ckeditor/lang/bg.js +0 -674
  85. data/public/bcms/ckeditor/lang/bn.js +0 -674
  86. data/public/bcms/ckeditor/lang/bs.js +0 -674
  87. data/public/bcms/ckeditor/lang/ca.js +0 -674
  88. data/public/bcms/ckeditor/lang/cs.js +0 -674
  89. data/public/bcms/ckeditor/lang/da.js +0 -674
  90. data/public/bcms/ckeditor/lang/de.js +0 -674
  91. data/public/bcms/ckeditor/lang/el.js +0 -674
  92. data/public/bcms/ckeditor/lang/en-au.js +0 -674
  93. data/public/bcms/ckeditor/lang/en-ca.js +0 -674
  94. data/public/bcms/ckeditor/lang/en-uk.js +0 -674
  95. data/public/bcms/ckeditor/lang/en.js +0 -674
  96. data/public/bcms/ckeditor/lang/eo.js +0 -674
  97. data/public/bcms/ckeditor/lang/es.js +0 -674
  98. data/public/bcms/ckeditor/lang/et.js +0 -674
  99. data/public/bcms/ckeditor/lang/eu.js +0 -674
  100. data/public/bcms/ckeditor/lang/fa.js +0 -674
  101. data/public/bcms/ckeditor/lang/fi.js +0 -674
  102. data/public/bcms/ckeditor/lang/fo.js +0 -674
  103. data/public/bcms/ckeditor/lang/fr-ca.js +0 -674
  104. data/public/bcms/ckeditor/lang/fr.js +0 -674
  105. data/public/bcms/ckeditor/lang/gl.js +0 -674
  106. data/public/bcms/ckeditor/lang/gu.js +0 -674
  107. data/public/bcms/ckeditor/lang/he.js +0 -674
  108. data/public/bcms/ckeditor/lang/hi.js +0 -674
  109. data/public/bcms/ckeditor/lang/hr.js +0 -674
  110. data/public/bcms/ckeditor/lang/hu.js +0 -674
  111. data/public/bcms/ckeditor/lang/is.js +0 -674
  112. data/public/bcms/ckeditor/lang/it.js +0 -674
  113. data/public/bcms/ckeditor/lang/ja.js +0 -674
  114. data/public/bcms/ckeditor/lang/km.js +0 -674
  115. data/public/bcms/ckeditor/lang/ko.js +0 -674
  116. data/public/bcms/ckeditor/lang/lt.js +0 -674
  117. data/public/bcms/ckeditor/lang/lv.js +0 -674
  118. data/public/bcms/ckeditor/lang/mn.js +0 -674
  119. data/public/bcms/ckeditor/lang/ms.js +0 -674
  120. data/public/bcms/ckeditor/lang/nb.js +0 -674
  121. data/public/bcms/ckeditor/lang/nl.js +0 -674
  122. data/public/bcms/ckeditor/lang/no.js +0 -674
  123. data/public/bcms/ckeditor/lang/pl.js +0 -674
  124. data/public/bcms/ckeditor/lang/pt-br.js +0 -674
  125. data/public/bcms/ckeditor/lang/pt.js +0 -674
  126. data/public/bcms/ckeditor/lang/ro.js +0 -674
  127. data/public/bcms/ckeditor/lang/ru.js +0 -674
  128. data/public/bcms/ckeditor/lang/sk.js +0 -674
  129. data/public/bcms/ckeditor/lang/sl.js +0 -674
  130. data/public/bcms/ckeditor/lang/sr-latn.js +0 -674
  131. data/public/bcms/ckeditor/lang/sr.js +0 -674
  132. data/public/bcms/ckeditor/lang/sv.js +0 -674
  133. data/public/bcms/ckeditor/lang/th.js +0 -674
  134. data/public/bcms/ckeditor/lang/tr.js +0 -674
  135. data/public/bcms/ckeditor/lang/uk.js +0 -674
  136. data/public/bcms/ckeditor/lang/vi.js +0 -674
  137. data/public/bcms/ckeditor/lang/zh-cn.js +0 -674
  138. data/public/bcms/ckeditor/lang/zh.js +0 -674
  139. data/public/bcms/ckeditor/plugins/about/dialogs/about.js +0 -73
  140. data/public/bcms/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  141. data/public/bcms/ckeditor/plugins/about/plugin.js +0 -22
  142. data/public/bcms/ckeditor/plugins/basicstyles/plugin.js +0 -50
  143. data/public/bcms/ckeditor/plugins/blockquote/plugin.js +0 -301
  144. data/public/bcms/ckeditor/plugins/button/plugin.js +0 -264
  145. data/public/bcms/ckeditor/plugins/clipboard/dialogs/paste.js +0 -167
  146. data/public/bcms/ckeditor/plugins/clipboard/plugin.js +0 -208
  147. data/public/bcms/ckeditor/plugins/colorbutton/plugin.js +0 -202
  148. data/public/bcms/ckeditor/plugins/contextmenu/plugin.js +0 -178
  149. data/public/bcms/ckeditor/plugins/dialog/dialogDefinition.js +0 -315
  150. data/public/bcms/ckeditor/plugins/dialog/plugin.js +0 -2742
  151. data/public/bcms/ckeditor/plugins/dialogui/plugin.js +0 -1319
  152. data/public/bcms/ckeditor/plugins/domiterator/plugin.js +0 -354
  153. data/public/bcms/ckeditor/plugins/editingblock/plugin.js +0 -236
  154. data/public/bcms/ckeditor/plugins/elementspath/plugin.js +0 -182
  155. data/public/bcms/ckeditor/plugins/enterkey/plugin.js +0 -324
  156. data/public/bcms/ckeditor/plugins/entities/plugin.js +0 -200
  157. data/public/bcms/ckeditor/plugins/fakeobjects/plugin.js +0 -111
  158. data/public/bcms/ckeditor/plugins/filebrowser/plugin.js +0 -383
  159. data/public/bcms/ckeditor/plugins/find/dialogs/find.js +0 -843
  160. data/public/bcms/ckeditor/plugins/find/plugin.js +0 -46
  161. data/public/bcms/ckeditor/plugins/flash/dialogs/flash.js +0 -682
  162. data/public/bcms/ckeditor/plugins/flash/images/placeholder.png +0 -0
  163. data/public/bcms/ckeditor/plugins/flash/plugin.js +0 -165
  164. data/public/bcms/ckeditor/plugins/floatpanel/plugin.js +0 -325
  165. data/public/bcms/ckeditor/plugins/font/plugin.js +0 -227
  166. data/public/bcms/ckeditor/plugins/format/plugin.js +0 -191
  167. data/public/bcms/ckeditor/plugins/forms/dialogs/button.js +0 -135
  168. data/public/bcms/ckeditor/plugins/forms/dialogs/checkbox.js +0 -138
  169. data/public/bcms/ckeditor/plugins/forms/dialogs/form.js +0 -177
  170. data/public/bcms/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -91
  171. data/public/bcms/ckeditor/plugins/forms/dialogs/radio.js +0 -135
  172. data/public/bcms/ckeditor/plugins/forms/dialogs/select.js +0 -541
  173. data/public/bcms/ckeditor/plugins/forms/dialogs/textarea.js +0 -114
  174. data/public/bcms/ckeditor/plugins/forms/dialogs/textfield.js +0 -193
  175. data/public/bcms/ckeditor/plugins/forms/plugin.js +0 -193
  176. data/public/bcms/ckeditor/plugins/horizontalrule/plugin.js +0 -35
  177. data/public/bcms/ckeditor/plugins/htmldataprocessor/plugin.js +0 -373
  178. data/public/bcms/ckeditor/plugins/htmlwriter/plugin.js +0 -289
  179. data/public/bcms/ckeditor/plugins/iframedialog/plugin.js +0 -136
  180. data/public/bcms/ckeditor/plugins/image/dialogs/image.js +0 -1225
  181. data/public/bcms/ckeditor/plugins/image/plugin.js +0 -64
  182. data/public/bcms/ckeditor/plugins/indent/plugin.js +0 -323
  183. data/public/bcms/ckeditor/plugins/justify/plugin.js +0 -164
  184. data/public/bcms/ckeditor/plugins/keystrokes/plugin.js +0 -217
  185. data/public/bcms/ckeditor/plugins/link/dialogs/anchor.js +0 -98
  186. data/public/bcms/ckeditor/plugins/link/dialogs/link.js +0 -1217
  187. data/public/bcms/ckeditor/plugins/link/images/anchor.gif +0 -0
  188. data/public/bcms/ckeditor/plugins/link/plugin.js +0 -188
  189. data/public/bcms/ckeditor/plugins/list/plugin.js +0 -570
  190. data/public/bcms/ckeditor/plugins/listblock/plugin.js +0 -231
  191. data/public/bcms/ckeditor/plugins/maximize/plugin.js +0 -267
  192. data/public/bcms/ckeditor/plugins/menu/plugin.js +0 -377
  193. data/public/bcms/ckeditor/plugins/menubutton/plugin.js +0 -93
  194. data/public/bcms/ckeditor/plugins/newpage/plugin.js +0 -65
  195. data/public/bcms/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  196. data/public/bcms/ckeditor/plugins/pagebreak/plugin.js +0 -96
  197. data/public/bcms/ckeditor/plugins/panel/plugin.js +0 -330
  198. data/public/bcms/ckeditor/plugins/panelbutton/plugin.js +0 -140
  199. data/public/bcms/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -307
  200. data/public/bcms/ckeditor/plugins/pastefromword/plugin.js +0 -54
  201. data/public/bcms/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -65
  202. data/public/bcms/ckeditor/plugins/pastetext/plugin.js +0 -142
  203. data/public/bcms/ckeditor/plugins/popup/plugin.js +0 -62
  204. data/public/bcms/ckeditor/plugins/preview/plugin.js +0 -97
  205. data/public/bcms/ckeditor/plugins/print/plugin.js +0 -41
  206. data/public/bcms/ckeditor/plugins/removeformat/plugin.js +0 -132
  207. data/public/bcms/ckeditor/plugins/resize/plugin.js +0 -115
  208. data/public/bcms/ckeditor/plugins/richcombo/plugin.js +0 -357
  209. data/public/bcms/ckeditor/plugins/save/plugin.js +0 -55
  210. data/public/bcms/ckeditor/plugins/scayt/dialogs/options.js +0 -494
  211. data/public/bcms/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
  212. data/public/bcms/ckeditor/plugins/scayt/plugin.js +0 -511
  213. data/public/bcms/ckeditor/plugins/selection/plugin.js +0 -1072
  214. data/public/bcms/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  215. data/public/bcms/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  216. data/public/bcms/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  217. data/public/bcms/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  218. data/public/bcms/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  219. data/public/bcms/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  220. data/public/bcms/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  221. data/public/bcms/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  222. data/public/bcms/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  223. data/public/bcms/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  224. data/public/bcms/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  225. data/public/bcms/ckeditor/plugins/showblocks/plugin.js +0 -153
  226. data/public/bcms/ckeditor/plugins/smiley/dialogs/smiley.js +0 -219
  227. data/public/bcms/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  228. data/public/bcms/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  229. data/public/bcms/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  230. data/public/bcms/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  231. data/public/bcms/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  232. data/public/bcms/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  233. data/public/bcms/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  234. data/public/bcms/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  235. data/public/bcms/ckeditor/plugins/smiley/images/heart.gif +0 -0
  236. data/public/bcms/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  237. data/public/bcms/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  238. data/public/bcms/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  239. data/public/bcms/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  240. data/public/bcms/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  241. data/public/bcms/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  242. data/public/bcms/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  243. data/public/bcms/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  244. data/public/bcms/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  245. data/public/bcms/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  246. data/public/bcms/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  247. data/public/bcms/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  248. data/public/bcms/ckeditor/plugins/smiley/plugin.js +0 -74
  249. data/public/bcms/ckeditor/plugins/sourcearea/plugin.js +0 -185
  250. data/public/bcms/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -362
  251. data/public/bcms/ckeditor/plugins/specialchar/plugin.js +0 -29
  252. data/public/bcms/ckeditor/plugins/styles/plugin.js +0 -1242
  253. data/public/bcms/ckeditor/plugins/stylescombo/plugin.js +0 -295
  254. data/public/bcms/ckeditor/plugins/stylescombo/styles/default.js +0 -85
  255. data/public/bcms/ckeditor/plugins/tab/plugin.js +0 -266
  256. data/public/bcms/ckeditor/plugins/table/dialogs/table.js +0 -550
  257. data/public/bcms/ckeditor/plugins/table/plugin.js +0 -70
  258. data/public/bcms/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -328
  259. data/public/bcms/ckeditor/plugins/tabletools/plugin.js +0 -701
  260. data/public/bcms/ckeditor/plugins/templates/dialogs/templates.js +0 -170
  261. data/public/bcms/ckeditor/plugins/templates/plugin.js +0 -99
  262. data/public/bcms/ckeditor/plugins/templates/templates/default.js +0 -94
  263. data/public/bcms/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  264. data/public/bcms/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  265. data/public/bcms/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  266. data/public/bcms/ckeditor/plugins/toolbar/plugin.js +0 -412
  267. data/public/bcms/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -203
  268. data/public/bcms/ckeditor/plugins/uicolor/lang/en.js +0 -15
  269. data/public/bcms/ckeditor/plugins/uicolor/plugin.js +0 -35
  270. data/public/bcms/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  271. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  272. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  273. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  274. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  275. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -15
  276. data/public/bcms/ckeditor/plugins/uicolor/yui/yui.js +0 -71
  277. data/public/bcms/ckeditor/plugins/undo/plugin.js +0 -490
  278. data/public/bcms/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
  279. data/public/bcms/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  280. data/public/bcms/ckeditor/plugins/wsc/dialogs/wsc.css +0 -83
  281. data/public/bcms/ckeditor/plugins/wsc/dialogs/wsc.js +0 -169
  282. data/public/bcms/ckeditor/plugins/wsc/plugin.js +0 -32
  283. data/public/bcms/ckeditor/plugins/wysiwygarea/plugin.js +0 -636
  284. data/public/bcms/ckeditor/skins/kama/dialog.css +0 -742
  285. data/public/bcms/ckeditor/skins/kama/editor.css +0 -21
  286. data/public/bcms/ckeditor/skins/kama/elementspath.css +0 -68
  287. data/public/bcms/ckeditor/skins/kama/icons.css +0 -309
  288. data/public/bcms/ckeditor/skins/kama/icons.png +0 -0
  289. data/public/bcms/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  290. data/public/bcms/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  291. data/public/bcms/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  292. data/public/bcms/ckeditor/skins/kama/images/mini.gif +0 -0
  293. data/public/bcms/ckeditor/skins/kama/images/noimage.png +0 -0
  294. data/public/bcms/ckeditor/skins/kama/images/sprites.png +0 -0
  295. data/public/bcms/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  296. data/public/bcms/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  297. data/public/bcms/ckeditor/skins/kama/mainui.css +0 -139
  298. data/public/bcms/ckeditor/skins/kama/menu.css +0 -179
  299. data/public/bcms/ckeditor/skins/kama/panel.css +0 -203
  300. data/public/bcms/ckeditor/skins/kama/presets.css +0 -49
  301. data/public/bcms/ckeditor/skins/kama/reset.css +0 -78
  302. data/public/bcms/ckeditor/skins/kama/richcombo.css +0 -260
  303. data/public/bcms/ckeditor/skins/kama/skin.js +0 -291
  304. data/public/bcms/ckeditor/skins/kama/templates.css +0 -71
  305. data/public/bcms/ckeditor/skins/kama/toolbar.css +0 -384
  306. data/public/bcms/ckeditor/skins/office2003/dialog.css +0 -643
  307. data/public/bcms/ckeditor/skins/office2003/editor.css +0 -21
  308. data/public/bcms/ckeditor/skins/office2003/elementspath.css +0 -68
  309. data/public/bcms/ckeditor/skins/office2003/icons.css +0 -309
  310. data/public/bcms/ckeditor/skins/office2003/icons.png +0 -0
  311. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  312. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  313. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  314. data/public/bcms/ckeditor/skins/office2003/images/mini.gif +0 -0
  315. data/public/bcms/ckeditor/skins/office2003/images/noimage.png +0 -0
  316. data/public/bcms/ckeditor/skins/office2003/images/sprites.png +0 -0
  317. data/public/bcms/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  318. data/public/bcms/ckeditor/skins/office2003/mainui.css +0 -97
  319. data/public/bcms/ckeditor/skins/office2003/menu.css +0 -175
  320. data/public/bcms/ckeditor/skins/office2003/panel.css +0 -198
  321. data/public/bcms/ckeditor/skins/office2003/presets.css +0 -49
  322. data/public/bcms/ckeditor/skins/office2003/reset.css +0 -78
  323. data/public/bcms/ckeditor/skins/office2003/richcombo.css +0 -279
  324. data/public/bcms/ckeditor/skins/office2003/skin.js +0 -77
  325. data/public/bcms/ckeditor/skins/office2003/templates.css +0 -71
  326. data/public/bcms/ckeditor/skins/office2003/toolbar.css +0 -442
  327. data/public/bcms/ckeditor/skins/v2/dialog.css +0 -653
  328. data/public/bcms/ckeditor/skins/v2/editor.css +0 -21
  329. data/public/bcms/ckeditor/skins/v2/elementspath.css +0 -68
  330. data/public/bcms/ckeditor/skins/v2/icons.css +0 -309
  331. data/public/bcms/ckeditor/skins/v2/icons.png +0 -0
  332. data/public/bcms/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  333. data/public/bcms/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  334. data/public/bcms/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  335. data/public/bcms/ckeditor/skins/v2/images/mini.gif +0 -0
  336. data/public/bcms/ckeditor/skins/v2/images/noimage.png +0 -0
  337. data/public/bcms/ckeditor/skins/v2/images/sprites.png +0 -0
  338. data/public/bcms/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  339. data/public/bcms/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  340. data/public/bcms/ckeditor/skins/v2/mainui.css +0 -112
  341. data/public/bcms/ckeditor/skins/v2/menu.css +0 -178
  342. data/public/bcms/ckeditor/skins/v2/panel.css +0 -198
  343. data/public/bcms/ckeditor/skins/v2/presets.css +0 -50
  344. data/public/bcms/ckeditor/skins/v2/reset.css +0 -78
  345. data/public/bcms/ckeditor/skins/v2/richcombo.css +0 -275
  346. data/public/bcms/ckeditor/skins/v2/skin.js +0 -73
  347. data/public/bcms/ckeditor/skins/v2/templates.css +0 -71
  348. data/public/bcms/ckeditor/skins/v2/toolbar.css +0 -399
  349. data/public/bcms/ckeditor/tests/_assets/sample.css +0 -4
  350. data/public/bcms/ckeditor/tests/_assets/sample.js +0 -1
  351. data/public/bcms/ckeditor/tests/_assets/sample.txt +0 -1
  352. data/public/bcms/ckeditor/tests/_assets/sample.xml +0 -5
  353. data/public/bcms/ckeditor/tests/_assets/sample_xml.txt +0 -5
  354. data/public/bcms/ckeditor/tests/core/_editor/custom_config_1.js +0 -10
  355. data/public/bcms/ckeditor/tests/core/_editor/custom_config_2.js +0 -9
  356. data/public/bcms/ckeditor/tests/core/ajax.html +0 -163
  357. data/public/bcms/ckeditor/tests/core/bootstrap.html +0 -66
  358. data/public/bcms/ckeditor/tests/core/ckeditor.html +0 -160
  359. data/public/bcms/ckeditor/tests/core/dom/document.html +0 -126
  360. data/public/bcms/ckeditor/tests/core/dom/documentfragment.html +0 -292
  361. data/public/bcms/ckeditor/tests/core/dom/element.html +0 -637
  362. data/public/bcms/ckeditor/tests/core/dom/node.html +0 -164
  363. data/public/bcms/ckeditor/tests/core/dom/range.html +0 -2411
  364. data/public/bcms/ckeditor/tests/core/dom/text.html +0 -128
  365. data/public/bcms/ckeditor/tests/core/dom/walker.html +0 -340
  366. data/public/bcms/ckeditor/tests/core/dom/window.html +0 -53
  367. data/public/bcms/ckeditor/tests/core/editor.html +0 -123
  368. data/public/bcms/ckeditor/tests/core/env.html +0 -52
  369. data/public/bcms/ckeditor/tests/core/event.html +0 -487
  370. data/public/bcms/ckeditor/tests/core/htmlparser/fragment.html +0 -188
  371. data/public/bcms/ckeditor/tests/core/htmlparser/htmlparser.html +0 -91
  372. data/public/bcms/ckeditor/tests/core/plugins.html +0 -45
  373. data/public/bcms/ckeditor/tests/core/plugins/myplugins/sample/my_plugin.js +0 -3
  374. data/public/bcms/ckeditor/tests/core/scriptloader.html +0 -52
  375. data/public/bcms/ckeditor/tests/core/tools.html +0 -170
  376. data/public/bcms/ckeditor/tests/core/xml.html +0 -150
  377. data/public/bcms/ckeditor/tests/plugins/domiterator/domiterator.html +0 -236
  378. data/public/bcms/ckeditor/tests/plugins/htmldataprocessor/htmldataprocessor.html +0 -386
  379. data/public/bcms/ckeditor/tests/plugins/link/link.html +0 -123
  380. data/public/bcms/ckeditor/tests/plugins/list/list.html +0 -217
  381. data/public/bcms/ckeditor/tests/plugins/selection/selection.html +0 -49
  382. data/public/bcms/ckeditor/tests/plugins/styles/styles.html +0 -596
  383. data/public/bcms/ckeditor/tests/test.css +0 -81
  384. data/public/bcms/ckeditor/tests/test.js +0 -93
  385. data/public/bcms/ckeditor/tests/testall.html +0 -114
  386. data/public/bcms/ckeditor/tests/yuitest.js +0 -75
  387. data/public/bcms/ckeditor/themes/default/theme.js +0 -232
  388. data/public/bcms/content_syncing/README +0 -1
  389. data/public/favicon.ico +0 -0
  390. data/public/images/cms/administration/user_browser_bg.gif +0 -0
  391. data/public/images/cms/bg.png +0 -0
  392. data/public/images/cms/bl_curve.png +0 -0
  393. data/public/images/cms/bottom_cap.png +0 -0
  394. data/public/images/cms/bottom_cap_content.png +0 -0
  395. data/public/images/cms/browse.gif +0 -0
  396. data/public/images/cms/browser_media_logo.png +0 -0
  397. data/public/images/cms/browsercms_logo.png +0 -0
  398. data/public/images/cms/buttons/button.png +0 -0
  399. data/public/images/cms/buttons/button_bg.png +0 -0
  400. data/public/images/cms/buttons/button_cap.png +0 -0
  401. data/public/images/cms/buttons/button_cap_h.png +0 -0
  402. data/public/images/cms/buttons/button_cap_off.gif +0 -0
  403. data/public/images/cms/buttons/button_cap_off_middle.gif +0 -0
  404. data/public/images/cms/buttons/button_h.png +0 -0
  405. data/public/images/cms/buttons/button_left_bg.png +0 -0
  406. data/public/images/cms/buttons/button_off.png +0 -0
  407. data/public/images/cms/buttons/button_off_middle.png +0 -0
  408. data/public/images/cms/buttons/delete_x.png +0 -0
  409. data/public/images/cms/buttons/delete_x_disabled.png +0 -0
  410. data/public/images/cms/buttons/delete_x_h.png +0 -0
  411. data/public/images/cms/buttons/sm_button.gif +0 -0
  412. data/public/images/cms/buttons/sm_button_2.gif +0 -0
  413. data/public/images/cms/buttons/sm_button_2_h.gif +0 -0
  414. data/public/images/cms/buttons/sm_button_h.gif +0 -0
  415. data/public/images/cms/containers/add.gif +0 -0
  416. data/public/images/cms/containers/alpha.png +0 -0
  417. data/public/images/cms/containers/beta.png +0 -0
  418. data/public/images/cms/containers/delete.gif +0 -0
  419. data/public/images/cms/containers/down.gif +0 -0
  420. data/public/images/cms/containers/edit.gif +0 -0
  421. data/public/images/cms/containers/up.gif +0 -0
  422. data/public/images/cms/containers/view.gif +0 -0
  423. data/public/images/cms/content_bg.gif +0 -0
  424. data/public/images/cms/dashboard/bottom_cap.png +0 -0
  425. data/public/images/cms/dashboard/bottom_cap_content.png +0 -0
  426. data/public/images/cms/dashboard/header_bg.gif +0 -0
  427. data/public/images/cms/dashboard/header_left_bg.gif +0 -0
  428. data/public/images/cms/dashboard/table_header_bg.gif +0 -0
  429. data/public/images/cms/dashboard/top_cap.png +0 -0
  430. data/public/images/cms/dashed.gif +0 -0
  431. data/public/images/cms/datepicker/clear.gif +0 -0
  432. data/public/images/cms/datepicker/close.gif +0 -0
  433. data/public/images/cms/dk_button_l.gif +0 -0
  434. data/public/images/cms/dk_button_r.gif +0 -0
  435. data/public/images/cms/dot.png +0 -0
  436. data/public/images/cms/draft_status.gif +0 -0
  437. data/public/images/cms/gray_long_bg.gif +0 -0
  438. data/public/images/cms/icons/actions/add.png +0 -0
  439. data/public/images/cms/icons/actions/config.png +0 -0
  440. data/public/images/cms/icons/actions/connect.png +0 -0
  441. data/public/images/cms/icons/actions/delete.png +0 -0
  442. data/public/images/cms/icons/actions/down.png +0 -0
  443. data/public/images/cms/icons/actions/edit.png +0 -0
  444. data/public/images/cms/icons/actions/folder.png +0 -0
  445. data/public/images/cms/icons/actions/folder_add.png +0 -0
  446. data/public/images/cms/icons/actions/folder_delete.png +0 -0
  447. data/public/images/cms/icons/actions/folder_edit.png +0 -0
  448. data/public/images/cms/icons/actions/folder_move.png +0 -0
  449. data/public/images/cms/icons/actions/folder_open.png +0 -0
  450. data/public/images/cms/icons/actions/history.png +0 -0
  451. data/public/images/cms/icons/actions/home.png +0 -0
  452. data/public/images/cms/icons/actions/left.png +0 -0
  453. data/public/images/cms/icons/actions/link.png +0 -0
  454. data/public/images/cms/icons/actions/page.png +0 -0
  455. data/public/images/cms/icons/actions/page_add.png +0 -0
  456. data/public/images/cms/icons/actions/page_edit.png +0 -0
  457. data/public/images/cms/icons/actions/page_move.png +0 -0
  458. data/public/images/cms/icons/actions/redo.png +0 -0
  459. data/public/images/cms/icons/actions/refresh.png +0 -0
  460. data/public/images/cms/icons/actions/right.png +0 -0
  461. data/public/images/cms/icons/actions/root_folder.png +0 -0
  462. data/public/images/cms/icons/actions/root_link.png +0 -0
  463. data/public/images/cms/icons/actions/root_page.png +0 -0
  464. data/public/images/cms/icons/actions/undo.png +0 -0
  465. data/public/images/cms/icons/actions/up.png +0 -0
  466. data/public/images/cms/icons/actions/view.png +0 -0
  467. data/public/images/cms/icons/file_types/doc.png +0 -0
  468. data/public/images/cms/icons/file_types/file.png +0 -0
  469. data/public/images/cms/icons/file_types/gif.png +0 -0
  470. data/public/images/cms/icons/file_types/htm.png +0 -0
  471. data/public/images/cms/icons/file_types/pdf.png +0 -0
  472. data/public/images/cms/icons/file_types/ppt.png +0 -0
  473. data/public/images/cms/icons/file_types/swf.png +0 -0
  474. data/public/images/cms/icons/file_types/txt.png +0 -0
  475. data/public/images/cms/icons/file_types/xls.png +0 -0
  476. data/public/images/cms/icons/file_types/xml.png +0 -0
  477. data/public/images/cms/icons/file_types/zip.png +0 -0
  478. data/public/images/cms/icons/status/archived.gif +0 -0
  479. data/public/images/cms/icons/status/draft.gif +0 -0
  480. data/public/images/cms/icons/status/hidden.gif +0 -0
  481. data/public/images/cms/icons/status/locked.gif +0 -0
  482. data/public/images/cms/icons/status/published.gif +0 -0
  483. data/public/images/cms/icons/status/unlocked.gif +0 -0
  484. data/public/images/cms/icons/user.png +0 -0
  485. data/public/images/cms/login_bg.jpg +0 -0
  486. data/public/images/cms/login_bottom.jpg +0 -0
  487. data/public/images/cms/login_top.gif +0 -0
  488. data/public/images/cms/lt_button_bg.gif +0 -0
  489. data/public/images/cms/lt_button_l.gif +0 -0
  490. data/public/images/cms/lt_button_r.gif +0 -0
  491. data/public/images/cms/menu.png +0 -0
  492. data/public/images/cms/menu/block_cap_h.gif +0 -0
  493. data/public/images/cms/menu/bottom_cap.png +0 -0
  494. data/public/images/cms/menu/bottom_cap_menu.png +0 -0
  495. data/public/images/cms/menu/bottom_cap_menu_first.png +0 -0
  496. data/public/images/cms/menu/menu_header_first_bg.gif +0 -0
  497. data/public/images/cms/menu/selected_block_cap.gif +0 -0
  498. data/public/images/cms/menu/top_cap.png +0 -0
  499. data/public/images/cms/menu/top_cap_menu_header.png +0 -0
  500. data/public/images/cms/menu_h.gif +0 -0
  501. data/public/images/cms/menu_header.png +0 -0
  502. data/public/images/cms/menu_open.png +0 -0
  503. data/public/images/cms/menu_open_bg.gif +0 -0
  504. data/public/images/cms/nav.png +0 -0
  505. data/public/images/cms/nav/on_bg.gif +0 -0
  506. data/public/images/cms/nav_admin.gif +0 -0
  507. data/public/images/cms/nav_admin_h.gif +0 -0
  508. data/public/images/cms/nav_admin_on.gif +0 -0
  509. data/public/images/cms/nav_cap.png +0 -0
  510. data/public/images/cms/nav_cap_h.gif +0 -0
  511. data/public/images/cms/nav_content_library.gif +0 -0
  512. data/public/images/cms/nav_content_library_h.gif +0 -0
  513. data/public/images/cms/nav_content_library_on.gif +0 -0
  514. data/public/images/cms/nav_dash.gif +0 -0
  515. data/public/images/cms/nav_dash_h.gif +0 -0
  516. data/public/images/cms/nav_dash_on.gif +0 -0
  517. data/public/images/cms/nav_h.gif +0 -0
  518. data/public/images/cms/nav_sitemap.gif +0 -0
  519. data/public/images/cms/nav_sitemap_h.gif +0 -0
  520. data/public/images/cms/nav_sitemap_on.gif +0 -0
  521. data/public/images/cms/page_toolbar/page_toolbar_bg.gif +0 -0
  522. data/public/images/cms/page_toolbar/page_toolbar_inset_bg.gif +0 -0
  523. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_bg.gif +0 -0
  524. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_l.gif +0 -0
  525. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_r.gif +0 -0
  526. data/public/images/cms/page_toolbar/page_toolbar_inset_l.gif +0 -0
  527. data/public/images/cms/page_toolbar/page_toolbar_inset_published_bg.gif +0 -0
  528. data/public/images/cms/page_toolbar/page_toolbar_inset_published_l.gif +0 -0
  529. data/public/images/cms/page_toolbar/page_toolbar_inset_published_r.gif +0 -0
  530. data/public/images/cms/page_toolbar/page_toolbar_inset_r.gif +0 -0
  531. data/public/images/cms/page_toolbar/page_toolbar_l.gif +0 -0
  532. data/public/images/cms/page_toolbar/page_toolbar_r.gif +0 -0
  533. data/public/images/cms/page_toolbar/status_draft_bg.gif +0 -0
  534. data/public/images/cms/page_toolbar/status_draft_l.gif +0 -0
  535. data/public/images/cms/page_toolbar/status_l.gif +0 -0
  536. data/public/images/cms/page_toolbar/status_published_bg.gif +0 -0
  537. data/public/images/cms/page_toolbar/status_published_l.gif +0 -0
  538. data/public/images/cms/page_toolbar/visual_editor_bg.gif +0 -0
  539. data/public/images/cms/page_toolbar/visual_editor_end.gif +0 -0
  540. data/public/images/cms/page_toolbar/visual_editor_r.gif +0 -0
  541. data/public/images/cms/page_toolbar/visual_editor_state_bg.gif +0 -0
  542. data/public/images/cms/pages/add_connectable.gif +0 -0
  543. data/public/images/cms/pages/connect_connectable.gif +0 -0
  544. data/public/images/cms/pages/container_border.gif +0 -0
  545. data/public/images/cms/pages/container_border_l.gif +0 -0
  546. data/public/images/cms/pages/container_border_r.gif +0 -0
  547. data/public/images/cms/pages/delete_connectable.gif +0 -0
  548. data/public/images/cms/pages/down_connectable.gif +0 -0
  549. data/public/images/cms/pages/down_connectable_disabled.gif +0 -0
  550. data/public/images/cms/pages/edit_connectable.gif +0 -0
  551. data/public/images/cms/pages/edit_connectable_2.gif +0 -0
  552. data/public/images/cms/pages/show_connectable.gif +0 -0
  553. data/public/images/cms/pages/up_connectable.gif +0 -0
  554. data/public/images/cms/pages/up_connectable_disabled.gif +0 -0
  555. data/public/images/cms/pagination/first.gif +0 -0
  556. data/public/images/cms/pagination/first_h.gif +0 -0
  557. data/public/images/cms/pagination/input.gif +0 -0
  558. data/public/images/cms/pagination/last.gif +0 -0
  559. data/public/images/cms/pagination/last_h.gif +0 -0
  560. data/public/images/cms/pagination/next.gif +0 -0
  561. data/public/images/cms/pagination/next_h.gif +0 -0
  562. data/public/images/cms/pagination/previous.gif +0 -0
  563. data/public/images/cms/pagination/previous_h.gif +0 -0
  564. data/public/images/cms/published_status.gif +0 -0
  565. data/public/images/cms/search.png +0 -0
  566. data/public/images/cms/search_submit.gif +0 -0
  567. data/public/images/cms/search_submit_h.gif +0 -0
  568. data/public/images/cms/searchbox_gradient.gif +0 -0
  569. data/public/images/cms/select_bg.gif +0 -0
  570. data/public/images/cms/select_bg_2.gif +0 -0
  571. data/public/images/cms/sitemap/bottom_cap.png +0 -0
  572. data/public/images/cms/sitemap/buffer_caps.png +0 -0
  573. data/public/images/cms/sitemap/contract.png +0 -0
  574. data/public/images/cms/sitemap/corners.gif +0 -0
  575. data/public/images/cms/sitemap/corners_hover.gif +0 -0
  576. data/public/images/cms/sitemap/divider.gif +0 -0
  577. data/public/images/cms/sitemap/expand.png +0 -0
  578. data/public/images/cms/sitemap/gradient.gif +0 -0
  579. data/public/images/cms/sitemap/gray_contract.png +0 -0
  580. data/public/images/cms/sitemap/gray_expand.png +0 -0
  581. data/public/images/cms/sitemap/no_contents.png +0 -0
  582. data/public/images/cms/sitemap/site_root_cap.png +0 -0
  583. data/public/images/cms/sitemap/tooltip.gif +0 -0
  584. data/public/images/cms/sitemap/top_cap_content.png +0 -0
  585. data/public/images/cms/solid.gif +0 -0
  586. data/public/images/cms/table/bl.gif +0 -0
  587. data/public/images/cms/table/br.gif +0 -0
  588. data/public/images/cms/table/divider.gif +0 -0
  589. data/public/images/cms/table/td_cap_first_h.gif +0 -0
  590. data/public/images/cms/table/td_cap_first_s.gif +0 -0
  591. data/public/images/cms/table/td_cap_last_h.gif +0 -0
  592. data/public/images/cms/table/td_cap_last_s.gif +0 -0
  593. data/public/images/cms/table/td_last_bg.gif +0 -0
  594. data/public/images/cms/table/th_bg.gif +0 -0
  595. data/public/images/cms/table/th_divider.gif +0 -0
  596. data/public/images/cms/table/th_last_bg.gif +0 -0
  597. data/public/images/cms/table/tl.gif +0 -0
  598. data/public/images/cms/table/tr.gif +0 -0
  599. data/public/images/cms/table/tr_bg.gif +0 -0
  600. data/public/images/cms/thickbox/loadingAnimation.gif +0 -0
  601. data/public/images/cms/thickbox/macFFBgHack.png +0 -0
  602. data/public/images/cms/toolbar_bg.png +0 -0
  603. data/public/images/cms/top_cap.png +0 -0
  604. data/public/images/cms/top_cap_content.png +0 -0
  605. data/public/images/cms/top_cap_menu_header.png +0 -0
  606. data/public/images/cms/user_search_submit.gif +0 -0
  607. data/public/images/cms/usercontrols_bg.png +0 -0
  608. data/public/images/cms/usercontrols_bg_cap.png +0 -0
  609. data/public/images/rails.png +0 -0
  610. data/public/javascripts/application.js +0 -2
  611. data/public/javascripts/cms/application.js +0 -148
  612. data/public/javascripts/cms/content_library.js +0 -36
  613. data/public/javascripts/cms/sitemap.js +0 -438
  614. data/public/javascripts/controls.js +0 -963
  615. data/public/javascripts/dragdrop.js +0 -973
  616. data/public/javascripts/effects.js +0 -1128
  617. data/public/javascripts/jquery-ui.js +0 -591
  618. data/public/javascripts/jquery.contextMenu.js +0 -211
  619. data/public/javascripts/jquery.cookie.js +0 -96
  620. data/public/javascripts/jquery.dimensions.js +0 -119
  621. data/public/javascripts/jquery.js +0 -11
  622. data/public/javascripts/jquery.selectbox-0.5.js +0 -209
  623. data/public/javascripts/jquery.taglist.js +0 -136
  624. data/public/javascripts/jquery.thickbox.js +0 -10
  625. data/public/javascripts/prototype.js +0 -4320
  626. data/public/robots.txt +0 -5
  627. data/public/site/customconfig.js +0 -1
  628. data/public/stylesheets/cms/administration.css +0 -91
  629. data/public/stylesheets/cms/application.css +0 -166
  630. data/public/stylesheets/cms/block.css +0 -26
  631. data/public/stylesheets/cms/buttons.css +0 -120
  632. data/public/stylesheets/cms/content_library.css +0 -139
  633. data/public/stylesheets/cms/content_types.css +0 -4
  634. data/public/stylesheets/cms/dashboard.css +0 -118
  635. data/public/stylesheets/cms/data_table.css +0 -156
  636. data/public/stylesheets/cms/date_picker.css +0 -73
  637. data/public/stylesheets/cms/form_layout.css +0 -279
  638. data/public/stylesheets/cms/jquery.contextMenu.css +0 -61
  639. data/public/stylesheets/cms/login.css +0 -78
  640. data/public/stylesheets/cms/menu.css +0 -116
  641. data/public/stylesheets/cms/nav.css +0 -99
  642. data/public/stylesheets/cms/page_toolbar.css +0 -135
  643. data/public/stylesheets/cms/reset.css +0 -46
  644. data/public/stylesheets/cms/selectbox.css +0 -56
  645. data/public/stylesheets/cms/sitemap.css +0 -390
  646. data/public/stylesheets/cms/taglist.css +0 -18
  647. data/public/stylesheets/cms/thickbox.css +0 -163
  648. data/script/about +0 -4
  649. data/script/console +0 -3
  650. data/script/dbconsole +0 -3
  651. data/script/destroy +0 -3
  652. data/script/generate +0 -3
  653. data/script/performance/benchmarker +0 -3
  654. data/script/performance/profiler +0 -3
  655. data/script/plugin +0 -3
  656. data/script/runner +0 -3
  657. data/script/server +0 -3
@@ -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
- (function()
7
- {
8
- var entities =
9
-
10
- // Base HTML entities.
11
- 'nbsp,gt,lt,quot,' +
12
-
13
- // Latin-1 Entities
14
- 'iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' +
15
- 'not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,' +
16
- 'cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,' +
17
-
18
- // Symbols
19
- 'fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,' +
20
- 'alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,' +
21
- 'forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,' +
22
- 'radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,' +
23
- 'equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,' +
24
- 'rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,' +
25
-
26
- // Other Special Characters
27
- 'circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,' +
28
- 'rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,' +
29
- 'euro';
30
-
31
- // Latin Letters Entities
32
- var latin =
33
- 'Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,' +
34
- 'Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,' +
35
- 'Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,' +
36
- 'agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,' +
37
- 'ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,' +
38
- 'otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,' +
39
- 'OElig,oelig,Scaron,scaron,Yuml';
40
-
41
- // Greek Letters Entities.
42
- var greek =
43
- 'Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,' +
44
- 'Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,' +
45
- 'beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,' +
46
- 'omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,' +
47
- 'upsih,piv';
48
-
49
- function buildTable( entities )
50
- {
51
- var table = {},
52
- regex = [];
53
-
54
- // Entities that the browsers DOM don't transform to the final char
55
- // automatically.
56
- var specialTable =
57
- {
58
- nbsp : '\u00A0', // IE | FF
59
- shy : '\u00AD', // IE
60
- gt : '\u003E', // IE | FF | -- | Opera
61
- lt : '\u003C' // IE | FF | Safari | Opera
62
- };
63
-
64
- entities = entities.replace( /\b(nbsp|shy|gt|lt|amp)(?:,|$)/g, function( match, entity )
65
- {
66
- table[ specialTable[ entity ] ] = '&' + entity + ';';
67
- regex.push( specialTable[ entity ] );
68
- return '';
69
- });
70
-
71
- // Transforms the entities string into an array.
72
- entities = entities.split( ',' );
73
-
74
- // Put all entities inside a DOM element, transforming them to their
75
- // final chars.
76
- var div = document.createElement( 'div' ),
77
- chars;
78
- div.innerHTML = '&' + entities.join( ';&' ) + ';';
79
- chars = div.innerHTML;
80
- div = null;
81
-
82
- // Add all chars to the table.
83
- for ( var i = 0 ; i < chars.length ; i++ )
84
- {
85
- var charAt = chars.charAt( i );
86
- table[ charAt ] = '&' + entities[ i ] + ';';
87
- regex.push( charAt );
88
- }
89
-
90
- table.regex = regex.join( '' );
91
-
92
- return table;
93
- }
94
-
95
- CKEDITOR.plugins.add( 'entities',
96
- {
97
- afterInit : function( editor )
98
- {
99
- var config = editor.config;
100
-
101
- if ( !config.entities )
102
- return;
103
-
104
- var dataProcessor = editor.dataProcessor,
105
- htmlFilter = dataProcessor && dataProcessor.htmlFilter;
106
-
107
- if ( htmlFilter )
108
- {
109
- var selectedEntities = entities;
110
-
111
- if ( config.entities_latin )
112
- selectedEntities += ',' + latin;
113
-
114
- if ( config.entities_greek )
115
- selectedEntities += ',' + greek;
116
-
117
- if ( config.entities_additional )
118
- selectedEntities += ',' + config.entities_additional;
119
-
120
- var entitiesTable = buildTable( selectedEntities );
121
-
122
- // Create the Regex used to find entities in the text.
123
- var entitiesRegex = '[' + entitiesTable.regex + ']';
124
- delete entitiesTable.regex;
125
-
126
- if ( config.entities_processNumerical )
127
- entitiesRegex = '[^ -~]|' + entitiesRegex ;
128
-
129
- entitiesRegex = new RegExp( entitiesRegex, 'g' );
130
-
131
- function getChar( character )
132
- {
133
- return entitiesTable[ character ] || ( '&#' + character.charCodeAt(0) + ';' );
134
- }
135
-
136
- htmlFilter.addRules(
137
- {
138
- text : function( text )
139
- {
140
- return text.replace( entitiesRegex, getChar );
141
- }
142
- });
143
- }
144
- }
145
- });
146
- })();
147
-
148
- /**
149
- * Whether to use HTML entities in the output.
150
- * @type Boolean
151
- * @default true
152
- * @example
153
- * config.entities = false;
154
- */
155
- CKEDITOR.config.entities = true;
156
-
157
- /**
158
- * Whether to convert some Latin characters (Latin alphabet No&#46; 1, ISO 8859-1)
159
- * to HTML entities. The list of entities can be found at the
160
- * <a href="http://www.w3.org/TR/html4/sgml/entities.html#h-24.2.1">W3C HTML 4.01 Specification, section 24.2.1</a>.
161
- * @type Boolean
162
- * @default true
163
- * @example
164
- * config.entities_latin = false;
165
- */
166
- CKEDITOR.config.entities_latin = true;
167
-
168
- /**
169
- * Whether to convert some symbols, mathematical symbols, and Greek letters to
170
- * HTML entities. This may be more relevant for users typing text written in Greek.
171
- * The list of entities can be found at the
172
- * <a href="http://www.w3.org/TR/html4/sgml/entities.html#h-24.3.1">W3C HTML 4.01 Specification, section 24.3.1</a>.
173
- * @type Boolean
174
- * @default true
175
- * @example
176
- * config.entities_greek = false;
177
- */
178
- CKEDITOR.config.entities_greek = true;
179
-
180
- /**
181
- * Whether to convert all remaining characters, not comprised in the ASCII
182
- * character table, to their relative numeric representation of HTML entity.
183
- * For example, the phrase "This is Chinese: &#27721;&#35821;." is outputted
184
- * as "This is Chinese: &amp;#27721;&amp;#35821;."
185
- * @type Boolean
186
- * @default false
187
- * @example
188
- * config.entities_processNumerical = true;
189
- */
190
- CKEDITOR.config.entities_processNumerical = false;
191
-
192
- /**
193
- * An additional list of entities to be used. It's a string containing each
194
- * entry separated by a comma. Entities names or number must be used, exclusing
195
- * the "&amp;" preffix and the ";" termination.
196
- * @default '#39' // The single quote (') character.
197
- * @type String
198
- * @example
199
- */
200
- CKEDITOR.config.entities_additional = '#39';
@@ -1,111 +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
- (function()
7
- {
8
- var htmlFilterRules =
9
- {
10
- elements :
11
- {
12
- $ : function( element )
13
- {
14
- var realHtml = element.attributes._cke_realelement,
15
- realFragment = realHtml && new CKEDITOR.htmlParser.fragment.fromHtml( decodeURIComponent( realHtml ) ),
16
- realElement = realFragment && realFragment.children[ 0 ];
17
-
18
- if ( realElement )
19
- {
20
- // If we have width/height in the element, we must move it into
21
- // the real element.
22
-
23
- var style = element.attributes.style;
24
-
25
- if ( style )
26
- {
27
- // Get the width from the style.
28
- var match = /(?:^|\s)width\s*:\s*(\d+)/.exec( style ),
29
- width = match && match[1];
30
-
31
- // Get the height from the style.
32
- match = /(?:^|\s)height\s*:\s*(\d+)/.exec( style );
33
- var height = match && match[1];
34
-
35
- if ( width )
36
- realElement.attributes.width = width;
37
-
38
- if ( height )
39
- realElement.attributes.height = height;
40
- }
41
- }
42
-
43
- return realElement;
44
- }
45
- }
46
- };
47
-
48
- CKEDITOR.plugins.add( 'fakeobjects',
49
- {
50
- requires : [ 'htmlwriter' ],
51
-
52
- afterInit : function( editor )
53
- {
54
- var dataProcessor = editor.dataProcessor,
55
- htmlFilter = dataProcessor && dataProcessor.htmlFilter;
56
-
57
- if ( htmlFilter )
58
- htmlFilter.addRules( htmlFilterRules );
59
- }
60
- });
61
- })();
62
-
63
- CKEDITOR.editor.prototype.createFakeElement = function( realElement, className, realElementType, isResizable )
64
- {
65
- var lang = this.lang.fakeobjects;
66
- var attributes =
67
- {
68
- 'class' : className,
69
- src : CKEDITOR.getUrl( 'images/spacer.gif' ),
70
- _cke_realelement : encodeURIComponent( realElement.getOuterHtml() ),
71
- alt : lang[ realElementType ] || lang.unknown
72
- };
73
- if ( realElementType )
74
- attributes._cke_real_element_type = realElementType;
75
- if ( isResizable )
76
- attributes._cke_resizable = isResizable;
77
-
78
- return this.document.createElement( 'img', { attributes : attributes } );
79
- };
80
-
81
- CKEDITOR.editor.prototype.createFakeParserElement = function( realElement, className, realElementType, isResizable )
82
- {
83
- var writer = new CKEDITOR.htmlParser.basicWriter();
84
-
85
- realElement.writeHtml( writer );
86
-
87
- var html = writer.getHtml();
88
- var lang = this.lang.fakeobjects;
89
-
90
- var attributes =
91
- {
92
- 'class' : className,
93
- src : CKEDITOR.getUrl( 'images/spacer.gif' ),
94
- _cke_realelement : encodeURIComponent( html ),
95
- alt : lang[ realElementType ] || lang.unknown
96
- };
97
-
98
- if ( realElementType )
99
- attributes._cke_real_element_type = realElementType;
100
-
101
- if ( isResizable )
102
- attributes._cke_resizable = isResizable;
103
-
104
- return new CKEDITOR.htmlParser.element( 'img', attributes );
105
- };
106
-
107
- CKEDITOR.editor.prototype.restoreRealElement = function( fakeElement )
108
- {
109
- var html = decodeURIComponent( fakeElement.getAttribute( '_cke_realelement' ) );
110
- return CKEDITOR.dom.element.createFromHtml( html, this.document );
111
- };
@@ -1,383 +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 The "filebrowser" plugin, it adds support for file uploads and
8
- * browsing.
9
- *
10
- * When file is selected inside of the file browser or uploaded, its url is
11
- * inserted automatically to a field, which is described in the 'filebrowser'
12
- * attribute. To specify field that should be updated, pass the tab id and
13
- * element id, separated with a colon.
14
- *
15
- * Example 1: (Browse)
16
- *
17
- * <pre>
18
- * {
19
- * type : 'button',
20
- * id : 'browse',
21
- * filebrowser : 'tabId:elementId',
22
- * label : editor.lang.common.browseServer
23
- * }
24
- * </pre>
25
- *
26
- * If you set the 'filebrowser' attribute on any element other than
27
- * 'fileButton', the 'Browse' action will be triggered.
28
- *
29
- * Example 2: (Quick Upload)
30
- *
31
- * <pre>
32
- * {
33
- * type : 'fileButton',
34
- * id : 'uploadButton',
35
- * filebrowser : 'tabId:elementId',
36
- * label : editor.lang.common.uploadSubmit,
37
- * 'for' : [ 'upload', 'upload' ]
38
- * }
39
- * </pre>
40
- *
41
- * If you set the 'filebrowser' attribute on a fileButton element, the
42
- * 'QuickUpload' action will be executed.
43
- *
44
- * Filebrowser plugin also supports more advanced configuration (through
45
- * javascript object).
46
- *
47
- * The following settings are supported:
48
- *
49
- * <pre>
50
- * [action] - Browse or QuickUpload
51
- * [target] - field to update, tabId:elementId
52
- * [params] - additional arguments to be passed to the server connector (optional)
53
- * [onSelect] - function to execute when file is selected/uploaded (optional)
54
- * [url] - the URL to be called (optional)
55
- * </pre>
56
- *
57
- * Example 3: (Quick Upload)
58
- *
59
- * <pre>
60
- * {
61
- * type : 'fileButton',
62
- * label : editor.lang.common.uploadSubmit,
63
- * id : 'buttonId',
64
- * filebrowser :
65
- * {
66
- * action : 'QuickUpload', //required
67
- * target : 'tab1:elementId', //required
68
- * params : //optional
69
- * {
70
- * type : 'Files',
71
- * currentFolder : '/folder/'
72
- * },
73
- * onSelect : function( fileUrl, errorMessage ) //optional
74
- * {
75
- * // Do not call the built-in selectFuntion
76
- * // return false;
77
- * }
78
- * },
79
- * 'for' : [ 'tab1', 'myFile' ]
80
- * }
81
- * </pre>
82
- *
83
- * Suppose we have a file element with id 'myFile', text field with id
84
- * 'elementId' and a fileButton. If filebowser.url is not specified explicitly,
85
- * form action will be set to 'filebrowser[DialogName]UploadUrl' or, if not
86
- * specified, to 'filebrowserUploadUrl'. Additional parameters from 'params'
87
- * object will be added to the query string. It is possible to create your own
88
- * uploadHandler and cancel the built-in updateTargetElement command.
89
- *
90
- * Example 4: (Browse)
91
- *
92
- * <pre>
93
- * {
94
- * type : 'button',
95
- * id : 'buttonId',
96
- * label : editor.lang.common.browseServer,
97
- * filebrowser :
98
- * {
99
- * action : 'Browse',
100
- * url : '/ckfinder/ckfinder.html&amp;type=Images',
101
- * target : 'tab1:elementId'
102
- * }
103
- * }
104
- * </pre>
105
- *
106
- * In this example, after pressing a button, file browser will be opened in a
107
- * popup. If we don't specify filebrowser.url attribute,
108
- * 'filebrowser[DialogName]BrowseUrl' or 'filebrowserBrowseUrl' will be used.
109
- * After selecting a file in a file browser, an element with id 'elementId' will
110
- * be updated. Just like in the third example, a custom 'onSelect' function may be
111
- * defined.
112
- */
113
- ( function()
114
- {
115
- /**
116
- * Adds (additional) arguments to given url.
117
- *
118
- * @param {String}
119
- * url The url.
120
- * @param {Object}
121
- * params Additional parameters.
122
- */
123
- function addQueryString( url, params )
124
- {
125
- var queryString = [];
126
-
127
- if ( !params )
128
- return url;
129
- else
130
- {
131
- for ( var i in params )
132
- queryString.push( i + "=" + encodeURIComponent( params[ i ] ) );
133
- }
134
-
135
- return url + ( ( url.indexOf( "?" ) != -1 ) ? "&" : "?" ) + queryString.join( "&" );
136
- }
137
-
138
- /**
139
- * Make a string's first character uppercase.
140
- *
141
- * @param {String}
142
- * str String.
143
- */
144
- function ucFirst( str )
145
- {
146
- str += '';
147
- var f = str.charAt( 0 ).toUpperCase();
148
- return f + str.substr( 1 );
149
- }
150
-
151
- /**
152
- * The onlick function assigned to the 'Browse Server' button. Opens the
153
- * file browser and updates target field when file is selected.
154
- *
155
- * @param {CKEDITOR.event}
156
- * evt The event object.
157
- */
158
- function browseServer( evt )
159
- {
160
- var dialog = this.getDialog();
161
- var editor = dialog.getParentEditor();
162
-
163
- editor._.filebrowserSe = this;
164
-
165
- var width = editor.config[ 'filebrowser' + ucFirst( dialog.getName() ) + 'WindowWidth' ]
166
- || editor.config.filebrowserWindowWidth || '80%';
167
- var height = editor.config[ 'filebrowser' + ucFirst( dialog.getName() ) + 'WindowHeight' ]
168
- || editor.config.filebrowserWindowHeight || '70%';
169
-
170
- var params = this.filebrowser.params || {};
171
- params.CKEditor = editor.name;
172
- params.CKEditorFuncNum = editor._.filebrowserFn;
173
- if ( !params.langCode )
174
- params.langCode = editor.langCode;
175
-
176
- var url = addQueryString( this.filebrowser.url, params );
177
- editor.popup( url, width, height );
178
- }
179
-
180
- /**
181
- * The onlick function assigned to the 'Upload' button. Makes the final
182
- * decision whether form is really submitted and updates target field when
183
- * file is uploaded.
184
- *
185
- * @param {CKEDITOR.event}
186
- * evt The event object.
187
- */
188
- function uploadFile( evt )
189
- {
190
- var dialog = this.getDialog();
191
- var editor = dialog.getParentEditor();
192
-
193
- editor._.filebrowserSe = this;
194
-
195
- // If user didn't select the file, stop the upload.
196
- if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getInputElement().$.value )
197
- return false;
198
-
199
- if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getAction() )
200
- return false;
201
-
202
- return true;
203
- }
204
-
205
- /**
206
- * Setups the file element.
207
- *
208
- * @param {CKEDITOR.ui.dialog.file}
209
- * fileInput The file element used during file upload.
210
- * @param {Object}
211
- * filebrowser Object containing filebrowser settings assigned to
212
- * the fileButton associated with this file element.
213
- */
214
- function setupFileElement( editor, fileInput, filebrowser )
215
- {
216
- var params = filebrowser.params || {};
217
- params.CKEditor = editor.name;
218
- params.CKEditorFuncNum = editor._.filebrowserFn;
219
- if ( !params.langCode )
220
- params.langCode = editor.langCode;
221
-
222
- fileInput.action = addQueryString( filebrowser.url, params );
223
- fileInput.filebrowser = filebrowser;
224
- }
225
-
226
- /**
227
- * Traverse through the content definition and attach filebrowser to
228
- * elements with 'filebrowser' attribute.
229
- *
230
- * @param String
231
- * dialogName Dialog name.
232
- * @param {CKEDITOR.dialog.dialogDefinitionObject}
233
- * definition Dialog definition.
234
- * @param {Array}
235
- * elements Array of {@link CKEDITOR.dialog.contentDefinition}
236
- * objects.
237
- */
238
- function attachFileBrowser( editor, dialogName, definition, elements )
239
- {
240
- var element, fileInput;
241
-
242
- for ( var i in elements )
243
- {
244
- element = elements[ i ];
245
-
246
- if ( element.type == 'hbox' || element.type == 'vbox' )
247
- attachFileBrowser( editor, dialogName, definition, element.children );
248
-
249
- if ( !element.filebrowser )
250
- continue;
251
-
252
- if ( typeof element.filebrowser == 'string' )
253
- {
254
- var fb =
255
- {
256
- action : ( element.type == 'fileButton' ) ? 'QuickUpload' : 'Browse',
257
- target : element.filebrowser
258
- };
259
- element.filebrowser = fb;
260
- }
261
-
262
- if ( element.filebrowser.action == 'Browse' )
263
- {
264
- var url = element.filebrowser.url || editor.config[ 'filebrowser' + ucFirst( dialogName ) + 'BrowseUrl' ]
265
- || editor.config.filebrowserBrowseUrl;
266
-
267
- if ( url )
268
- {
269
- element.onClick = browseServer;
270
- element.filebrowser.url = url;
271
- element.hidden = false;
272
- }
273
- }
274
- else if ( element.filebrowser.action == 'QuickUpload' && element[ 'for' ] )
275
- {
276
- url = element.filebrowser.url || editor.config[ 'filebrowser' + ucFirst( dialogName ) + 'UploadUrl' ]
277
- || editor.config.filebrowserUploadUrl;
278
-
279
- if ( url )
280
- {
281
- element.onClick = uploadFile;
282
- element.filebrowser.url = url;
283
- element.hidden = false;
284
- setupFileElement( editor, definition.getContents( element[ 'for' ][ 0 ] ).get( element[ 'for' ][ 1 ] ), element.filebrowser );
285
- }
286
- }
287
- }
288
- }
289
-
290
- /**
291
- * Updates the target element with the url of uploaded/selected file.
292
- *
293
- * @param {String}
294
- * url The url of a file.
295
- */
296
- function updateTargetElement( url, sourceElement )
297
- {
298
- var dialog = sourceElement.getDialog();
299
- var targetElement = sourceElement.filebrowser.target || null;
300
- url = url.replace( /#/g, '%23' );
301
-
302
- // If there is a reference to targetElement, update it.
303
- if ( targetElement )
304
- {
305
- var target = targetElement.split( ':' );
306
- var element = dialog.getContentElement( target[ 0 ], target[ 1 ] );
307
- if ( element )
308
- {
309
- element.setValue( url );
310
- dialog.selectPage( target[ 0 ] );
311
- }
312
- }
313
- }
314
-
315
- /**
316
- * Returns true if filebrowser is configured in one of the elements.
317
- *
318
- * @param {CKEDITOR.dialog.dialogDefinitionObject}
319
- * definition Dialog definition.
320
- * @param String
321
- * tabId The tab id where element(s) can be found.
322
- * @param String
323
- * elementId The element id (or ids, separated with a semicolon) to check.
324
- */
325
- function isConfigured( definition, tabId, elementId )
326
- {
327
- if ( elementId.indexOf( ";" ) !== -1 )
328
- {
329
- var ids = elementId.split( ";" );
330
- for ( var i = 0 ; i < ids.length ; i++ )
331
- {
332
- if ( isConfigured( definition, tabId, ids[i]) )
333
- return true;
334
- }
335
- return false;
336
- }
337
-
338
- return ( definition.getContents( tabId ).get( elementId ).filebrowser && definition.getContents( tabId ).get( elementId ).filebrowser.url );
339
- }
340
-
341
- function setUrl( fileUrl, data )
342
- {
343
- var dialog = this._.filebrowserSe.getDialog(),
344
- targetInput = this._.filebrowserSe[ 'for' ],
345
- onSelect = this._.filebrowserSe.filebrowser.onSelect;
346
-
347
- if ( targetInput )
348
- dialog.getContentElement( targetInput[ 0 ], targetInput[ 1 ] ).reset();
349
-
350
- if ( onSelect && onSelect.call( this._.filebrowserSe, fileUrl, data ) === false )
351
- return;
352
-
353
- // The "data" argument may be used to pass the error message to the editor.
354
- if ( typeof data == 'string' && data )
355
- alert( data );
356
-
357
- if ( fileUrl )
358
- updateTargetElement( fileUrl, this._.filebrowserSe );
359
- }
360
-
361
- CKEDITOR.plugins.add( 'filebrowser',
362
- {
363
- init : function( editor, pluginPath )
364
- {
365
- editor._.filebrowserFn = CKEDITOR.tools.addFunction( setUrl, editor );
366
-
367
- CKEDITOR.on( 'dialogDefinition', function( evt )
368
- {
369
- // Associate filebrowser to elements with 'filebrowser' attribute.
370
- for ( var i in evt.data.definition.contents )
371
- {
372
- attachFileBrowser( evt.editor, evt.data.name, evt.data.definition, evt.data.definition.contents[ i ].elements );
373
- if ( evt.data.definition.contents[ i ].hidden && evt.data.definition.contents[ i ].filebrowser )
374
- {
375
- evt.data.definition.contents[ i ].hidden =
376
- !isConfigured( evt.data.definition, evt.data.definition.contents[ i ][ 'id' ], evt.data.definition.contents[ i ].filebrowser );
377
- }
378
- }
379
- } );
380
- }
381
- } );
382
-
383
- } )();