typo 5.3 → 5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1662) hide show
  1. data/CHANGELOG +30 -627
  2. data/app/controllers/accounts_controller.rb +28 -8
  3. data/app/controllers/admin/base_controller.rb +0 -2
  4. data/app/controllers/admin/blacklist_controller.rb +1 -1
  5. data/app/controllers/admin/categories_controller.rb +1 -1
  6. data/app/controllers/admin/content_controller.rb +40 -20
  7. data/app/controllers/admin/dashboard_controller.rb +2 -0
  8. data/app/controllers/admin/feedback_controller.rb +5 -4
  9. data/app/controllers/admin/pages_controller.rb +1 -3
  10. data/app/controllers/admin/previews_controller.rb +10 -0
  11. data/app/controllers/admin/profiles_controller.rb +9 -27
  12. data/app/controllers/admin/resources_controller.rb +1 -4
  13. data/app/controllers/admin/settings_controller.rb +11 -5
  14. data/app/controllers/admin/tags_controller.rb +1 -1
  15. data/app/controllers/admin/themes_controller.rb +2 -0
  16. data/app/controllers/admin/users_controller.rb +6 -15
  17. data/app/controllers/application_controller.rb +76 -0
  18. data/app/controllers/articles_controller.rb +4 -8
  19. data/app/controllers/authors_controller.rb +21 -0
  20. data/app/controllers/backend_controller.rb +0 -1
  21. data/app/controllers/content_controller.rb +1 -5
  22. data/app/controllers/feedback_controller.rb +0 -1
  23. data/app/controllers/grouping_controller.rb +29 -7
  24. data/app/controllers/previews_controller.rb +10 -0
  25. data/app/controllers/redirect_controller.rb +3 -1
  26. data/app/controllers/theme_controller.rb +0 -4
  27. data/app/controllers/xml_controller.rb +7 -5
  28. data/app/helpers/admin/base_helper.rb +19 -13
  29. data/app/helpers/admin/users_helper.rb +12 -0
  30. data/app/helpers/application_helper.rb +20 -58
  31. data/app/helpers/articles_helper.rb +2 -2
  32. data/app/helpers/authors_helper.rb +5 -0
  33. data/app/models/article.rb +14 -28
  34. data/app/models/blog.rb +6 -38
  35. data/app/models/category.rb +2 -6
  36. data/app/models/content.rb +24 -18
  37. data/app/models/page.rb +0 -2
  38. data/app/models/page_cache.rb +4 -7
  39. data/app/models/sidebar.rb +6 -6
  40. data/app/models/text_filter.rb +1 -6
  41. data/app/models/theme.rb +7 -2
  42. data/app/models/trackback.rb +1 -5
  43. data/app/models/user.rb +13 -3
  44. data/app/views/accounts/confirm.html.erb +16 -0
  45. data/app/views/accounts/login.html.erb +30 -7
  46. data/app/views/accounts/signup.html.erb +16 -31
  47. data/app/views/admin/blacklist/_blacklist_patterns.html.erb +2 -1
  48. data/app/views/admin/blacklist/_form.html.erb +1 -1
  49. data/app/views/admin/blacklist/destroy.html.erb +7 -7
  50. data/app/views/admin/categories/_categories.html.erb +0 -4
  51. data/app/views/admin/categories/_form.html.erb +18 -20
  52. data/app/views/admin/categories/new.html.erb +5 -8
  53. data/app/views/admin/content/_article_list.html.erb +1 -5
  54. data/app/views/admin/content/_drafts.html.erb +4 -4
  55. data/app/views/admin/content/_form.html.erb +97 -87
  56. data/app/views/admin/content/_simple_editor.html.erb +4 -4
  57. data/app/views/admin/content/_visual_editor.html.erb +6 -5
  58. data/app/views/admin/content/index.html.erb +3 -5
  59. data/app/views/admin/content/new.html.erb +1 -1
  60. data/app/views/admin/dashboard/_comments.html.erb +2 -3
  61. data/app/views/admin/dashboard/_inbound.html.erb +2 -5
  62. data/app/views/admin/dashboard/_popular.html.erb +1 -1
  63. data/app/views/admin/dashboard/_posts.html.erb +1 -2
  64. data/app/views/admin/dashboard/_sysinfo.html.erb +4 -6
  65. data/app/views/admin/dashboard/_typo_dev.html.erb +4 -4
  66. data/app/views/admin/dashboard/_welcome.html.erb +3 -3
  67. data/app/views/admin/dashboard/index.html.erb +14 -8
  68. data/app/views/admin/feedback/_button.html.erb +6 -6
  69. data/app/views/admin/feedback/_form.html.erb +29 -18
  70. data/app/views/admin/feedback/article.html.erb +1 -1
  71. data/app/views/admin/feedback/index.html.erb +18 -10
  72. data/app/views/admin/pages/_form.html.erb +65 -47
  73. data/app/views/admin/pages/_pages.html.erb +1 -3
  74. data/app/views/admin/pages/_visual_editor.html.erb +1 -1
  75. data/app/views/admin/profiles/index.html.erb +6 -0
  76. data/app/views/admin/resources/_resources.html.erb +3 -6
  77. data/app/views/admin/resources/index.html.erb +14 -9
  78. data/app/views/admin/settings/_submit.html.erb +2 -2
  79. data/app/views/admin/settings/feedback.html.erb +96 -90
  80. data/app/views/admin/settings/index.html.erb +78 -46
  81. data/app/views/admin/settings/seo.html.erb +72 -63
  82. data/app/views/admin/settings/write.html.erb +21 -29
  83. data/app/views/admin/sidebar/index.html.erb +2 -2
  84. data/app/views/admin/tags/index.html.erb +18 -9
  85. data/app/views/admin/themes/catalogue.html.erb +6 -14
  86. data/app/views/admin/themes/index.html.erb +6 -12
  87. data/app/views/admin/users/_form.html.erb +181 -63
  88. data/app/views/admin/users/edit.html.erb +2 -5
  89. data/app/views/admin/users/index.html.erb +24 -29
  90. data/app/views/admin/users/new.html.erb +1 -5
  91. data/app/views/articles/_article.html.erb +15 -1
  92. data/app/views/articles/_atom_feed.atom.builder +1 -1
  93. data/app/views/articles/_rss20_feed.rss.builder +4 -2
  94. data/app/views/articles/read.html.erb +3 -3
  95. data/app/views/articles/search.html.erb +1 -1
  96. data/app/views/authors/show.html.erb +37 -0
  97. data/app/views/layouts/accounts.html.erb +3 -4
  98. data/app/views/layouts/administration.html.erb +29 -32
  99. data/app/views/shared/_search.html.erb +10 -0
  100. data/app/views/xml/_atom10_item_article.atom.builder +1 -3
  101. data/bin/typo +4 -0
  102. data/config/boot.rb +3 -2
  103. data/config/environment.rb +32 -109
  104. data/config/environments/cucumber.rb +23 -0
  105. data/config/environments/development.rb +1 -1
  106. data/config/environments/test.rb +5 -0
  107. data/config/initializers/access_rules.rb +20 -23
  108. data/config/locales/nl.rb +103 -0
  109. data/config/routes.rb +10 -4
  110. data/db/migrate/001_initial_schema.rb +4 -0
  111. data/db/migrate/057_add_categorization_model.rb +12 -5
  112. data/db/migrate/060_cleanup_contents_table.rb +9 -1
  113. data/db/migrate/067_remove_blog_ids.rb +9 -1
  114. data/db/migrate/075_move_editor_to_user.rb +1 -11
  115. data/db/migrate/078_add_textfilter_to_users.rb +1 -5
  116. data/db/migrate/079_move_editor_as_string.rb +1 -5
  117. data/db/migrate/080_add_state_to_user.rb +1 -5
  118. data/db/migrate/082_add_users_options.rb +35 -0
  119. data/db/migrate/083_add_users_display_perms.rb +19 -0
  120. data/db/migrate/084_move_users_to_profiles.rb +19 -0
  121. data/db/migrate/085_add_article_parent_draft.rb +9 -0
  122. data/db/migrate/086_add_user_last_connection.rb +9 -0
  123. data/db/schema.rb +18 -2
  124. data/doc/test_themes.rb +50 -0
  125. data/lang/fr_FR.rb +593 -538
  126. data/lang/he_IL.rb +2 -2
  127. data/lang/ja_JP.rb +449 -295
  128. data/lang/nl_NL.rb +657 -0
  129. data/lang/zh_TW.rb +597 -0
  130. data/lib/stateful.rb +1 -1
  131. data/lib/tasks/cucumber.rake +20 -0
  132. data/lib/tasks/release.rake +9 -5
  133. data/lib/tasks/rspec.rake +69 -44
  134. data/lib/tasks/sweep_cache.rake +0 -1
  135. data/lib/typo_version.rb +1 -1
  136. data/public/images/admin/blue_block_bottom_left.jpg +0 -0
  137. data/public/images/admin/blue_block_bottom_right.jpg +0 -0
  138. data/public/images/admin/blue_block_top_left.jpg +0 -0
  139. data/public/images/admin/blue_block_top_right.jpg +0 -0
  140. data/public/images/admin/editor_active_top_left.jpg +0 -0
  141. data/public/images/admin/editor_active_top_right.jpg +0 -0
  142. data/public/images/admin/editor_bottom_left.jpg +0 -0
  143. data/public/images/admin/editor_bottom_right.jpg +0 -0
  144. data/public/images/admin/input_text_left.jpg +0 -0
  145. data/public/images/admin/input_text_right.jpg +0 -0
  146. data/public/images/admin/input_text_small_left.jpg +0 -0
  147. data/public/images/admin/input_text_small_right.jpg +0 -0
  148. data/public/images/admin/publisher_bottom.jpg +0 -0
  149. data/public/images/admin/publisher_top.jpg +0 -0
  150. data/public/images/close.gif +0 -0
  151. data/public/images/loading.gif +0 -0
  152. data/public/images/nextlabel.gif +0 -0
  153. data/public/images/prevlabel.gif +0 -0
  154. data/public/javascripts/administration.js +1 -10
  155. data/public/javascripts/builder.js +136 -0
  156. data/public/javascripts/ckcustom.js +27 -0
  157. data/public/javascripts/ckeditor/.htaccess +24 -0
  158. data/public/javascripts/ckeditor/CHANGES.html +254 -0
  159. data/public/javascripts/ckeditor/INSTALL.html +92 -0
  160. data/public/javascripts/ckeditor/LICENSE.html +1334 -0
  161. data/public/javascripts/ckeditor/ckeditor.js +108 -0
  162. data/public/javascripts/ckeditor/ckeditor.pack +199 -0
  163. data/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
  164. data/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
  165. data/public/javascripts/ckeditor/ckeditor_source.js +25 -0
  166. data/public/javascripts/ckeditor/config.bak +11 -0
  167. data/public/javascripts/ckeditor/config.js +27 -0
  168. data/public/javascripts/ckeditor/contents.css +35 -0
  169. data/public/javascripts/{fckeditor/editor → ckeditor}/images/spacer.gif +0 -0
  170. data/public/javascripts/ckeditor/lang/_languages.js +6 -0
  171. data/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
  172. data/public/javascripts/ckeditor/lang/af.js +6 -0
  173. data/public/javascripts/ckeditor/lang/ar.js +6 -0
  174. data/public/javascripts/ckeditor/lang/bg.js +6 -0
  175. data/public/javascripts/ckeditor/lang/bn.js +6 -0
  176. data/public/javascripts/ckeditor/lang/bs.js +6 -0
  177. data/public/javascripts/ckeditor/lang/ca.js +6 -0
  178. data/public/javascripts/ckeditor/lang/cs.js +6 -0
  179. data/public/javascripts/ckeditor/lang/da.js +6 -0
  180. data/public/javascripts/ckeditor/lang/de.js +6 -0
  181. data/public/javascripts/ckeditor/lang/el.js +6 -0
  182. data/public/javascripts/ckeditor/lang/en-au.js +6 -0
  183. data/public/javascripts/ckeditor/lang/en-ca.js +6 -0
  184. data/public/javascripts/ckeditor/lang/en-uk.js +6 -0
  185. data/public/javascripts/ckeditor/lang/en.js +6 -0
  186. data/public/javascripts/ckeditor/lang/eo.js +6 -0
  187. data/public/javascripts/ckeditor/lang/es.js +6 -0
  188. data/public/javascripts/ckeditor/lang/et.js +6 -0
  189. data/public/javascripts/ckeditor/lang/eu.js +6 -0
  190. data/public/javascripts/ckeditor/lang/fa.js +6 -0
  191. data/public/javascripts/ckeditor/lang/fi.js +6 -0
  192. data/public/javascripts/ckeditor/lang/fo.js +6 -0
  193. data/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
  194. data/public/javascripts/ckeditor/lang/fr.js +6 -0
  195. data/public/javascripts/ckeditor/lang/gl.js +6 -0
  196. data/public/javascripts/ckeditor/lang/gu.js +6 -0
  197. data/public/javascripts/ckeditor/lang/he.js +6 -0
  198. data/public/javascripts/ckeditor/lang/hi.js +6 -0
  199. data/public/javascripts/ckeditor/lang/hr.js +6 -0
  200. data/public/javascripts/ckeditor/lang/hu.js +6 -0
  201. data/public/javascripts/ckeditor/lang/is.js +6 -0
  202. data/public/javascripts/ckeditor/lang/it.js +6 -0
  203. data/public/javascripts/ckeditor/lang/ja.js +6 -0
  204. data/public/javascripts/ckeditor/lang/km.js +6 -0
  205. data/public/javascripts/ckeditor/lang/ko.js +6 -0
  206. data/public/javascripts/ckeditor/lang/lt.js +6 -0
  207. data/public/javascripts/ckeditor/lang/lv.js +6 -0
  208. data/public/javascripts/ckeditor/lang/mn.js +6 -0
  209. data/public/javascripts/ckeditor/lang/ms.js +6 -0
  210. data/public/javascripts/ckeditor/lang/nb.js +6 -0
  211. data/public/javascripts/ckeditor/lang/nl.js +6 -0
  212. data/public/javascripts/ckeditor/lang/no.js +6 -0
  213. data/public/javascripts/ckeditor/lang/pl.js +6 -0
  214. data/public/javascripts/ckeditor/lang/pt-br.js +6 -0
  215. data/public/javascripts/ckeditor/lang/pt.js +6 -0
  216. data/public/javascripts/ckeditor/lang/ro.js +6 -0
  217. data/public/javascripts/ckeditor/lang/ru.js +6 -0
  218. data/public/javascripts/ckeditor/lang/sk.js +6 -0
  219. data/public/javascripts/ckeditor/lang/sl.js +6 -0
  220. data/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
  221. data/public/javascripts/ckeditor/lang/sr.js +6 -0
  222. data/public/javascripts/ckeditor/lang/sv.js +6 -0
  223. data/public/javascripts/ckeditor/lang/th.js +6 -0
  224. data/public/javascripts/ckeditor/lang/tr.js +6 -0
  225. data/public/javascripts/ckeditor/lang/uk.js +6 -0
  226. data/public/javascripts/ckeditor/lang/vi.js +6 -0
  227. data/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
  228. data/public/javascripts/ckeditor/lang/zh.js +6 -0
  229. data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
  230. data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  231. data/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
  232. data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
  233. data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
  234. data/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
  235. data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
  236. data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
  237. data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
  238. data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +6 -0
  239. data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +6 -0
  240. data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
  241. data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  242. data/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
  243. data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
  244. data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
  245. data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
  246. data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
  247. data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
  248. data/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
  249. data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
  250. data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
  251. data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
  252. data/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
  253. data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
  254. data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  255. data/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
  256. data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
  257. data/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
  258. data/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
  259. data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
  260. data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
  261. data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
  262. data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
  263. data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
  264. data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
  265. data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
  266. data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
  267. data/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
  268. data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
  269. data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
  270. data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
  271. data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
  272. data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
  273. data/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
  274. data/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
  275. data/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
  276. data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
  277. data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
  278. data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
  279. data/public/javascripts/{fckeditor/editor → ckeditor/plugins/link}/images/anchor.gif +0 -0
  280. data/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
  281. data/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
  282. data/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
  283. data/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
  284. data/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
  285. data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
  286. data/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
  287. data/public/javascripts/{fckeditor/editor/css/images/fck_pagebreak.gif → ckeditor/plugins/pagebreak/images/pagebreak.gif} +0 -0
  288. data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
  289. data/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
  290. data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
  291. data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
  292. data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
  293. data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
  294. data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
  295. data/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
  296. data/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
  297. data/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
  298. data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
  299. data/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
  300. data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
  301. data/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
  302. data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
  303. data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
  304. data/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
  305. data/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
  306. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_address.png +0 -0
  307. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_blockquote.png +0 -0
  308. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_div.png +0 -0
  309. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h1.png +0 -0
  310. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h2.png +0 -0
  311. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h3.png +0 -0
  312. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h4.png +0 -0
  313. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h5.png +0 -0
  314. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h6.png +0 -0
  315. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_p.png +0 -0
  316. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_pre.png +0 -0
  317. data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
  318. data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
  319. data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  320. data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  321. data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  322. data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  323. data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  324. data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  325. data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  326. data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  327. data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  328. data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  329. data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  330. data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  331. data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  332. data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  333. data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  334. data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  335. data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  336. data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  337. data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  338. data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  339. data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  340. data/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
  341. data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
  342. data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
  343. data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
  344. data/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
  345. data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
  346. data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
  347. data/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
  348. data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
  349. data/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
  350. data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
  351. data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
  352. data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
  353. data/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
  354. data/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  355. data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template1.gif +0 -0
  356. data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template2.gif +0 -0
  357. data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template3.gif +0 -0
  358. data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
  359. data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
  360. data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
  361. data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
  362. data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  363. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  364. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  365. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  366. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  367. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
  368. data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
  369. data/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
  370. data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  371. data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  372. data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
  373. data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
  374. data/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
  375. data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
  376. data/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
  377. data/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
  378. data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
  379. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  380. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  381. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  382. data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  383. data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  384. data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  385. data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  386. data/public/javascripts/{fckeditor/editor/skins/silver/images/toolbar.start.gif → ckeditor/skins/kama/images/toolbar_start.gif} +0 -0
  387. data/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
  388. data/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
  389. data/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
  390. data/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
  391. data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  392. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  393. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  394. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  395. data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  396. data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  397. data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  398. data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  399. data/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
  400. data/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
  401. data/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
  402. data/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
  403. data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
  404. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  405. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  406. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  407. data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  408. data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  409. data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  410. data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  411. data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  412. data/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
  413. data/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
  414. data/public/javascripts/ckeditor/themes/default/theme.js +7 -0
  415. data/public/javascripts/controls.js +72 -72
  416. data/public/javascripts/dragdrop.js +165 -164
  417. data/public/javascripts/effects.js +173 -165
  418. data/public/javascripts/lang/nl_NL.js +21 -0
  419. data/public/javascripts/lang/zh_TW.js +17 -0
  420. data/public/javascripts/lightbox.js +470 -175
  421. data/public/stylesheets/administration.css +404 -656
  422. data/public/stylesheets/border-radius-ie8.htc +34 -0
  423. data/public/stylesheets/lightbox.css +21 -56
  424. data/public/stylesheets/user-styles.css +4 -2
  425. data/script/autospec +1 -0
  426. data/script/spec +9 -3
  427. data/script/spec_server +5 -112
  428. data/spec/controllers/accounts_controller_spec.rb +30 -16
  429. data/spec/controllers/admin/blacklist_controller_spec.rb +7 -12
  430. data/spec/controllers/admin/cache_controller_spec.rb +0 -5
  431. data/spec/controllers/admin/categories_controller_spec.rb +11 -16
  432. data/spec/controllers/admin/content_controller_spec.rb +14 -19
  433. data/spec/controllers/admin/feedback_controller_spec.rb +12 -1
  434. data/spec/controllers/admin/pages_controller_spec.rb +20 -17
  435. data/spec/controllers/admin/profiles_controller_spec.rb +17 -8
  436. data/spec/controllers/admin/resources_controller_spec.rb +3 -14
  437. data/spec/controllers/admin/settings_controller_spec.rb +0 -5
  438. data/spec/controllers/admin/tags_controller_spec.rb +1 -7
  439. data/spec/controllers/admin/textfilters_controller_spec.rb +0 -5
  440. data/spec/controllers/admin/themes_controller_spec.rb +3 -3
  441. data/spec/controllers/admin/users_controller_spec.rb +59 -41
  442. data/spec/controllers/application_controller_spec.rb +18 -0
  443. data/spec/controllers/articles_controller_spec.rb +88 -39
  444. data/spec/controllers/authors_controller_spec.rb +42 -0
  445. data/spec/controllers/backend_controller_spec.rb +30 -35
  446. data/spec/controllers/categories_controller_spec.rb +20 -22
  447. data/spec/controllers/comments_controller_spec.rb +3 -3
  448. data/spec/controllers/previews_controller_spec.rb +28 -0
  449. data/spec/controllers/redirect_controller_spec.rb +36 -35
  450. data/spec/controllers/tags_controller_spec.rb +15 -10
  451. data/spec/controllers/textfilter_controller_spec.rb +11 -72
  452. data/spec/controllers/theme_controller_spec.rb +8 -12
  453. data/spec/controllers/xml_controller_spec.rb +59 -101
  454. data/spec/factories.rb +25 -0
  455. data/spec/models/article_closing_spec.rb +4 -4
  456. data/spec/models/article_spec.rb +119 -30
  457. data/spec/models/blacklist_pattern_spec.rb +1 -1
  458. data/spec/models/blog_spec.rb +0 -1
  459. data/spec/models/comment_spec.rb +0 -4
  460. data/spec/models/configuration_spec.rb +1 -1
  461. data/spec/models/content_state/feedback_states_spec.rb +4 -4
  462. data/spec/models/notification_spec.rb +2 -2
  463. data/spec/models/ping_pinger_spec.rb +3 -3
  464. data/spec/models/ping_spec.rb +34 -47
  465. data/spec/models/route_cache_spec.rb +2 -2
  466. data/spec/models/sidebar_spec.rb +2 -2
  467. data/spec/models/theme_spec.rb +4 -4
  468. data/spec/models/trigger_spec.rb +1 -0
  469. data/spec/models/user_spec.rb +92 -39
  470. data/spec/rcov.opts +2 -0
  471. data/spec/spec_helper.rb +92 -19
  472. data/spec/views/articles/index_spec.rb +2 -2
  473. data/spec/views/articles/read_spec.rb +16 -0
  474. data/spec/views/comments/html_sanitization_spec.rb +16 -0
  475. data/test/fixtures/contents.yml +28 -11
  476. data/test/fixtures/feedback.yml +14 -0
  477. data/test/fixtures/profiles.yml +1 -0
  478. data/test/fixtures/users.yml +9 -1
  479. data/test/test_helper.rb +2 -151
  480. data/themes/dirtylicious/layouts/default.html.erb +1 -1
  481. data/themes/dirtylicious/views/articles/_article.html.erb +14 -10
  482. data/themes/dirtylicious/views/articles/_comment_form.html.erb +1 -1
  483. data/themes/dirtylicious/views/articles/read.html.erb +4 -4
  484. data/themes/scribbish/layouts/default.html.erb +1 -1
  485. data/themes/scribbish/views/articles/_article.html.erb +13 -9
  486. data/themes/scribbish/views/articles/_comment_form.html.erb +1 -1
  487. data/themes/scribbish/views/articles/read.html.erb +4 -4
  488. data/themes/standard_issue/layouts/default.html.erb +1 -1
  489. data/themes/standard_issue/views/articles/_article.html.erb +13 -9
  490. data/themes/standard_issue/views/articles/_comment_form.html.erb +1 -1
  491. data/themes/standard_issue/views/articles/read.html.erb +4 -4
  492. data/themes/true-blue-3/README +3 -0
  493. data/themes/true-blue-3/about.markdown +3 -0
  494. data/themes/true-blue-3/helpers/theme_helper.rb +85 -0
  495. data/themes/true-blue-3/images/background.gif +0 -0
  496. data/themes/true-blue-3/images/bg_input.jpg +0 -0
  497. data/themes/true-blue-3/images/bullet.jpg +0 -0
  498. data/themes/true-blue-3/images/comment.gif +0 -0
  499. data/themes/true-blue-3/images/comment.jpg +0 -0
  500. data/themes/true-blue-3/images/comment_bottom.gif +0 -0
  501. data/themes/true-blue-3/images/comment_fdv.gif +0 -0
  502. data/themes/true-blue-3/images/find.png +0 -0
  503. data/themes/true-blue-3/images/fleche1.png +0 -0
  504. data/themes/true-blue-3/images/fleche2.png +0 -0
  505. data/themes/true-blue-3/images/frederic-de-villamil.jpg +0 -0
  506. data/themes/true-blue-3/images/rss.png +0 -0
  507. data/themes/true-blue-3/images/searchform.png +0 -0
  508. data/themes/true-blue-3/images/textarea_bg.jpg +0 -0
  509. data/themes/true-blue-3/images/twitter.jpg +0 -0
  510. data/themes/true-blue-3/images/twitter.png +0 -0
  511. data/themes/true-blue-3/layouts/default.html.erb +52 -0
  512. data/themes/true-blue-3/preview.png +0 -0
  513. data/themes/true-blue-3/psd/true-blue-3.psd +0 -0
  514. data/themes/true-blue-3/psd/true-blue-3_article.psd +0 -0
  515. data/themes/true-blue-3/stylesheets/style.css +555 -0
  516. data/themes/true-blue-3/views/articles/_article.html.erb +21 -0
  517. data/themes/true-blue-3/views/articles/_comment.html.erb +14 -0
  518. data/themes/true-blue-3/views/articles/_comment_form.html.erb +23 -0
  519. data/themes/true-blue-3/views/articles/_comment_list.html.erb +8 -0
  520. data/themes/true-blue-3/views/articles/_trackback.html.erb +9 -0
  521. data/themes/true-blue-3/views/articles/comment_preview.html.erb +10 -0
  522. data/themes/true-blue-3/views/articles/index.html.erb +5 -0
  523. data/themes/true-blue-3/views/articles/read.html.erb +38 -0
  524. data/themes/true-blue-3/views/articles/search.html.erb +29 -0
  525. data/themes/true-blue-3/views/articles/view_page.html.erb +4 -0
  526. data/themes/true-blue-3/views/categories/_article.html.erb +22 -0
  527. data/themes/true-blue-3/views/categories/index.html.erb +13 -0
  528. data/themes/true-blue-3/views/categories/show.html.erb +7 -0
  529. data/themes/true-blue-3/views/tags/_article.html.erb +22 -0
  530. data/themes/true-blue-3/views/tags/show.html.erb +6 -0
  531. data/themes/typographic/layouts/default.html.erb +1 -1
  532. data/themes/typographic/views/articles/_article.html.erb +13 -9
  533. data/themes/typographic/views/articles/_comment_form.html.erb +1 -1
  534. data/themes/typographic/views/articles/_comment_list.html.erb +1 -1
  535. data/themes/typographic/views/articles/read.html.erb +4 -4
  536. data/vendor/flickr/flickr.rb +3 -3
  537. data/vendor/plugins/archives_sidebar/views/content.rhtml +1 -1
  538. data/vendor/plugins/authors_sidebar/Rakefile +22 -0
  539. data/vendor/plugins/authors_sidebar/init.rb +4 -0
  540. data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +10 -0
  541. data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +8 -0
  542. data/vendor/plugins/authors_sidebar/views/content.rhtml +11 -0
  543. data/vendor/plugins/category_sidebar/views/content.rhtml +2 -2
  544. data/vendor/plugins/easy-ckeditor/CHANGELOG +15 -0
  545. data/vendor/plugins/easy-ckeditor/LICENSE +16 -0
  546. data/vendor/plugins/easy-ckeditor/README.textile +164 -0
  547. data/vendor/plugins/easy-ckeditor/Rakefile +72 -0
  548. data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +225 -0
  549. data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +2 -0
  550. data/vendor/plugins/easy-ckeditor/init.rb +33 -0
  551. data/vendor/plugins/easy-ckeditor/install.rb +12 -0
  552. data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +113 -0
  553. data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +108 -0
  554. data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +9 -0
  555. data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +16 -0
  556. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +24 -0
  557. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +254 -0
  558. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +92 -0
  559. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +1334 -0
  560. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +108 -0
  561. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +199 -0
  562. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
  563. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
  564. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +25 -0
  565. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +11 -0
  566. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +35 -0
  567. data/{public/javascripts/fckeditor/editor/skins/silver/images/toolbar.end.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif} +0 -0
  568. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +6 -0
  569. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
  570. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +6 -0
  571. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +6 -0
  572. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +6 -0
  573. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +6 -0
  574. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +6 -0
  575. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +6 -0
  576. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +6 -0
  577. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +6 -0
  578. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +6 -0
  579. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +6 -0
  580. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +6 -0
  581. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +6 -0
  582. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +6 -0
  583. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +6 -0
  584. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +6 -0
  585. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +6 -0
  586. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +6 -0
  587. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +6 -0
  588. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +6 -0
  589. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +6 -0
  590. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +6 -0
  591. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
  592. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +6 -0
  593. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +6 -0
  594. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +6 -0
  595. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +6 -0
  596. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +6 -0
  597. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +6 -0
  598. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +6 -0
  599. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +6 -0
  600. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +6 -0
  601. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +6 -0
  602. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +6 -0
  603. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +6 -0
  604. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +6 -0
  605. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +6 -0
  606. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +6 -0
  607. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +6 -0
  608. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +6 -0
  609. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +6 -0
  610. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +6 -0
  611. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +6 -0
  612. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +6 -0
  613. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +6 -0
  614. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +6 -0
  615. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +6 -0
  616. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +6 -0
  617. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +6 -0
  618. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
  619. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +6 -0
  620. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +6 -0
  621. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +6 -0
  622. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +6 -0
  623. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +6 -0
  624. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +6 -0
  625. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
  626. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +6 -0
  627. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
  628. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  629. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
  630. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
  631. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
  632. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
  633. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
  634. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
  635. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
  636. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
  637. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  638. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
  639. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
  640. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
  641. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
  642. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
  643. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
  644. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
  645. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
  646. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
  647. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
  648. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
  649. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
  650. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  651. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
  652. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
  653. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
  654. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
  655. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
  656. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
  657. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
  658. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
  659. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
  660. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
  661. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
  662. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
  663. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
  664. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
  665. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
  666. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
  667. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
  668. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
  669. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
  670. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
  671. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
  672. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
  673. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
  674. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
  675. data/{public/javascripts/fckeditor/editor/css/images/fck_anchor.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/images/anchor.gif} +0 -0
  676. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
  677. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
  678. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
  679. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
  680. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
  681. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
  682. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
  683. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  684. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
  685. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
  686. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
  687. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
  688. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
  689. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
  690. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
  691. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
  692. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
  693. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
  694. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
  695. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
  696. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
  697. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
  698. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
  699. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
  700. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
  701. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
  702. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  703. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  704. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  705. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  706. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  707. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  708. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  709. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  710. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  711. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  712. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  713. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
  714. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
  715. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  716. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  717. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  718. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  719. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  720. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  721. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  722. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  723. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  724. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  725. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  726. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  727. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  728. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  729. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  730. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  731. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  732. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  733. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  734. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  735. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  736. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
  737. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
  738. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
  739. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
  740. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
  741. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
  742. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
  743. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
  744. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
  745. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
  746. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
  747. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
  748. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
  749. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
  750. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  751. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  752. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  753. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  754. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
  755. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
  756. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
  757. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
  758. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  759. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  760. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  761. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  762. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  763. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
  764. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
  765. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
  766. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  767. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  768. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
  769. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
  770. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
  771. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
  772. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
  773. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
  774. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
  775. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  776. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  777. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  778. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  779. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  780. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  781. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  782. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  783. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
  784. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
  785. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
  786. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
  787. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  788. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  789. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  790. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  791. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  792. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  793. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  794. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  795. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
  796. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
  797. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
  798. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
  799. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
  800. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  801. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  802. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  803. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  804. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  805. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  806. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  807. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  808. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
  809. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
  810. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +7 -0
  811. data/vendor/plugins/easy-ckeditor/tasks/ckeditor_tasks.rake +108 -0
  812. data/vendor/plugins/easy-ckeditor/uninstall.rb +8 -0
  813. data/vendor/plugins/livesearch_sidebar/views/content.rhtml +1 -1
  814. data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +1 -1
  815. data/vendor/plugins/typo_converter/Rakefile +7 -8
  816. data/vendor/plugins/typo_converter/db/wp25_schema.rb +152 -0
  817. data/vendor/plugins/typo_converter/lib/converters/base.rb +41 -2
  818. data/vendor/plugins/typo_converter/lib/converters/wp25.rb +59 -4
  819. data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +1 -0
  820. data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +11 -0
  821. data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +192 -0
  822. data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +77 -0
  823. data/vendor/plugins/typo_converter/spec/spec_helper.rb +19 -0
  824. data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +2 -0
  825. data/vendor/plugins/typo_converter/tasks/typo_converters_tasks.rake +1 -4
  826. data/vendor/plugins/typo_textfilter_code/init.rb +7 -2
  827. data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +2 -0
  828. data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +4 -2
  829. data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +1 -1
  830. data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +3 -0
  831. data/vendor/plugins/xml_sidebar/views/content.rhtml +15 -1
  832. metadata +684 -1280
  833. data/app/controllers/application.rb +0 -90
  834. data/app/models/simple_cache.rb +0 -37
  835. data/app/views/admin/resources/new.html.erb +0 -16
  836. data/app/views/admin/settings/read.html.erb +0 -35
  837. data/app/views/admin/tags/_tags.html.erb +0 -18
  838. data/app/views/shared/_loginform.html.erb +0 -20
  839. data/config/initializers/active_record_hacks.rb +0 -17
  840. data/config/initializers/benchmark_hacks.rb +0 -9
  841. data/doc/typo-5.3-release-notes.txt +0 -105
  842. data/lib/memory_profiler.rb +0 -60
  843. data/lib/typo_deprecated.rb +0 -30
  844. data/lib/xmlrpc_fix.rb +0 -13
  845. data/public/javascripts/fckcustom.js +0 -28
  846. data/public/javascripts/fckeditor/editor/_source/classes/fckcontextmenu.js +0 -214
  847. data/public/javascripts/fckeditor/editor/_source/classes/fckdataprocessor.js +0 -119
  848. data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +0 -46
  849. data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +0 -58
  850. data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange.js +0 -918
  851. data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_gecko.js +0 -104
  852. data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_ie.js +0 -199
  853. data/public/javascripts/fckeditor/editor/_source/classes/fckdomrangeiterator.js +0 -327
  854. data/public/javascripts/fckeditor/editor/_source/classes/fckeditingarea.js +0 -362
  855. data/public/javascripts/fckeditor/editor/_source/classes/fckelementpath.js +0 -89
  856. data/public/javascripts/fckeditor/editor/_source/classes/fckenterkey.js +0 -667
  857. data/public/javascripts/fckeditor/editor/_source/classes/fckevents.js +0 -71
  858. data/public/javascripts/fckeditor/editor/_source/classes/fckhtmliterator.js +0 -142
  859. data/public/javascripts/fckeditor/editor/_source/classes/fckicon.js +0 -103
  860. data/public/javascripts/fckeditor/editor/_source/classes/fckiecleanup.js +0 -68
  861. data/public/javascripts/fckeditor/editor/_source/classes/fckimagepreloader.js +0 -64
  862. data/public/javascripts/fckeditor/editor/_source/classes/fckkeystrokehandler.js +0 -141
  863. data/public/javascripts/fckeditor/editor/_source/classes/fckmenublock.js +0 -153
  864. data/public/javascripts/fckeditor/editor/_source/classes/fckmenublockpanel.js +0 -54
  865. data/public/javascripts/fckeditor/editor/_source/classes/fckmenuitem.js +0 -161
  866. data/public/javascripts/fckeditor/editor/_source/classes/fckpanel.js +0 -385
  867. data/public/javascripts/fckeditor/editor/_source/classes/fckplugin.js +0 -56
  868. data/public/javascripts/fckeditor/editor/_source/classes/fckspecialcombo.js +0 -376
  869. data/public/javascripts/fckeditor/editor/_source/classes/fckstyle.js +0 -1443
  870. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbar.js +0 -103
  871. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +0 -36
  872. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +0 -38
  873. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbutton.js +0 -81
  874. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +0 -198
  875. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +0 -139
  876. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +0 -98
  877. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +0 -76
  878. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +0 -103
  879. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +0 -146
  880. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +0 -200
  881. data/public/javascripts/fckeditor/editor/_source/classes/fckw3crange.js +0 -451
  882. data/public/javascripts/fckeditor/editor/_source/classes/fckxml.js +0 -108
  883. data/public/javascripts/fckeditor/editor/_source/classes/fckxml_gecko.js +0 -102
  884. data/public/javascripts/fckeditor/editor/_source/classes/fckxml_ie.js +0 -88
  885. data/public/javascripts/fckeditor/editor/_source/commandclasses/fck_othercommands.js +0 -518
  886. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +0 -250
  887. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +0 -61
  888. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckfitwindow.js +0 -180
  889. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckindentcommands.js +0 -282
  890. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +0 -173
  891. data/public/javascripts/fckeditor/editor/_source/commandclasses/fcklistcommands.js +0 -382
  892. data/public/javascripts/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +0 -39
  893. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +0 -40
  894. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +0 -40
  895. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +0 -45
  896. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckshowblocks.js +0 -74
  897. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +0 -41
  898. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +0 -69
  899. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckstylecommand.js +0 -60
  900. data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktablecommand.js +0 -106
  901. data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +0 -201
  902. data/public/javascripts/fckeditor/editor/_source/fckconstants.js +0 -56
  903. data/public/javascripts/fckeditor/editor/_source/fckeditorapi.js +0 -176
  904. data/public/javascripts/fckeditor/editor/_source/fckjscoreextensions.js +0 -166
  905. data/public/javascripts/fckeditor/editor/_source/fckscriptloader.js +0 -122
  906. data/public/javascripts/fckeditor/editor/_source/internals/fck.js +0 -1175
  907. data/public/javascripts/fckeditor/editor/_source/internals/fck_contextmenu.js +0 -325
  908. data/public/javascripts/fckeditor/editor/_source/internals/fck_gecko.js +0 -456
  909. data/public/javascripts/fckeditor/editor/_source/internals/fck_ie.js +0 -453
  910. data/public/javascripts/fckeditor/editor/_source/internals/fckbrowserinfo.js +0 -61
  911. data/public/javascripts/fckeditor/editor/_source/internals/fckcodeformatter.js +0 -100
  912. data/public/javascripts/fckeditor/editor/_source/internals/fckcommands.js +0 -167
  913. data/public/javascripts/fckeditor/editor/_source/internals/fckconfig.js +0 -238
  914. data/public/javascripts/fckeditor/editor/_source/internals/fckdebug.js +0 -56
  915. data/public/javascripts/fckeditor/editor/_source/internals/fckdialog.js +0 -234
  916. data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_gecko.js +0 -103
  917. data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_ie.js +0 -48
  918. data/public/javascripts/fckeditor/editor/_source/internals/fckdocumentprocessor.js +0 -249
  919. data/public/javascripts/fckeditor/editor/_source/internals/fckdomtools.js +0 -1024
  920. data/public/javascripts/fckeditor/editor/_source/internals/fcklanguagemanager.js +0 -163
  921. data/public/javascripts/fckeditor/editor/_source/internals/fcklisthandler.js +0 -152
  922. data/public/javascripts/fckeditor/editor/_source/internals/fcklistslib.js +0 -63
  923. data/public/javascripts/fckeditor/editor/_source/internals/fckplugins.js +0 -46
  924. data/public/javascripts/fckeditor/editor/_source/internals/fckregexlib.js +0 -99
  925. data/public/javascripts/fckeditor/editor/_source/internals/fckselection.js +0 -42
  926. data/public/javascripts/fckeditor/editor/_source/internals/fckselection_gecko.js +0 -220
  927. data/public/javascripts/fckeditor/editor/_source/internals/fckselection_ie.js +0 -275
  928. data/public/javascripts/fckeditor/editor/_source/internals/fckstyles.js +0 -381
  929. data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler.js +0 -858
  930. data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +0 -56
  931. data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_ie.js +0 -64
  932. data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbaritems.js +0 -123
  933. data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbarset.js +0 -399
  934. data/public/javascripts/fckeditor/editor/_source/internals/fcktools.js +0 -740
  935. data/public/javascripts/fckeditor/editor/_source/internals/fcktools_gecko.js +0 -282
  936. data/public/javascripts/fckeditor/editor/_source/internals/fcktools_ie.js +0 -233
  937. data/public/javascripts/fckeditor/editor/_source/internals/fckundo.js +0 -223
  938. data/public/javascripts/fckeditor/editor/_source/internals/fckurlparams.js +0 -39
  939. data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml.js +0 -515
  940. data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_gecko.js +0 -101
  941. data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_ie.js +0 -203
  942. data/public/javascripts/fckeditor/editor/_source/internals/fckxhtmlentities.js +0 -354
  943. data/public/javascripts/fckeditor/editor/css/behaviors/disablehandles.htc +0 -15
  944. data/public/javascripts/fckeditor/editor/css/behaviors/showtableborders.htc +0 -36
  945. data/public/javascripts/fckeditor/editor/css/fck_editorarea.css +0 -92
  946. data/public/javascripts/fckeditor/editor/css/fck_internal.css +0 -199
  947. data/public/javascripts/fckeditor/editor/css/fck_showtableborders_gecko.css +0 -49
  948. data/public/javascripts/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
  949. data/public/javascripts/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
  950. data/public/javascripts/fckeditor/editor/css/images/fck_plugin.gif +0 -0
  951. data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.css +0 -85
  952. data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.js +0 -338
  953. data/public/javascripts/fckeditor/editor/dialog/common/images/locked.gif +0 -0
  954. data/public/javascripts/fckeditor/editor/dialog/common/images/reset.gif +0 -0
  955. data/public/javascripts/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
  956. data/public/javascripts/fckeditor/editor/dialog/fck_about.html +0 -161
  957. data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
  958. data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
  959. data/public/javascripts/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif +0 -0
  960. data/public/javascripts/fckeditor/editor/dialog/fck_anchor.html +0 -212
  961. data/public/javascripts/fckeditor/editor/dialog/fck_button.html +0 -104
  962. data/public/javascripts/fckeditor/editor/dialog/fck_checkbox.html +0 -104
  963. data/public/javascripts/fckeditor/editor/dialog/fck_colorselector.html +0 -172
  964. data/public/javascripts/fckeditor/editor/dialog/fck_docprops.html +0 -600
  965. data/public/javascripts/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +0 -113
  966. data/public/javascripts/fckeditor/editor/dialog/fck_find.html +0 -173
  967. data/public/javascripts/fckeditor/editor/dialog/fck_flash.html +0 -152
  968. data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash.js +0 -292
  969. data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +0 -50
  970. data/public/javascripts/fckeditor/editor/dialog/fck_form.html +0 -109
  971. data/public/javascripts/fckeditor/editor/dialog/fck_hiddenfield.html +0 -115
  972. data/public/javascripts/fckeditor/editor/dialog/fck_image.html +0 -258
  973. data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image.js +0 -504
  974. data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image_preview.html +0 -72
  975. data/public/javascripts/fckeditor/editor/dialog/fck_link.html +0 -293
  976. data/public/javascripts/fckeditor/editor/dialog/fck_link/fck_link.js +0 -736
  977. data/public/javascripts/fckeditor/editor/dialog/fck_listprop.html +0 -120
  978. data/public/javascripts/fckeditor/editor/dialog/fck_paste.html +0 -339
  979. data/public/javascripts/fckeditor/editor/dialog/fck_radiobutton.html +0 -104
  980. data/public/javascripts/fckeditor/editor/dialog/fck_replace.html +0 -530
  981. data/public/javascripts/fckeditor/editor/dialog/fck_select.html +0 -180
  982. data/public/javascripts/fckeditor/editor/dialog/fck_select/fck_select.js +0 -194
  983. data/public/javascripts/fckeditor/editor/dialog/fck_smiley.html +0 -111
  984. data/public/javascripts/fckeditor/editor/dialog/fck_source.html +0 -68
  985. data/public/javascripts/fckeditor/editor/dialog/fck_specialchar.html +0 -121
  986. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages.html +0 -65
  987. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
  988. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +0 -87
  989. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +0 -153
  990. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +0 -148
  991. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +0 -199
  992. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +0 -181
  993. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +0 -461
  994. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +0 -71
  995. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +0 -49
  996. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +0 -272
  997. data/public/javascripts/fckeditor/editor/dialog/fck_table.html +0 -298
  998. data/public/javascripts/fckeditor/editor/dialog/fck_tablecell.html +0 -257
  999. data/public/javascripts/fckeditor/editor/dialog/fck_template.html +0 -242
  1000. data/public/javascripts/fckeditor/editor/dialog/fck_textarea.html +0 -94
  1001. data/public/javascripts/fckeditor/editor/dialog/fck_textfield.html +0 -136
  1002. data/public/javascripts/fckeditor/editor/dtd/fck_dtd_test.html +0 -41
  1003. data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10strict.js +0 -116
  1004. data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10transitional.js +0 -140
  1005. data/public/javascripts/fckeditor/editor/fckdebug.html +0 -153
  1006. data/public/javascripts/fckeditor/editor/fckdialog.html +0 -783
  1007. data/public/javascripts/fckeditor/editor/fckeditor.html +0 -278
  1008. data/public/javascripts/fckeditor/editor/fckeditor.original.html +0 -385
  1009. data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.css +0 -89
  1010. data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.html +0 -198
  1011. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +0 -99
  1012. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +0 -113
  1013. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmfolders.html +0 -197
  1014. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +0 -168
  1015. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +0 -65
  1016. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmupload.html +0 -115
  1017. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
  1018. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
  1019. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
  1020. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
  1021. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
  1022. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
  1023. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
  1024. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
  1025. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
  1026. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
  1027. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
  1028. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
  1029. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
  1030. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
  1031. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
  1032. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
  1033. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
  1034. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
  1035. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
  1036. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
  1037. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
  1038. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
  1039. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
  1040. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
  1041. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
  1042. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
  1043. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
  1044. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
  1045. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
  1046. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
  1047. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
  1048. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
  1049. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
  1050. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
  1051. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
  1052. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
  1053. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
  1054. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
  1055. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
  1056. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
  1057. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
  1058. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
  1059. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
  1060. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
  1061. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
  1062. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
  1063. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
  1064. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
  1065. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
  1066. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
  1067. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
  1068. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
  1069. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
  1070. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
  1071. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
  1072. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
  1073. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
  1074. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
  1075. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
  1076. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
  1077. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
  1078. data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/common.js +0 -87
  1079. data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/fckxml.js +0 -129
  1080. data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +0 -32
  1081. data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +0 -32
  1082. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/basexml.pl +0 -63
  1083. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/commands.pl +0 -214
  1084. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/connector.cgi +0 -136
  1085. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/io.pl +0 -141
  1086. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload.cgi +0 -117
  1087. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +0 -686
  1088. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/util.pl +0 -68
  1089. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/config.py +0 -146
  1090. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/connector.py +0 -118
  1091. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckcommands.py +0 -198
  1092. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckconnector.py +0 -90
  1093. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckoutput.py +0 -142
  1094. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckutil.py +0 -126
  1095. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/htaccess.txt +0 -23
  1096. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/upload.py +0 -88
  1097. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/wsgi.py +0 -58
  1098. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/zope.py +0 -188
  1099. data/public/javascripts/fckeditor/editor/filemanager/connectors/test.html +0 -210
  1100. data/public/javascripts/fckeditor/editor/filemanager/connectors/uploadtest.html +0 -192
  1101. data/public/javascripts/fckeditor/editor/images/arrow_ltr.gif +0 -0
  1102. data/public/javascripts/fckeditor/editor/images/arrow_rtl.gif +0 -0
  1103. data/public/javascripts/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
  1104. data/public/javascripts/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
  1105. data/public/javascripts/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
  1106. data/public/javascripts/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
  1107. data/public/javascripts/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
  1108. data/public/javascripts/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
  1109. data/public/javascripts/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
  1110. data/public/javascripts/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
  1111. data/public/javascripts/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
  1112. data/public/javascripts/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
  1113. data/public/javascripts/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
  1114. data/public/javascripts/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
  1115. data/public/javascripts/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
  1116. data/public/javascripts/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
  1117. data/public/javascripts/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
  1118. data/public/javascripts/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
  1119. data/public/javascripts/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
  1120. data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
  1121. data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
  1122. data/public/javascripts/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
  1123. data/public/javascripts/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
  1124. data/public/javascripts/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
  1125. data/public/javascripts/fckeditor/editor/js/fckadobeair.js +0 -176
  1126. data/public/javascripts/fckeditor/editor/js/fckeditorcode_gecko.js +0 -108
  1127. data/public/javascripts/fckeditor/editor/js/fckeditorcode_ie.js +0 -109
  1128. data/public/javascripts/fckeditor/editor/lang/_translationstatus.txt +0 -77
  1129. data/public/javascripts/fckeditor/editor/lang/af.js +0 -515
  1130. data/public/javascripts/fckeditor/editor/lang/ar.js +0 -515
  1131. data/public/javascripts/fckeditor/editor/lang/bg.js +0 -515
  1132. data/public/javascripts/fckeditor/editor/lang/bn.js +0 -515
  1133. data/public/javascripts/fckeditor/editor/lang/bs.js +0 -515
  1134. data/public/javascripts/fckeditor/editor/lang/ca.js +0 -515
  1135. data/public/javascripts/fckeditor/editor/lang/cs.js +0 -515
  1136. data/public/javascripts/fckeditor/editor/lang/da.js +0 -515
  1137. data/public/javascripts/fckeditor/editor/lang/de.js +0 -515
  1138. data/public/javascripts/fckeditor/editor/lang/el.js +0 -515
  1139. data/public/javascripts/fckeditor/editor/lang/en-au.js +0 -515
  1140. data/public/javascripts/fckeditor/editor/lang/en-ca.js +0 -515
  1141. data/public/javascripts/fckeditor/editor/lang/en-uk.js +0 -515
  1142. data/public/javascripts/fckeditor/editor/lang/en.js +0 -515
  1143. data/public/javascripts/fckeditor/editor/lang/eo.js +0 -515
  1144. data/public/javascripts/fckeditor/editor/lang/es.js +0 -515
  1145. data/public/javascripts/fckeditor/editor/lang/et.js +0 -515
  1146. data/public/javascripts/fckeditor/editor/lang/eu.js +0 -516
  1147. data/public/javascripts/fckeditor/editor/lang/fa.js +0 -515
  1148. data/public/javascripts/fckeditor/editor/lang/fi.js +0 -515
  1149. data/public/javascripts/fckeditor/editor/lang/fo.js +0 -515
  1150. data/public/javascripts/fckeditor/editor/lang/fr-ca.js +0 -515
  1151. data/public/javascripts/fckeditor/editor/lang/fr.js +0 -515
  1152. data/public/javascripts/fckeditor/editor/lang/gl.js +0 -515
  1153. data/public/javascripts/fckeditor/editor/lang/he.js +0 -515
  1154. data/public/javascripts/fckeditor/editor/lang/hi.js +0 -515
  1155. data/public/javascripts/fckeditor/editor/lang/hr.js +0 -515
  1156. data/public/javascripts/fckeditor/editor/lang/hu.js +0 -515
  1157. data/public/javascripts/fckeditor/editor/lang/it.js +0 -515
  1158. data/public/javascripts/fckeditor/editor/lang/ja.js +0 -515
  1159. data/public/javascripts/fckeditor/editor/lang/km.js +0 -515
  1160. data/public/javascripts/fckeditor/editor/lang/ko.js +0 -515
  1161. data/public/javascripts/fckeditor/editor/lang/lt.js +0 -515
  1162. data/public/javascripts/fckeditor/editor/lang/lv.js +0 -515
  1163. data/public/javascripts/fckeditor/editor/lang/mn.js +0 -515
  1164. data/public/javascripts/fckeditor/editor/lang/ms.js +0 -515
  1165. data/public/javascripts/fckeditor/editor/lang/nb.js +0 -515
  1166. data/public/javascripts/fckeditor/editor/lang/nl.js +0 -515
  1167. data/public/javascripts/fckeditor/editor/lang/no.js +0 -515
  1168. data/public/javascripts/fckeditor/editor/lang/pl.js +0 -515
  1169. data/public/javascripts/fckeditor/editor/lang/pt-br.js +0 -515
  1170. data/public/javascripts/fckeditor/editor/lang/pt.js +0 -515
  1171. data/public/javascripts/fckeditor/editor/lang/ro.js +0 -515
  1172. data/public/javascripts/fckeditor/editor/lang/ru.js +0 -515
  1173. data/public/javascripts/fckeditor/editor/lang/sk.js +0 -515
  1174. data/public/javascripts/fckeditor/editor/lang/sl.js +0 -515
  1175. data/public/javascripts/fckeditor/editor/lang/sr-latn.js +0 -515
  1176. data/public/javascripts/fckeditor/editor/lang/sr.js +0 -515
  1177. data/public/javascripts/fckeditor/editor/lang/sv.js +0 -515
  1178. data/public/javascripts/fckeditor/editor/lang/th.js +0 -515
  1179. data/public/javascripts/fckeditor/editor/lang/tr.js +0 -515
  1180. data/public/javascripts/fckeditor/editor/lang/uk.js +0 -515
  1181. data/public/javascripts/fckeditor/editor/lang/vi.js +0 -515
  1182. data/public/javascripts/fckeditor/editor/lang/zh-cn.js +0 -515
  1183. data/public/javascripts/fckeditor/editor/lang/zh.js +0 -515
  1184. data/public/javascripts/fckeditor/editor/plugins/autogrow/fckplugin.js +0 -99
  1185. data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +0 -26
  1186. data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.html +0 -67
  1187. data/public/javascripts/fckeditor/editor/plugins/bbcode/fckplugin.js +0 -123
  1188. data/public/javascripts/fckeditor/editor/plugins/dragresizetable/fckplugin.js +0 -527
  1189. data/public/javascripts/fckeditor/editor/plugins/placeholder/fck_placeholder.html +0 -105
  1190. data/public/javascripts/fckeditor/editor/plugins/placeholder/fckplugin.js +0 -187
  1191. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/de.js +0 -27
  1192. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/en.js +0 -27
  1193. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/es.js +0 -27
  1194. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/fr.js +0 -27
  1195. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/it.js +0 -27
  1196. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/pl.js +0 -27
  1197. data/public/javascripts/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
  1198. data/public/javascripts/fckeditor/editor/plugins/simplecommands/fckplugin.js +0 -29
  1199. data/public/javascripts/fckeditor/editor/plugins/tablecommands/fckplugin.js +0 -33
  1200. data/public/javascripts/fckeditor/editor/skins/_fckviewstrips.html +0 -121
  1201. data/public/javascripts/fckeditor/editor/skins/silver/fck_dialog.css +0 -402
  1202. data/public/javascripts/fckeditor/editor/skins/silver/fck_editor.css +0 -473
  1203. data/public/javascripts/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
  1204. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
  1205. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
  1206. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
  1207. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
  1208. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
  1209. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
  1210. data/public/javascripts/fckeditor/fckconfig.js +0 -316
  1211. data/public/javascripts/fckeditor/fckeditor.js +0 -303
  1212. data/public/javascripts/fckeditor/fckeditor.py +0 -160
  1213. data/public/javascripts/fckeditor/fckpackager.xml +0 -262
  1214. data/public/javascripts/fckeditor/fckstyles.xml +0 -111
  1215. data/public/javascripts/fckeditor/fcktemplates.xml +0 -103
  1216. data/public/javascripts/fckeditor/license.txt +0 -1246
  1217. data/public/sources/javascripts/administration.js +0 -12
  1218. data/public/sources/javascripts/application.js +0 -2
  1219. data/public/sources/javascripts/codecollapse.js +0 -8
  1220. data/public/sources/javascripts/controls.js +0 -963
  1221. data/public/sources/javascripts/cookies.js +0 -60
  1222. data/public/sources/javascripts/dragdrop.js +0 -972
  1223. data/public/sources/javascripts/effects.js +0 -1120
  1224. data/public/sources/javascripts/fckcustom.js +0 -28
  1225. data/public/sources/javascripts/lang/default.js +0 -21
  1226. data/public/sources/javascripts/lang/en_US.js +0 -21
  1227. data/public/sources/javascripts/lang/fr_FR.js +0 -21
  1228. data/public/sources/javascripts/lightbox.js +0 -202
  1229. data/public/sources/javascripts/prototype.js +0 -4320
  1230. data/public/sources/javascripts/quicktags.js +0 -511
  1231. data/public/sources/javascripts/scriptaculous.js +0 -58
  1232. data/public/sources/javascripts/slider.js +0 -258
  1233. data/public/sources/javascripts/typo.js +0 -136
  1234. data/public/sources/stylesheets/administration.css +0 -955
  1235. data/public/sources/stylesheets/administration_rtl.css +0 -1026
  1236. data/public/sources/stylesheets/codecollapse.css +0 -3
  1237. data/public/sources/stylesheets/coderay.css +0 -126
  1238. data/public/sources/stylesheets/lightbox.css +0 -62
  1239. data/public/sources/stylesheets/rss.css +0 -54
  1240. data/public/sources/stylesheets/textmate/dawn.css +0 -209
  1241. data/public/sources/stylesheets/textmate/iplastic.css +0 -142
  1242. data/public/sources/stylesheets/textmate/space_cadet.css +0 -99
  1243. data/public/sources/stylesheets/textmate/textmate.css +0 -48
  1244. data/public/sources/stylesheets/textmate/twilight.css +0 -227
  1245. data/public/sources/stylesheets/user-styles.css +0 -22
  1246. data/spec/controllers/admin/article_preview_spec.rb +0 -20
  1247. data/spec/models/typo_deprecated_spec.rb +0 -18
  1248. data/vendor/actionwebservice/CHANGELOG +0 -320
  1249. data/vendor/actionwebservice/MIT-LICENSE +0 -21
  1250. data/vendor/actionwebservice/README +0 -381
  1251. data/vendor/actionwebservice/Rakefile +0 -173
  1252. data/vendor/actionwebservice/TODO +0 -32
  1253. data/vendor/actionwebservice/examples/googlesearch/README +0 -143
  1254. data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +0 -50
  1255. data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_controller.rb +0 -57
  1256. data/vendor/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +0 -108
  1257. data/vendor/actionwebservice/examples/googlesearch/delegated/search_controller.rb +0 -7
  1258. data/vendor/actionwebservice/examples/googlesearch/direct/google_search_api.rb +0 -50
  1259. data/vendor/actionwebservice/examples/googlesearch/direct/search_controller.rb +0 -58
  1260. data/vendor/actionwebservice/examples/metaWeblog/README +0 -17
  1261. data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_api.rb +0 -60
  1262. data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_service.rb +0 -34
  1263. data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_api.rb +0 -67
  1264. data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_service.rb +0 -48
  1265. data/vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb +0 -16
  1266. data/vendor/actionwebservice/generators/web_service/USAGE +0 -28
  1267. data/vendor/actionwebservice/generators/web_service/templates/api_definition.rb +0 -5
  1268. data/vendor/actionwebservice/generators/web_service/templates/controller.rb +0 -8
  1269. data/vendor/actionwebservice/generators/web_service/templates/functional_test.rb +0 -19
  1270. data/vendor/actionwebservice/generators/web_service/web_service_generator.rb +0 -29
  1271. data/vendor/actionwebservice/lib/action_web_service.rb +0 -66
  1272. data/vendor/actionwebservice/lib/action_web_service/api.rb +0 -297
  1273. data/vendor/actionwebservice/lib/action_web_service/base.rb +0 -38
  1274. data/vendor/actionwebservice/lib/action_web_service/casting.rb +0 -144
  1275. data/vendor/actionwebservice/lib/action_web_service/client.rb +0 -3
  1276. data/vendor/actionwebservice/lib/action_web_service/client/base.rb +0 -28
  1277. data/vendor/actionwebservice/lib/action_web_service/client/soap_client.rb +0 -113
  1278. data/vendor/actionwebservice/lib/action_web_service/client/xmlrpc_client.rb +0 -58
  1279. data/vendor/actionwebservice/lib/action_web_service/container.rb +0 -3
  1280. data/vendor/actionwebservice/lib/action_web_service/container/action_controller_container.rb +0 -93
  1281. data/vendor/actionwebservice/lib/action_web_service/container/delegated_container.rb +0 -86
  1282. data/vendor/actionwebservice/lib/action_web_service/container/direct_container.rb +0 -69
  1283. data/vendor/actionwebservice/lib/action_web_service/dispatcher.rb +0 -2
  1284. data/vendor/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +0 -207
  1285. data/vendor/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +0 -379
  1286. data/vendor/actionwebservice/lib/action_web_service/invocation.rb +0 -202
  1287. data/vendor/actionwebservice/lib/action_web_service/protocol.rb +0 -4
  1288. data/vendor/actionwebservice/lib/action_web_service/protocol/abstract.rb +0 -112
  1289. data/vendor/actionwebservice/lib/action_web_service/protocol/discovery.rb +0 -37
  1290. data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +0 -176
  1291. data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +0 -242
  1292. data/vendor/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +0 -122
  1293. data/vendor/actionwebservice/lib/action_web_service/scaffolding.rb +0 -281
  1294. data/vendor/actionwebservice/lib/action_web_service/struct.rb +0 -64
  1295. data/vendor/actionwebservice/lib/action_web_service/support/class_inheritable_options.rb +0 -26
  1296. data/vendor/actionwebservice/lib/action_web_service/support/signature_types.rb +0 -226
  1297. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/layout.html.erb +0 -65
  1298. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.html.erb +0 -6
  1299. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.html.erb +0 -29
  1300. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.html.erb +0 -30
  1301. data/vendor/actionwebservice/lib/action_web_service/test_invoke.rb +0 -110
  1302. data/vendor/actionwebservice/lib/action_web_service/version.rb +0 -9
  1303. data/vendor/actionwebservice/lib/actionwebservice.rb +0 -1
  1304. data/vendor/actionwebservice/setup.rb +0 -1379
  1305. data/vendor/actionwebservice/test/abstract_client.rb +0 -183
  1306. data/vendor/actionwebservice/test/abstract_dispatcher.rb +0 -547
  1307. data/vendor/actionwebservice/test/abstract_unit.rb +0 -33
  1308. data/vendor/actionwebservice/test/api_test.rb +0 -102
  1309. data/vendor/actionwebservice/test/apis/auto_load_api.rb +0 -3
  1310. data/vendor/actionwebservice/test/apis/broken_auto_load_api.rb +0 -2
  1311. data/vendor/actionwebservice/test/base_test.rb +0 -42
  1312. data/vendor/actionwebservice/test/casting_test.rb +0 -86
  1313. data/vendor/actionwebservice/test/client_soap_test.rb +0 -155
  1314. data/vendor/actionwebservice/test/client_xmlrpc_test.rb +0 -153
  1315. data/vendor/actionwebservice/test/container_test.rb +0 -73
  1316. data/vendor/actionwebservice/test/dispatcher_action_controller_soap_test.rb +0 -137
  1317. data/vendor/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +0 -59
  1318. data/vendor/actionwebservice/test/fixtures/db_definitions/mysql.sql +0 -8
  1319. data/vendor/actionwebservice/test/fixtures/users.yml +0 -12
  1320. data/vendor/actionwebservice/test/gencov +0 -3
  1321. data/vendor/actionwebservice/test/invocation_test.rb +0 -185
  1322. data/vendor/actionwebservice/test/run +0 -6
  1323. data/vendor/actionwebservice/test/scaffolded_controller_test.rb +0 -146
  1324. data/vendor/actionwebservice/test/struct_test.rb +0 -52
  1325. data/vendor/actionwebservice/test/test_invoke_test.rb +0 -112
  1326. data/vendor/bluecloth/CHANGES +0 -366
  1327. data/vendor/bluecloth/LICENSE +0 -340
  1328. data/vendor/bluecloth/README +0 -99
  1329. data/vendor/bluecloth/bin/bluecloth +0 -83
  1330. data/vendor/bluecloth/install.rb +0 -150
  1331. data/vendor/bluecloth/lib/bluecloth.rb +0 -1144
  1332. data/vendor/bluecloth/test.rb +0 -117
  1333. data/vendor/bluecloth/tests/00_Class.tests.rb +0 -71
  1334. data/vendor/bluecloth/tests/05_Markdown.tests.rb +0 -1527
  1335. data/vendor/bluecloth/tests/10_Bug.tests.rb +0 -57
  1336. data/vendor/bluecloth/tests/15_Contrib.tests.rb +0 -132
  1337. data/vendor/bluecloth/tests/bctestcase.rb +0 -274
  1338. data/vendor/bluecloth/tests/data/antsugar.txt +0 -34
  1339. data/vendor/bluecloth/tests/data/ml-announce.txt +0 -17
  1340. data/vendor/bluecloth/tests/data/re-overflow.txt +0 -67
  1341. data/vendor/bluecloth/tests/data/re-overflow2.txt +0 -281
  1342. data/vendor/bluecloth/utils.rb +0 -553
  1343. data/vendor/cached_model/History.txt +0 -30
  1344. data/vendor/cached_model/LICENSE.txt +0 -30
  1345. data/vendor/cached_model/Manifest.txt +0 -7
  1346. data/vendor/cached_model/README.txt +0 -96
  1347. data/vendor/cached_model/Rakefile +0 -25
  1348. data/vendor/cached_model/lib/cached_model.rb +0 -287
  1349. data/vendor/cached_model/test/test_cached_model.rb +0 -593
  1350. data/vendor/gems/calendar_date_select-1.15/.specification +0 -56
  1351. data/vendor/gems/calendar_date_select-1.15/History.txt +0 -237
  1352. data/vendor/gems/calendar_date_select-1.15/MIT-LICENSE +0 -20
  1353. data/vendor/gems/calendar_date_select-1.15/Manifest.txt +0 -42
  1354. data/vendor/gems/calendar_date_select-1.15/Rakefile +0 -31
  1355. data/vendor/gems/calendar_date_select-1.15/Readme.txt +0 -16
  1356. data/vendor/gems/calendar_date_select-1.15/init.rb +0 -1
  1357. data/vendor/gems/calendar_date_select-1.15/js_test/functional/cds_test.html +0 -334
  1358. data/vendor/gems/calendar_date_select-1.15/js_test/prototype.js +0 -4184
  1359. data/vendor/gems/calendar_date_select-1.15/js_test/test.css +0 -40
  1360. data/vendor/gems/calendar_date_select-1.15/js_test/unit/cds_helper_methods.html +0 -46
  1361. data/vendor/gems/calendar_date_select-1.15/js_test/unittest.js +0 -564
  1362. data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select.rb +0 -33
  1363. data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/calendar_date_select.rb +0 -116
  1364. data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/form_helpers.rb +0 -225
  1365. data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/includes_helper.rb +0 -29
  1366. data/vendor/gems/calendar_date_select-1.15/public/blank_iframe.html +0 -2
  1367. data/vendor/gems/calendar_date_select-1.15/public/images/calendar_date_select/calendar.gif +0 -0
  1368. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
  1369. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_american.js +0 -34
  1370. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_db.js +0 -27
  1371. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
  1372. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
  1373. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_finnish.js +0 -32
  1374. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
  1375. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
  1376. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_italian.js +0 -24
  1377. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/de.js +0 -11
  1378. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fi.js +0 -10
  1379. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fr.js +0 -10
  1380. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pl.js +0 -10
  1381. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pt.js +0 -11
  1382. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/ru.js +0 -10
  1383. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/blue.css +0 -130
  1384. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/default.css +0 -135
  1385. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/plain.css +0 -128
  1386. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/red.css +0 -135
  1387. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/silver.css +0 -133
  1388. data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/calendar_date_select_spec.rb +0 -14
  1389. data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/form_helpers_spec.rb +0 -166
  1390. data/vendor/gems/calendar_date_select-1.15/spec/spec_helper.rb +0 -26
  1391. data/vendor/gems/coderay-0.8.260/.specification +0 -115
  1392. data/vendor/gems/coderay-0.8.260/FOLDERS +0 -53
  1393. data/vendor/gems/coderay-0.8.260/LICENSE +0 -504
  1394. data/vendor/gems/coderay-0.8.260/README +0 -128
  1395. data/vendor/gems/coderay-0.8.260/bin/coderay +0 -82
  1396. data/vendor/gems/coderay-0.8.260/bin/coderay_stylesheet +0 -4
  1397. data/vendor/gems/coderay-0.8.260/lib/coderay.rb +0 -321
  1398. data/vendor/gems/coderay-0.8.260/lib/coderay/duo.rb +0 -87
  1399. data/vendor/gems/coderay-0.8.260/lib/coderay/encoder.rb +0 -182
  1400. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/_map.rb +0 -9
  1401. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/count.rb +0 -21
  1402. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/debug.rb +0 -49
  1403. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/div.rb +0 -20
  1404. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html.rb +0 -287
  1405. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/css.rb +0 -70
  1406. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/numerization.rb +0 -124
  1407. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/output.rb +0 -197
  1408. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/null.rb +0 -26
  1409. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/page.rb +0 -21
  1410. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/span.rb +0 -20
  1411. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/statistic.rb +0 -77
  1412. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/text.rb +0 -32
  1413. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/tokens.rb +0 -44
  1414. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/xml.rb +0 -70
  1415. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/yaml.rb +0 -22
  1416. data/vendor/gems/coderay-0.8.260/lib/coderay/for_redcloth.rb +0 -72
  1417. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/file_type.rb +0 -211
  1418. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/gzip_simple.rb +0 -123
  1419. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/plugin.rb +0 -333
  1420. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/word_list.rb +0 -123
  1421. data/vendor/gems/coderay-0.8.260/lib/coderay/scanner.rb +0 -255
  1422. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/_map.rb +0 -15
  1423. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/c.rb +0 -165
  1424. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/css.rb +0 -181
  1425. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/debug.rb +0 -61
  1426. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/delphi.rb +0 -150
  1427. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/diff.rb +0 -104
  1428. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/html.rb +0 -177
  1429. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java.rb +0 -179
  1430. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java/builtin_types.rb +0 -419
  1431. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java_script.rb +0 -187
  1432. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/json.rb +0 -106
  1433. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/nitro_xhtml.rb +0 -134
  1434. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/plaintext.rb +0 -18
  1435. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/rhtml.rb +0 -73
  1436. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby.rb +0 -381
  1437. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby/patterns.rb +0 -226
  1438. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/scheme.rb +0 -142
  1439. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.Keith.rb +0 -143
  1440. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.rb +0 -154
  1441. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/xml.rb +0 -19
  1442. data/vendor/gems/coderay-0.8.260/lib/coderay/style.rb +0 -20
  1443. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/_map.rb +0 -7
  1444. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/cycnus.rb +0 -146
  1445. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/murphy.rb +0 -132
  1446. data/vendor/gems/coderay-0.8.260/lib/coderay/token_classes.rb +0 -82
  1447. data/vendor/gems/coderay-0.8.260/lib/coderay/tokens.rb +0 -387
  1448. data/vendor/gems/coderay-0.8.260/lib/term/ansicolor.rb +0 -220
  1449. data/vendor/gems/htmlentities-4.0.0/.specification +0 -68
  1450. data/vendor/gems/htmlentities-4.0.0/COPYING.txt +0 -21
  1451. data/vendor/gems/htmlentities-4.0.0/History.txt +0 -47
  1452. data/vendor/gems/htmlentities-4.0.0/README.txt +0 -44
  1453. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities.rb +0 -165
  1454. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/html4.rb +0 -257
  1455. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/legacy.rb +0 -27
  1456. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/string.rb +0 -26
  1457. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/xhtml1.rb +0 -258
  1458. data/vendor/gems/htmlentities-4.0.0/test/entities_test.rb +0 -206
  1459. data/vendor/gems/htmlentities-4.0.0/test/html4_test.rb +0 -24
  1460. data/vendor/gems/htmlentities-4.0.0/test/legacy_test.rb +0 -34
  1461. data/vendor/gems/htmlentities-4.0.0/test/roundtrip_test.rb +0 -94
  1462. data/vendor/gems/htmlentities-4.0.0/test/string_test.rb +0 -24
  1463. data/vendor/gems/htmlentities-4.0.0/test/test_all.rb +0 -3
  1464. data/vendor/gems/htmlentities-4.0.0/test/xhtml1_test.rb +0 -23
  1465. data/vendor/gems/json-1.1.3/.require_paths +0 -4
  1466. data/vendor/gems/json-1.1.3/.specification +0 -58
  1467. data/vendor/gems/json-1.1.3/CHANGES +0 -93
  1468. data/vendor/gems/json-1.1.3/GPL +0 -340
  1469. data/vendor/gems/json-1.1.3/README +0 -78
  1470. data/vendor/gems/json-1.1.3/RUBY +0 -58
  1471. data/vendor/gems/json-1.1.3/Rakefile +0 -309
  1472. data/vendor/gems/json-1.1.3/TODO +0 -1
  1473. data/vendor/gems/json-1.1.3/VERSION +0 -1
  1474. data/vendor/gems/json-1.1.3/benchmarks/benchmark.txt +0 -133
  1475. data/vendor/gems/json-1.1.3/benchmarks/benchmark_generator.rb +0 -48
  1476. data/vendor/gems/json-1.1.3/benchmarks/benchmark_parser.rb +0 -26
  1477. data/vendor/gems/json-1.1.3/benchmarks/benchmark_rails.rb +0 -26
  1478. data/vendor/gems/json-1.1.3/bin/edit_json.rb +0 -10
  1479. data/vendor/gems/json-1.1.3/bin/prettify_json.rb +0 -76
  1480. data/vendor/gems/json-1.1.3/data/example.json +0 -1
  1481. data/vendor/gems/json-1.1.3/data/index.html +0 -38
  1482. data/vendor/gems/json-1.1.3/data/prototype.js +0 -4184
  1483. data/vendor/gems/json-1.1.3/ext/json/ext/generator.bundle +0 -0
  1484. data/vendor/gems/json-1.1.3/ext/json/ext/generator/Makefile +0 -149
  1485. data/vendor/gems/json-1.1.3/ext/json/ext/generator/extconf.rb +0 -9
  1486. data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.bundle +0 -0
  1487. data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.c +0 -875
  1488. data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.o +0 -0
  1489. data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.c +0 -182
  1490. data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.h +0 -53
  1491. data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.o +0 -0
  1492. data/vendor/gems/json-1.1.3/ext/json/ext/parser.bundle +0 -0
  1493. data/vendor/gems/json-1.1.3/ext/json/ext/parser/Makefile +0 -149
  1494. data/vendor/gems/json-1.1.3/ext/json/ext/parser/extconf.rb +0 -9
  1495. data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.bundle +0 -0
  1496. data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.c +0 -1758
  1497. data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.o +0 -0
  1498. data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.rl +0 -638
  1499. data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.c +0 -154
  1500. data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.h +0 -58
  1501. data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.o +0 -0
  1502. data/vendor/gems/json-1.1.3/install.rb +0 -26
  1503. data/vendor/gems/json-1.1.3/lib/json.rb +0 -235
  1504. data/vendor/gems/json-1.1.3/lib/json/Array.xpm +0 -21
  1505. data/vendor/gems/json-1.1.3/lib/json/FalseClass.xpm +0 -21
  1506. data/vendor/gems/json-1.1.3/lib/json/Hash.xpm +0 -21
  1507. data/vendor/gems/json-1.1.3/lib/json/Key.xpm +0 -73
  1508. data/vendor/gems/json-1.1.3/lib/json/NilClass.xpm +0 -21
  1509. data/vendor/gems/json-1.1.3/lib/json/Numeric.xpm +0 -28
  1510. data/vendor/gems/json-1.1.3/lib/json/String.xpm +0 -96
  1511. data/vendor/gems/json-1.1.3/lib/json/TrueClass.xpm +0 -21
  1512. data/vendor/gems/json-1.1.3/lib/json/add/core.rb +0 -135
  1513. data/vendor/gems/json-1.1.3/lib/json/add/rails.rb +0 -58
  1514. data/vendor/gems/json-1.1.3/lib/json/common.rb +0 -354
  1515. data/vendor/gems/json-1.1.3/lib/json/editor.rb +0 -1362
  1516. data/vendor/gems/json-1.1.3/lib/json/ext.rb +0 -13
  1517. data/vendor/gems/json-1.1.3/lib/json/json.xpm +0 -1499
  1518. data/vendor/gems/json-1.1.3/lib/json/pure.rb +0 -75
  1519. data/vendor/gems/json-1.1.3/lib/json/pure/generator.rb +0 -394
  1520. data/vendor/gems/json-1.1.3/lib/json/pure/parser.rb +0 -259
  1521. data/vendor/gems/json-1.1.3/lib/json/version.rb +0 -9
  1522. data/vendor/gems/json-1.1.3/tests/fixtures/fail1.json +0 -1
  1523. data/vendor/gems/json-1.1.3/tests/fixtures/fail10.json +0 -1
  1524. data/vendor/gems/json-1.1.3/tests/fixtures/fail11.json +0 -1
  1525. data/vendor/gems/json-1.1.3/tests/fixtures/fail12.json +0 -1
  1526. data/vendor/gems/json-1.1.3/tests/fixtures/fail13.json +0 -1
  1527. data/vendor/gems/json-1.1.3/tests/fixtures/fail14.json +0 -1
  1528. data/vendor/gems/json-1.1.3/tests/fixtures/fail18.json +0 -1
  1529. data/vendor/gems/json-1.1.3/tests/fixtures/fail19.json +0 -1
  1530. data/vendor/gems/json-1.1.3/tests/fixtures/fail2.json +0 -1
  1531. data/vendor/gems/json-1.1.3/tests/fixtures/fail20.json +0 -1
  1532. data/vendor/gems/json-1.1.3/tests/fixtures/fail21.json +0 -1
  1533. data/vendor/gems/json-1.1.3/tests/fixtures/fail22.json +0 -1
  1534. data/vendor/gems/json-1.1.3/tests/fixtures/fail23.json +0 -1
  1535. data/vendor/gems/json-1.1.3/tests/fixtures/fail24.json +0 -1
  1536. data/vendor/gems/json-1.1.3/tests/fixtures/fail25.json +0 -1
  1537. data/vendor/gems/json-1.1.3/tests/fixtures/fail27.json +0 -2
  1538. data/vendor/gems/json-1.1.3/tests/fixtures/fail28.json +0 -2
  1539. data/vendor/gems/json-1.1.3/tests/fixtures/fail3.json +0 -1
  1540. data/vendor/gems/json-1.1.3/tests/fixtures/fail4.json +0 -1
  1541. data/vendor/gems/json-1.1.3/tests/fixtures/fail5.json +0 -1
  1542. data/vendor/gems/json-1.1.3/tests/fixtures/fail6.json +0 -1
  1543. data/vendor/gems/json-1.1.3/tests/fixtures/fail7.json +0 -1
  1544. data/vendor/gems/json-1.1.3/tests/fixtures/fail8.json +0 -1
  1545. data/vendor/gems/json-1.1.3/tests/fixtures/fail9.json +0 -1
  1546. data/vendor/gems/json-1.1.3/tests/fixtures/pass1.json +0 -56
  1547. data/vendor/gems/json-1.1.3/tests/fixtures/pass15.json +0 -1
  1548. data/vendor/gems/json-1.1.3/tests/fixtures/pass16.json +0 -1
  1549. data/vendor/gems/json-1.1.3/tests/fixtures/pass17.json +0 -1
  1550. data/vendor/gems/json-1.1.3/tests/fixtures/pass2.json +0 -1
  1551. data/vendor/gems/json-1.1.3/tests/fixtures/pass26.json +0 -1
  1552. data/vendor/gems/json-1.1.3/tests/fixtures/pass3.json +0 -6
  1553. data/vendor/gems/json-1.1.3/tests/runner.rb +0 -25
  1554. data/vendor/gems/json-1.1.3/tests/test_json.rb +0 -293
  1555. data/vendor/gems/json-1.1.3/tests/test_json_addition.rb +0 -161
  1556. data/vendor/gems/json-1.1.3/tests/test_json_fixtures.rb +0 -30
  1557. data/vendor/gems/json-1.1.3/tests/test_json_generate.rb +0 -100
  1558. data/vendor/gems/json-1.1.3/tests/test_json_rails.rb +0 -118
  1559. data/vendor/gems/json-1.1.3/tests/test_json_unicode.rb +0 -61
  1560. data/vendor/gems/json-1.1.3/tools/fuzz.rb +0 -140
  1561. data/vendor/gems/json-1.1.3/tools/server.rb +0 -62
  1562. data/vendor/memcache-client/History.txt +0 -25
  1563. data/vendor/memcache-client/LICENSE.txt +0 -30
  1564. data/vendor/memcache-client/Manifest.txt +0 -8
  1565. data/vendor/memcache-client/README.txt +0 -46
  1566. data/vendor/memcache-client/Rakefile +0 -23
  1567. data/vendor/memcache-client/lib/memcache.rb +0 -490
  1568. data/vendor/memcache-client/lib/memcache_util.rb +0 -71
  1569. data/vendor/memcache-client/test/test_mem_cache.rb +0 -284
  1570. data/vendor/plugins/datestamped_resources/README +0 -4
  1571. data/vendor/plugins/datestamped_resources/Rakefile +0 -22
  1572. data/vendor/plugins/datestamped_resources/init.rb +0 -2
  1573. data/vendor/plugins/datestamped_resources/install.rb +0 -1
  1574. data/vendor/plugins/datestamped_resources/lib/datestamped_resources.rb +0 -203
  1575. data/vendor/plugins/datestamped_resources/tasks/datestamped_resources_tasks.rake +0 -4
  1576. data/vendor/plugins/datestamped_resources/test/datestamped_resources_test.rb +0 -8
  1577. data/vendor/plugins/datestamped_resources/uninstall.rb +0 -1
  1578. data/vendor/plugins/fckeditor/CHANGELOG +0 -3
  1579. data/vendor/plugins/fckeditor/README +0 -118
  1580. data/vendor/plugins/fckeditor/app/controllers/fckeditor_controller.rb +0 -159
  1581. data/vendor/plugins/fckeditor/app/helpers/fckeditor_helper.rb +0 -2
  1582. data/vendor/plugins/fckeditor/app/views/fckeditor/spell_check.rhtml +0 -52
  1583. data/vendor/plugins/fckeditor/init.rb +0 -35
  1584. data/vendor/plugins/fckeditor/install.rb +0 -12
  1585. data/vendor/plugins/fckeditor/lib/fckeditor.rb +0 -101
  1586. data/vendor/plugins/fckeditor/lib/fckeditor_file_utils.rb +0 -81
  1587. data/vendor/plugins/fckeditor/lib/fckeditor_spell_check.rb +0 -43
  1588. data/vendor/plugins/fckeditor/lib/fckeditor_version.rb +0 -9
  1589. data/vendor/plugins/fckeditor/tasks/fckeditor_tasks.rake +0 -97
  1590. data/vendor/plugins/fckeditor/test/fckeditor_test.rb +0 -8
  1591. data/vendor/plugins/will_paginate/CHANGELOG.rdoc +0 -110
  1592. data/vendor/plugins/will_paginate/LICENSE +0 -18
  1593. data/vendor/plugins/will_paginate/README.rdoc +0 -107
  1594. data/vendor/plugins/will_paginate/Rakefile +0 -62
  1595. data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
  1596. data/vendor/plugins/will_paginate/examples/index.haml +0 -69
  1597. data/vendor/plugins/will_paginate/examples/index.html +0 -92
  1598. data/vendor/plugins/will_paginate/examples/pagination.css +0 -90
  1599. data/vendor/plugins/will_paginate/examples/pagination.sass +0 -91
  1600. data/vendor/plugins/will_paginate/init.rb +0 -1
  1601. data/vendor/plugins/will_paginate/lib/will_paginate.rb +0 -82
  1602. data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +0 -16
  1603. data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +0 -146
  1604. data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +0 -32
  1605. data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +0 -260
  1606. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +0 -170
  1607. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +0 -37
  1608. data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +0 -9
  1609. data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +0 -383
  1610. data/vendor/plugins/will_paginate/test/boot.rb +0 -21
  1611. data/vendor/plugins/will_paginate/test/collection_test.rb +0 -143
  1612. data/vendor/plugins/will_paginate/test/console +0 -8
  1613. data/vendor/plugins/will_paginate/test/database.yml +0 -22
  1614. data/vendor/plugins/will_paginate/test/finder_test.rb +0 -476
  1615. data/vendor/plugins/will_paginate/test/fixtures/admin.rb +0 -3
  1616. data/vendor/plugins/will_paginate/test/fixtures/developer.rb +0 -14
  1617. data/vendor/plugins/will_paginate/test/fixtures/developers_projects.yml +0 -13
  1618. data/vendor/plugins/will_paginate/test/fixtures/project.rb +0 -15
  1619. data/vendor/plugins/will_paginate/test/fixtures/projects.yml +0 -6
  1620. data/vendor/plugins/will_paginate/test/fixtures/replies.yml +0 -29
  1621. data/vendor/plugins/will_paginate/test/fixtures/reply.rb +0 -7
  1622. data/vendor/plugins/will_paginate/test/fixtures/schema.rb +0 -38
  1623. data/vendor/plugins/will_paginate/test/fixtures/topic.rb +0 -10
  1624. data/vendor/plugins/will_paginate/test/fixtures/topics.yml +0 -30
  1625. data/vendor/plugins/will_paginate/test/fixtures/user.rb +0 -2
  1626. data/vendor/plugins/will_paginate/test/fixtures/users.yml +0 -35
  1627. data/vendor/plugins/will_paginate/test/helper.rb +0 -37
  1628. data/vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb +0 -36
  1629. data/vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb +0 -73
  1630. data/vendor/plugins/will_paginate/test/lib/load_fixtures.rb +0 -11
  1631. data/vendor/plugins/will_paginate/test/lib/view_test_process.rb +0 -165
  1632. data/vendor/plugins/will_paginate/test/tasks.rake +0 -59
  1633. data/vendor/plugins/will_paginate/test/view_test.rb +0 -363
  1634. data/vendor/plugins/will_paginate/will_paginate.gemspec +0 -22
  1635. data/vendor/redcloth/RedCloth.gemspec +0 -52
  1636. data/vendor/redcloth/bin/redcloth +0 -3
  1637. data/vendor/redcloth/doc/CHANGELOG +0 -160
  1638. data/vendor/redcloth/doc/COPYING +0 -25
  1639. data/vendor/redcloth/doc/README +0 -106
  1640. data/vendor/redcloth/doc/REFERENCE +0 -216
  1641. data/vendor/redcloth/doc/make.rb +0 -359
  1642. data/vendor/redcloth/install.rb +0 -1032
  1643. data/vendor/redcloth/lib/redcloth.rb +0 -1130
  1644. data/vendor/redcloth/run-tests.rb +0 -28
  1645. data/vendor/redcloth/setup.rb +0 -1376
  1646. data/vendor/redcloth/tests/code.yml +0 -105
  1647. data/vendor/redcloth/tests/hard_breaks.yml +0 -26
  1648. data/vendor/redcloth/tests/images.yml +0 -171
  1649. data/vendor/redcloth/tests/instiki.yml +0 -39
  1650. data/vendor/redcloth/tests/links.yml +0 -155
  1651. data/vendor/redcloth/tests/lists.yml +0 -77
  1652. data/vendor/redcloth/tests/markdown.yml +0 -218
  1653. data/vendor/redcloth/tests/poignant.yml +0 -64
  1654. data/vendor/redcloth/tests/table.yml +0 -198
  1655. data/vendor/redcloth/tests/textism.yml +0 -406
  1656. data/vendor/sparklines/README.txt +0 -47
  1657. data/vendor/sparklines/USAGE +0 -14
  1658. data/vendor/sparklines/lib/sparklines.rb +0 -435
  1659. data/vendor/sparklines/samples/sparklinestest.rb +0 -26
  1660. data/vendor/sparklines/sparklines_generator.rb +0 -9
  1661. data/vendor/sparklines/templates/sparklines_controller.rb +0 -30
  1662. data/vendor/sparklines/templates/sparklines_helper.rb +0 -30
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('link',{init:function(a){a.addCommand('link',new CKEDITOR.dialogCommand('link'));a.addCommand('anchor',new CKEDITOR.dialogCommand('anchor'));a.addCommand('unlink',new CKEDITOR.unlinkCommand());a.ui.addButton('Link',{label:a.lang.link.toolbar,command:'link'});a.ui.addButton('Unlink',{label:a.lang.unlink,command:'unlink'});a.ui.addButton('Anchor',{label:a.lang.anchor.toolbar,command:'anchor'});CKEDITOR.dialog.add('link',this.path+'dialogs/link.js');CKEDITOR.dialog.add('anchor',this.path+'dialogs/anchor.js');a.addCss('img.cke_anchor{background-image: url('+CKEDITOR.getUrl(this.path+'images/anchor.gif')+');'+'background-position: center center;'+'background-repeat: no-repeat;'+'border: 1px solid #a9a9a9;'+'width: 18px;'+'height: 18px;'+'}\n'+'a.cke_anchor'+'{'+'background-image: url('+CKEDITOR.getUrl(this.path+'images/anchor.gif')+');'+'background-position: 0 center;'+'background-repeat: no-repeat;'+'border: 1px solid #a9a9a9;'+'padding-left: 18px;'+'}');a.on('selectionChange',function(b){var c=a.getCommand('unlink'),d=b.data.path.lastElement.getAscendant('a',true);if(d&&d.getName()=='a'&&d.getAttribute('href'))c.setState(CKEDITOR.TRISTATE_OFF);else c.setState(CKEDITOR.TRISTATE_DISABLED);});if(a.addMenuItems)a.addMenuItems({anchor:{label:a.lang.anchor.menu,command:'anchor',group:'anchor'},link:{label:a.lang.link.menu,command:'link',group:'link',order:1},unlink:{label:a.lang.unlink,command:'unlink',group:'link',order:5}});if(a.contextMenu)a.contextMenu.addListener(function(b,c){if(!b)return null;var d=b.is('img')&&b.getAttribute('_cke_real_element_type')=='anchor';if(!d){if(!(b=b.getAscendant('a',true)))return null;d=b.getAttribute('name')&&!b.getAttribute('href');}return d?{anchor:CKEDITOR.TRISTATE_OFF}:{link:CKEDITOR.TRISTATE_OFF,unlink:CKEDITOR.TRISTATE_OFF};});},afterInit:function(a){var b=a.dataProcessor,c=b&&b.dataFilter;if(c)c.addRules({elements:{a:function(d){var e=d.attributes;if(e.name&&!e.href)return a.createFakeParserElement(d,'cke_anchor','anchor');}}});},requires:['fakeobjects']});CKEDITOR.unlinkCommand=function(){};CKEDITOR.unlinkCommand.prototype={exec:function(a){var b=a.getSelection(),c=b.createBookmarks(),d=b.getRanges(),e,f;for(var g=0;g<d.length;g++){e=d[g].getCommonAncestor(true);f=e.getAscendant('a',true);if(!f)continue;d[g].selectNodeContents(f);}b.selectRanges(d);a.document.$.execCommand('unlink',false,null);b.selectBookmarks(c);}};CKEDITOR.tools.extend(CKEDITOR.config,{linkShowAdvancedTab:true,linkShowTargetTab:true});
@@ -0,0 +1,9 @@
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(){var a={ol:1,ul:1},b=/^[\n\r\t ]*$/;CKEDITOR.plugins.list={listToArray:function(i,j,k,l,m){if(!a[i.getName()])return[];if(!l)l=0;if(!k)k=[];for(var n=0,o=i.getChildCount();n<o;n++){var p=i.getChild(n);if(p.$.nodeName.toLowerCase()!='li')continue;var q={parent:i,indent:l,contents:[]};if(!m){q.grandparent=i.getParent();if(q.grandparent&&q.grandparent.$.nodeName.toLowerCase()=='li')q.grandparent=q.grandparent.getParent();}else q.grandparent=m;if(j)CKEDITOR.dom.element.setMarker(j,p,'listarray_index',k.length);k.push(q);for(var r=0,s=p.getChildCount();r<s;r++){var t=p.getChild(r);if(t.type==CKEDITOR.NODE_ELEMENT&&a[t.getName()])CKEDITOR.plugins.list.listToArray(t,j,k,l+1,q.grandparent);else q.contents.push(t);}}return k;},arrayToList:function(i,j,k,l){if(!k)k=0;if(!i||i.length<k+1)return null;var m=i[k].parent.getDocument(),n=new CKEDITOR.dom.documentFragment(m),o=null,p=k,q=Math.max(i[k].indent,0),r=null,s=l==CKEDITOR.ENTER_P?'p':'div';for(;;){var t=i[p];if(t.indent==q){if(!o||i[p].parent.getName()!=o.getName()){o=i[p].parent.clone(false,true);n.append(o);}r=o.append(m.createElement('li'));for(var u=0;u<t.contents.length;u++)r.append(t.contents[u].clone(true,true));p++;}else if(t.indent==Math.max(q,0)+1){var v=CKEDITOR.plugins.list.arrayToList(i,null,p,l);r.append(v.listNode);p=v.nextIndex;}else if(t.indent==-1&&!k&&t.grandparent){r;if(a[t.grandparent.getName()])r=m.createElement('li');else if(l!=CKEDITOR.ENTER_BR&&t.grandparent.getName()!='td')r=m.createElement(s);else r=new CKEDITOR.dom.documentFragment(m);for(u=0;u<t.contents.length;u++)r.append(t.contents[u].clone(true,true));if(r.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&&p!=i.length-1){if(r.getLast()&&r.getLast().type==CKEDITOR.NODE_ELEMENT&&r.getLast().getAttribute('type')=='_moz')r.getLast().remove();r.appendBogus();}if(r.type==CKEDITOR.NODE_ELEMENT&&r.getName()==s&&r.$.firstChild){r.trim();var w=r.getFirst();if(w.type==CKEDITOR.NODE_ELEMENT&&w.isBlockBoundary()){var x=new CKEDITOR.dom.documentFragment(m);r.moveChildren(x);r=x;}}var y=r.$.nodeName.toLowerCase();if(!CKEDITOR.env.ie&&(y=='div'||y=='p'))r.appendBogus();n.append(r);o=null;p++;}else return null;if(i.length<=p||Math.max(i[p].indent,0)<q)break;}if(j){var z=n.getFirst();while(z){if(z.type==CKEDITOR.NODE_ELEMENT)CKEDITOR.dom.element.clearMarkers(j,z);z=z.getNextSourceNode();}}return{listNode:n,nextIndex:p};}};function c(i,j){i.getCommand(this.name).setState(j);};function d(i){var j=i.data.path,k=j.blockLimit,l=j.elements,m;for(var n=0;n<l.length&&(m=l[n])&&(!m.equals(k));
7
+ n++)if(a[l[n].getName()])return c.call(this,i.editor,this.type==l[n].getName()?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);return c.call(this,i.editor,CKEDITOR.TRISTATE_OFF);};function e(i,j,k,l){var m=CKEDITOR.plugins.list.listToArray(j.root,k),n=[];for(var o=0;o<j.contents.length;o++){var p=j.contents[o];p=p.getAscendant('li',true);if(!p||p.getCustomData('list_item_processed'))continue;n.push(p);CKEDITOR.dom.element.setMarker(k,p,'list_item_processed',true);}var q=j.root.getDocument().createElement(this.type);for(o=0;o<n.length;o++){var r=n[o].getCustomData('listarray_index');m[r].parent=q;}var s=CKEDITOR.plugins.list.arrayToList(m,k,null,i.config.enterMode),t,u=s.listNode.getChildCount();for(o=0;o<u&&(t=s.listNode.getChild(o));o++)if(t.getName()==this.type)l.push(t);s.listNode.replace(j.root);};function f(i,j,k){var l=j.contents,m=j.root.getDocument(),n=[];if(l.length==1&&l[0].equals(j.root)){var o=m.createElement('div');l[0].moveChildren&&l[0].moveChildren(o);l[0].append(o);l[0]=o;}var p=j.contents[0].getParent();for(var q=0;q<l.length;q++)p=p.getCommonAncestor(l[q].getParent());for(q=0;q<l.length;q++){var r=l[q],s;while(s=r.getParent()){if(s.equals(p)){n.push(r);break;}r=s;}}if(n.length<1)return;var t=n[n.length-1].getNext(),u=m.createElement(this.type);k.push(u);while(n.length){var v=n.shift(),w=m.createElement('li');v.moveChildren(w);v.remove();w.appendTo(u);if(!CKEDITOR.env.ie)w.appendBogus();}if(t)u.insertBefore(t);else u.appendTo(p);};function g(i,j,k){var l=CKEDITOR.plugins.list.listToArray(j.root,k),m=[];for(var n=0;n<j.contents.length;n++){var o=j.contents[n];o=o.getAscendant('li',true);if(!o||o.getCustomData('list_item_processed'))continue;m.push(o);CKEDITOR.dom.element.setMarker(k,o,'list_item_processed',true);}var p=null;for(n=0;n<m.length;n++){var q=m[n].getCustomData('listarray_index');l[q].indent=-1;p=q;}for(n=p+1;n<l.length;n++)if(l[n].indent>l[n-1].indent+1){var r=l[n-1].indent+1-l[n].indent,s=l[n].indent;while(l[n]&&l[n].indent>=s){l[n].indent+=r;n++;}n--;}var t=CKEDITOR.plugins.list.arrayToList(l,k,null,i.config.enterMode),u=t.listNode,v,w;function x(z){if((v=u[z?'getFirst':'getLast']())&&(!(v.is&&v.isBlockBoundary())&&(w=j.root[z?'getPrevious':'getNext'](CKEDITOR.dom.walker.whitespaces(true)))&&(!(w.is&&w.isBlockBoundary({br:1})))))i.document.createElement('br')[z?'insertBefore':'insertAfter'](v);};x(true);x();var y=j.root.getParent();u.replace(j.root);};function h(i,j){this.name=i;this.type=j;};h.prototype={exec:function(i){i.focus();
8
+ var j=i.document,k=i.getSelection(),l=k&&k.getRanges();if(!l||l.length<1)return;if(this.state==CKEDITOR.TRISTATE_OFF){var m=j.getBody();m.trim();if(!m.getFirst()){var n=j.createElement(i.config.enterMode==CKEDITOR.ENTER_P?'p':i.config.enterMode==CKEDITOR.ENTER_DIV?'div':'br');n.appendTo(m);l=[new CKEDITOR.dom.range(j)];if(n.is('br')){l[0].setStartBefore(n);l[0].setEndAfter(n);}else l[0].selectNodeContents(n);k.selectRanges(l);}else{var o=l.length==1&&l[0],p=o&&o.getEnclosedNode();if(p&&p.is&&this.type==p.getName())c.call(this,i,CKEDITOR.TRISTATE_ON);}}var q=k.createBookmarks(true),r=[],s={};while(l.length>0){o=l.shift();var t=o.getBoundaryNodes(),u=t.startNode,v=t.endNode;if(u.type==CKEDITOR.NODE_ELEMENT&&u.getName()=='td')o.setStartAt(t.startNode,CKEDITOR.POSITION_AFTER_START);if(v.type==CKEDITOR.NODE_ELEMENT&&v.getName()=='td')o.setEndAt(t.endNode,CKEDITOR.POSITION_BEFORE_END);var w=o.createIterator(),x;w.forceBrBreak=this.state==CKEDITOR.TRISTATE_OFF;while(x=w.getNextParagraph()){var y=new CKEDITOR.dom.elementPath(x),z=null,A=false,B=y.blockLimit,C;for(var D=0;D<y.elements.length&&(C=y.elements[D])&&(!C.equals(B));D++)if(a[C.getName()]){B.removeCustomData('list_group_object');var E=C.getCustomData('list_group_object');if(E)E.contents.push(x);else{E={root:C,contents:[x]};r.push(E);CKEDITOR.dom.element.setMarker(s,C,'list_group_object',E);}A=true;break;}if(A)continue;var F=B;if(F.getCustomData('list_group_object'))F.getCustomData('list_group_object').contents.push(x);else{E={root:F,contents:[x]};CKEDITOR.dom.element.setMarker(s,F,'list_group_object',E);r.push(E);}}}var G=[];while(r.length>0){E=r.shift();if(this.state==CKEDITOR.TRISTATE_OFF){if(a[E.root.getName()])e.call(this,i,E,s,G);else f.call(this,i,E,G);}else if(this.state==CKEDITOR.TRISTATE_ON&&a[E.root.getName()])g.call(this,i,E,s);}for(D=0;D<G.length;D++){z=G[D];var H,I=this;(H=function(J){var K=z[J?'getPrevious':'getNext'](CKEDITOR.dom.walker.whitespaces(true));if(K&&K.getName&&K.getName()==I.type){K.remove();K.moveChildren(z,J?true:false);}})();H(true);}CKEDITOR.dom.element.clearAllMarkers(s);k.selectBookmarks(q);i.focus();}};CKEDITOR.plugins.add('list',{init:function(i){var j=new h('numberedlist','ol'),k=new h('bulletedlist','ul');i.addCommand('numberedlist',j);i.addCommand('bulletedlist',k);i.ui.addButton('NumberedList',{label:i.lang.numberedlist,command:'numberedlist'});i.ui.addButton('BulletedList',{label:i.lang.bulletedlist,command:'bulletedlist'});i.on('selectionChange',CKEDITOR.tools.bind(d,j));
9
+ i.on('selectionChange',CKEDITOR.tools.bind(d,k));},requires:['domiterator']});})();
@@ -0,0 +1,7 @@
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
+ CKEDITOR.plugins.add('listblock',{requires:['panel'],onLoad:function(){CKEDITOR.ui.panel.prototype.addListBlock=function(a,b){return this.addBlock(a,new CKEDITOR.ui.listBlock(this.getHolderElement(),b));};CKEDITOR.ui.listBlock=CKEDITOR.tools.createClass({base:CKEDITOR.ui.panel.block,$:function(a,b){var d=this;d.base(a);d.multiSelect=!!b;var c=d.keys;c[40]='next';c[9]='next';c[38]='prev';c[CKEDITOR.SHIFT+9]='prev';c[32]='click';d._.pendingHtml=[];d._.items={};d._.groups={};},_:{close:function(){if(this._.started){this._.pendingHtml.push('</ul>');delete this._.started;}},getClick:function(){if(!this._.click)this._.click=CKEDITOR.tools.addFunction(function(a){var c=this;var b=true;if(c.multiSelect)b=c.toggle(a);else c.mark(a);if(c.onClick)c.onClick(a,b);},this);return this._.click;}},proto:{add:function(a,b,c){var f=this;var d=f._.pendingHtml,e='cke_'+CKEDITOR.tools.getNextNumber();if(!f._.started){d.push('<ul class=cke_panel_list>');f._.started=1;}f._.items[a]=e;d.push('<li id=',e,' class=cke_panel_listItem><a _cke_focus=1 hidefocus=true title="',c||a,'" href="javascript:void(\'',a,'\')" onclick="CKEDITOR.tools.callFunction(',f._.getClick(),",'",a,"'); return false;\">",b||a,'</a></li>');},startGroup:function(a){this._.close();var b='cke_'+CKEDITOR.tools.getNextNumber();this._.groups[a]=b;this._.pendingHtml.push('<h1 id=',b,' class=cke_panel_grouptitle>',a,'</h1>');},commit:function(){var a=this;a._.close();a.element.appendHtml(a._.pendingHtml.join(''));a._.pendingHtml=[];},toggle:function(a){var b=this.isMarked(a);if(b)this.unmark(a);else this.mark(a);return!b;},hideGroup:function(a){var b=this.element.getDocument().getById(this._.groups[a]),c=b&&b.getNext();if(b){b.setStyle('display','none');if(c&&c.getName()=='ul')c.setStyle('display','none');}},hideItem:function(a){this.element.getDocument().getById(this._.items[a]).setStyle('display','none');},showAll:function(){var a=this._.items,b=this._.groups,c=this.element.getDocument();for(var d in a)c.getById(a[d]).setStyle('display','');for(var e in b){var f=c.getById(b[e]),g=f.getNext();f.setStyle('display','');if(g&&g.getName()=='ul')g.setStyle('display','');}},mark:function(a){var b=this;if(!b.multiSelect)b.unmarkAll();b.element.getDocument().getById(b._.items[a]).addClass('cke_selected');},unmark:function(a){this.element.getDocument().getById(this._.items[a]).removeClass('cke_selected');},unmarkAll:function(){var a=this._.items,b=this.element.getDocument();for(var c in a)b.getById(a[c]).removeClass('cke_selected');
7
+ },isMarked:function(a){return this.element.getDocument().getById(this._.items[a]).hasClass('cke_selected');},focus:function(a){this._.focusIndex=-1;if(a){var b=this.element.getDocument().getById(this._.items[a]).getFirst(),c=this.element.getElementsByTag('a'),d,e=-1;while(d=c.getItem(++e))if(d.equals(b)){this._.focusIndex=e;break;}setTimeout(function(){b.focus();},0);}}}});}});
@@ -0,0 +1,7 @@
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(){function a(f){if(!f||f.type!=CKEDITOR.NODE_ELEMENT||f.getName()!='form')return[];var g=[],h=['style','className'];for(var i=0;i<h.length;i++){var j=h[i],k=f.$.elements.namedItem(j);if(k){var l=new CKEDITOR.dom.element(k);g.push([l,l.nextSibling]);l.remove();}}return g;};function b(f,g){if(!f||f.type!=CKEDITOR.NODE_ELEMENT||f.getName()!='form')return;if(g.length>0)for(var h=g.length-1;h>=0;h--){var i=g[h][0],j=g[h][1];if(j)i.insertBefore(j);else i.appendTo(f);}};function c(f,g){var h=a(f),i={},j=f.$;if(!g){i['class']=j.className||'';j.className='';}i.inline=j.style.cssText||'';if(!g)j.style.cssText='position: static; overflow: visible';b(h);return i;};function d(f,g){var h=a(f),i=f.$;if('class' in g)i.className=g['class'];if('inline' in g)i.style.cssText=g.inline;b(h);};function e(f,g){return function(){var h=f.getViewPaneSize();g.resize(h.width,h.height,null,true);};};CKEDITOR.plugins.add('maximize',{init:function(f){var g=f.lang,h=CKEDITOR.document,i=h.getWindow(),j,k,l,m=e(i,f),n=CKEDITOR.TRISTATE_OFF;f.addCommand('maximize',{modes:{wysiwyg:1,source:1},exec:function(){var x=this;var o=f.container.getChild([0,0]),p=f.getThemeSpace('contents');if(f.mode=='wysiwyg'){j=f.getSelection().getRanges();k=i.getScrollPosition();}else{var q=f.textarea.$;j=!CKEDITOR.env.ie&&[q.selectionStart,q.selectionEnd];k=[q.scrollLeft,q.scrollTop];}if(x.state==CKEDITOR.TRISTATE_OFF){i.on('resize',m);l=i.getScrollPosition();var r=f.container;while(r=r.getParent()){r.setCustomData('maximize_saved_styles',c(r));r.setStyle('z-index',f.config.baseFloatZIndex-1);}p.setCustomData('maximize_saved_styles',c(p,true));o.setCustomData('maximize_saved_styles',c(o,true));if(CKEDITOR.env.ie)h.$.documentElement.style.overflow=h.getBody().$.style.overflow='hidden';else h.getBody().setStyles({overflow:'hidden',width:'0px',height:'0px'});i.$.scrollTo(0,0);var s=i.getViewPaneSize();o.setStyle('position','absolute');o.$.offsetLeft;o.setStyles({'z-index':f.config.baseFloatZIndex-1,left:'0px',top:'0px'});f.resize(s.width,s.height,null,true);var t=o.getDocumentPosition();o.setStyles({left:-1*t.x+'px',top:-1*t.y+'px'});o.addClass('cke_maximized');}else if(x.state==CKEDITOR.TRISTATE_ON){i.removeListener('resize',m);var u=[p,o];for(var v=0;v<u.length;v++){d(u[v],u[v].getCustomData('maximize_saved_styles'));u[v].removeCustomData('maximize_saved_styles');}r=f.container;while(r=r.getParent()){d(r,r.getCustomData('maximize_saved_styles'));r.removeCustomData('maximize_saved_styles');}i.$.scrollTo(l.x,l.y);
7
+ o.removeClass('cke_maximized');f.fire('resize');}x.toggleState();if(f.mode=='wysiwyg'){f.getSelection().selectRanges(j);var w=f.getSelection().getStartElement();if(w)w.scrollIntoView(true);else i.$.scrollTo(k.x,k.y);}else{if(j){q.selectionStart=j[0];q.selectionEnd=j[1];}q.scrollLeft=k[0];q.scrollTop=k[1];}j=k=null;n=x.state;},canUndo:false});f.ui.addButton('Maximize',{label:g.maximize,command:'maximize'});f.on('mode',function(){f.getCommand('maximize').setState(n);},null,null,100);}});})();
@@ -0,0 +1,7 @@
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
+ CKEDITOR.plugins.add('menu',{beforeInit:function(a){var b=a.config.menu_groups.split(','),c={};for(var d=0;d<b.length;d++)c[b[d]]=d+1;a._.menuGroups=c;a._.menuItems={};},requires:['floatpanel']});CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{addMenuGroup:function(a,b){this._.menuGroups[a]=b||100;},addMenuItem:function(a,b){if(this._.menuGroups[b.group])this._.menuItems[a]=new CKEDITOR.menuItem(this,a,b);},addMenuItems:function(a){for(var b in a)this.addMenuItem(b,a[b]);},getMenuItem:function(a){return this._.menuItems[a];}});(function(){CKEDITOR.menu=CKEDITOR.tools.createClass({$:function(b,c){var d=this;d.id='cke_'+CKEDITOR.tools.getNextNumber();d.editor=b;d.items=[];d._.level=c||1;},_:{showSubMenu:function(b){var h=this;var c=h._.subMenu,d=h.items[b],e=d.getItems&&d.getItems();if(!e){h._.panel.hideChild();return;}if(c)c.removeAll();else{c=h._.subMenu=new CKEDITOR.menu(h.editor,h._.level+1);c.parent=h;c.onClick=CKEDITOR.tools.bind(h.onClick,h);}for(var f in e)c.add(h.editor.getMenuItem(f));var g=h._.panel.getBlock(h.id).element.getDocument().getById(h.id+String(b));c.show(g,2);}},proto:{add:function(b){if(!b.order)b.order=this.items.length;this.items.push(b);},removeAll:function(){this.items=[];},show:function(b,c,d,e){var f=this.items,g=this.editor,h=this._.panel,i=this._.element;if(!h){h=this._.panel=new CKEDITOR.ui.floatPanel(this.editor,CKEDITOR.document.getBody(),{css:[CKEDITOR.getUrl(g.skinPath+'editor.css')],level:this._.level-1,className:g.skinClass+' cke_contextmenu'},this._.level);h.onEscape=CKEDITOR.tools.bind(function(){this.onEscape&&this.onEscape();this.hide();},this);h.onHide=CKEDITOR.tools.bind(function(){this.onHide&&this.onHide();},this);var j=h.addBlock(this.id);j.autoSize=true;var k=j.keys;k[40]='next';k[9]='next';k[38]='prev';k[CKEDITOR.SHIFT+9]='prev';k[32]='click';k[39]='click';i=this._.element=j.element;i.addClass(g.skinClass);var l=i.getDocument();l.getBody().setStyle('overflow','hidden');l.getElementsByTag('html').getItem(0).setStyle('overflow','hidden');this._.itemOverFn=CKEDITOR.tools.addFunction(function(r){var s=this;clearTimeout(s._.showSubTimeout);s._.showSubTimeout=CKEDITOR.tools.setTimeout(s._.showSubMenu,g.config.menu_subMenuDelay,s,[r]);},this);this._.itemOutFn=CKEDITOR.tools.addFunction(function(r){clearTimeout(this._.showSubTimeout);},this);this._.itemClickFn=CKEDITOR.tools.addFunction(function(r){var t=this;var s=t.items[r];if(s.state==CKEDITOR.TRISTATE_DISABLED){t.hide();return;}if(s.getItems)t._.showSubMenu(r);else t.onClick&&t.onClick(s);
7
+ },this);}a(f);var m=['<div class="cke_menu">'],n=f.length,o=n&&f[0].group;for(var p=0;p<n;p++){var q=f[p];if(o!=q.group){m.push('<div class="cke_menuseparator"></div>');o=q.group;}q.render(this,p,m);}m.push('</div>');i.setHtml(m.join(''));if(this.parent)this.parent._.panel.showAsChild(h,this.id,b,c,d,e);else h.showBlock(this.id,b,c,d,e);},hide:function(){this._.panel&&this._.panel.hide();}}});function a(b){b.sort(function(c,d){if(c.group<d.group)return-1;else if(c.group>d.group)return 1;return c.order<d.order?-1:c.order>d.order?1:0;});};})();CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(a,b,c){var d=this;CKEDITOR.tools.extend(d,c,{order:0,className:'cke_button_'+b});d.group=a._.menuGroups[d.group];d.editor=a;d.name=b;},proto:{render:function(a,b,c){var i=this;var d=a.id+String(b),e=typeof i.state=='undefined'?CKEDITOR.TRISTATE_OFF:i.state,f=' cke_'+(e==CKEDITOR.TRISTATE_ON?'on':e==CKEDITOR.TRISTATE_DISABLED?'disabled':'off'),g=i.label;if(e==CKEDITOR.TRISTATE_DISABLED)g=i.editor.lang.common.unavailable.replace('%1',g);if(i.className)f+=' '+i.className;c.push('<span class="cke_menuitem"><a id="',d,'" class="',f,'" href="javascript:void(\'',(i.label||'').replace("'",''),'\')" title="',i.label,'" tabindex="-1"_cke_focus=1 hidefocus="true"');if(CKEDITOR.env.opera||CKEDITOR.env.gecko&&CKEDITOR.env.mac)c.push(' onkeypress="return false;"');if(CKEDITOR.env.gecko)c.push(' onblur="this.style.cssText = this.style.cssText;"');var h=(i.iconOffset||0)*(-16);c.push(' onmouseover="CKEDITOR.tools.callFunction(',a._.itemOverFn,',',b,');" onmouseout="CKEDITOR.tools.callFunction(',a._.itemOutFn,',',b,');" onclick="CKEDITOR.tools.callFunction(',a._.itemClickFn,',',b,'); return false;"><span class="cke_icon_wrapper"><span class="cke_icon"'+(i.icon?' style="background-image:url('+CKEDITOR.getUrl(i.icon)+');background-position:0 '+h+'px;"></span>':'')+'></span></span>'+'<span class="cke_label">');if(i.getItems)c.push('<span class="cke_menuarrow"></span>');c.push(g,'</span></a></span>');}}});CKEDITOR.config.menu_subMenuDelay=400;CKEDITOR.config.menu_groups='clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea';
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('menubutton',{requires:['button','contextmenu'],beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_MENUBUTTON,CKEDITOR.ui.menuButton.handler);}});CKEDITOR.UI_MENUBUTTON=5;(function(){var a=function(b){var c=this._;if(c.state===CKEDITOR.TRISTATE_DISABLED)return;c.previousState=c.state;var d=c.menu;if(!d){d=c.menu=new CKEDITOR.plugins.contextMenu(b);d.onHide=CKEDITOR.tools.bind(function(){this.setState(c.previousState);},this);if(this.onMenu)d.addListener(this.onMenu);}if(c.on){d.hide();return;}this.setState(CKEDITOR.TRISTATE_ON);d.show(CKEDITOR.document.getById(this._.id),4);};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(b){var c=b.panel;delete b.panel;this.base(b);this.hasArrow=true;this.click=a;},statics:{handler:{create:function(b){return new CKEDITOR.ui.menuButton(b);}}}});})();
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('newpage',{init:function(a){a.addCommand('newpage',{modes:{wysiwyg:1,source:1},exec:function(b){var c=this;function d(){setTimeout(function(){b.fire('afterCommandExec',{name:c.name,command:c});},500);};if(b.mode=='wysiwyg')b.on('contentDom',function(e){e.removeListener();d();});b.setData(b.config.newpage_html);b.focus();if(b.mode=='source')d();},async:true});a.ui.addButton('NewPage',{label:a.lang.newPage,command:'newpage'});}});CKEDITOR.config.newpage_html='';
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('pagebreak',{init:function(a){a.addCommand('pagebreak',CKEDITOR.plugins.pagebreakCmd);a.ui.addButton('PageBreak',{label:a.lang.pagebreak,command:'pagebreak'});a.addCss('img.cke_pagebreak{background-image: url('+CKEDITOR.getUrl(this.path+'images/pagebreak.gif')+');'+'background-position: center center;'+'background-repeat: no-repeat;'+'clear: both;'+'display: block;'+'float: none;'+'width: 100%;'+'border-top: #999999 1px dotted;'+'border-bottom: #999999 1px dotted;'+'height: 5px;'+'}');},afterInit:function(a){var b=a.dataProcessor,c=b&&b.dataFilter;if(c)c.addRules({elements:{div:function(d){var e=d.attributes.style,f=e&&d.children.length==1&&d.children[0],g=f&&f.name=='span'&&f.attributes.style;if(g&&/page-break-after\s*:\s*always/i.test(e)&&/display\s*:\s*none/i.test(g))return a.createFakeParserElement(d,'cke_pagebreak','div');}}});},requires:['fakeobjects']});CKEDITOR.plugins.pagebreakCmd={exec:function(a){var b=CKEDITOR.dom.element.createFromHtml('<div style="page-break-after: always;"><span style="display: none;">&nbsp;</span></div>');b=a.createFakeElement(b,'cke_pagebreak','div');var c=a.getSelection().getRanges();for(var d,e=0;e<c.length;e++){d=c[e];if(e>0)b=b.clone(true);d.splitBlock('p');d.insertNode(b);}}};
@@ -0,0 +1,7 @@
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
+ CKEDITOR.plugins.add('panel',{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_PANEL,CKEDITOR.ui.panel.handler);}});CKEDITOR.UI_PANEL=2;CKEDITOR.ui.panel=function(a,b){var c=this;if(b)CKEDITOR.tools.extend(c,b);CKEDITOR.tools.extend(c,{className:'',css:[]});c.id=CKEDITOR.tools.getNextNumber();c.document=a;c._={blocks:{}};};CKEDITOR.ui.panel.handler={create:function(a){return new CKEDITOR.ui.panel(a);}};CKEDITOR.ui.panel.prototype={renderHtml:function(a){var b=[];this.render(a,b);return b.join('');},render:function(a,b){var d=this;var c='cke_'+d.id;b.push('<div class="',a.skinClass,'" lang="',a.langCode,'" style="display:none;z-index:'+(a.config.baseFloatZIndex+1)+'">'+'<div'+' id=',c,' dir=',a.lang.dir,' class="cke_panel cke_',a.lang.dir);if(d.className)b.push(' ',d.className);b.push('">');if(d.forceIFrame||d.css.length){b.push('<iframe id="',c,'_frame" frameborder="0" src="javascript:void(');b.push(CKEDITOR.env.isCustomDomain()?"(function(){document.open();document.domain='"+document.domain+"';"+'document.close();'+'})()':'0');b.push(')"></iframe>');}b.push('</div></div>');return c;},getHolderElement:function(){var a=this._.holder;if(!a){if(this.forceIFrame||this.css.length){var b=this.document.getById('cke_'+this.id+'_frame'),c=b.getParent(),d=c.getAttribute('dir'),e=c.getParent().getAttribute('class'),f=c.getParent().getAttribute('lang'),g=b.getFrameDocument();g.$.open();if(CKEDITOR.env.isCustomDomain())g.$.domain=document.domain;var h=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(j){this.isLoaded=true;if(this.onLoad)this.onLoad();},this));g.$.write('<!DOCTYPE html><html dir="'+d+'" class="'+e+'_container" lang="'+f+'">'+'<head>'+'<style>.'+e+'_container{visibility:hidden}</style>'+'</head>'+'<body class="cke_'+d+' cke_panel_frame '+CKEDITOR.env.cssClass+'" style="margin:0;padding:0"'+' onload="( window.CKEDITOR || window.parent.CKEDITOR ).tools.callFunction('+h+');">'+'</body>'+'<link type="text/css" rel=stylesheet href="'+this.css.join('"><link type="text/css" rel="stylesheet" href="')+'">'+'</html>');g.$.close();var i=g.getWindow();i.$.CKEDITOR=CKEDITOR;g.on('keydown',function(j){var l=this;var k=j.data.getKeystroke();if(l._.onKeyDown&&l._.onKeyDown(k)===false){j.data.preventDefault();return;}if(k==27)l.onEscape&&l.onEscape();},this);a=g.getBody();}else a=this.document.getById('cke_'+this.id);this._.holder=a;}return a;},addBlock:function(a,b){var c=this;b=c._.blocks[a]=b||new CKEDITOR.ui.panel.block(c.getHolderElement());if(!c._.currentBlock)c.showBlock(a);
7
+ return b;},getBlock:function(a){return this._.blocks[a];},showBlock:function(a){var e=this;var b=e._.blocks,c=b[a],d=e._.currentBlock;if(d)d.hide();e._.currentBlock=c;c._.focusIndex=-1;e._.onKeyDown=c.onKeyDown&&CKEDITOR.tools.bind(c.onKeyDown,c);c.show();return c;}};CKEDITOR.ui.panel.block=CKEDITOR.tools.createClass({$:function(a){this.element=a.append(a.getDocument().createElement('div',{attributes:{'class':'cke_panel_block'},styles:{display:'none'}}));this.keys={};this._.focusIndex=-1;},_:{},proto:{show:function(){this.element.setStyle('display','');},hide:function(){var a=this;if(!a.onHide||a.onHide.call(a)!==true)a.element.setStyle('display','none');},onKeyDown:function(a){var f=this;var b=f.keys[a];switch(b){case 'next':var c=f._.focusIndex,d=f.element.getElementsByTag('a'),e;while(e=d.getItem(++c))if(e.getAttribute('_cke_focus')&&e.$.offsetWidth){f._.focusIndex=c;e.focus();break;}return false;case 'prev':c=f._.focusIndex;d=f.element.getElementsByTag('a');while(c>0&&(e=d.getItem(--c)))if(e.getAttribute('_cke_focus')&&e.$.offsetWidth){f._.focusIndex=c;e.focus();break;}return false;case 'click':c=f._.focusIndex;e=c>=0&&f.element.getElementsByTag('a').getItem(c);if(e)e.$.click?e.$.click():e.$.onclick();return false;}return true;}}});
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('panelbutton',{requires:['button'],beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_PANELBUTTON,CKEDITOR.ui.panelButton.handler);}});CKEDITOR.UI_PANELBUTTON=4;(function(){var a=function(b){var d=this;var c=d._;if(c.state==CKEDITOR.TRISTATE_DISABLED)return;d.createPanel(b);if(c.on){c.panel.hide();return;}c.panel.showBlock(d._.id,d.document.getById(d._.id),4);};CKEDITOR.ui.panelButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(b){var d=this;var c=b.panel;delete b.panel;d.base(b);d.document=c&&c.parent&&c.parent.getDocument()||CKEDITOR.document;d.hasArrow=true;d.click=a;d._={panelDefinition:c};},statics:{handler:{create:function(b){return new CKEDITOR.ui.panelButton(b);}}},proto:{createPanel:function(b){var c=this._;if(c.panel)return;var d=this._.panelDefinition||{},e=d.parent||CKEDITOR.document.getBody(),f=this._.panel=new CKEDITOR.ui.floatPanel(b,e,d),g=this;f.onShow=function(){if(g.className)this.element.getFirst().addClass(g.className+'_panel');c.oldState=g._.state;g.setState(CKEDITOR.TRISTATE_ON);c.on=1;if(g.onOpen)g.onOpen();};f.onHide=function(){if(g.className)this.element.getFirst().removeClass(g.className+'_panel');g.setState(c.oldState);c.on=0;if(g.onClose)g.onClose();};f.onEscape=function(){f.hide();g.document.getById(c.id).focus();};if(this.onBlock)this.onBlock(f,c.id);f.getBlock(c.id).onHide=function(){c.on=0;g.setState(CKEDITOR.TRISTATE_OFF);};}}});})();
@@ -0,0 +1,8 @@
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
+ CKEDITOR.dialog.add('pastefromword',function(a){return{title:a.lang.pastefromword.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370:350,minHeight:CKEDITOR.env.ie&&CKEDITOR.env.quirks?270:260,htmlToLoad:'<!doctype html><script type="text/javascript">window.onload = function(){if ( '+CKEDITOR.env.ie+' ) '+'document.body.contentEditable = "true";'+'else '+'document.designMode = "on";'+'var iframe = new window.parent.CKEDITOR.dom.element( frameElement );'+'var dialog = iframe.getCustomData( "dialog" );'+''+'iframe.getFrameDocument().on( "keydown", function( e )\t\t\t\t\t\t{\t\t\t\t\t\t\tif ( e.data.getKeystroke() == 27 )\t\t\t\t\t\t\t\tdialog.hide();\t\t\t\t\t\t});'+'dialog.fire( "iframeAdded", { iframe : iframe } );'+'};'+'</script><style>body { margin: 3px; height: 95%; } </style><body></body>',cleanWord:function(b,c,d,e){c=c.replace(/<\!--[\s\S]*?-->/g,'');c=c.replace(/<o:p>\s*<\/o:p>/g,'');c=c.replace(/<o:p>[\s\S]*?<\/o:p>/g,'&nbsp;');c=c.replace(/\s*mso-[^:]+:[^;"]+;?/gi,'');c=c.replace(/\s*MARGIN: 0(?:cm|in) 0(?:cm|in) 0pt\s*;/gi,'');c=c.replace(/\s*MARGIN: 0(?:cm|in) 0(?:cm|in) 0pt\s*"/gi,'"');c=c.replace(/\s*TEXT-INDENT: 0cm\s*;/gi,'');c=c.replace(/\s*TEXT-INDENT: 0cm\s*"/gi,'"');c=c.replace(/\s*TEXT-ALIGN: [^\s;]+;?"/gi,'"');c=c.replace(/\s*PAGE-BREAK-BEFORE: [^\s;]+;?"/gi,'"');c=c.replace(/\s*FONT-VARIANT: [^\s;]+;?"/gi,'"');c=c.replace(/\s*tab-stops:[^;"]*;?/gi,'');c=c.replace(/\s*tab-stops:[^"]*/gi,'');if(d){c=c.replace(/\s*face="[^"]*"/gi,'');c=c.replace(/\s*face=[^ >]*/gi,'');c=c.replace(/\s*FONT-FAMILY:[^;"]*;?/gi,'');}c=c.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi,'<$1$3');if(e)c=c.replace(/<(\w[^>]*) style="([^\"]*)"([^>]*)/gi,'<$1$3');c=c.replace(/<STYLE[^>]*>[\s\S]*?<\/STYLE[^>]*>/gi,'');c=c.replace(/<(?:META|LINK)[^>]*>\s*/gi,'');c=c.replace(/\s*style="\s*"/gi,'');c=c.replace(/<SPAN\s*[^>]*>\s*&nbsp;\s*<\/SPAN>/gi,'&nbsp;');c=c.replace(/<SPAN\s*[^>]*><\/SPAN>/gi,'');c=c.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi,'<$1$3');c=c.replace(/<SPAN\s*>([\s\S]*?)<\/SPAN>/gi,'$1');c=c.replace(/<FONT\s*>([\s\S]*?)<\/FONT>/gi,'$1');c=c.replace(/<\\?\?xml[^>]*>/gi,'');c=c.replace(/<w:[^>]*>[\s\S]*?<\/w:[^>]*>/gi,'');c=c.replace(/<\/?\w+:[^>]*>/gi,'');c=c.replace(/<(U|I|STRIKE)>&nbsp;<\/\1>/g,'&nbsp;');c=c.replace(/<H\d>\s*<\/H\d>/gi,'');c=c.replace(/<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none[\s\S]*?<\/\1>/ig,'');c=c.replace(/<(\w[^>]*) language=([^ |>]*)([^>]*)/gi,'<$1$3');c=c.replace(/<(\w[^>]*) onmouseover="([^\"]*)"([^>]*)/gi,'<$1$3');c=c.replace(/<(\w[^>]*) onmouseout="([^\"]*)"([^>]*)/gi,'<$1$3');
7
+ if(b.config.pasteFromWordKeepsStructure){c=c.replace(/<H(\d)([^>]*)>/gi,'<h$1>');c=c.replace(/<(H\d)><FONT[^>]*>([\s\S]*?)<\/FONT><\/\1>/gi,'<$1>$2</$1>');c=c.replace(/<(H\d)><EM>([\s\S]*?)<\/EM><\/\1>/gi,'<$1>$2</$1>');}else{c=c.replace(/<H1([^>]*)>/gi,'<div$1><b><font size="6">');c=c.replace(/<H2([^>]*)>/gi,'<div$1><b><font size="5">');c=c.replace(/<H3([^>]*)>/gi,'<div$1><b><font size="4">');c=c.replace(/<H4([^>]*)>/gi,'<div$1><b><font size="3">');c=c.replace(/<H5([^>]*)>/gi,'<div$1><b><font size="2">');c=c.replace(/<H6([^>]*)>/gi,'<div$1><b><font size="1">');c=c.replace(/<\/H\d>/gi,'</font></b></div>');var f=new RegExp('(<P)([^>]*>[\\s\\S]*?)(</P>)','gi');c=c.replace(f,'<div$2</div>');c=c.replace(/<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g,'');c=c.replace(/<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g,'');c=c.replace(/<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g,'');}return c;},onShow:function(){var h=this;if(CKEDITOR.env.ie)h.getParentEditor().document.getBody().$.contentEditable='false';h.parts.dialog.$.offsetHeight;var b=h.getContentElement('general','editing_area').getElement(),c=CKEDITOR.dom.element.createFromHtml('<iframe src="javascript:void(0)" frameborder="0" allowtransparency="1"></iframe>'),d=h.getParentEditor().lang;c.setStyles({width:'346px',height:'152px','background-color':'white',border:'1px solid black'});c.setCustomData('dialog',h);var e=d.editorTitle.replace('%1',d.pastefromword.title);if(CKEDITOR.env.ie)b.setHtml('<legend style="position:absolute;top:-1000000px;left:-1000000px;">'+CKEDITOR.tools.htmlEncode(e)+'</legend>');else{b.setHtml('');b.setAttributes({role:'region',title:e});c.setAttributes({role:'region',title:' '});}b.append(c);if(CKEDITOR.env.ie)b.setStyle('height',c.$.offsetHeight+2+'px');var f=CKEDITOR.env.ie&&document.domain!=window.location.hostname;if(f){CKEDITOR._cke_htmlToLoad=h.definition.htmlToLoad;c.setAttribute('src','javascript:void( (function(){document.open();document.domain="'+document.domain+'";'+'document.write( window.parent.CKEDITOR._cke_htmlToLoad );'+'delete window.parent.CKEDITOR._cke_htmlToLoad;'+'document.close();'+'})() )');}else{var g=c.$.contentWindow.document;g.open();g.write(h.definition.htmlToLoad);g.close();}},onOk:function(){var b=this.getContentElement('general','editing_area').getElement(),c=b.getElementsByTag('iframe').getItem(0),d=this.getParentEditor(),e=this.definition.cleanWord(d,c.$.contentWindow.document.body.innerHTML,this.getValueOf('general','ignoreFontFace'),this.getValueOf('general','removeStyle'));setTimeout(function(){d.insertHtml(e);
8
+ },0);},onHide:function(){if(CKEDITOR.env.ie)this.getParentEditor().document.getBody().$.contentEditable='true';},onLoad:function(){if((CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&(a.lang.dir=='rtl'))this.parts.contents.setStyle('overflow','hidden');},contents:[{id:'general',label:a.lang.pastefromword.title,elements:[{type:'html',style:'white-space:normal;width:346px;display:block',onShow:function(){if(CKEDITOR.env.webkit)this.getElement().getAscendant('table').setStyle('table-layout','fixed');},html:a.lang.pastefromword.advice},{type:'html',id:'editing_area',style:'width: 100%; height: 100%;',html:'<fieldset></fieldset>',focus:function(){var b=this.getElement(),c=b.getElementsByTag('iframe');if(c.count()<1)return;c=c.getItem(0);setTimeout(function(){c.$.contentWindow.focus();},500);}},{type:'vbox',padding:0,children:[{type:'checkbox',id:'ignoreFontFace',label:a.lang.pastefromword.ignoreFontFace,'default':a.config.pasteFromWordIgnoreFontFace},{type:'checkbox',id:'removeStyle',label:a.lang.pastefromword.removeStyle,'default':a.config.pasteFromWordRemoveStyle}]}]}]};});
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('pastefromword',{init:function(a){a.addCommand('pastefromword',new CKEDITOR.dialogCommand('pastefromword'));a.ui.addButton('PasteFromWord',{label:a.lang.pastefromword.toolbar,command:'pastefromword'});CKEDITOR.dialog.add('pastefromword',this.path+'dialogs/pastefromword.js');}});CKEDITOR.config.pasteFromWordIgnoreFontFace=true;CKEDITOR.config.pasteFromWordRemoveStyle=false;CKEDITOR.config.pasteFromWordKeepsStructure=false;
@@ -0,0 +1,6 @@
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(){CKEDITOR.dialog.add('pastetext',function(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.getContentElement('general','content').getInputElement().setValue('');},onOk:function(){var b=this.getContentElement('general','content').getInputElement().getValue();this.getParentEditor().insertText(b);},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'<div style="white-space:normal;width:340px;">'+a.lang.clipboard.pasteMsg+'</div>'},{type:'html',id:'content',style:'width:340px;height:170px',html:'<textarea style="width:346px;height:170px;resize: none;border:1px solid black;background-color:white"></textarea>',focus:function(){this.getElement().focus();}}]}]};});})();
@@ -0,0 +1,6 @@
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(){var a={exec:function(c){if(CKEDITOR.getClipboardData()===false||!window.clipboardData){c.openDialog('pastetext');return;}c.insertText(window.clipboardData.getData('Text'));}};CKEDITOR.plugins.add('pastetext',{init:function(c){var d='pastetext',e=c.addCommand(d,a);c.ui.addButton('PasteText',{label:c.lang.pasteText.button,command:d});CKEDITOR.dialog.add(d,CKEDITOR.getUrl(this.path+'dialogs/pastetext.js'));if(c.config.forcePasteAsPlainText)c.on('beforePaste',function(f){if(c.mode=='wysiwyg'){setTimeout(function(){e.exec();},0);f.cancel();}},null,null,20);},requires:['clipboard']});var b;CKEDITOR.getClipboardData=function(){if(!CKEDITOR.env.ie)return false;var c=CKEDITOR.document,d=c.getBody();if(!b){b=c.createElement('div',{attributes:{id:'cke_hiddenDiv'},styles:{position:'absolute',visibility:'hidden',overflow:'hidden',width:'1px',height:'1px'}});b.setHtml('');b.appendTo(d);}var e=false,f=function(){e=true;};d.on('paste',f);var g=d.$.createTextRange();g.moveToElementText(b.$);g.execCommand('Paste');var h=b.getHtml();b.setHtml('');d.removeListener('paste',f);return e&&h;};})();CKEDITOR.editor.prototype.insertText=function(a){a=CKEDITOR.tools.htmlEncode(a);a=a.replace(/(?:\r\n)|\n|\r/g,'<br>');this.insertHtml(a);};CKEDITOR.config.forcePasteAsPlainText=false;
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('popup');CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(a,b,c){b=b||'80%';c=c||'70%';if(typeof b=='string'&&b.length>1&&b.substr(b.length-1,1)=='%')b=parseInt(window.screen.width*parseInt(b,10)/100,10);if(typeof c=='string'&&c.length>1&&c.substr(c.length-1,1)=='%')c=parseInt(window.screen.height*parseInt(c,10)/100,10);if(b<640)b=640;if(c<420)c=420;var d=parseInt((window.screen.height-c)/(2),10),e=parseInt((window.screen.width-b)/(2),10),f='location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,width='+b+',height='+c+',top='+d+',left='+e,g=window.open('',null,f,true);if(!g)return false;try{g.moveTo(e,d);g.resizeTo(b,c);g.focus();g.location.href=a;}catch(h){g=window.open(a,null,f,true);}return true;}});
@@ -0,0 +1,6 @@
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(){var a={modes:{wysiwyg:1,source:1},canUndo:false,exec:function(c){var d,e=CKEDITOR.env.ie&&document.domain!=window.location.hostname;if(c.config.fullPage)d=c.getData();else{var f='<body ',g=CKEDITOR.document.getBody(),h=c.config.baseHref.length>0?'<base href="'+c.config.baseHref+'" _cktemp="true"></base>':'';if(g.getAttribute('id'))f+='id="'+g.getAttribute('id')+'" ';if(g.getAttribute('class'))f+='class="'+g.getAttribute('class')+'" ';f+='>';d=c.config.docType+'<html dir="'+c.config.contentsLangDirection+'">'+'<head>'+h+'<title>'+c.lang.preview+'</title>'+'<link href="'+c.config.contentsCss+'" type="text/css" rel="stylesheet" _cktemp="true"/>'+'</head>'+f+c.getData()+'</body></html>';}var i=640,j=420,k=80;try{var l=window.screen;i=Math.round(l.width*0.8);j=Math.round(l.height*0.7);k=Math.round(l.width*0.1);}catch(o){}var m='';if(e){window._cke_htmlToLoad=d;m='javascript:void( (function(){document.open();document.domain="'+document.domain+'";'+'document.write( window.opener._cke_htmlToLoad );'+'document.close();'+'window.opener._cke_htmlToLoad = null;'+'})() )';}var n=window.open(m,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+i+',height='+j+',left='+k);if(!e){n.document.write(d);n.document.close();}}},b='preview';CKEDITOR.plugins.add(b,{init:function(c){c.addCommand(b,a);c.ui.addButton('Preview',{label:c.lang.preview,command:b});}});})();
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('print',{init:function(a){var b='print',c=a.addCommand(b,CKEDITOR.plugins.print);a.ui.addButton('Print',{label:a.lang.print,command:b});}});CKEDITOR.plugins.print={exec:function(a){if(CKEDITOR.env.opera)return;else if(CKEDITOR.env.gecko)a.window.$.print();else a.document.$.execCommand('Print');},canUndo:false,modes:{wysiwyg:!CKEDITOR.env.opera}};
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('removeformat',{requires:['selection'],init:function(a){a.addCommand('removeFormat',CKEDITOR.plugins.removeformat.commands.removeformat);a.ui.addButton('RemoveFormat',{label:a.lang.removeFormat,command:'removeFormat'});}});CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(a){var b=a._.removeFormatRegex||(a._.removeFormatRegex=new RegExp('^(?:'+a.config.removeFormatTags.replace(/,/g,'|')+')$','i')),c=a._.removeAttributes||(a._.removeAttributes=a.config.removeFormatAttributes.split(',')),d=a.getSelection().getRanges();for(var e=0,f;f=d[e];e++){if(f.collapsed)continue;f.enlarge(CKEDITOR.ENLARGE_ELEMENT);var g=f.createBookmark(),h=g.startNode,i=g.endNode,j=function(m){var n=new CKEDITOR.dom.elementPath(m),o=n.elements;for(var p=1,q;q=o[p];p++){if(q.equals(n.block)||q.equals(n.blockLimit))break;if(b.test(q.getName()))m.breakParent(q);}};j(h);j(i);var k=h.getNextSourceNode(true,CKEDITOR.NODE_ELEMENT);while(k){if(k.equals(i))break;var l=k.getNextSourceNode(false,CKEDITOR.NODE_ELEMENT);if(k.getName()!='img'||!k.getAttribute('_cke_protected_html'))if(b.test(k.getName()))k.remove(true);else k.removeAttributes(c);k=l;}f.moveToBookmark(g);}a.getSelection().selectRanges(d);}}}};CKEDITOR.config.removeFormatTags='b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var';CKEDITOR.config.removeFormatAttributes='class,style,lang,width,height,align,hspace,valign';
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('resize',{init:function(a){var b=a.config;if(b.resize_enabled){var c=null,d,e;function f(i){var j=i.data.$.screenX-d.x,k=i.data.$.screenY-d.y,l=e.width+j*(a.lang.dir=='rtl'?-1:1),m=e.height+k;a.resize(Math.max(b.resize_minWidth,Math.min(l,b.resize_maxWidth)),Math.max(b.resize_minHeight,Math.min(m,b.resize_maxHeight)));};function g(i){CKEDITOR.document.removeListener('mousemove',f);CKEDITOR.document.removeListener('mouseup',g);if(a.document){a.document.removeListener('mousemove',f);a.document.removeListener('mouseup',g);}};var h=CKEDITOR.tools.addFunction(function(i){if(!c)c=a.getResizable();e={width:c.$.offsetWidth||0,height:c.$.offsetHeight||0};d={x:i.screenX,y:i.screenY};CKEDITOR.document.on('mousemove',f);CKEDITOR.document.on('mouseup',g);if(a.document){a.document.on('mousemove',f);a.document.on('mouseup',g);}});a.on('themeSpace',function(i){if(i.data.space=='bottom')i.data.html+='<div class="cke_resizer" title="'+CKEDITOR.tools.htmlEncode(a.lang.resize)+'"'+' onmousedown="CKEDITOR.tools.callFunction('+h+', event)"'+'></div>';},a,null,100);}}});CKEDITOR.config.resize_minWidth=750;CKEDITOR.config.resize_minHeight=250;CKEDITOR.config.resize_maxWidth=3000;CKEDITOR.config.resize_maxHeight=3000;CKEDITOR.config.resize_enabled=true;
@@ -0,0 +1,7 @@
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
+ CKEDITOR.plugins.add('richcombo',{requires:['floatpanel','listblock','button'],beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler);}});CKEDITOR.UI_RICHCOMBO=3;CKEDITOR.ui.richCombo=CKEDITOR.tools.createClass({$:function(a){var c=this;CKEDITOR.tools.extend(c,a,{title:a.label,modes:{wysiwyg:1}});var b=c.panel||{};delete c.panel;c.id=CKEDITOR.tools.getNextNumber();c.document=b&&b.parent&&b.parent.getDocument()||CKEDITOR.document;b.className=(b.className||'')+(' cke_rcombopanel');c._={panelDefinition:b,items:{},state:CKEDITOR.TRISTATE_OFF};},statics:{handler:{create:function(a){return new CKEDITOR.ui.richCombo(a);}}},proto:{renderHtml:function(a){var b=[];this.render(a,b);return b.join('');},render:function(a,b){var c='cke_'+this.id,d=CKEDITOR.tools.addFunction(function(g){var j=this;var h=j._;if(h.state==CKEDITOR.TRISTATE_DISABLED)return;j.createPanel(a);if(h.on){h.panel.hide();return;}if(!h.committed){h.list.commit();h.committed=1;}var i=j.getValue();if(i)h.list.mark(i);else h.list.unmarkAll();h.panel.showBlock(j.id,new CKEDITOR.dom.element(g),4);},this),e={id:c,combo:this,focus:function(){var g=CKEDITOR.document.getById(c).getChild(1);g.focus();},execute:d};a.on('mode',function(){this.setState(this.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);},this);var f=CKEDITOR.tools.addFunction(function(g,h){g=new CKEDITOR.dom.event(g);var i=g.getKeystroke();switch(i){case 13:case 32:case 40:CKEDITOR.tools.callFunction(d,h);break;default:e.onkey(e,i);}g.preventDefault();});b.push('<span class="cke_rcombo">','<span id=',c);if(this.className)b.push(' class="',this.className,' cke_off"');b.push('><span class=cke_label>',this.label,'</span><a hidefocus=true title="',this.title,'" tabindex="-1" href="javascript:void(\'',this.label,"')\"");if(CKEDITOR.env.opera||CKEDITOR.env.gecko&&CKEDITOR.env.mac)b.push(' onkeypress="return false;"');if(CKEDITOR.env.gecko)b.push(' onblur="this.style.cssText = this.style.cssText;"');b.push(' onkeydown="CKEDITOR.tools.callFunction( ',f,', event, this );" onclick="CKEDITOR.tools.callFunction(',d,', this); return false;"><span><span class="cke_accessibility">'+(this.voiceLabel?this.voiceLabel+' ':'')+'</span>'+'<span id="'+c+'_text" class="cke_text cke_inline_label">'+this.label+'</span>'+'</span>'+'<span class=cke_openbutton></span>'+'</a>'+'</span>'+'</span>');if(this.onRender)this.onRender();return e;},createPanel:function(a){if(this._.panel)return;var b=this._.panelDefinition,c=b.parent||CKEDITOR.document.getBody(),d=new CKEDITOR.ui.floatPanel(a,c,b),e=d.addListBlock(this.id,this.multiSelect),f=this;
7
+ d.onShow=function(){if(f.className)this.element.getFirst().addClass(f.className+'_panel');f.setState(CKEDITOR.TRISTATE_ON);e.focus(!f.multiSelect&&f.getValue());f._.on=1;if(f.onOpen)f.onOpen();};d.onHide=function(){if(f.className)this.element.getFirst().removeClass(f.className+'_panel');f.setState(CKEDITOR.TRISTATE_OFF);f._.on=0;if(f.onClose)f.onClose();};d.onEscape=function(){d.hide();f.document.getById('cke_'+f.id).getFirst().getNext().focus();};e.onClick=function(g,h){f.document.getWindow().focus();if(f.onClick)f.onClick.call(f,g,h);if(h)f.setValue(g,f._.items[g]);else f.setValue('');d.hide();};this._.panel=d;this._.list=e;d.getBlock(this.id).onHide=function(){f._.on=0;f.setState(CKEDITOR.TRISTATE_OFF);};if(this.init)this.init();},setValue:function(a,b){var d=this;d._.value=a;var c=d.document.getById('cke_'+d.id+'_text');if(!a){b=d.label;c.addClass('cke_inline_label');}else c.removeClass('cke_inline_label');c.setHtml(typeof b!='undefined'?b:a);},getValue:function(){return this._.value||'';},unmarkAll:function(){this._.list.unmarkAll();},mark:function(a){this._.list.mark(a);},hideItem:function(a){this._.list.hideItem(a);},hideGroup:function(a){this._.list.hideGroup(a);},showAll:function(){this._.list.showAll();},add:function(a,b,c){this._.items[a]=c||a;this._.list.add(a,b,c);},startGroup:function(a){this._.list.startGroup(a);},commit:function(){this._.list.commit();},setState:function(a){var b=this;if(b._.state==a)return;b.document.getById('cke_'+b.id).setState(a);b._.state=a;}}});CKEDITOR.ui.prototype.addRichCombo=function(a,b){this.add(a,CKEDITOR.UI_RICHCOMBO,b);};
@@ -0,0 +1,6 @@
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(){var a={modes:{wysiwyg:1,source:1},exec:function(c){var d=c.element.$.form;if(d)try{d.submit();}catch(e){if(d.submit.click)d.submit.click();}}},b='save';CKEDITOR.plugins.add(b,{init:function(c){var d=c.addCommand(b,a);d.modes={wysiwyg:!!c.element.$.form};c.ui.addButton('Save',{label:c.lang.save,command:b});}});})();
@@ -0,0 +1,8 @@
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
+ CKEDITOR.dialog.add('scaytcheck',function(a){var b=true,c,d=CKEDITOR.document,e=[],f,g=[],h=false,i=['dic_create,dic_restore','dic_rename,dic_delete'],j=[{id:'options',label:a.lang.scayt.optionsTab,elements:[{type:'html',id:'options',html:'<div class="inner_options">\t<div class="messagebox"></div>\t<div style="display:none;">\t\t<input type="checkbox" value="0" id="allCaps" />\t\t<label for="allCaps" id="label_allCaps"></label>\t</div>\t<div style="display:none;">\t\t<input type="checkbox" value="0" id="ignoreDomainNames" />\t\t<label for="ignoreDomainNames" id="label_ignoreDomainNames"></label>\t</div>\t<div style="display:none;">\t<input type="checkbox" value="0" id="mixedCase" />\t\t<label for="mixedCase" id="label_mixedCase"></label>\t</div>\t<div style="display:none;">\t\t<input type="checkbox" value="0" id="mixedWithDigits" />\t\t<label for="mixedWithDigits" id="label_mixedWithDigits"></label>\t</div></div>'}]},{id:'langs',label:a.lang.scayt.languagesTab,elements:[{type:'html',id:'langs',html:'<div class="inner_langs">\t<div class="messagebox"></div>\t <div style="float:left;width:47%;margin-left:5px;" id="scayt_lcol" ></div> <div style="float:left;width:47%;margin-left:15px;" id="scayt_rcol"></div></div>'}]},{id:'dictionaries',label:a.lang.scayt.dictionariesTab,elements:[{type:'html',style:'',id:'dic',html:'<div class="inner_dictionary" style="text-align:left; white-space:normal;">\t<div style="margin:5px auto; width:80%;white-space:normal; overflow:hidden;" id="dic_message"> </div>\t<div style="margin:5px auto; width:80%;white-space:normal;"> <span class="cke_dialog_ui_labeled_label" >Dictionary name</span><br>\t\t<span class="cke_dialog_ui_labeled_content" >\t\t\t<div class="cke_dialog_ui_input_text">\t\t\t\t<input id="dic_name" type="text" class="cke_dialog_ui_input_text"/>\t\t</div></span></div>\t\t<div style="margin:5px auto; width:80%;white-space:normal;">\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_create">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_delete">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_rename">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_restore">\t\t\t\t</a>\t\t</div>\t<div style="margin:5px auto; width:95%;white-space:normal;" id="dic_info"></div></div>'}]},{id:'about',label:a.lang.scayt.aboutTab,elements:[{type:'html',id:'about',style:'margin: 10px 40px;',html:'<div id="scayt_about"></div>'}]}],k={title:a.lang.scayt.title,minWidth:340,minHeight:200,onShow:function(){var u=this;
7
+ u.data=a.fire('scaytDialog',{});u.options=u.data.scayt_control.option();u.sLang=u.data.scayt_control.sLang;if(!u.data||!u.data.scayt||!u.data.scayt_control){alert('Error loading application service');u.hide();return;}var v=0;if(b)u.data.scayt.getCaption('en',function(w){if(v++>0)return;c=w;n.apply(u);o.apply(u);b=false;});else o.apply(u);u.selectPage(u.data.tab);},onOk:function(){var z=this;var u=z.data.scayt_control,v=u.option(),w=0;for(var x in z.options)if(v[x]!=z.options[x]&&w===0){u.option(z.options);w++;}var y=z.chosed_lang;if(y&&z.data.sLang!=y){u.setLang(y);w++;}if(w>0)u.refresh();},contents:g},l=CKEDITOR.plugins.scayt.getScayt(a);if(l)e=l.uiTags;for(f in e)if(e[f]==1)g[g.length]=j[f];if(e[2]==1)h=true;function m(){var u=d.getById('dic_name').getValue();if(!u){p(' Dictionary name should not be empty. ');return false;}window.dic[this.getId()].apply(null,[this,u,i]);return true;};var n=function(){var u=this,v=u.data.scayt.getLangList(),w=['dic_create','dic_delete','dic_rename','dic_restore'],x=['mixedCase','mixedWithDigits','allCaps','ignoreDomainNames'],y;if(h){for(y in w){var z=w[y];d.getById(z).setHtml('<span class="cke_dialog_ui_button">'+c['button_'+z]+'</span>');}d.getById('dic_info').setHtml(c.dic_info);}for(y in x){var A='label_'+x[y],B=d.getById(A);if('undefined'!=typeof B&&'undefined'!=typeof c[A]&&'undefined'!=typeof u.options[x[y]]){B.setHtml(c[A]);var C=B.getParent();C.$.style.display='block';}}var D='<p>'+c.about_throwt_image+'</p>'+'<p>'+c.version+u.data.scayt.version.toString()+'</p>'+'<p>'+c.about_throwt_copy+'</p>';d.getById('scayt_about').setHtml(D);var E=function(N,O){var P=d.createElement('label');P.setAttribute('for','cke_option'+N);P.setHtml(O[N]);if(u.sLang==N)u.chosed_lang=N;var Q=d.createElement('div'),R=CKEDITOR.dom.element.createFromHtml('<input id="cke_option'+N+'" type="radio" '+(u.sLang==N?'checked="checked"':'')+' value="'+N+'" name="scayt_lang" />');R.on('click',function(){this.$.checked=true;u.chosed_lang=N;});Q.append(R);Q.append(P);return{lang:O[N],code:N,radio:Q};},F=[];for(y in v.rtl)F[F.length]=E(y,v.ltr);for(y in v.ltr)F[F.length]=E(y,v.ltr);F.sort(function(N,O){return O.lang>N.lang?-1:1;});var G=d.getById('scayt_lcol'),H=d.getById('scayt_rcol');for(y=0;y<F.length;y++){var I=y<F.length/2?G:H;I.append(F[y].radio);}var J={};J.dic_create=function(N,O,P){var Q=P[0]+','+P[1],R=c.err_dic_create,S=c.succ_dic_create;window.scayt.createUserDictionary(O,function(T){s(Q);r(P[1]);S=S.replace('%s',T.dname);q(S);},function(T){R=R.replace('%s',T.dname);
8
+ p(R+'( '+(T.message||'')+')');});};J.dic_rename=function(N,O){var P=c.err_dic_rename||'',Q=c.succ_dic_rename||'';window.scayt.renameUserDictionary(O,function(R){Q=Q.replace('%s',R.dname);t(O);q(Q);},function(R){P=P.replace('%s',R.dname);t(O);p(P+'( '+(R.message||'')+' )');});};J.dic_delete=function(N,O,P){var Q=P[0]+','+P[1],R=c.err_dic_delete,S=c.succ_dic_delete;window.scayt.deleteUserDictionary(function(T){S=S.replace('%s',T.dname);s(Q);r(P[0]);t('');q(S);},function(T){R=R.replace('%s',T.dname);p(R);});};J.dic_restore=u.dic_restore||(function(N,O,P){var Q=P[0]+','+P[1],R=c.err_dic_restore,S=c.succ_dic_restore;window.scayt.restoreUserDictionary(O,function(T){S=S.replace('%s',T.dname);s(Q);r(P[1]);q(S);},function(T){R=R.replace('%s',T.dname);p(R);});});var K=(i[0]+','+i[1]).split(','),L;for(y=0,L=K.length;y<L;y+=1){var M=d.getById(K[y]);if(M)M.on('click',m,this);}},o=function(){var u=this;for(var v in u.options){var w=d.getById(v);if(w){w.removeAttribute('checked');if(u.options[v]==1)w.setAttribute('checked','checked');if(b)w.on('click',function(){u.options[this.getId()]=this.$.checked?1:0;});}}if(h){window.scayt.getNameUserDictionary(function(x){var y=x.dname;if(y){d.getById('dic_name').setValue(y);r(i[1]);}else r(i[0]);},function(){d.getById('dic_name').setValue('');});q('');}};function p(u){d.getById('dic_message').setHtml('<span style="color:red;">'+u+'</span>');};function q(u){d.getById('dic_message').setHtml('<span style="color:blue;">'+u+'</span>');};function r(u){u=String(u);var v=u.split(',');for(var w=0,x=v.length;w<x;w+=1)d.getById(v[w]).$.style.display='inline';};function s(u){u=String(u);var v=u.split(',');for(var w=0,x=v.length;w<x;w+=1)d.getById(v[w]).$.style.display='none';};function t(u){d.getById('dic_name').$.value=u;};return k;});
@@ -0,0 +1,6 @@
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
+ a{text-decoration:none;padding:2px 4px 4px 6px;display:block;border-width:1px;border-style:solid;margin:0;}a.cke_scayt_toogle:hover,a.cke_scayt_toogle:focus,a.cke_scayt_toogle:active{border-color:#316ac5;background-color:#dff1ff;color:#000;cursor:pointer;margin:0;}a.cke_scayt_toogle{color:#316ac5;border-color:#fff;}.scayt_enabled a.cke_scayt_item{color:#316ac5;border-color:#fff;margin:0;}.scayt_disabled a.cke_scayt_item{color:gray;border-color:#fff;}.scayt_enabled a.cke_scayt_item:hover,.scayt_enabled a.cke_scayt_item:focus,.scayt_enabled a.cke_scayt_item:active{border-color:#316ac5;background-color:#dff1ff;color:#000;cursor:pointer;}.scayt_disabled a.cke_scayt_item:hover,.scayt_disabled a.cke_scayt_item:focus,.scayt_disabled a.cke_scayt_item:active{border-color:gray;background-color:#dff1ff;color:gray;cursor:no-drop;}.cke_scayt_set_on,.cke_scayt_set_off{display:none;}.scayt_enabled .cke_scayt_set_on{display:none;}.scayt_disabled .cke_scayt_set_on{display:inline;}.scayt_disabled .cke_scayt_set_off{display:none;}.scayt_enabled .cke_scayt_set_off{display:inline;}
@@ -0,0 +1,8 @@
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(){var a='scaytcheck',b='',c=function(){var g=this,h=function(){var k={};k.srcNodeRef=g.document.getWindow().$.frameElement;k.assocApp='CKEDITOR.'+CKEDITOR.version+'@'+CKEDITOR.revision;k.customerid=g.config.scayt_customerid||'1:11111111111111111111111111111111111111';k.customDictionaryName=g.config.scayt_customDictionaryName;k.userDictionaryName=g.config.scayt_userDictionaryName;k.defLang=g.scayt_defLang;if(CKEDITOR._scaytParams)for(var l in CKEDITOR._scaytParams)k[l]=CKEDITOR._scaytParams[l];var m=new window.scayt(k),n=d.instances[g.name];if(n){m.sLang=n.sLang;m.option(n.option());m.paused=n.paused;}d.instances[g.name]=m;try{m.setDisabled(m.paused===false);}catch(o){}g.fire('showScaytState');};g.on('contentDom',h);g.on('contentDomUnload',function(){var k=CKEDITOR.document.getElementsByTag('script'),l=/^dojoIoScript(\d+)$/i,m=/^https?:\/\/svc\.spellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;for(var n=0;n<k.count();n++){var o=k.getItem(n),p=o.getId(),q=o.getAttribute('src');if(p&&q&&p.match(l)&&q.match(m))o.remove();}});g.on('beforeCommandExec',function(k){if((k.data.name=='source'||k.data.name=='newpage')&&(g.mode=='wysiwyg')){var l=d.getScayt(g);if(l){l.paused=!l.disabled;l.destroy();delete d.instances[g.name];}}});g.on('afterSetData',function(){if(d.isScaytEnabled(g))d.getScayt(g).refresh();});g.on('insertElement',function(){var k=d.getScayt(g);if(d.isScaytEnabled(g)){if(CKEDITOR.env.ie)g.getSelection().unlock(true);try{k.refresh();}catch(l){}}},this,null,50);g.on('scaytDialog',function(k){k.data.djConfig=window.djConfig;k.data.scayt_control=d.getScayt(g);k.data.tab=b;k.data.scayt=window.scayt;});var i=g.dataProcessor,j=i&&i.htmlFilter;if(j)j.addRules({elements:{span:function(k){if(k.attributes.scayt_word&&k.attributes.scaytid){delete k.name;return k;}}}});if(g.document)h();};CKEDITOR.plugins.scayt={engineLoaded:false,instances:{},getScayt:function(g){return this.instances[g.name];},isScaytReady:function(g){return this.engineLoaded===true&&'undefined'!==typeof window.scayt&&this.getScayt(g);},isScaytEnabled:function(g){var h=this.getScayt(g);return h?h.disabled===false:false;},loadEngine:function(g){if(this.engineLoaded===true)return c.apply(g);else if(this.engineLoaded==-1)return CKEDITOR.on('scaytReady',function(){c.apply(g);});CKEDITOR.on('scaytReady',c,g);CKEDITOR.on('scaytReady',function(){this.engineLoaded=true;},this,null,0);this.engineLoaded=-1;var h=document.location.protocol;h=h.search(/https?:/)!=-1?h:'http:';var i='svc.spellchecker.net/spellcheck/lf/scayt/scayt1.js',j=g.config.scayt_srcUrl||h+'//'+i,k=d.parseUrl(j).path+'/';
7
+ CKEDITOR._djScaytConfig={baseUrl:k,addOnLoad:[function(){CKEDITOR.fireOnce('scaytReady');}],isDebug:false};CKEDITOR.document.getHead().append(CKEDITOR.document.createElement('script',{attributes:{type:'text/javascript',src:j}}));return null;},parseUrl:function(g){var h;if(g.match&&(h=g.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:h[1],file:h[2]};else return g;}};var d=CKEDITOR.plugins.scayt,e=function(g,h,i,j,k,l,m){g.addCommand(j,k);g.addMenuItem(j,{label:i,command:j,group:l,order:m});},f={preserveState:true,exec:function(g){if(d.isScaytReady(g)){var h=d.isScaytEnabled(g);this.setState(h?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_ON);var i=d.getScayt(g);i.setDisabled(h);}else if(!g.config.scayt_autoStartup&&d.engineLoaded>=0){this.setState(CKEDITOR.TRISTATE_DISABLED);g.on('showScaytState',function(){this.removeListener();this.setState(d.isScaytEnabled(g)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);},this);d.loadEngine(g);}}};CKEDITOR.plugins.add('scayt',{requires:['menubutton'],beforeInit:function(g){g.config.menu_groups='scayt_suggest,scayt_moresuggest,scayt_control,'+g.config.menu_groups;},init:function(g){var h={},i={},j=g.addCommand(a,f);CKEDITOR.dialog.add(a,CKEDITOR.getUrl(this.path+'dialogs/options.js'));var k='scaytButton';g.addMenuGroup(k);g.addMenuItems({scaytToggle:{label:g.lang.scayt.enable,command:a,group:k},scaytOptions:{label:g.lang.scayt.options,group:k,onClick:function(){b='options';g.openDialog(a);}},scaytLangs:{label:g.lang.scayt.langs,group:k,onClick:function(){b='langs';g.openDialog(a);}},scaytAbout:{label:g.lang.scayt.about,group:k,onClick:function(){b='about';g.openDialog(a);}}});g.ui.add('Scayt',CKEDITOR.UI_MENUBUTTON,{label:g.lang.scayt.title,title:g.lang.scayt.title,className:'cke_button_scayt',onRender:function(){j.on('state',function(){this.setState(j.state);},this);},onMenu:function(){var m=d.isScaytEnabled(g);g.getMenuItem('scaytToggle').label=g.lang.scayt[m?'disable':'enable'];return{scaytToggle:CKEDITOR.TRISTATE_OFF,scaytOptions:m?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytLangs:m?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytAbout:m?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED};}});if(g.contextMenu&&g.addMenuItems)g.contextMenu.addListener(function(m){if(!(d.isScaytEnabled(g)&&m))return null;var n=d.getScayt(g),o=n.getWord(m.$);if(!o)return null;var p=n.getLang(),q={},r=window.scayt.getSuggestion(o,p);if(!r||!r.length)return null;for(i in h){delete g._.menuItems[i];delete g._.commands[i];}for(i in i){delete g._.menuItems[i];
8
+ delete g._.commands[i];}h={};i={};var s=false;for(var t=0,u=r.length;t<u;t+=1){var v='scayt_suggestion_'+r[t].replace(' ','_'),w=(function(A,B){return{exec:function(){n.replace(A,B);}};})(m.$,r[t]);if(t<g.config.scayt_maxSuggestions){e(g,'button_'+v,r[t],v,w,'scayt_suggest',t+1);q[v]=CKEDITOR.TRISTATE_OFF;i[v]=CKEDITOR.TRISTATE_OFF;}else{e(g,'button_'+v,r[t],v,w,'scayt_moresuggest',t+1);h[v]=CKEDITOR.TRISTATE_OFF;s=true;}}if(s)g.addMenuItem('scayt_moresuggest',{label:g.lang.scayt.moreSuggestions,group:'scayt_moresuggest',order:10,getItems:function(){return h;}});var x={exec:function(){n.ignore(m.$);}},y={exec:function(){n.ignoreAll(m.$);}},z={exec:function(){window.scayt.addWordToUserDictionary(m.$);}};e(g,'ignore',g.lang.scayt.ignore,'scayt_ignore',x,'scayt_control',1);e(g,'ignore_all',g.lang.scayt.ignoreAll,'scayt_ignore_all',y,'scayt_control',2);e(g,'add_word',g.lang.scayt.addWord,'scayt_add_word',z,'scayt_control',3);i.scayt_moresuggest=CKEDITOR.TRISTATE_OFF;i.scayt_ignore=CKEDITOR.TRISTATE_OFF;i.scayt_ignore_all=CKEDITOR.TRISTATE_OFF;i.scayt_add_word=CKEDITOR.TRISTATE_OFF;if(n.fireOnContextMenu)n.fireOnContextMenu(g);return i;});if(g.config.scayt_autoStartup){var l=function(){g.removeListener('showScaytState',l);j.setState(d.isScaytEnabled(g)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);};g.on('showScaytState',l);d.loadEngine(g);}}});})();CKEDITOR.config.scayt_maxSuggestions=5;CKEDITOR.config.scayt_autoStartup=false;
@@ -0,0 +1,9 @@
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(){function a(){var k=this;try{var h=k.getSelection();if(!h)return;var i=h.getStartElement(),j=new CKEDITOR.dom.elementPath(i);if(!j.compare(k._.selectionPreviousPath)){k._.selectionPreviousPath=j;k.fire('selectionChange',{selection:h,path:j,element:i});}}catch(l){}};var b,c;function d(){c=true;if(b)return;e.call(this);b=CKEDITOR.tools.setTimeout(e,200,this);};function e(){b=null;if(c){CKEDITOR.tools.setTimeout(a,0,this);c=false;}};var f={exec:function(h){switch(h.mode){case 'wysiwyg':h.document.$.execCommand('SelectAll',false,null);break;case 'source':}},canUndo:false};CKEDITOR.plugins.add('selection',{init:function(h){h.on('contentDom',function(){var i=h.document;if(CKEDITOR.env.ie){var j,k;i.on('focusin',function(){if(j){try{j.select();}catch(n){}j=null;}});h.window.on('focus',function(){k=true;m();});h.document.on('beforedeactivate',function(){k=false;h.document.$.execCommand('Unselect');});i.on('mousedown',l);i.on('mouseup',function(){k=true;setTimeout(function(){m(true);},0);});i.on('keydown',l);i.on('keyup',function(){k=true;m();});i.on('selectionchange',m);function l(){k=false;};function m(n){if(k){var o=h.document,p=o&&o.$.selection;if(n&&p&&p.type=='None')if(!o.$.queryCommandEnabled('InsertImage')){CKEDITOR.tools.setTimeout(m,50,this,true);return;}j=p&&p.createRange();d.call(h);}};}else{i.on('mouseup',d,h);i.on('keyup',d,h);}});h.addCommand('selectAll',f);h.ui.addButton('SelectAll',{label:h.lang.selectAll,command:'selectAll'});h.selectionChange=d;}});CKEDITOR.editor.prototype.getSelection=function(){return this.document&&this.document.getSelection();};CKEDITOR.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath;};CKEDITOR.dom.document.prototype.getSelection=function(){var h=new CKEDITOR.dom.selection(this);return!h||h.isInvalid?null:h;};CKEDITOR.SELECTION_NONE=1;CKEDITOR.SELECTION_TEXT=2;CKEDITOR.SELECTION_ELEMENT=3;CKEDITOR.dom.selection=function(h){var k=this;var i=h.getCustomData('cke_locked_selection');if(i)return i;k.document=h;k.isLocked=false;k._={cache:{}};if(CKEDITOR.env.ie){var j=k.getNative().createRange();if(!j||j.item&&j.item(0).ownerDocument!=k.document.$||j.parentElement&&j.parentElement().ownerDocument!=k.document.$)k.isInvalid=true;}return k;};var g={img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1,a:1,input:1,form:1,select:1,textarea:1,button:1,fieldset:1,th:1,thead:1,tfoot:1};CKEDITOR.dom.selection.prototype={getNative:CKEDITOR.env.ie?function(){return this._.cache.nativeSel||(this._.cache.nativeSel=this.document.$.selection);
7
+ }:function(){return this._.cache.nativeSel||(this._.cache.nativeSel=this.document.getWindow().$.getSelection());},getType:CKEDITOR.env.ie?function(){var h=this._.cache;if(h.type)return h.type;var i=CKEDITOR.SELECTION_NONE;try{var j=this.getNative(),k=j.type;if(k=='Text')i=CKEDITOR.SELECTION_TEXT;if(k=='Control')i=CKEDITOR.SELECTION_ELEMENT;if(j.createRange().parentElement)i=CKEDITOR.SELECTION_TEXT;}catch(l){}return h.type=i;}:function(){var h=this._.cache;if(h.type)return h.type;var i=CKEDITOR.SELECTION_TEXT,j=this.getNative();if(!j)i=CKEDITOR.SELECTION_NONE;else if(j.rangeCount==1){var k=j.getRangeAt(0),l=k.startContainer;if(l==k.endContainer&&l.nodeType==1&&k.endOffset-k.startOffset==1&&g[l.childNodes[k.startOffset].nodeName.toLowerCase()])i=CKEDITOR.SELECTION_ELEMENT;}return h.type=i;},getRanges:CKEDITOR.env.ie?(function(){var h=function(i,j){i=i.duplicate();i.collapse(j);var k=i.parentElement(),l=k.childNodes,m;for(var n=0;n<l.length;n++){var o=l[n];if(o.nodeType==1){m=i.duplicate();m.moveToElementText(o);m.collapse();var p=m.compareEndPoints('StartToStart',i);if(p>0)break;else if(p===0)return{container:k,offset:n};m=null;}}if(!m){m=i.duplicate();m.moveToElementText(k);m.collapse(false);}m.setEndPoint('StartToStart',i);var q=m.text.replace(/(\r\n|\r)/g,'\n').length;while(q>0)q-=l[--n].nodeValue.length;if(q===0)return{container:k,offset:n};else return{container:l[n],offset:-q};};return function(){var t=this;var i=t._.cache;if(i.ranges)return i.ranges;var j=t.getNative(),k=j&&j.createRange(),l=t.getType(),m;if(!j)return[];if(l==CKEDITOR.SELECTION_TEXT){m=new CKEDITOR.dom.range(t.document);var n=h(k,true);m.setStart(new CKEDITOR.dom.node(n.container),n.offset);n=h(k);m.setEnd(new CKEDITOR.dom.node(n.container),n.offset);return i.ranges=[m];}else if(l==CKEDITOR.SELECTION_ELEMENT){var o=t._.cache.ranges=[];for(var p=0;p<k.length;p++){var q=k.item(p),r=q.parentNode,s=0;m=new CKEDITOR.dom.range(t.document);for(;s<r.childNodes.length&&r.childNodes[s]!=q;s++){}m.setStart(new CKEDITOR.dom.node(r),s);m.setEnd(new CKEDITOR.dom.node(r),s+1);o.push(m);}return o;}return i.ranges=[];};})():function(){var h=this._.cache;if(h.ranges)return h.ranges;var i=[],j=this.getNative();if(!j)return[];for(var k=0;k<j.rangeCount;k++){var l=j.getRangeAt(k),m=new CKEDITOR.dom.range(this.document);m.setStart(new CKEDITOR.dom.node(l.startContainer),l.startOffset);m.setEnd(new CKEDITOR.dom.node(l.endContainer),l.endOffset);i.push(m);}return h.ranges=i;},getStartElement:function(){var o=this;
8
+ var h=o._.cache;if(h.startElement!==undefined)return h.startElement;var i,j=o.getNative();switch(o.getType()){case CKEDITOR.SELECTION_ELEMENT:return o.getSelectedElement();case CKEDITOR.SELECTION_TEXT:var k=o.getRanges()[0];if(k)if(!k.collapsed){k.optimize();for(;;){var l=k.startContainer,m=k.startOffset;if(m==(l.getChildCount?l.getChildCount():l.getLength()))k.setStartAfter(l);else break;}i=k.startContainer;if(i.type!=CKEDITOR.NODE_ELEMENT)return i.getParent();i=i.getChild(k.startOffset);if(!i||i.type!=CKEDITOR.NODE_ELEMENT)return k.startContainer;var n=i.getFirst();while(n&&n.type==CKEDITOR.NODE_ELEMENT){i=n;n=n.getFirst();}return i;}if(CKEDITOR.env.ie){k=j.createRange();k.collapse(true);i=k.parentElement();}else{i=j.anchorNode;if(i.nodeType!=1)i=i.parentNode;}}return h.startElement=i?new CKEDITOR.dom.element(i):null;},getSelectedElement:function(){var h=this._.cache;if(h.selectedElement!==undefined)return h.selectedElement;var i;if(this.getType()==CKEDITOR.SELECTION_ELEMENT){var j=this.getNative();if(CKEDITOR.env.ie)try{i=j.createRange().item(0);}catch(l){}else{var k=j.getRangeAt(0);i=k.startContainer.childNodes[k.startOffset];}}return h.selectedElement=i?new CKEDITOR.dom.element(i):null;},lock:function(){var h=this;h.getRanges();h.getStartElement();h.getSelectedElement();h._.cache.nativeSel={};h.isLocked=true;h.document.setCustomData('cke_locked_selection',h);},unlock:function(h){var m=this;var i=m.document,j=i.getCustomData('cke_locked_selection');if(j){i.setCustomData('cke_locked_selection',null);if(h){var k=j.getSelectedElement(),l=!k&&j.getRanges();m.isLocked=false;m.reset();i.getBody().focus();if(k)m.selectElement(k);else m.selectRanges(l);}}if(!j||!h){m.isLocked=false;m.reset();}},reset:function(){this._.cache={};},selectElement:function(h){var k=this;if(k.isLocked){var i=new CKEDITOR.dom.range(k.document);i.setStartBefore(h);i.setEndAfter(h);k._.cache.selectedElement=h;k._.cache.startElement=h;k._.cache.ranges=[i];k._.cache.type=CKEDITOR.SELECTION_ELEMENT;return;}if(CKEDITOR.env.ie){k.getNative().empty();try{i=k.document.$.body.createControlRange();i.addElement(h.$);i.select();}catch(l){i=k.document.$.body.createTextRange();i.moveToElementText(h.$);i.select();}k.reset();}else{i=k.document.$.createRange();i.selectNode(h.$);var j=k.getNative();j.removeAllRanges();j.addRange(i);k.reset();}},selectRanges:function(h){var n=this;if(n.isLocked){n._.cache.selectedElement=null;n._.cache.startElement=h[0].getTouchedStartNode();n._.cache.ranges=h;n._.cache.type=CKEDITOR.SELECTION_TEXT;
9
+ return;}if(CKEDITOR.env.ie){if(h[0])h[0].select();n.reset();}else{var i=n.getNative();i.removeAllRanges();for(var j=0;j<h.length;j++){var k=h[j],l=n.document.$.createRange(),m=k.startContainer;if(k.collapsed&&CKEDITOR.env.gecko&&CKEDITOR.env.version<10900&&m.type==CKEDITOR.NODE_ELEMENT&&!m.getChildCount())m.appendText('');l.setStart(m.$,k.startOffset);l.setEnd(k.endContainer.$,k.endOffset);i.addRange(l);}n.reset();}},createBookmarks:function(h){var i=[],j=this.getRanges(),k=j.length,l;for(var m=0;m<k;m++){i.push(l=j[m].createBookmark(h,true));h=l.serializable;var n=h?this.document.getById(l.startNode):l.startNode,o=h?this.document.getById(l.endNode):l.endNode;for(var p=m+1;p<k;p++){var q=j[p],r=q.startContainer,s=q.endContainer;r.equals(n.getParent())&&q.startOffset++;r.equals(o.getParent())&&q.startOffset++;s.equals(n.getParent())&&q.endOffset++;s.equals(o.getParent())&&q.endOffset++;}}return i;},createBookmarks2:function(h){var i=[],j=this.getRanges();for(var k=0;k<j.length;k++)i.push(j[k].createBookmark2(h));return i;},selectBookmarks:function(h){var i=[];for(var j=0;j<h.length;j++){var k=new CKEDITOR.dom.range(this.document);k.moveToBookmark(h[j]);i.push(k);}this.selectRanges(i);return this;}};})();CKEDITOR.dom.range.prototype.select=CKEDITOR.env.ie?function(a){var j=this;var b=j.collapsed,c,d,e=j.createBookmark(),f=e.startNode,g;if(!b)g=e.endNode;var h=j.document.$.body.createTextRange();h.moveToElementText(f.$);h.moveStart('character',1);if(g){var i=j.document.$.body.createTextRange();i.moveToElementText(g.$);h.setEndPoint('EndToEnd',i);h.moveEnd('character',-1);}else{c=a||!f.hasPrevious()||f.getPrevious().is&&f.getPrevious().is('br');d=j.document.createElement('span');d.setHtml('&#65279;');d.insertBefore(f);if(c)j.document.createText('').insertBefore(f);}j.setStartBefore(f);f.remove();if(b){if(c){h.moveStart('character',-1);h.select();j.document.$.selection.clear();}else h.select();d.remove();}else{j.setEndBefore(g);g.remove();h.select();}}:function(){var d=this;var a=d.startContainer;if(d.collapsed&&a.type==CKEDITOR.NODE_ELEMENT&&!a.getChildCount())a.append(new CKEDITOR.dom.text(''));var b=d.document.$.createRange();b.setStart(a.$,d.startOffset);try{b.setEnd(d.endContainer.$,d.endOffset);}catch(e){if(e.toString().indexOf('NS_ERROR_ILLEGAL_VALUE')>=0){d.collapse(true);b.setEnd(d.endContainer.$,d.endOffset);}else throw e;}var c=d.document.getSelection().getNative();c.removeAllRanges();c.addRange(b);};
@@ -0,0 +1,6 @@
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(){var a='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2 h1{%1h1.png);}.%2 h2{%1h2.png);}.%2 h3{%1h3.png);}.%2 h4{%1h4.png);}.%2 h5{%1h5.png);}.%2 h6{%1h6.png);}',b=/%1/g,c=/%2/g,d={preserveState:true,exec:function(e){this.toggleState();this.refresh(e);},refresh:function(e){var f=this.state==CKEDITOR.TRISTATE_ON?'addClass':'removeClass';e.document.getBody()[f]('cke_show_blocks');}};CKEDITOR.plugins.add('showblocks',{requires:['wysiwygarea'],init:function(e){var f=e.addCommand('showblocks',d);f.canUndo=false;if(e.config.startupOutlineBlocks)f.setState(CKEDITOR.TRISTATE_ON);e.addCss(a.replace(b,'background-image: url('+CKEDITOR.getUrl(this.path)+'images/block_').replace(c,'cke_show_blocks '));e.ui.addButton('ShowBlocks',{label:e.lang.showBlocks,command:'showblocks'});e.on('mode',function(){if(f.state!=CKEDITOR.TRISTATE_DISABLED)f.refresh(e);});e.on('contentDom',function(){if(f.state!=CKEDITOR.TRISTATE_DISABLED)f.refresh(e);});}});})();CKEDITOR.config.startupOutlineBlocks=false;
@@ -0,0 +1,7 @@
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
+ CKEDITOR.dialog.add('smiley',function(a){var b=a.config,c=b.smiley_images,d=8,e,f,g=function(k){var l=k.data.getTarget(),m=l.getName();if(m=='td')l=l.getChild([0,0]);else if(m=='a')l=l.getChild(0);else if(m!='img')return;var n=l.getAttribute('cke_src'),o=l.getAttribute('title'),p=a.document.createElement('img',{attributes:{src:n,_cke_saved_src:n,title:o,alt:o}});a.insertElement(p);f.hide();},h=CKEDITOR.tools.addFunction(function(k,l){k=new CKEDITOR.dom.event(k);l=new CKEDITOR.dom.element(l);var m,n,o=k.getKeystroke();switch(o){case 39:if(m=l.getParent().getNext()){n=m.getChild(0);n.focus();}k.preventDefault();break;case 37:if(m=l.getParent().getPrevious()){n=m.getChild(0);n.focus();}k.preventDefault();break;case 38:if(m=l.getParent().getParent().getPrevious()){n=m.getChild([l.getParent().getIndex(),0]);n.focus();}k.preventDefault();break;case 40:if(m=l.getParent().getParent().getNext()){n=m.getChild([l.getParent().getIndex(),0]);if(n)n.focus();}k.preventDefault();break;case 32:g({data:k});k.preventDefault();break;case 9:if(m=l.getParent().getNext()){n=m.getChild(0);n.focus();k.preventDefault(true);}else if(m=l.getParent().getParent().getNext()){n=m.getChild([0,0]);if(n)n.focus();k.preventDefault(true);}break;case CKEDITOR.SHIFT+9:if(m=l.getParent().getPrevious()){n=m.getChild(0);n.focus();k.preventDefault(true);}else if(m=l.getParent().getParent().getPrevious()){n=m.getLast().getChild(0);n.focus();k.preventDefault(true);}break;default:return;}}),i=['<table cellspacing="2" cellpadding="2"',CKEDITOR.env.ie&&CKEDITOR.env.quirks?' style="position:absolute;"':'','><tbody>'];for(e=0;e<c.length;e++){if(e%d===0)i.push('<tr>');i.push('<td class="cke_dark_background cke_hand cke_centered" style="vertical-align: middle;"><a href="javascript:void(0)" class="cke_smile" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ',h,', event, this );">','<img class="hand" title="',b.smiley_descriptions[e],'" cke_src="',CKEDITOR.tools.htmlEncode(b.smiley_path+c[e]),'" alt="',b.smiley_descriptions[e],'"',' src="',CKEDITOR.tools.htmlEncode(b.smiley_path+c[e]),'"',CKEDITOR.env.ie?" onload=\"this.setAttribute('width', 2); this.removeAttribute('width');\" ":'','></a>','</td>');if(e%d==d-1)i.push('</tr>');}if(e<d-1){for(;e<d-1;e++)i.push('<td></td>');i.push('</tr>');}i.push('</tbody></table>');var j={type:'html',html:i.join(''),onLoad:function(k){f=k.sender;},focus:function(){var k=this.getElement().getChild([0,0,0,0]);k.focus();},onClick:g,style:'width: 100%; height: 100%; border-collapse: separate;'};
7
+ return{title:a.lang.smiley.title,minWidth:270,minHeight:120,contents:[{id:'tab1',label:'',title:'',expand:true,padding:0,elements:[j]}],buttons:[CKEDITOR.dialog.cancelButton]};});
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('smiley',{requires:['dialog'],init:function(a){a.addCommand('smiley',new CKEDITOR.dialogCommand('smiley'));a.ui.addButton('Smiley',{label:a.lang.smiley.toolbar,command:'smiley'});CKEDITOR.dialog.add('smiley',this.path+'dialogs/smiley.js');}});CKEDITOR.config.smiley_path=CKEDITOR.basePath+'plugins/smiley/images/';CKEDITOR.config.smiley_images=['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'];CKEDITOR.config.smiley_descriptions=[':)',':(',';)',':D',':/',':P','','','','','','','',';(','','','','','',':kiss',''];
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('sourcearea',{requires:['editingblock'],init:function(a){var b=CKEDITOR.plugins.sourcearea;a.on('editingBlockReady',function(){var c,d;a.addMode('source',{load:function(e,f){if(CKEDITOR.env.ie&&CKEDITOR.env.version<8)e.setStyle('position','relative');a.textarea=c=new CKEDITOR.dom.element('textarea');c.setAttributes({dir:'ltr',tabIndex:-1});c.addClass('cke_source');var g={width:CKEDITOR.env.ie7Compat?'99%':'100%',height:'100%',resize:'none',outline:'none','text-align':'left'};if(CKEDITOR.env.ie){if(!CKEDITOR.env.ie8Compat){d=function(){c.hide();c.setStyle('height',e.$.clientHeight+'px');c.show();};a.on('resize',d);g.height=e.$.clientHeight+'px';}}else c.on('mousedown',function(i){i=i.data.$;if(i.stopPropagation)i.stopPropagation();});e.setHtml('');e.append(c);c.setStyles(g);a.mayBeDirty=true;this.loadData(f);var h=a.keystrokeHandler;if(h)h.attach(c);setTimeout(function(){a.mode='source';a.fire('mode');},CKEDITOR.env.gecko||CKEDITOR.env.webkit?100:0);},loadData:function(e){c.setValue(e);},getData:function(){return c.getValue();},getSnapshotData:function(){return c.getValue();},unload:function(e){a.textarea=c=null;if(d)a.removeListener('resize',d);if(CKEDITOR.env.ie&&CKEDITOR.env.version<8)e.removeStyle('position');},focus:function(){c.focus();}});});a.addCommand('source',b.commands.source);if(a.ui.addButton)a.ui.addButton('Source',{label:a.lang.source,command:'source'});a.on('mode',function(){a.getCommand('source').setState(a.mode=='source'?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);});}});CKEDITOR.plugins.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},exec:function(a){if(a.mode=='wysiwyg')a.fire('saveSnapshot');a.getCommand('source').setState(CKEDITOR.TRISTATE_DISABLED);a.setMode(a.mode=='source'?'wysiwyg':'source');},canUndo:false}}};
@@ -0,0 +1,7 @@
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
+ CKEDITOR.dialog.add('specialchar',function(a){var b,c=function(i){var j,k;if(i.data)j=i.data.getTarget();else j=new CKEDITOR.dom.element(i);if(j.getName()=='a'&&(k=j.getChild(0).getHtml())){j.removeClass('cke_light_background');b.hide();a.insertHtml(k);}},d=CKEDITOR.tools.addFunction(c),e,f=function(i,j){var k;j=j||i.data.getTarget();if(j.getName()=='span')j=j.getParent();if(j.getName()=='a'&&(k=j.getChild(0).getHtml())){if(e)g(null,e);var l=b.getContentElement('info','htmlPreview').getElement();b.getContentElement('info','charPreview').getElement().setHtml(k);l.setHtml(CKEDITOR.tools.htmlEncode(k));j.getParent().addClass('cke_light_background');e=j;}},g=function(i,j){j=j||i.data.getTarget();if(j.getName()=='span')j=j.getParent();if(j.getName()=='a'){b.getContentElement('info','charPreview').getElement().setHtml('&nbsp;');b.getContentElement('info','htmlPreview').getElement().setHtml('&nbsp;');j.getParent().removeClass('cke_light_background');e=undefined;}},h=CKEDITOR.tools.addFunction(function(i){i=new CKEDITOR.dom.event(i);var j=i.getTarget(),k,l,m=i.getKeystroke();switch(m){case 39:if(k=j.getParent().getNext()){l=k.getChild(0);if(l.type==1){l.focus();g(null,j);f(null,l);}}i.preventDefault();break;case 37:if(k=j.getParent().getPrevious()){l=k.getChild(0);l.focus();g(null,j);f(null,l);}i.preventDefault();break;case 38:if(k=j.getParent().getParent().getPrevious()){l=k.getChild([j.getParent().getIndex(),0]);l.focus();g(null,j);f(null,l);}i.preventDefault();break;case 40:if(k=j.getParent().getParent().getNext()){l=k.getChild([j.getParent().getIndex(),0]);if(l&&l.type==1){l.focus();g(null,j);f(null,l);}}i.preventDefault();break;case 32:c({data:i});i.preventDefault();break;case 9:if(k=j.getParent().getNext()){l=k.getChild(0);if(l.type==1){l.focus();g(null,j);f(null,l);i.preventDefault(true);}else g(null,j);}else if(k=j.getParent().getParent().getNext()){l=k.getChild([0,0]);if(l&&l.type==1){l.focus();g(null,j);f(null,l);i.preventDefault(true);}else g(null,j);}break;case CKEDITOR.SHIFT+9:if(k=j.getParent().getPrevious()){l=k.getChild(0);l.focus();g(null,j);f(null,l);i.preventDefault(true);}else if(k=j.getParent().getParent().getPrevious()){l=k.getLast().getChild(0);l.focus();g(null,j);f(null,l);i.preventDefault(true);}else g(null,j);break;default:return;}});return{title:a.lang.specialChar.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,chars:['!','&quot;','#','$','%','&amp;',"'",'(',')','*','+','-','.','/','0','1','2','3','4','5','6','7','8','9',':',';','&lt;','=','&gt;','?','@','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','[',']','^','_','`','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','{','|','}','~','&euro;','&lsquo;','&rsquo;','&rsquo;','&ldquo;','&rdquo;','&ndash;','&mdash;','&iexcl;','&cent;','&pound;','&curren;','&yen;','&brvbar;','&sect;','&uml;','&copy;','&ordf;','&laquo;','&not;','&reg;','&macr;','&deg;','&plusmn;','&sup2;','&sup3;','&acute;','&micro;','&para;','&middot;','&cedil;','&sup1;','&ordm;','&raquo;','&frac14;','&frac12;','&frac34;','&iquest;','&Agrave;','&Aacute;','&Acirc;','&Atilde;','&Auml;','&Aring;','&AElig;','&Ccedil;','&Egrave;','&Eacute;','&Ecirc;','&Euml;','&Igrave;','&Iacute;','&Icirc;','&Iuml;','&ETH;','&Ntilde;','&Ograve;','&Oacute;','&Ocirc;','&Otilde;','&Ouml;','&times;','&Oslash;','&Ugrave;','&Uacute;','&Ucirc;','&Uuml;','&Yacute;','&THORN;','&szlig;','&agrave;','&aacute;','&acirc;','&atilde;','&auml;','&aring;','&aelig;','&ccedil;','&egrave;','&eacute;','&ecirc;','&euml;','&igrave;','&iacute;','&icirc;','&iuml;','&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;','&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;','&ucirc;','&uuml;','&uuml;','&yacute;','&thorn;','&yuml;','&OElig;','&oelig;','&#372;','&#374','&#373','&#375;','&sbquo;','&#8219;','&bdquo;','&hellip;','&trade;','&#9658;','&bull;','&rarr;','&rArr;','&hArr;','&diams;','&asymp;'],onLoad:function(){var i=this.definition.charColumns,j=this.definition.chars,k=['<table style="width: 320px; height: 100%; border-collapse: separate;" align="center" cellspacing="2" cellpadding="2" border="0">'],l=0;
7
+ while(l<j.length){k.push('<tr>');for(var m=0;m<i;m++,l++){if(j[l])k.push('<td class="cke_dark_background" style="cursor: default"><a href="javascript: void(0);" style="cursor: inherit; display: block; height: 1.25em; margin-top: 0.25em; text-align: center;" title="',j[l].replace(/&/g,'&amp;'),'" onkeydown="CKEDITOR.tools.callFunction( '+h+', event, this )"'+' onclick="CKEDITOR.tools.callFunction('+d+', this); return false;"'+' tabindex="-1">'+'<span style="margin: 0 auto;cursor: inherit">'+j[l]+'</span></a>');else k.push('<td class="cke_dark_background">&nbsp;');k.push('</td>');}k.push('</tr>');}k.push('</tbody></table>');this.getContentElement('info','charContainer').getElement().setHtml(k.join(''));},contents:[{id:'info',label:a.lang.common.generalTab,title:a.lang.common.generalTab,padding:0,align:'top',elements:[{type:'hbox',align:'top',widths:['320px','90px'],children:[{type:'html',id:'charContainer',html:'',onMouseover:f,onMouseout:g,focus:function(){var i=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){i.focus();f(null,i);});},onShow:function(){var i=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){i.focus();f(null,i);});},onLoad:function(i){b=i.sender;}},{type:'hbox',align:'top',widths:['100%'],children:[{type:'vbox',align:'top',children:[{type:'html',html:'<div></div>'},{type:'html',id:'charPreview',style:"border:1px solid #eeeeee;background-color:#EAEAD1;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:'<div>&nbsp;</div>'},{type:'html',id:'htmlPreview',style:"border:1px solid #eeeeee;background-color:#EAEAD1;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:'<div>&nbsp;</div>'}]}]}]}]}]};});
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('specialchar',{init:function(a){var b='specialchar';CKEDITOR.dialog.add(b,this.path+'dialogs/specialchar.js');a.addCommand(b,new CKEDITOR.dialogCommand(b));a.ui.addButton('SpecialChar',{label:a.lang.specialChar.toolbar,command:b});}});
@@ -0,0 +1,10 @@
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
+ CKEDITOR.plugins.add('styles',{requires:['selection']});CKEDITOR.editor.prototype.attachStyleStateChange=function(a,b){var c=this._.styleStateChangeCallbacks;if(!c){c=this._.styleStateChangeCallbacks=[];this.on('selectionChange',function(d){for(var e=0;e<c.length;e++){var f=c[e],g=f.style.checkActive(d.data.path)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF;if(f.state!==g){f.fn.call(this,g);f.state!==g;}}});}c.push({style:a,fn:b});};CKEDITOR.STYLE_BLOCK=1;CKEDITOR.STYLE_INLINE=2;CKEDITOR.STYLE_OBJECT=3;(function(){var a={address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1},b={a:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,ul:1},c=/\s*(?:;\s*|$)/;CKEDITOR.style=function(A,B){if(B){A=CKEDITOR.tools.clone(A);v(A.attributes,B);v(A.styles,B);}var C=this.element=(A.element||'*').toLowerCase();this.type=C=='#'||a[C]?CKEDITOR.STYLE_BLOCK:b[C]?CKEDITOR.STYLE_OBJECT:CKEDITOR.STYLE_INLINE;this._={definition:A};};CKEDITOR.style.prototype={apply:function(A){z.call(this,A,false);},remove:function(A){z.call(this,A,true);},applyToRange:function(A){var B=this;return(B.applyToRange=B.type==CKEDITOR.STYLE_INLINE?d:B.type==CKEDITOR.STYLE_BLOCK?f:null).call(B,A);},removeFromRange:function(A){return(this.removeFromRange=this.type==CKEDITOR.STYLE_INLINE?e:null).call(this,A);},applyToObject:function(A){t(A,this);},checkActive:function(A){switch(this.type){case CKEDITOR.STYLE_BLOCK:return this.checkElementRemovable(A.block||A.blockLimit,true);case CKEDITOR.STYLE_INLINE:var B=A.elements;for(var C=0,D;C<B.length;C++){D=B[C];if(D==A.block||D==A.blockLimit)continue;if(this.checkElementRemovable(D,true))return true;}}return false;},checkElementRemovable:function(A,B){if(!A)return false;var C=this._.definition,D;if(A.getName()==this.element){if(!B&&!A.hasAttributes())return true;D=w(C);if(D._length){for(var E in D){if(E=='_length')continue;var F=A.getAttribute(E);if(D[E]==(E=='style'?y(F,false):F)){if(!B)return true;}else if(B)return false;}if(B)return true;}else return true;}var G=x(this)[A.getName()];if(G){if(!(D=G.attributes))return true;for(var H=0;H<D.length;H++){E=D[H][0];var I=A.getAttribute(E);if(I){var J=D[H][1];if(J===null||typeof J=='string'&&I==J||J.test(I))return true;}}}return false;}};CKEDITOR.style.getStyleText=function(A){var B=A._ST;if(B)return B;B=A.styles;var C=A.attributes&&A.attributes.style||'';if(C.length)C=C.replace(c,';');for(var D in B)C+=D+':'+B[D]+';';if(C.length)C=y(C);return A._ST=C;};function d(A){var aa=this;var B=A.document;if(A.collapsed){var C=s(aa,B);
7
+ A.insertNode(C);A.moveToPosition(C,CKEDITOR.POSITION_BEFORE_END);return;}var D=aa.element,E=aa._.definition,F,G=CKEDITOR.dtd[D]||(F=true,CKEDITOR.dtd.span),H=A.createBookmark();A.enlarge(CKEDITOR.ENLARGE_ELEMENT);A.trim();var I=A.getBoundaryNodes(),J=I.startNode,K=I.endNode.getNextSourceNode(true);if(!K){var L;K=L=B.createText('');K.insertAfter(A.endContainer);}var M=K.getParent();if(M&&M.getAttribute('_fck_bookmark'))K=M;if(K.equals(J)){K=K.getNextSourceNode(true);if(!K){K=L=B.createText('');K.insertAfter(J);}}var N=J,O,P;while(N){var Q=false;if(N.equals(K)){N=null;Q=true;}else{var R=N.type,S=R==CKEDITOR.NODE_ELEMENT?N.getName():null;if(S&&N.getAttribute('_fck_bookmark')){N=N.getNextSourceNode(true);continue;}if(!S||G[S]&&(N.getPosition(K)|CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED)==(CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IDENTICAL+CKEDITOR.POSITION_IS_CONTAINED)){var T=N.getParent();if(T&&((T.getDtd()||CKEDITOR.dtd.span)[D]||F)){if(!O&&(!S||!CKEDITOR.dtd.$removeEmpty[S]||(N.getPosition(K)|CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED)==(CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IDENTICAL+CKEDITOR.POSITION_IS_CONTAINED))){O=new CKEDITOR.dom.range(B);O.setStartBefore(N);}if(R==CKEDITOR.NODE_TEXT||R==CKEDITOR.NODE_ELEMENT&&!N.getChildCount()){var U=N,V;while(!U.$.nextSibling&&(V=U.getParent(),G[V.getName()])&&((V.getPosition(J)|CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED)==(CKEDITOR.POSITION_FOLLOWING+CKEDITOR.POSITION_IDENTICAL+CKEDITOR.POSITION_IS_CONTAINED)))U=V;O.setEndAfter(U);if(!U.$.nextSibling)Q=true;if(!P)P=R!=CKEDITOR.NODE_TEXT||/[^\s\ufeff]/.test(N.getText());}}else Q=true;}else Q=true;N=N.getNextSourceNode();}if(Q&&P&&O&&!O.collapsed){var W=s(aa,B),X=O.getCommonAncestor();while(W&&X){if(X.getName()==D){for(var Y in E.attributes)if(W.getAttribute(Y)==X.getAttribute(Y))W.removeAttribute(Y);for(var Z in E.styles)if(W.getStyle(Z)==X.getStyle(Z))W.removeStyle(Z);if(!W.hasAttributes()){W=null;break;}}X=X.getParent();}if(W){O.extractContents().appendTo(W);n(aa,W);O.insertNode(W);q(W);if(!CKEDITOR.env.ie)W.$.normalize();}O=null;}}L&&L.remove();A.moveToBookmark(H);};function e(A){A.enlarge(CKEDITOR.ENLARGE_ELEMENT);var B=A.createBookmark(),C=B.startNode;if(A.collapsed){var D=new CKEDITOR.dom.elementPath(C.getParent()),E;for(var F=0,G;F<D.elements.length&&(G=D.elements[F]);F++){if(G==D.block||G==D.blockLimit)break;if(this.checkElementRemovable(G)){var H=A.checkBoundaryOfElement(G,CKEDITOR.END),I=!H&&A.checkBoundaryOfElement(G,CKEDITOR.START);
8
+ if(I||H){E=G;E.match=I?'start':'end';}else{q(G);m(this,G);}}}if(E){var J=C;for(F=0;true;F++){var K=D.elements[F];if(K.equals(E))break;else if(K.match)continue;else K=K.clone();K.append(J);J=K;}J[E.match=='start'?'insertBefore':'insertAfter'](E);}}else{var L=B.endNode,M=this;function N(){var Q=new CKEDITOR.dom.elementPath(C.getParent()),R=new CKEDITOR.dom.elementPath(L.getParent()),S=null,T=null;for(var U=0;U<Q.elements.length;U++){var V=Q.elements[U];if(V==Q.block||V==Q.blockLimit)break;if(M.checkElementRemovable(V))S=V;}for(U=0;U<R.elements.length;U++){V=R.elements[U];if(V==R.block||V==R.blockLimit)break;if(M.checkElementRemovable(V))T=V;}if(T)L.breakParent(T);if(S)C.breakParent(S);};N();var O=C.getNext();while(!O.equals(L)){var P=O.getNextSourceNode();if(O.type==CKEDITOR.NODE_ELEMENT&&this.checkElementRemovable(O)){if(O.getName()==this.element)m(this,O);else o(O,x(this)[O.getName()]);if(P.type==CKEDITOR.NODE_ELEMENT&&P.contains(C)){N();P=C.getNext();}}O=P;}}A.moveToBookmark(B);};function f(A){var B=A.createBookmark(true),C=A.createIterator();C.enforceRealBlocks=true;var D,E=A.document,F;while(D=C.getNextParagraph()){var G=s(this,E);g(D,G);}A.moveToBookmark(B);};function g(A,B){var C=B.is('pre'),D=A.is('pre'),E=C&&!D,F=!C&&D;if(E)B=l(A,B);else if(F)B=k(i(A),B);else A.moveChildren(B);B.replace(A);if(C)h(B);};function h(A){var B;if(!((B=A.getPreviousSourceNode(true,CKEDITOR.NODE_ELEMENT))&&(B.is&&B.is('pre'))))return;var C=j(B.getHtml(),/\n$/,'')+'\n\n'+j(A.getHtml(),/^\n/,'');if(CKEDITOR.env.ie)A.$.outerHTML='<pre>'+C+'</pre>';else A.setHtml(C);B.remove();};function i(A){var B=/(\S\s*)\n(?:\s|(<span[^>]+_fck_bookmark.*?\/span>))*\n(?!$)/gi,C=A.getName(),D=j(A.getOuterHtml(),B,function(F,G,H){return G+'</pre>'+H+'<pre>';}),E=[];D.replace(/<pre>([\s\S]*?)<\/pre>/gi,function(F,G){E.push(G);});return E;};function j(A,B,C){var D='',E='';A=A.replace(/(^<span[^>]+_fck_bookmark.*?\/span>)|(<span[^>]+_fck_bookmark.*?\/span>$)/gi,function(F,G,H){G&&(D=G);H&&(E=H);return '';});return D+A.replace(B,C)+E;};function k(A,B){var C=new CKEDITOR.dom.documentFragment(B.getDocument());for(var D=0;D<A.length;D++){var E=A[D];E=E.replace(/(\r\n|\r)/g,'\n');E=j(E,/^[ \t]*\n/,'');E=j(E,/\n$/,'');E=j(E,/^[ \t]+|[ \t]+$/g,function(G,H,I){if(G.length==1)return '&nbsp;';else if(!H)return CKEDITOR.tools.repeat('&nbsp;',G.length-1)+' ';else return ' '+CKEDITOR.tools.repeat('&nbsp;',G.length-1);});E=E.replace(/\n/g,'<br>');E=E.replace(/[ \t]{2,}/g,function(G){return CKEDITOR.tools.repeat('&nbsp;',G.length-1)+' ';
9
+ });var F=B.clone();F.setHtml(E);C.append(F);}return C;};function l(A,B){var C=A.getHtml();C=j(C,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,'');C=C.replace(/[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi,'$1');C=C.replace(/([ \t\n\r]+|&nbsp;)/g,' ');C=C.replace(/<br\b[^>]*>/gi,'\n');if(CKEDITOR.env.ie){var D=A.getDocument().createElement('div');D.append(B);B.$.outerHTML='<pre>'+C+'</pre>';B=D.getFirst().remove();}else B.setHtml(C);return B;};function m(A,B){var C=A._.definition,D=C.attributes,E=C.styles,F=x(A);function G(){for(var I in D){if(I=='class'&&B.getAttribute(I)!=D[I])continue;B.removeAttribute(I);}};G();for(var H in E)B.removeStyle(H);D=F[B.getName()];if(D)G();p(B);};function n(A,B){var C=A._.definition,D=C.attributes,E=C.styles,F=x(A),G=B.getElementsByTag(A.element);for(var H=G.count();--H>=0;)m(A,G.getItem(H));for(var I in F)if(I!=A.element){G=B.getElementsByTag(I);for(H=G.count()-1;H>=0;H--){var J=G.getItem(H);o(J,F[I]);}}};function o(A,B){var C=B&&B.attributes;if(C)for(var D=0;D<C.length;D++){var E=C[D][0],F;if(F=A.getAttribute(E)){var G=C[D][1];if(G===null||G.test&&G.test(F)||typeof G=='string'&&F==G)A.removeAttribute(E);}}p(A);};function p(A){if(!A.hasAttributes()){var B=A.getFirst(),C=A.getLast();A.remove(true);if(B){q(B);if(C&&!B.equals(C))q(C);}}};function q(A){if(!A||A.type!=CKEDITOR.NODE_ELEMENT||!CKEDITOR.dtd.$removeEmpty[A.getName()])return;r(A,A.getNext(),true);r(A,A.getPrevious());};function r(A,B,C){if(B&&B.type==CKEDITOR.NODE_ELEMENT){var D=B.getAttribute('_fck_bookmark');if(D)B=C?B.getNext():B.getPrevious();if(B&&B.type==CKEDITOR.NODE_ELEMENT&&A.isIdentical(B)){var E=C?A.getLast():A.getFirst();if(D)(C?B.getPrevious():B.getNext()).move(A,!C);B.moveChildren(A,!C);B.remove();if(E)q(E);}}};function s(A,B){var C,D=A._.definition,E=A.element;if(E=='*')E='span';C=new CKEDITOR.dom.element(E,B);return t(C,A);};function t(A,B){var C=B._.definition,D=C.attributes,E=CKEDITOR.style.getStyleText(C);if(D)for(var F in D)A.setAttribute(F,D[F]);if(E)A.setAttribute('style',E);return A;};var u=/#\((.+?)\)/g;function v(A,B){for(var C in A)A[C]=A[C].replace(u,function(D,E){return B[E];});};function w(A){var B=A._AC;if(B)return B;B={};var C=0,D=A.attributes;if(D)for(var E in D){C++;B[E]=D[E];}var F=CKEDITOR.style.getStyleText(A);if(F){if(!B.style)C++;B.style=F;}B._length=C;return A._AC=B;};function x(A){if(A._.overrides)return A._.overrides;var B=A._.overrides={},C=A._.definition.overrides;if(C){if(!CKEDITOR.tools.isArray(C))C=[C];for(var D=0;D<C.length;D++){var E=C[D],F,G,H;
10
+ if(typeof E=='string')F=E.toLowerCase();else{F=E.element?E.element.toLowerCase():A.element;H=E.attributes;}G=B[F]||(B[F]={});if(H){var I=G.attributes=G.attributes||[];for(var J in H)I.push([J.toLowerCase(),H[J]]);}}}return B;};function y(A,B){var C;if(B!==false){var D=new CKEDITOR.dom.element('span');D.setAttribute('style',A);C=D.getAttribute('style');}else C=A;return C.replace(/\s*([;:])\s*/,'$1').replace(/([^\s;])$/,'$1;').toLowerCase();};function z(A,B){var C=A.getSelection(),D=C.getRanges(),E=B?this.removeFromRange:this.applyToRange;for(var F=0;F<D.length;F++)E.call(this,D[F]);C.selectRanges(D);};})();CKEDITOR.styleCommand=function(a){this.style=a;};CKEDITOR.styleCommand.prototype.exec=function(a){var c=this;a.focus();var b=a.document;if(b)if(c.state==CKEDITOR.TRISTATE_OFF)c.style.apply(b);else if(c.state==CKEDITOR.TRISTATE_ON)c.style.remove(b);return!!b;};
@@ -0,0 +1,7 @@
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(){CKEDITOR.plugins.add('stylescombo',{requires:['richcombo','styles'],init:function(d){var e=d.config,f=d.lang.stylesCombo,g=this.path,h;d.ui.addRichCombo('Styles',{label:f.label,title:f.panelTitle,voiceLabel:f.voiceLabel,className:'cke_styles',multiSelect:true,panel:{css:[e.contentsCss,CKEDITOR.getUrl(d.skinPath+'editor.css')],voiceLabel:f.panelVoiceLabel},init:function(){var i=this,j=e.stylesCombo_stylesSet.split(':',2),k=j[1]||CKEDITOR.getUrl(g+'styles/'+j[0]+'.js');j=j[0];CKEDITOR.loadStylesSet(j,k,function(l){var m,n,o=[];h={};for(var p=0;p<l.length;p++){var q=l[p];n=q.name;m=h[n]=new CKEDITOR.style(q);m._name=n;o.push(m);}o.sort(c);var r;for(p=0;p<o.length;p++){m=o[p];n=m._name;var s=m.type;if(s!=r){i.startGroup(f['panelTitle'+String(s)]);r=s;}i.add(n,m.type==CKEDITOR.STYLE_OBJECT?n:b(m._.definition),n);}i.commit();i.onOpen();});},onClick:function(i){d.focus();d.fire('saveSnapshot');var j=h[i],k=d.getSelection();if(j.type==CKEDITOR.STYLE_OBJECT){var l=k.getSelectedElement();if(l)j.applyToObject(l);return;}var m=new CKEDITOR.dom.elementPath(k.getStartElement());if(j.type==CKEDITOR.STYLE_INLINE&&j.checkActive(m))j.remove(d.document);else j.apply(d.document);d.fire('saveSnapshot');},onRender:function(){d.on('selectionChange',function(i){var j=this.getValue(),k=i.data.path,l=k.elements;for(var m=0,n;m<l.length;m++){n=l[m];for(var o in h)if(h[o].checkElementRemovable(n,true)){if(o!=j)this.setValue(o);return;}}this.setValue('');},this);},onOpen:function(){var q=this;if(CKEDITOR.env.ie)d.focus();var i=d.getSelection(),j=i.getSelectedElement(),k=j&&j.getName(),l=new CKEDITOR.dom.elementPath(j||i.getStartElement()),m=[0,0,0,0];q.showAll();q.unmarkAll();for(var n in h){var o=h[n],p=o.type;if(p==CKEDITOR.STYLE_OBJECT){if(j&&o.element==k){if(o.checkElementRemovable(j,true))q.mark(n);m[p]++;}else q.hideItem(n);}else{if(o.checkActive(l))q.mark(n);m[p]++;}}if(!m[CKEDITOR.STYLE_BLOCK])q.hideGroup(f['panelTitle'+String(CKEDITOR.STYLE_BLOCK)]);if(!m[CKEDITOR.STYLE_INLINE])q.hideGroup(f['panelTitle'+String(CKEDITOR.STYLE_INLINE)]);if(!m[CKEDITOR.STYLE_OBJECT])q.hideGroup(f['panelTitle'+String(CKEDITOR.STYLE_OBJECT)]);}});}});var a={};CKEDITOR.addStylesSet=function(d,e){a[d]=e;};CKEDITOR.loadStylesSet=function(d,e,f){var g=a[d];if(g){f(g);return;}CKEDITOR.scriptLoader.load(e,function(){f(a[d]);});};function b(d){var e=[],f=d.element;if(f=='bdo')f='span';e=['<',f];var g=d.attributes;if(g)for(var h in g)e.push(' ',h,'="',g[h],'"');var i=CKEDITOR.style.getStyleText(d);
7
+ if(i)e.push(' style="',i,'"');e.push('>',d.name,'</',f,'>');return e.join('');};function c(d,e){var f=d.type,g=e.type;return f==g?0:f==CKEDITOR.STYLE_OBJECT?-1:g==CKEDITOR.STYLE_OBJECT?1:g==CKEDITOR.STYLE_BLOCK?1:-1;};})();CKEDITOR.config.stylesCombo_stylesSet='default';
@@ -0,0 +1,6 @@
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
+ CKEDITOR.addStylesSet('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{name:'Marker: Yellow',element:'span',styles:{'background-color':'Yellow'}},{name:'Marker: Green',element:'span',styles:{'background-color':'Lime'}},{name:'Big',element:'big'},{name:'Small',element:'small'},{name:'Typewriter',element:'tt'},{name:'Computer Code',element:'code'},{name:'Keyboard Phrase',element:'kbd'},{name:'Sample Text',element:'samp'},{name:'Variable',element:'var'},{name:'Deleted Text',element:'del'},{name:'Inserted Text',element:'ins'},{name:'Cited Work',element:'cite'},{name:'Inline Quotation',element:'q'},{name:'Language: RTL',element:'span',attributes:{dir:'rtl'}},{name:'Language: LTR',element:'span',attributes:{dir:'ltr'}},{name:'Image on Left',element:'img',attributes:{style:'padding: 5px; margin-right: 5px',border:'2',align:'left'}},{name:'Image on Right',element:'img',attributes:{style:'padding: 5px; margin-left: 5px',border:'2',align:'right'}}]);
@@ -0,0 +1,6 @@
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(){var a={exec:function(c){c.container.focusNext(true);}},b={exec:function(c){c.container.focusPrevious(true);}};CKEDITOR.plugins.add('tab',{requires:['keystrokes'],init:function(c){var d=c.keystrokeHandler.keystrokes;d[9]='tab';d[CKEDITOR.SHIFT+9]='shiftTab';var e=c.config.tabSpaces,f='';while(e--)f+='\xa0';c.addCommand('tab',{exec:function(g){if(!g.fire('tab'))if(f.length>0)g.insertHtml(f);else return g.execCommand('blur');return true;}});c.addCommand('shiftTab',{exec:function(g){if(!g.fire('shiftTab'))return g.execCommand('blurBack');return true;}});c.addCommand('blur',a);c.addCommand('blurBack',b);}});})();CKEDITOR.dom.element.prototype.focusNext=function(a){var j=this;var b=j.$,c=j.getTabIndex(),d,e,f,g,h,i;if(c<=0){h=j.getNextSourceNode(a,CKEDITOR.NODE_ELEMENT);while(h){if(h.isVisible()&&h.getTabIndex()===0){f=h;break;}h=h.getNextSourceNode(false,CKEDITOR.NODE_ELEMENT);}}else{h=j.getDocument().getBody().getFirst();while(h=h.getNextSourceNode(false,CKEDITOR.NODE_ELEMENT)){if(!d)if(!e&&h.equals(j)){e=true;if(a){if(!(h=h.getNextSourceNode(true,CKEDITOR.NODE_ELEMENT)))break;d=1;}}else if(e&&!j.contains(h))d=1;if(!h.isVisible()||(i=h.getTabIndex())<(0))continue;if(d&&i==c){f=h;break;}if(i>c&&(!f||!g||i<g)){f=h;g=i;}else if(!f&&i===0){f=h;g=i;}}}if(f)f.focus();};CKEDITOR.dom.element.prototype.focusPrevious=function(a){var j=this;var b=j.$,c=j.getTabIndex(),d,e,f,g=0,h,i=j.getDocument().getBody().getLast();while(i=i.getPreviousSourceNode(false,CKEDITOR.NODE_ELEMENT)){if(!d)if(!e&&i.equals(j)){e=true;if(a){if(!(i=i.getPreviousSourceNode(true,CKEDITOR.NODE_ELEMENT)))break;d=1;}}else if(e&&!j.contains(i))d=1;if(!i.isVisible()||(h=i.getTabIndex())<(0))continue;if(c<=0){if(d&&h===0){f=i;break;}if(h>g){f=i;g=h;}}else{if(d&&h==c){f=i;break;}if(h<c&&(!f||h>g)){f=i;g=h;}}}if(f)f.focus();};CKEDITOR.config.tabSpaces=0;
@@ -0,0 +1,8 @@
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(){var a=/^(\d+(?:\.\d+)?)(px|%)$/,b=/^(\d+(?:\.\d+)?)px$/,c=function(e){var f=this.id;if(!e.info)e.info={};e.info[f]=this.getValue();};function d(e,f){var g=function(h){return new CKEDITOR.dom.element(h,e.document);};return{title:e.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?310:280,onShow:function(){var o=this;var h=e.getSelection(),i=h.getRanges(),j=null,k=o.getContentElement('info','txtRows'),l=o.getContentElement('info','txtCols'),m=o.getContentElement('info','txtWidth');if(f=='tableProperties'){if(j=e.getSelection().getSelectedElement()){if(j.getName()!='table')j=null;}else if(i.length>0){var n=i[0].getCommonAncestor(true);j=n.getAscendant('table',true);}o._.selectedElement=j;}if(j){o.setupContent(j);k&&k.disable();l&&l.disable();m&&m.select();}else{k&&k.enable();l&&l.enable();k&&k.select();}},onOk:function(){var A=this;var h=A._.selectedElement||g('table'),i=A,j={};A.commitContent(j,h);if(j.info){var k=j.info;if(!A._.selectedElement){var l=h.append(g('tbody')),m=parseInt(k.txtRows,10)||0,n=parseInt(k.txtCols,10)||0;for(var o=0;o<m;o++){var p=l.append(g('tr'));for(var q=0;q<n;q++){var r=p.append(g('td'));if(!CKEDITOR.env.ie)r.append(g('br'));}}}var s=k.selHeaders;if(!h.$.tHead&&(s=='row'||s=='both')){var t=new CKEDITOR.dom.element(h.$.createTHead());l=h.getElementsByTag('tbody').getItem(0);var u=l.getElementsByTag('tr').getItem(0);for(o=0;o<u.getChildCount();o++){var v=u.getChild(o);if(v.type==CKEDITOR.NODE_ELEMENT){v.renameNode('th');if(!o)v.setAttribute('scope','col');}}t.append(u.remove());}if(h.$.tHead!==null&&!(s=='row'||s=='both')){t=new CKEDITOR.dom.element(h.$.tHead);l=h.getElementsByTag('tbody').getItem(0);var w=l.getFirst();while(t.getChildCount()>0){u=t.getFirst();for(o=0;o<u.getChildCount();o++){var x=u.getChild(o);if(x.type==CKEDITOR.NODE_ELEMENT){x.renameNode('td');x.removeAttribute('scope');}}u.insertBefore(w);}t.remove();}if(!A.hasColumnHeaders&&(s=='col'||s=='both'))for(p=0;p<h.$.rows.length;p++){x=new CKEDITOR.dom.element(h.$.rows[p].cells[0]);x.renameNode('th');x.setAttribute('scope','col');}if(A.hasColumnHeaders&&!(s=='col'||s=='both'))for(o=0;o<h.$.rows.length;o++){p=new CKEDITOR.dom.element(h.$.rows[o]);if(p.getParent().getName()=='tbody'){x=new CKEDITOR.dom.element(p.$.cells[0]);x.renameNode('td');x.removeAttribute('scope');}}var y=[];if(k.txtHeight)y.push('height:'+k.txtHeight+'px');if(k.txtWidth){var z=k.cmbWidthType||'pixels';y.push('width:'+k.txtWidth+(z=='pixels'?'px':'%'));}y=y.join(';');if(y)h.$.style.cssText=y;
7
+ else h.removeAttribute('style');}if(!A._.selectedElement)e.insertElement(h);return true;},contents:[{id:'info',label:e.lang.table.title,elements:[{type:'hbox',widths:[null,null],styles:['vertical-align:top'],children:[{type:'vbox',padding:0,children:[{type:'text',id:'txtRows','default':3,label:e.lang.table.rows,style:'width:5em',validate:function(){var h=true,i=this.getValue();h=h&&CKEDITOR.dialog.validate.integer()(i)&&i>0;if(!h){alert(e.lang.table.invalidRows);this.select();}return h;},setup:function(h){this.setValue(h.$.rows.length);},commit:c},{type:'text',id:'txtCols','default':2,label:e.lang.table.columns,style:'width:5em',validate:function(){var h=true,i=this.getValue();h=h&&CKEDITOR.dialog.validate.integer()(i)&&i>0;if(!h){alert(e.lang.table.invalidCols);this.select();}return h;},setup:function(h){this.setValue(h.$.rows[0].cells.length);},commit:c},{type:'html',html:'&nbsp;'},{type:'select',id:'selHeaders','default':'',label:e.lang.table.headers,items:[[e.lang.table.headersNone,''],[e.lang.table.headersRow,'row'],[e.lang.table.headersColumn,'col'],[e.lang.table.headersBoth,'both']],setup:function(h){var i=this.getDialog();i.hasColumnHeaders=true;for(var j=0;j<h.$.rows.length;j++)if(h.$.rows[j].cells[0].nodeName.toLowerCase()!='th'){i.hasColumnHeaders=false;break;}if(h.$.tHead!==null)this.setValue(i.hasColumnHeaders?'both':'row');else this.setValue(i.hasColumnHeaders?'col':'');},commit:c},{type:'text',id:'txtBorder','default':1,label:e.lang.table.border,style:'width:3em',validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidBorder),setup:function(h){this.setValue(h.getAttribute('border')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('border',this.getValue());else i.removeAttribute('border');}},{id:'cmbAlign',type:'select','default':'',label:e.lang.table.align,items:[[e.lang.table.alignNotSet,''],[e.lang.table.alignLeft,'left'],[e.lang.table.alignCenter,'center'],[e.lang.table.alignRight,'right']],setup:function(h){this.setValue(h.getAttribute('align')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('align',this.getValue());else i.removeAttribute('align');}}]},{type:'vbox',padding:0,children:[{type:'hbox',widths:['5em'],children:[{type:'text',id:'txtWidth',style:'width:5em',label:e.lang.table.width,'default':200,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidWidth),setup:function(h){var i=a.exec(h.$.style.width);if(i)this.setValue(i[1]);},commit:c},{id:'cmbWidthType',type:'select',label:'&nbsp;','default':'pixels',items:[[e.lang.table.widthPx,'pixels'],[e.lang.table.widthPc,'percents']],setup:function(h){var i=a.exec(h.$.style.width);
8
+ if(i)this.setValue(i[2]=='px'?'pixels':'percents');},commit:c}]},{type:'hbox',widths:['5em'],children:[{type:'text',id:'txtHeight',style:'width:5em',label:e.lang.table.height,'default':'',validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidHeight),setup:function(h){var i=b.exec(h.$.style.height);if(i)this.setValue(i[1]);},commit:c},{type:'html',html:'<br />'+e.lang.table.widthPx}]},{type:'html',html:'&nbsp;'},{type:'text',id:'txtCellSpace',style:'width:3em',label:e.lang.table.cellSpace,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellSpacing),setup:function(h){this.setValue(h.getAttribute('cellSpacing')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('cellSpacing',this.getValue());else i.removeAttribute('cellSpacing');}},{type:'text',id:'txtCellPad',style:'width:3em',label:e.lang.table.cellPad,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellPadding),setup:function(h){this.setValue(h.getAttribute('cellPadding')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('cellPadding',this.getValue());else i.removeAttribute('cellPadding');}}]}]},{type:'html',align:'right',html:''},{type:'vbox',padding:0,children:[{type:'text',id:'txtCaption',label:e.lang.table.caption,setup:function(h){var i=h.getElementsByTag('caption');if(i.count()>0){var j=i.getItem(0);j=j.getChild(0)&&j.getChild(0).getText()||'';j=CKEDITOR.tools.trim(j);this.setValue(j);}},commit:function(h,i){var j=this.getValue(),k=i.getElementsByTag('caption');if(j){if(k.count()>0){k=k.getItem(0);k.setHtml('');}else{k=new CKEDITOR.dom.element('caption',e.document);if(i.getChildCount())k.insertBefore(i.getFirst());else k.appendTo(i);}k.append(new CKEDITOR.dom.text(j,e.document));}else if(k.count()>0)for(var l=k.count()-1;l>=0;l--)k.getItem(l).remove();}},{type:'text',id:'txtSummary',label:e.lang.table.summary,setup:function(h){this.setValue(h.getAttribute('summary')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('summary',this.getValue());}}]}]}]};};CKEDITOR.dialog.add('table',function(e){return d(e,'table');});CKEDITOR.dialog.add('tableProperties',function(e){return d(e,'tableProperties');});})();
@@ -0,0 +1,6 @@
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
+ CKEDITOR.plugins.add('table',{init:function(a){var b=CKEDITOR.plugins.table,c=a.lang.table;a.addCommand('table',new CKEDITOR.dialogCommand('table'));a.addCommand('tableProperties',new CKEDITOR.dialogCommand('tableProperties'));a.ui.addButton('Table',{label:c.toolbar,command:'table'});CKEDITOR.dialog.add('table',this.path+'dialogs/table.js');CKEDITOR.dialog.add('tableProperties',this.path+'dialogs/table.js');if(a.addMenuItems)a.addMenuItems({table:{label:c.menu,command:'tableProperties',group:'table',order:5},tabledelete:{label:c.deleteTable,command:'tableDelete',group:'table',order:1}});if(a.contextMenu)a.contextMenu.addListener(function(d,e){if(!d)return null;var f=d.is('table')||d.hasAscendant('table');if(f)return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF};return null;});}});
@@ -0,0 +1,7 @@
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
+ CKEDITOR.dialog.add('cellProperties',function(a){var b=a.lang.table,c=b.cell,d=a.lang.common,e=CKEDITOR.dialog.validate,f=/^(\d+(?:\.\d+)?)(px|%)$/,g=/^(\d+(?:\.\d+)?)px$/,h=CKEDITOR.tools.bind;function i(){return{type:'html',html:'&nbsp;'};};return{title:c.title,minWidth:480,minHeight:140,contents:[{id:'info',label:c.title,accessKey:'I',elements:[{type:'hbox',widths:['45%','10%','45%'],children:[{type:'vbox',padding:0,children:[{type:'hbox',widths:['70%','30%'],children:[{type:'text',id:'width',label:b.width,widths:['71%','29%'],labelLayout:'horizontal',validate:e.number(c.invalidWidth),setup:function(j){var k=f.exec(j.$.style.width);if(k)this.setValue(k[1]);},commit:function(j){var k=this.getDialog().getValueOf('info','widthType');if(this.getValue()!=='')j.$.style.width=this.getValue()+k;else j.$.style.width='';},'default':''},{type:'select',id:'widthType',labelLayout:'horizontal',widths:['0%','100%'],label:'','default':'px',items:[[b.widthPx,'px'],[b.widthPc,'%']],setup:function(j){var k=f.exec(j.$.style.width);if(k)this.setValue(k[2]);}}]},{type:'hbox',widths:['70%','30%'],children:[{type:'text',id:'height',label:b.height,'default':'',widths:['71%','29%'],labelLayout:'horizontal',validate:e.number(c.invalidHeight),setup:function(j){var k=g.exec(j.$.style.height);if(k)this.setValue(k[1]);},commit:function(j){if(this.getValue()!=='')j.$.style.height=this.getValue()+'px';else j.$.style.height='';}},{type:'html',html:b.widthPx}]},i(),{type:'select',id:'wordWrap',labelLayout:'horizontal',label:c.wordWrap,widths:['50%','50%'],'default':'yes',items:[[c.yes,'yes'],[c.no,'no']],commit:function(j){if(this.getValue()=='no')j.setAttribute('noWrap','nowrap');else j.removeAttribute('noWrap');}},i(),{type:'select',id:'hAlign',labelLayout:'horizontal',label:c.hAlign,widths:['50%','50%'],'default':'',items:[[d.notSet,''],[b.alignLeft,'left'],[b.alignCenter,'center'],[b.alignRight,'right']],setup:function(j){this.setValue(j.getAttribute('align')||'');},commit:function(j){if(this.getValue())j.setAttribute('align',this.getValue());else j.removeAttribute('align');}},{type:'select',id:'vAlign',labelLayout:'horizontal',label:c.vAlign,widths:['50%','50%'],'default':'',items:[[d.notSet,''],[c.alignTop,'top'],[c.alignMiddle,'middle'],[c.alignBottom,'bottom'],[c.alignBaseline,'baseline']],setup:function(j){this.setValue(j.getAttribute('vAlign')||'');},commit:function(j){if(this.getValue())j.setAttribute('vAlign',this.getValue());else j.removeAttribute('vAlign');}}]},i(),{type:'vbox',padding:0,children:[{type:'select',id:'cellType',label:c.cellType,labelLayout:'horizontal',widths:['50%','50%'],'default':'td',items:[[c.data,'td'],[c.header,'th']],setup:function(j){this.setValue(j.getName());
7
+ },commit:function(j){j.renameNode(this.getValue());}},i(),{type:'text',id:'rowSpan',label:c.rowSpan,labelLayout:'horizontal',widths:['50%','50%'],'default':'',validate:e.integer(c.invalidRowSpan),setup:function(j){this.setValue(j.getAttribute('rowSpan')||'');},commit:function(j){if(this.getValue())j.setAttribute('rowSpan',this.getValue());else j.removeAttribute('rowSpan');}},{type:'text',id:'colSpan',label:c.colSpan,labelLayout:'horizontal',widths:['50%','50%'],'default':'',validate:e.integer(c.invalidColSpan),setup:function(j){this.setValue(j.getAttribute('colSpan')||'');},commit:function(j){if(this.getValue())j.setAttribute('colSpan',this.getValue());else j.removeAttribute('colSpan');}},i(),{type:'text',id:'bgColor',label:c.bgColor,labelLayout:'horizontal',widths:['50%','50%'],'default':'',setup:function(j){this.setValue(j.getAttribute('bgColor')||'');},commit:function(j){if(this.getValue())j.setAttribute('bgColor',this.getValue());else j.removeAttribute('bgColor');}},{type:'text',id:'borderColor',label:c.borderColor,labelLayout:'horizontal',widths:['50%','50%'],'default':'',setup:function(j){this.setValue(j.getAttribute('borderColor')||'');},commit:function(j){if(this.getValue())j.setAttribute('borderColor',this.getValue());else j.removeAttribute('borderColor');}}]}]}]}],onShow:function(){var j=this;j.cells=CKEDITOR.plugins.tabletools.getSelectedCells(j._.editor.getSelection());j.setupContent(j.cells[0]);},onOk:function(){var j=this.cells;for(var k=0;k<j.length;k++)this.commitContent(j[k]);}};});
@@ -0,0 +1,9 @@
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(){function a(n,o){if(CKEDITOR.env.ie)n.removeAttribute(o);else delete n[o];};var b=/^(?:td|th)$/;function c(n){var o=n.createBookmarks(),p=n.getRanges(),q=[],r={};function s(A){if(q.length>0)return;if(A.type==CKEDITOR.NODE_ELEMENT&&b.test(A.getName())&&!A.getCustomData('selected_cell')){CKEDITOR.dom.element.setMarker(r,A,'selected_cell',true);q.push(A);}};for(var t=0;t<p.length;t++){var u=p[t];if(u.collapsed){var v=u.getCommonAncestor(),w=v.getAscendant('td',true)||v.getAscendant('th',true);if(w)q.push(w);}else{var x=new CKEDITOR.dom.walker(u),y;x.guard=s;while(y=x.next()){var z=y.getParent();if(z&&b.test(z.getName())&&!z.getCustomData('selected_cell')){CKEDITOR.dom.element.setMarker(r,z,'selected_cell',true);q.push(z);}}}}CKEDITOR.dom.element.clearAllMarkers(r);n.selectBookmarks(o);return q;};function d(n){var o=new CKEDITOR.dom.element(n),p=(o.getName()=='table'?n:o.getAscendant('table')).$,q=p.rows,r=-1,s=[];for(var t=0;t<q.length;t++){r++;if(!s[r])s[r]=[];var u=-1;for(var v=0;v<q[t].cells.length;v++){var w=q[t].cells[v];u++;while(s[r][u])u++;var x=isNaN(w.colSpan)?1:w.colSpan,y=isNaN(w.rowSpan)?1:w.rowSpan;for(var z=0;z<y;z++){if(!s[r+z])s[r+z]=[];for(var A=0;A<x;A++)s[r+z][u+A]=q[t].cells[v];}u+=x-1;}}return s;};function e(n,o){var p=CKEDITOR.env.ie?'_cke_rowspan':'rowSpan';for(var q=0;q<n.length;q++)for(var r=0;r<n[q].length;r++){var s=n[q][r];if(s.parentNode)s.parentNode.removeChild(s);s.colSpan=s[p]=1;}var t=0;for(q=0;q<n.length;q++)for(r=0;r<n[q].length;r++){s=n[q][r];if(!s)continue;if(r>t)t=r;if(s._cke_colScanned)continue;if(n[q][r-1]==s)s.colSpan++;if(n[q][r+1]!=s)s._cke_colScanned=1;}for(q=0;q<=t;q++)for(r=0;r<n.length;r++){if(!n[r])continue;s=n[r][q];if(!s||s._cke_rowScanned)continue;if(n[r-1]&&n[r-1][q]==s)s[p]++;if(!n[r+1]||n[r+1][q]!=s)s._cke_rowScanned=1;}for(q=0;q<n.length;q++)for(r=0;r<n[q].length;r++){s=n[q][r];a(s,'_cke_colScanned');a(s,'_cke_rowScanned');}for(q=0;q<n.length;q++){var u=o.ownerDocument.createElement('tr');for(r=0;r<n[q].length;){s=n[q][r];if(n[q-1]&&n[q-1][r]==s){r+=s.colSpan;continue;}u.appendChild(s);if(p!='rowSpan'){s.rowSpan=s[p];s.removeAttribute(p);}r+=s.colSpan;if(s.colSpan==1)s.removeAttribute('colSpan');if(s.rowSpan==1)s.removeAttribute('rowSpan');}if(CKEDITOR.env.ie)o.rows[q].replaceNode(u);else{var v=new CKEDITOR.dom.element(o.rows[q]),w=new CKEDITOR.dom.element(u);v.setHtml('');w.moveChildren(v);}}};function f(n){var o=n.cells;for(var p=0;p<o.length;p++){o[p].innerHTML='';if(!CKEDITOR.env.ie)new CKEDITOR.dom.element(o[p]).appendBogus();
7
+ }};function g(n,o){var p=n.getStartElement().getAscendant('tr');if(!p)return;var q=p.clone(true);q.insertBefore(p);f(o?q.$:p.$);};function h(n){if(n instanceof CKEDITOR.dom.selection){var o=c(n),p=[];for(var q=0;q<o.length;q++){var r=o[q].getParent();p[r.$.rowIndex]=r;}for(q=p.length;q>=0;q--)if(p[q])h(p[q]);}else if(n instanceof CKEDITOR.dom.element){var s=n.getAscendant('table');if(s.$.rows.length==1)s.remove();else n.remove();}};function i(n,o){var p=n.getStartElement(),q=p.getAscendant('td',true)||p.getAscendant('th',true);if(!q)return;var r=q.getAscendant('table'),s=q.$.cellIndex;for(var t=0;t<r.$.rows.length;t++){var u=r.$.rows[t];if(u.cells.length<s+1)continue;q=new CKEDITOR.dom.element(u.cells[s].cloneNode(false));if(!CKEDITOR.env.ie)q.appendBogus();var v=new CKEDITOR.dom.element(u.cells[s]);if(o)q.insertBefore(v);else q.insertAfter(v);}};function j(n){if(n instanceof CKEDITOR.dom.selection){var o=c(n);for(var p=o.length;p>=0;p--)if(o[p])j(o[p]);}else if(n instanceof CKEDITOR.dom.element){var q=n.getAscendant('table'),r=n.$.cellIndex;for(p=q.$.rows.length-1;p>=0;p--){var s=new CKEDITOR.dom.element(q.$.rows[p]);if(!r&&s.$.cells.length==1){h(s);continue;}if(s.$.cells[r])s.$.removeChild(s.$.cells[r]);}}};function k(n,o){var p=n.getStartElement(),q=p.getAscendant('td',true)||p.getAscendant('th',true);if(!q)return;var r=q.clone();if(!CKEDITOR.env.ie)r.appendBogus();if(o)r.insertBefore(q);else r.insertAfter(q);};function l(n){if(n instanceof CKEDITOR.dom.selection){var o=c(n);for(var p=o.length-1;p>=0;p--)l(o[p]);}else if(n instanceof CKEDITOR.dom.element)if(n.getParent().getChildCount()==1)n.getParent().remove();else n.remove();};var m={thead:1,tbody:1,tfoot:1,td:1,tr:1,th:1};CKEDITOR.plugins.tabletools={init:function(n){var o=n.lang.table;n.addCommand('cellProperties',new CKEDITOR.dialogCommand('cellProperties'));CKEDITOR.dialog.add('cellProperties',this.path+'dialogs/tableCell.js');n.addCommand('tableDelete',{exec:function(p){var q=p.getSelection(),r=q&&q.getStartElement(),s=r&&r.getAscendant('table',true);if(!s)return;q.selectElement(s);var t=q.getRanges()[0];t.collapse();q.selectRanges([t]);if(s.getParent().getChildCount()==1)s.getParent().remove();else s.remove();}});n.addCommand('rowDelete',{exec:function(p){var q=p.getSelection();h(q);}});n.addCommand('rowInsertBefore',{exec:function(p){var q=p.getSelection();g(q,true);}});n.addCommand('rowInsertAfter',{exec:function(p){var q=p.getSelection();g(q);}});n.addCommand('columnDelete',{exec:function(p){var q=p.getSelection();
8
+ j(q);}});n.addCommand('columnInsertBefore',{exec:function(p){var q=p.getSelection();i(q,true);}});n.addCommand('columnInsertAfter',{exec:function(p){var q=p.getSelection();i(q);}});n.addCommand('cellDelete',{exec:function(p){var q=p.getSelection();l(q);}});n.addCommand('cellInsertBefore',{exec:function(p){var q=p.getSelection();k(q,true);}});n.addCommand('cellInsertAfter',{exec:function(p){var q=p.getSelection();k(q);}});if(n.addMenuItems)n.addMenuItems({tablecell:{label:o.cell.menu,group:'tablecell',order:1,getItems:function(){var p=c(n.getSelection());return{tablecell_insertBefore:CKEDITOR.TRISTATE_OFF,tablecell_insertAfter:CKEDITOR.TRISTATE_OFF,tablecell_delete:CKEDITOR.TRISTATE_OFF,tablecell_properties:p.length>0?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED};}},tablecell_insertBefore:{label:o.cell.insertBefore,group:'tablecell',command:'cellInsertBefore',order:5},tablecell_insertAfter:{label:o.cell.insertAfter,group:'tablecell',command:'cellInsertAfter',order:10},tablecell_delete:{label:o.cell.deleteCell,group:'tablecell',command:'cellDelete',order:15},tablecell_properties:{label:o.cell.title,group:'tablecellproperties',command:'cellProperties',order:20},tablerow:{label:o.row.menu,group:'tablerow',order:1,getItems:function(){return{tablerow_insertBefore:CKEDITOR.TRISTATE_OFF,tablerow_insertAfter:CKEDITOR.TRISTATE_OFF,tablerow_delete:CKEDITOR.TRISTATE_OFF};}},tablerow_insertBefore:{label:o.row.insertBefore,group:'tablerow',command:'rowInsertBefore',order:5},tablerow_insertAfter:{label:o.row.insertAfter,group:'tablerow',command:'rowInsertAfter',order:10},tablerow_delete:{label:o.row.deleteRow,group:'tablerow',command:'rowDelete',order:15},tablecolumn:{label:o.column.menu,group:'tablecolumn',order:1,getItems:function(){return{tablecolumn_insertBefore:CKEDITOR.TRISTATE_OFF,tablecolumn_insertAfter:CKEDITOR.TRISTATE_OFF,tablecolumn_delete:CKEDITOR.TRISTATE_OFF};}},tablecolumn_insertBefore:{label:o.column.insertBefore,group:'tablecolumn',command:'columnInsertBefore',order:5},tablecolumn_insertAfter:{label:o.column.insertAfter,group:'tablecolumn',command:'columnInsertAfter',order:10},tablecolumn_delete:{label:o.column.deleteColumn,group:'tablecolumn',command:'columnDelete',order:15}});if(n.contextMenu)n.contextMenu.addListener(function(p,q){if(!p)return null;while(p){if(p.getName() in m)return{tablecell:CKEDITOR.TRISTATE_OFF,tablerow:CKEDITOR.TRISTATE_OFF,tablecolumn:CKEDITOR.TRISTATE_OFF};p=p.getParent();}return null;});},getSelectedCells:c};CKEDITOR.plugins.add('tabletools',CKEDITOR.plugins.tabletools);
9
+ })();
@@ -0,0 +1,6 @@
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(){var a=CKEDITOR.document,b='cke'+CKEDITOR.tools.getNextNumber();function c(f,g){var h=a.getById(b);h.setHtml('');for(var i=0;i<g.length;i++){var j=CKEDITOR.getTemplates(g[i]),k=j.imagesPath,l=j.templates;for(var m=0;m<l.length;m++){var n=l[m];h.append(d(f,n,k));}}};function d(f,g,h){var i=a.createElement('div');i.setAttribute('class','cke_tpl_item');var j='<table style="width:350px;" class="cke_tpl_preview"><tr>';if(g.image&&h)j+='<td class="cke_tpl_preview_img"><img src="'+CKEDITOR.getUrl(h+g.image)+'"></td>';j+='<td style="white-space:normal;"><span class="cke_tpl_title">'+g.title+'</span><br/>';if(g.description)j+='<span>'+g.description+'</span>';j+='</td></tr></table>';i.setHtml(j);i.on('mouseover',function(){i.addClass('cke_tpl_hover');});i.on('mouseout',function(){i.removeClass('cke_tpl_hover');});i.on('click',function(){e(f,g.html);});return i;};function e(f,g){var h=CKEDITOR.dialog.getCurrent(),i=h.getValueOf('selectTpl','chkInsertOpt');if(i)f.setData(g);else f.insertHtml(g);h.hide();};CKEDITOR.dialog.add('templates',function(f){CKEDITOR.skins.load(f,'templates');var g=false;return{title:f.lang.templates.title,minWidth:CKEDITOR.env.ie?440:400,minHeight:340,contents:[{id:'selectTpl',label:f.lang.templates.title,elements:[{type:'vbox',padding:5,children:[{type:'html',html:'<span>'+f.lang.templates.selectPromptMsg+'</span>'},{type:'html',html:'<div id="'+b+'" class="cke_tpl_list">'+'<div class="cke_tpl_loading"><span></span></div>'+'</div>'},{id:'chkInsertOpt',type:'checkbox',label:f.lang.templates.insertOption,'default':f.config.templates_replaceContent}]}]}],buttons:[CKEDITOR.dialog.cancelButton],onShow:function(){CKEDITOR.loadTemplates(f.config.templates_files,function(){var h=f.config.templates.split(',');if(h.length)c(f,h);else{var i=a.getById(b);i.setHtml('<div class="cke_tpl_empty"><span>'+f.lang.templates.emptyListMsg+'</span>'+'</div>');}});}};});})();
@@ -0,0 +1,6 @@
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(){CKEDITOR.plugins.add('templates',{requires:['dialog'],init:function(c){CKEDITOR.dialog.add('templates',CKEDITOR.getUrl(this.path+'dialogs/templates.js'));c.addCommand('templates',new CKEDITOR.dialogCommand('templates'));c.ui.addButton('Templates',{label:c.lang.templates.button,command:'templates'});}});var a={},b={};CKEDITOR.addTemplates=function(c,d){a[c]=d;};CKEDITOR.getTemplates=function(c){return a[c];};CKEDITOR.loadTemplates=function(c,d){var e=[];for(var f=0;f<c.length;f++)if(!b[c[f]]){e.push(c[f]);b[c[f]]=1;}if(e.length>0)CKEDITOR.scriptLoader.load(e,d);else setTimeout(d,0);};})();CKEDITOR.config.templates='default';CKEDITOR.config.templates_files=[CKEDITOR.getUrl('plugins/templates/templates/default.js')];CKEDITOR.config.templates_replaceContent=true;