typo 5.5 → 6.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1461) hide show
  1. data/PostInstall.txt +5 -0
  2. data/typo.gemspec +16 -0
  3. metadata +35 -1619
  4. data/CHANGELOG +0 -59
  5. data/MAINTAINERS +0 -23
  6. data/MIT-LICENSE +0 -21
  7. data/README +0 -57
  8. data/Rakefile +0 -10
  9. data/Typo users guide.pdf +0 -0
  10. data/UPGRADE +0 -144
  11. data/app/apis/blogger_service.rb +0 -93
  12. data/app/apis/meta_weblog_service.rb +0 -173
  13. data/app/apis/movable_type_service.rb +0 -144
  14. data/app/apis/typo_web_service.rb +0 -26
  15. data/app/controllers/accounts_controller.rb +0 -106
  16. data/app/controllers/admin/base_controller.rb +0 -18
  17. data/app/controllers/admin/categories_controller.rb +0 -66
  18. data/app/controllers/admin/content_controller.rb +0 -242
  19. data/app/controllers/admin/dashboard_controller.rb +0 -96
  20. data/app/controllers/admin/feedback_controller.rb +0 -173
  21. data/app/controllers/admin/pages_controller.rb +0 -77
  22. data/app/controllers/admin/profiles_controller.rb +0 -14
  23. data/app/controllers/admin/resources_controller.rb +0 -96
  24. data/app/controllers/admin/settings_controller.rb +0 -76
  25. data/app/controllers/admin/sidebar_controller.rb +0 -102
  26. data/app/controllers/admin/tags_controller.rb +0 -37
  27. data/app/controllers/admin/textfilters_controller.rb +0 -8
  28. data/app/controllers/admin/themes_controller.rb +0 -121
  29. data/app/controllers/admin/users_controller.rb +0 -47
  30. data/app/controllers/application_controller.rb +0 -78
  31. data/app/controllers/articles_controller.rb +0 -312
  32. data/app/controllers/authors_controller.rb +0 -21
  33. data/app/controllers/backend_controller.rb +0 -20
  34. data/app/controllers/categories_controller.rb +0 -4
  35. data/app/controllers/comments_controller.rb +0 -89
  36. data/app/controllers/content_controller.rb +0 -51
  37. data/app/controllers/feedback_controller.rb +0 -50
  38. data/app/controllers/grouping_controller.rb +0 -123
  39. data/app/controllers/setup_controller.rb +0 -45
  40. data/app/controllers/tags_controller.rb +0 -3
  41. data/app/controllers/textfilter_controller.rb +0 -19
  42. data/app/controllers/theme_controller.rb +0 -62
  43. data/app/controllers/trackbacks_controller.rb +0 -41
  44. data/app/controllers/xml_controller.rb +0 -134
  45. data/app/helpers/accounts_helper.rb +0 -2
  46. data/app/helpers/admin/base_helper.rb +0 -251
  47. data/app/helpers/admin/cache_helper.rb +0 -2
  48. data/app/helpers/admin/categories_helper.rb +0 -12
  49. data/app/helpers/admin/comments_helper.rb +0 -2
  50. data/app/helpers/admin/content_helper.rb +0 -88
  51. data/app/helpers/admin/feedback_helper.rb +0 -15
  52. data/app/helpers/admin/general_helper.rb +0 -2
  53. data/app/helpers/admin/pages_helper.rb +0 -8
  54. data/app/helpers/admin/resources_helper.rb +0 -8
  55. data/app/helpers/admin/settings_helper.rb +0 -23
  56. data/app/helpers/admin/sidebar_helper.rb +0 -2
  57. data/app/helpers/admin/textfilters_helper.rb +0 -2
  58. data/app/helpers/admin/themes_helper.rb +0 -23
  59. data/app/helpers/admin/trackbacks_helper.rb +0 -2
  60. data/app/helpers/admin/users_helper.rb +0 -14
  61. data/app/helpers/application_helper.rb +0 -199
  62. data/app/helpers/articles_helper.rb +0 -21
  63. data/app/helpers/authors_helper.rb +0 -19
  64. data/app/helpers/backend_helper.rb +0 -2
  65. data/app/helpers/categories_helper.rb +0 -5
  66. data/app/helpers/comments_helper.rb +0 -2
  67. data/app/helpers/content_helper.rb +0 -67
  68. data/app/helpers/groupings_helper.rb +0 -5
  69. data/app/helpers/mail_helper.rb +0 -7
  70. data/app/helpers/sidebar_helper.rb +0 -47
  71. data/app/helpers/sidebars/plugin_helper.rb +0 -2
  72. data/app/helpers/tags_helper.rb +0 -5
  73. data/app/helpers/text_filter_plugin_helper.rb +0 -2
  74. data/app/helpers/textfilter_helper.rb +0 -2
  75. data/app/helpers/theme_helper.rb +0 -7
  76. data/app/helpers/xml_helper.rb +0 -20
  77. data/app/models/article.rb +0 -575
  78. data/app/models/article/states.rb +0 -191
  79. data/app/models/blog.rb +0 -202
  80. data/app/models/blog_sweeper.rb +0 -88
  81. data/app/models/categorization.rb +0 -4
  82. data/app/models/category.rb +0 -98
  83. data/app/models/comment.rb +0 -75
  84. data/app/models/config_manager.rb +0 -80
  85. data/app/models/content.rb +0 -385
  86. data/app/models/email_notifier.rb +0 -8
  87. data/app/models/feedback.rb +0 -175
  88. data/app/models/feedback/states.rb +0 -221
  89. data/app/models/notification.rb +0 -4
  90. data/app/models/notification_mailer.rb +0 -41
  91. data/app/models/page.rb +0 -41
  92. data/app/models/page_cache.rb +0 -62
  93. data/app/models/ping.rb +0 -124
  94. data/app/models/profile.rb +0 -15
  95. data/app/models/redirect.rb +0 -3
  96. data/app/models/resource.rb +0 -66
  97. data/app/models/right.rb +0 -4
  98. data/app/models/sidebar.rb +0 -269
  99. data/app/models/tag.rb +0 -99
  100. data/app/models/text_filter.rb +0 -106
  101. data/app/models/theme.rb +0 -58
  102. data/app/models/trackback.rb +0 -67
  103. data/app/models/trigger.rb +0 -32
  104. data/app/models/user.rb +0 -208
  105. data/app/models/web_notifier.rb +0 -7
  106. data/app/views/accounts/confirm.html.erb +0 -1
  107. data/app/views/accounts/login.html.erb +0 -25
  108. data/app/views/accounts/recover_password.html.erb +0 -15
  109. data/app/views/accounts/signup.html.erb +0 -22
  110. data/app/views/admin/categories/_categories.html.erb +0 -22
  111. data/app/views/admin/categories/_form.html.erb +0 -19
  112. data/app/views/admin/categories/destroy.html.erb +0 -10
  113. data/app/views/admin/categories/index.html.erb +0 -8
  114. data/app/views/admin/categories/new.html.erb +0 -6
  115. data/app/views/admin/categories/reorder.html.erb +0 -11
  116. data/app/views/admin/content/_article_list.html.erb +0 -17
  117. data/app/views/admin/content/_attachment.html.erb +0 -30
  118. data/app/views/admin/content/_drafts.html.erb +0 -8
  119. data/app/views/admin/content/_form.html.erb +0 -124
  120. data/app/views/admin/content/_images.html.erb +0 -18
  121. data/app/views/admin/content/_show_resources.html.erb +0 -9
  122. data/app/views/admin/content/_simple_editor.html.erb +0 -15
  123. data/app/views/admin/content/_visual_editor.html.erb +0 -20
  124. data/app/views/admin/content/destroy.html.erb +0 -11
  125. data/app/views/admin/content/index.html.erb +0 -47
  126. data/app/views/admin/content/new.html.erb +0 -3
  127. data/app/views/admin/dashboard/_comments.html.erb +0 -19
  128. data/app/views/admin/dashboard/_inbound.html.erb +0 -23
  129. data/app/views/admin/dashboard/_overview.html.erb +0 -19
  130. data/app/views/admin/dashboard/_popular.html.erb +0 -17
  131. data/app/views/admin/dashboard/_posts.html.erb +0 -19
  132. data/app/views/admin/dashboard/_typo_dev.html.erb +0 -25
  133. data/app/views/admin/dashboard/_welcome.html.erb +0 -17
  134. data/app/views/admin/dashboard/index.html.erb +0 -13
  135. data/app/views/admin/feedback/_button.html.erb +0 -10
  136. data/app/views/admin/feedback/_form.html.erb +0 -32
  137. data/app/views/admin/feedback/_item.html.erb +0 -19
  138. data/app/views/admin/feedback/article.html.erb +0 -34
  139. data/app/views/admin/feedback/edit.html.erb +0 -10
  140. data/app/views/admin/feedback/index.html.erb +0 -44
  141. data/app/views/admin/pages/_form.html.erb +0 -62
  142. data/app/views/admin/pages/_images.html.erb +0 -18
  143. data/app/views/admin/pages/_pages.html.erb +0 -17
  144. data/app/views/admin/pages/_simple_editor.html.erb +0 -15
  145. data/app/views/admin/pages/_visual_editor.html.erb +0 -21
  146. data/app/views/admin/pages/destroy.html.erb +0 -11
  147. data/app/views/admin/pages/edit.html.erb +0 -4
  148. data/app/views/admin/pages/index.html.erb +0 -13
  149. data/app/views/admin/pages/new.html.erb +0 -3
  150. data/app/views/admin/pages/show.html.erb +0 -2
  151. data/app/views/admin/profiles/index.html.erb +0 -8
  152. data/app/views/admin/resources/_mime_edit.html.erb +0 -8
  153. data/app/views/admin/resources/_pages.html.erb +0 -3
  154. data/app/views/admin/resources/_upload.html.erb +0 -17
  155. data/app/views/admin/resources/destroy.html.erb +0 -11
  156. data/app/views/admin/resources/get_thumbnails.html.erb +0 -5
  157. data/app/views/admin/resources/images.html.erb +0 -28
  158. data/app/views/admin/resources/index.html.erb +0 -30
  159. data/app/views/admin/settings/_submit.html.erb +0 -3
  160. data/app/views/admin/settings/feedback.html.erb +0 -109
  161. data/app/views/admin/settings/index.html.erb +0 -86
  162. data/app/views/admin/settings/seo.html.erb +0 -80
  163. data/app/views/admin/settings/update_database.html.erb +0 -42
  164. data/app/views/admin/settings/write.html.erb +0 -34
  165. data/app/views/admin/shared/_edit.html.erb +0 -6
  166. data/app/views/admin/sidebar/_active.html.erb +0 -15
  167. data/app/views/admin/sidebar/_actives.html.erb +0 -9
  168. data/app/views/admin/sidebar/_available.html.erb +0 -7
  169. data/app/views/admin/sidebar/_availables.html.erb +0 -5
  170. data/app/views/admin/sidebar/_publish.html.erb +0 -2
  171. data/app/views/admin/sidebar/_target.html.erb +0 -1
  172. data/app/views/admin/sidebar/index.html.erb +0 -49
  173. data/app/views/admin/sidebar/publish.rjs +0 -4
  174. data/app/views/admin/sidebar/remove.rjs +0 -5
  175. data/app/views/admin/sidebar/set_active.rjs +0 -10
  176. data/app/views/admin/tags/_form.html.erb +0 -6
  177. data/app/views/admin/tags/destroy.html.erb +0 -11
  178. data/app/views/admin/tags/edit.html.erb +0 -13
  179. data/app/views/admin/tags/index.html.erb +0 -19
  180. data/app/views/admin/themes/catalogue.html.erb +0 -30
  181. data/app/views/admin/themes/editor.html.erb +0 -29
  182. data/app/views/admin/themes/index.html.erb +0 -36
  183. data/app/views/admin/users/_form.html.erb +0 -188
  184. data/app/views/admin/users/destroy.html.erb +0 -14
  185. data/app/views/admin/users/edit.html.erb +0 -6
  186. data/app/views/admin/users/index.html.erb +0 -27
  187. data/app/views/admin/users/new.html.erb +0 -6
  188. data/app/views/articles/_article.html.erb +0 -24
  189. data/app/views/articles/_article_content.html.erb +0 -1
  190. data/app/views/articles/_atom_feed.atom.builder +0 -12
  191. data/app/views/articles/_comment.html.erb +0 -9
  192. data/app/views/articles/_comment_box.html.erb +0 -45
  193. data/app/views/articles/_comment_error.html.erb +0 -1
  194. data/app/views/articles/_comment_failed.html.erb +0 -4
  195. data/app/views/articles/_password_form.html.erb +0 -10
  196. data/app/views/articles/_rss20_feed.rss.builder +0 -19
  197. data/app/views/articles/_trackback.html.erb +0 -6
  198. data/app/views/articles/archives.html.erb +0 -22
  199. data/app/views/articles/comment_preview.html.erb +0 -3
  200. data/app/views/articles/error.html.erb +0 -3
  201. data/app/views/articles/groupings.html.erb +0 -15
  202. data/app/views/articles/index.html.erb +0 -8
  203. data/app/views/articles/live_search.html.erb +0 -10
  204. data/app/views/articles/read.html.erb +0 -66
  205. data/app/views/articles/search.html.erb +0 -8
  206. data/app/views/articles/trackback.xml.builder +0 -5
  207. data/app/views/articles/view_page.html.erb +0 -3
  208. data/app/views/authors/show.html.erb +0 -37
  209. data/app/views/comments/index.html.erb +0 -1
  210. data/app/views/comments/show.html.erb +0 -13
  211. data/app/views/layouts/accounts.html.erb +0 -18
  212. data/app/views/layouts/administration.html.erb +0 -45
  213. data/app/views/layouts/setup.html.erb +0 -18
  214. data/app/views/layouts/sidebar.html.erb +0 -40
  215. data/app/views/notification_mailer/_mail_footer.html.erb +0 -7
  216. data/app/views/notification_mailer/_mail_header.html.erb +0 -1
  217. data/app/views/notification_mailer/article.html.erb +0 -6
  218. data/app/views/notification_mailer/comment.html.erb +0 -11
  219. data/app/views/notification_mailer/notif_user.html.erb +0 -14
  220. data/app/views/notification_mailer/trackback.html.erb +0 -3
  221. data/app/views/settings/done.html.erb +0 -2
  222. data/app/views/settings/install.html.erb +0 -12
  223. data/app/views/setup/confirm.html.erb +0 -1
  224. data/app/views/setup/index.html.erb +0 -17
  225. data/app/views/shared/_confirm.html.erb +0 -16
  226. data/app/views/shared/_search.html.erb +0 -10
  227. data/app/views/sidebar/_row.html.erb +0 -1
  228. data/app/views/sidebar/_sidebar.html.erb +0 -5
  229. data/app/views/sidebar/display_plugins.html.erb +0 -5
  230. data/app/views/sidebar/show.html.erb +0 -1
  231. data/app/views/theme/static_view_test.html.erb +0 -1
  232. data/app/views/trackbacks/trackback.xml.builder +0 -4
  233. data/app/views/xml/_atom10_item_article.atom.builder +0 -39
  234. data/app/views/xml/_atom10_item_comment.atom.builder +0 -12
  235. data/app/views/xml/_atom10_item_trackback.atom.builder +0 -16
  236. data/app/views/xml/_googlesitemap_item_article.googlesitemap.builder +0 -5
  237. data/app/views/xml/_googlesitemap_item_category.googlesitemap.builder +0 -4
  238. data/app/views/xml/_googlesitemap_item_page.googlesitemap.builder +0 -4
  239. data/app/views/xml/_googlesitemap_item_tag.googlesitemap.builder +0 -4
  240. data/app/views/xml/_itunes_item_resource.xml.builder +0 -28
  241. data/app/views/xml/_rss20_item_article.rss.builder +0 -29
  242. data/app/views/xml/_rss20_item_comment.rss.builder +0 -7
  243. data/app/views/xml/_rss20_item_trackback.rss.builder +0 -7
  244. data/app/views/xml/feed.atom.builder +0 -18
  245. data/app/views/xml/feed.googlesitemap.builder +0 -7
  246. data/app/views/xml/feed.rss.builder +0 -21
  247. data/app/views/xml/itunes_feed.rss.builder +0 -29
  248. data/app/views/xml/rsd.rsd.builder +0 -19
  249. data/app/views/xml/rsd.rxml +0 -19
  250. data/bin/typo +0 -122
  251. data/config/boot.rb +0 -110
  252. data/config/ckeditor.yml +0 -14
  253. data/config/database.yml.example +0 -18
  254. data/config/environment.rb +0 -109
  255. data/config/environments/cucumber.rb +0 -23
  256. data/config/environments/development.rb +0 -21
  257. data/config/environments/production.rb +0 -19
  258. data/config/environments/test.rb +0 -26
  259. data/config/filemanager.yml +0 -16
  260. data/config/initializers/access_rules.rb +0 -110
  261. data/config/initializers/inflector.rb +0 -4
  262. data/config/initializers/mime_types.rb +0 -3
  263. data/config/lighttpd.conf +0 -46
  264. data/config/locales/nl.rb +0 -103
  265. data/config/mail.yml.example +0 -8
  266. data/config/routes.rb +0 -128
  267. data/db/converters/README +0 -14
  268. data/db/converters/feed.rb +0 -68
  269. data/db/converters/mt3.rb +0 -172
  270. data/db/converters/rss.rb +0 -67
  271. data/db/converters/s9y.rb +0 -182
  272. data/db/converters/textpattern.rb +0 -137
  273. data/db/migrate/001_initial_schema.rb +0 -145
  274. data/db/migrate/002_add_user_email.rb +0 -17
  275. data/db/migrate/003_add_article_user_id.rb +0 -31
  276. data/db/migrate/004_add_sidebars.rb +0 -48
  277. data/db/migrate/005_add_cache_table.rb +0 -20
  278. data/db/migrate/006_add_pages.rb +0 -17
  279. data/db/migrate/007_add_permalink.rb +0 -36
  280. data/db/migrate/008_add_page_title.rb +0 -20
  281. data/db/migrate/009_add_article_guid.rb +0 -10
  282. data/db/migrate/010_add_tags.rb +0 -19
  283. data/db/migrate/011_add_article_id.rb +0 -17
  284. data/db/migrate/012_enlarge_settings.rb +0 -11
  285. data/db/migrate/013_add_textfilters.rb +0 -33
  286. data/db/migrate/014_move_text_filter_to_text_filter_id.rb +0 -43
  287. data/db/migrate/015_convert_mysql_to_innodb.rb +0 -19
  288. data/db/migrate/016_fix_is_primary_postgres.rb +0 -16
  289. data/db/migrate/017_add_comment_user_id.rb +0 -23
  290. data/db/migrate/018_add_guids.rb +0 -13
  291. data/db/migrate/019_add_whiteboards_to_content.rb +0 -15
  292. data/db/migrate/020_superclass_articles.rb +0 -168
  293. data/db/migrate/021_superclass_comments.rb +0 -94
  294. data/db/migrate/022_superclass_trackbacks.rb +0 -73
  295. data/db/migrate/023_superclass_pages.rb +0 -65
  296. data/db/migrate/024_cleanup_contents.rb +0 -54
  297. data/db/migrate/025_add_itunes_metadata.rb +0 -29
  298. data/db/migrate/026_add_redirect_table.rb +0 -13
  299. data/db/migrate/027_set_comment_published_flag.rb +0 -19
  300. data/db/migrate/028_rename_redirect_to.rb +0 -16
  301. data/db/migrate/029_add_user_notification.rb +0 -29
  302. data/db/migrate/030_index_sessions.rb +0 -9
  303. data/db/migrate/031_add_notifications_table.rb +0 -14
  304. data/db/migrate/032_add_jabber_notification.rb +0 -11
  305. data/db/migrate/033_add_count_caching.rb +0 -34
  306. data/db/migrate/034_boolify_published.rb +0 -36
  307. data/db/migrate/035_boolify_content_allow_foo.rb +0 -36
  308. data/db/migrate/036_add_tag_display_name.rb +0 -51
  309. data/db/migrate/037_enlarge_ip_field.rb +0 -9
  310. data/db/migrate/038_add_blog_object.rb +0 -52
  311. data/db/migrate/039_serialize_blog_attributes.rb +0 -160
  312. data/db/migrate/040_attach_content_to_blog.rb +0 -28
  313. data/db/migrate/041_fixup_default_sidebars.rb +0 -18
  314. data/db/migrate/042_remove_sidebar_staged_config.rb +0 -22
  315. data/db/migrate/043_create_triggers.rb +0 -14
  316. data/db/migrate/044_add_published_at_to_content.rb +0 -18
  317. data/db/migrate/045_fix_contents_published_default.rb +0 -9
  318. data/db/migrate/046_fixup_forthcoming_publications.rb +0 -40
  319. data/db/migrate/047_add_content_state_field.rb +0 -24
  320. data/db/migrate/048_remove_count_caching.rb +0 -31
  321. data/db/migrate/049_move_feedback_to_new_state_machine.rb +0 -33
  322. data/db/migrate/050_add_status_confirmed_field_to_content.rb +0 -19
  323. data/db/migrate/051_fix_canonical_server_url.rb +0 -17
  324. data/db/migrate/052_remove_cached_html.rb +0 -11
  325. data/db/migrate/053_promote_canonical_server_url.rb +0 -22
  326. data/db/migrate/054_upgrade_sidebar_objects.rb +0 -26
  327. data/db/migrate/055_link_sidebars_to_blog.rb +0 -17
  328. data/db/migrate/056_create_notifications.rb +0 -33
  329. data/db/migrate/057_add_categorization_model.rb +0 -58
  330. data/db/migrate/058_separate_entries_and_feedback.rb +0 -81
  331. data/db/migrate/059_cleanup_feedback_table.rb +0 -25
  332. data/db/migrate/060_cleanup_contents_table.rb +0 -37
  333. data/db/migrate/061_convert_title_prefix_setting.rb +0 -25
  334. data/db/migrate/062_add_sitealizer_plugin.rb +0 -18
  335. data/db/migrate/063_rejig_state_field.rb +0 -42
  336. data/db/migrate/064_add_users_profile.rb +0 -32
  337. data/db/migrate/065_add_users_rights.rb +0 -116
  338. data/db/migrate/066_fix_profiles.rb +0 -20
  339. data/db/migrate/067_remove_blog_ids.rb +0 -30
  340. data/db/migrate/068_fix_grants.rb +0 -113
  341. data/db/migrate/069_add_modules_to_profile.rb +0 -18
  342. data/db/migrate/070_add_users_to_non_admins.rb +0 -17
  343. data/db/migrate/071_fix_tags_naming.rb +0 -18
  344. data/db/migrate/072_add_remember_token.rb +0 -9
  345. data/db/migrate/073_add_meta_and_subcategories.rb +0 -13
  346. data/db/migrate/074_add_remember_token_expires_at.rb +0 -9
  347. data/db/migrate/075_move_editor_to_user.rb +0 -10
  348. data/db/migrate/076_fix_users_empty_email.rb +0 -15
  349. data/db/migrate/077_fix_userless_articles.rb +0 -20
  350. data/db/migrate/078_add_textfilter_to_users.rb +0 -15
  351. data/db/migrate/079_move_editor_as_string.rb +0 -16
  352. data/db/migrate/080_add_state_to_user.rb +0 -14
  353. data/db/migrate/081_create_cache_informations.rb +0 -28
  354. data/db/migrate/082_add_users_options.rb +0 -35
  355. data/db/migrate/083_add_users_display_perms.rb +0 -19
  356. data/db/migrate/084_move_users_to_profiles.rb +0 -19
  357. data/db/migrate/085_add_article_parent_draft.rb +0 -9
  358. data/db/migrate/086_add_user_last_connection.rb +0 -9
  359. data/db/migrate/087_drop_blacklist_patterns.rb +0 -14
  360. data/db/migrate/088_drop_session_table.rb +0 -14
  361. data/db/migrate/089_drop_cache_information_table.rb +0 -31
  362. data/db/migrate/090_remove_keywords_from_posts.rb +0 -9
  363. data/db/migrate/091_adds_password_protection_to_posts.rb +0 -9
  364. data/db/schema.mysql-v3.sql +0 -3
  365. data/db/schema.mysql.sql +0 -3
  366. data/db/schema.postgresql.sql +0 -3
  367. data/db/schema.sqlite.sql +0 -3
  368. data/db/schema.sqlite3.sql +0 -3
  369. data/db/schema.sqlserver.sql +0 -3
  370. data/db/schema_version +0 -1
  371. data/db/scripts/fix_permalinks.rb +0 -5
  372. data/db/updates/update.168.to.200.mysql.sql +0 -33
  373. data/db/updates/update.168.to.200.psql.sql +0 -30
  374. data/doc/CACHE.SETUP.README +0 -36
  375. data/doc/Installer.txt +0 -160
  376. data/installer/apache13.conf.example.template +0 -33
  377. data/installer/apache20.conf.example.template +0 -40
  378. data/installer/lighttpd.conf.example.template +0 -6
  379. data/installer/rails_installer_defaults.yml +0 -5
  380. data/lang/de_DE.rb +0 -497
  381. data/lang/en_US.rb +0 -3
  382. data/lang/es_MX.rb +0 -556
  383. data/lang/fr_FR.rb +0 -762
  384. data/lang/he_IL.rb +0 -715
  385. data/lang/it_IT.rb +0 -566
  386. data/lang/ja_JP.rb +0 -707
  387. data/lang/nl_NL.rb +0 -657
  388. data/lang/pl_PL.rb +0 -685
  389. data/lang/ro_RO.rb +0 -552
  390. data/lang/zh_TW.rb +0 -597
  391. data/lib/backpack_api.rb +0 -202
  392. data/lib/bare_migration.rb +0 -145
  393. data/lib/email_notify.rb +0 -32
  394. data/lib/filemanager.rb +0 -53
  395. data/lib/filemanager/controller.rb +0 -217
  396. data/lib/format.rb +0 -19
  397. data/lib/generators/sidebar/sidebar_generator.rb +0 -22
  398. data/lib/generators/sidebar/templates/Rakefile +0 -22
  399. data/lib/generators/sidebar/templates/content.html.erb +0 -10
  400. data/lib/generators/sidebar/templates/init.rb +0 -4
  401. data/lib/generators/sidebar/templates/sidebar.rb +0 -16
  402. data/lib/generators/sidebar/templates/unit_test.rb +0 -8
  403. data/lib/i18n_interpolation_deprecation.rb +0 -26
  404. data/lib/migrator.rb +0 -28
  405. data/lib/rails_patch/active_record.rb +0 -9
  406. data/lib/rails_patch/active_support.rb +0 -4
  407. data/lib/route_cache.rb +0 -15
  408. data/lib/sidebars/component_plugin.rb +0 -8
  409. data/lib/sidebars/consolidated_plugin.rb +0 -26
  410. data/lib/sidebars/plugin.rb +0 -237
  411. data/lib/spam_protection.rb +0 -110
  412. data/lib/stateful.rb +0 -111
  413. data/lib/tasks/cucumber.rake +0 -20
  414. data/lib/tasks/release.rake +0 -53
  415. data/lib/tasks/rspec.rake +0 -167
  416. data/lib/tasks/schemas.rake +0 -6
  417. data/lib/tasks/sweep_cache.rake +0 -5
  418. data/lib/text_filter_plugin.rb +0 -148
  419. data/lib/transforms.rb +0 -26
  420. data/lib/typo_guid.rb +0 -10
  421. data/lib/typo_plugins.rb +0 -19
  422. data/lib/typo_version.rb +0 -1
  423. data/public/.htaccess +0 -36
  424. data/public/404.html +0 -8
  425. data/public/500.html +0 -8
  426. data/public/dispatch.cgi +0 -10
  427. data/public/dispatch.fcgi +0 -24
  428. data/public/dispatch.rb +0 -10
  429. data/public/favicon.ico +0 -0
  430. data/public/filemanager/images/avi.gif +0 -0
  431. data/public/filemanager/images/box.gif +0 -0
  432. data/public/filemanager/images/bullet.gif +0 -0
  433. data/public/filemanager/images/close.gif +0 -0
  434. data/public/filemanager/images/closelabel.gif +0 -0
  435. data/public/filemanager/images/doc.gif +0 -0
  436. data/public/filemanager/images/donate-button.gif +0 -0
  437. data/public/filemanager/images/download-icon.gif +0 -0
  438. data/public/filemanager/images/folder.gif +0 -0
  439. data/public/filemanager/images/gif.gif +0 -0
  440. data/public/filemanager/images/htm.gif +0 -0
  441. data/public/filemanager/images/html.gif +0 -0
  442. data/public/filemanager/images/image-1.jpg +0 -0
  443. data/public/filemanager/images/image.gif +0 -0
  444. data/public/filemanager/images/jpg.gif +0 -0
  445. data/public/filemanager/images/loading.gif +0 -0
  446. data/public/filemanager/images/mov.gif +0 -0
  447. data/public/filemanager/images/nextlabel.gif +0 -0
  448. data/public/filemanager/images/pdf.gif +0 -0
  449. data/public/filemanager/images/png.gif +0 -0
  450. data/public/filemanager/images/ppt.gif +0 -0
  451. data/public/filemanager/images/prevlabel.gif +0 -0
  452. data/public/filemanager/images/rar.gif +0 -0
  453. data/public/filemanager/images/rm.gif +0 -0
  454. data/public/filemanager/images/rmvb.gif +0 -0
  455. data/public/filemanager/images/separator.gif +0 -0
  456. data/public/filemanager/images/spacer.gif +0 -0
  457. data/public/filemanager/images/swf.gif +0 -0
  458. data/public/filemanager/images/thumb-1.jpg +0 -0
  459. data/public/filemanager/images/tool_copy.gif +0 -0
  460. data/public/filemanager/images/tool_cut.gif +0 -0
  461. data/public/filemanager/images/tool_del.gif +0 -0
  462. data/public/filemanager/images/tool_folder.gif +0 -0
  463. data/public/filemanager/images/tool_imagemanager.gif +0 -0
  464. data/public/filemanager/images/tool_new.gif +0 -0
  465. data/public/filemanager/images/tool_paste.gif +0 -0
  466. data/public/filemanager/images/tool_props.gif +0 -0
  467. data/public/filemanager/images/tool_refresh.gif +0 -0
  468. data/public/filemanager/images/tool_unzip.gif +0 -0
  469. data/public/filemanager/images/tool_upload.gif +0 -0
  470. data/public/filemanager/images/tool_zip.gif +0 -0
  471. data/public/filemanager/images/txt.gif +0 -0
  472. data/public/filemanager/images/unknown.gif +0 -0
  473. data/public/filemanager/images/wmv.gif +0 -0
  474. data/public/filemanager/images/xls.gif +0 -0
  475. data/public/filemanager/images/zip.gif +0 -0
  476. data/public/filemanager/javascripts/filemanager.js +0 -6
  477. data/public/filemanager/javascripts/lang/en.js +0 -31
  478. data/public/filemanager/javascripts/lang/zh_CN.js +0 -31
  479. data/public/filemanager/javascripts/lightbox.js +0 -497
  480. data/public/filemanager/javascripts/translate.js +0 -42
  481. data/public/filemanager/resources/resources.txt +0 -1
  482. data/public/filemanager/stylesheets/filelist.css +0 -147
  483. data/public/filemanager/stylesheets/general.css +0 -135
  484. data/public/filemanager/stylesheets/lightbox.css +0 -27
  485. data/public/images/admin/loading.gif +0 -0
  486. data/public/images/admin/typologo.gif +0 -0
  487. data/public/images/admin/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  488. data/public/images/admin/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  489. data/public/images/admin/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  490. data/public/images/admin/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  491. data/public/images/admin/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  492. data/public/images/admin/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  493. data/public/images/admin/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  494. data/public/images/admin/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  495. data/public/images/admin/ui-bg_highlight-soft_50_116088_1x100.png +0 -0
  496. data/public/images/admin/ui-icons_2694e8_256x240.png +0 -0
  497. data/public/images/admin/ui-icons_2e83ff_256x240.png +0 -0
  498. data/public/images/admin/ui-icons_3d80b3_256x240.png +0 -0
  499. data/public/images/admin/ui-icons_72a7cf_256x240.png +0 -0
  500. data/public/images/admin/ui-icons_ffffff_256x240.png +0 -0
  501. data/public/images/calendar_date_select/calendar.gif +0 -0
  502. data/public/images/close.gif +0 -0
  503. data/public/images/closelabel.gif +0 -0
  504. data/public/images/go.png +0 -0
  505. data/public/images/loading.gif +0 -0
  506. data/public/images/nextlabel.gif +0 -0
  507. data/public/images/overlay.png +0 -0
  508. data/public/images/powered.gif +0 -0
  509. data/public/images/prevlabel.gif +0 -0
  510. data/public/images/spinner-blue.gif +0 -0
  511. data/public/images/spinner.gif +0 -0
  512. data/public/images/thumb_blank.jpg +0 -0
  513. data/public/javascripts/administration.js +0 -20
  514. data/public/javascripts/application.js +0 -2
  515. data/public/javascripts/base_packaged.js +0 -377
  516. data/public/javascripts/builder.js +0 -136
  517. data/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
  518. data/public/javascripts/calendar_date_select/format_db.js +0 -27
  519. data/public/javascripts/ckcustom.js +0 -27
  520. data/public/javascripts/ckeditor/.htaccess +0 -24
  521. data/public/javascripts/ckeditor/CHANGES.html +0 -254
  522. data/public/javascripts/ckeditor/INSTALL.html +0 -92
  523. data/public/javascripts/ckeditor/LICENSE.html +0 -1334
  524. data/public/javascripts/ckeditor/ckeditor.js +0 -108
  525. data/public/javascripts/ckeditor/ckeditor.pack +0 -199
  526. data/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
  527. data/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
  528. data/public/javascripts/ckeditor/ckeditor_source.js +0 -25
  529. data/public/javascripts/ckeditor/config.bak +0 -27
  530. data/public/javascripts/ckeditor/contents.css +0 -35
  531. data/public/javascripts/ckeditor/images/spacer.gif +0 -0
  532. data/public/javascripts/ckeditor/lang/_languages.js +0 -6
  533. data/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -59
  534. data/public/javascripts/ckeditor/lang/af.js +0 -6
  535. data/public/javascripts/ckeditor/lang/ar.js +0 -6
  536. data/public/javascripts/ckeditor/lang/bg.js +0 -6
  537. data/public/javascripts/ckeditor/lang/bn.js +0 -6
  538. data/public/javascripts/ckeditor/lang/bs.js +0 -6
  539. data/public/javascripts/ckeditor/lang/ca.js +0 -6
  540. data/public/javascripts/ckeditor/lang/cs.js +0 -6
  541. data/public/javascripts/ckeditor/lang/da.js +0 -6
  542. data/public/javascripts/ckeditor/lang/de.js +0 -6
  543. data/public/javascripts/ckeditor/lang/el.js +0 -6
  544. data/public/javascripts/ckeditor/lang/en-au.js +0 -6
  545. data/public/javascripts/ckeditor/lang/en-ca.js +0 -6
  546. data/public/javascripts/ckeditor/lang/en-uk.js +0 -6
  547. data/public/javascripts/ckeditor/lang/en.js +0 -6
  548. data/public/javascripts/ckeditor/lang/eo.js +0 -6
  549. data/public/javascripts/ckeditor/lang/es.js +0 -6
  550. data/public/javascripts/ckeditor/lang/et.js +0 -6
  551. data/public/javascripts/ckeditor/lang/eu.js +0 -6
  552. data/public/javascripts/ckeditor/lang/fa.js +0 -6
  553. data/public/javascripts/ckeditor/lang/fi.js +0 -6
  554. data/public/javascripts/ckeditor/lang/fo.js +0 -6
  555. data/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
  556. data/public/javascripts/ckeditor/lang/fr.js +0 -6
  557. data/public/javascripts/ckeditor/lang/gl.js +0 -6
  558. data/public/javascripts/ckeditor/lang/gu.js +0 -6
  559. data/public/javascripts/ckeditor/lang/he.js +0 -6
  560. data/public/javascripts/ckeditor/lang/hi.js +0 -6
  561. data/public/javascripts/ckeditor/lang/hr.js +0 -6
  562. data/public/javascripts/ckeditor/lang/hu.js +0 -6
  563. data/public/javascripts/ckeditor/lang/is.js +0 -6
  564. data/public/javascripts/ckeditor/lang/it.js +0 -6
  565. data/public/javascripts/ckeditor/lang/ja.js +0 -6
  566. data/public/javascripts/ckeditor/lang/km.js +0 -6
  567. data/public/javascripts/ckeditor/lang/ko.js +0 -6
  568. data/public/javascripts/ckeditor/lang/lt.js +0 -6
  569. data/public/javascripts/ckeditor/lang/lv.js +0 -6
  570. data/public/javascripts/ckeditor/lang/mn.js +0 -6
  571. data/public/javascripts/ckeditor/lang/ms.js +0 -6
  572. data/public/javascripts/ckeditor/lang/nb.js +0 -6
  573. data/public/javascripts/ckeditor/lang/nl.js +0 -6
  574. data/public/javascripts/ckeditor/lang/no.js +0 -6
  575. data/public/javascripts/ckeditor/lang/pl.js +0 -6
  576. data/public/javascripts/ckeditor/lang/pt-br.js +0 -6
  577. data/public/javascripts/ckeditor/lang/pt.js +0 -6
  578. data/public/javascripts/ckeditor/lang/ro.js +0 -6
  579. data/public/javascripts/ckeditor/lang/ru.js +0 -6
  580. data/public/javascripts/ckeditor/lang/sk.js +0 -6
  581. data/public/javascripts/ckeditor/lang/sl.js +0 -6
  582. data/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
  583. data/public/javascripts/ckeditor/lang/sr.js +0 -6
  584. data/public/javascripts/ckeditor/lang/sv.js +0 -6
  585. data/public/javascripts/ckeditor/lang/th.js +0 -6
  586. data/public/javascripts/ckeditor/lang/tr.js +0 -6
  587. data/public/javascripts/ckeditor/lang/uk.js +0 -6
  588. data/public/javascripts/ckeditor/lang/vi.js +0 -6
  589. data/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
  590. data/public/javascripts/ckeditor/lang/zh.js +0 -6
  591. data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
  592. data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  593. data/public/javascripts/ckeditor/plugins/about/plugin.js +0 -6
  594. data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +0 -6
  595. data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +0 -7
  596. data/public/javascripts/ckeditor/plugins/button/plugin.js +0 -7
  597. data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
  598. data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +0 -6
  599. data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -7
  600. data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -6
  601. data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +0 -6
  602. data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +0 -6
  603. data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  604. data/public/javascripts/ckeditor/plugins/dialog/plugin.js +0 -17
  605. data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +0 -11
  606. data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +0 -7
  607. data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +0 -6
  608. data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +0 -6
  609. data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +0 -7
  610. data/public/javascripts/ckeditor/plugins/entities/plugin.js +0 -6
  611. data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +0 -6
  612. data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +0 -7
  613. data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
  614. data/public/javascripts/ckeditor/plugins/find/plugin.js +0 -6
  615. data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
  616. data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  617. data/public/javascripts/ckeditor/plugins/flash/plugin.js +0 -6
  618. data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +0 -7
  619. data/public/javascripts/ckeditor/plugins/font/plugin.js +0 -6
  620. data/public/javascripts/ckeditor/plugins/format/plugin.js +0 -6
  621. data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
  622. data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
  623. data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
  624. data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
  625. data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
  626. data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
  627. data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
  628. data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
  629. data/public/javascripts/ckeditor/plugins/forms/plugin.js +0 -7
  630. data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +0 -6
  631. data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +0 -7
  632. data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +0 -6
  633. data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
  634. data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -12
  635. data/public/javascripts/ckeditor/plugins/image/plugin.js +0 -6
  636. data/public/javascripts/ckeditor/plugins/indent/plugin.js +0 -7
  637. data/public/javascripts/ckeditor/plugins/justify/plugin.js +0 -6
  638. data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +0 -6
  639. data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
  640. data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
  641. data/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
  642. data/public/javascripts/ckeditor/plugins/link/plugin.js +0 -6
  643. data/public/javascripts/ckeditor/plugins/list/plugin.js +0 -9
  644. data/public/javascripts/ckeditor/plugins/listblock/plugin.js +0 -7
  645. data/public/javascripts/ckeditor/plugins/maximize/plugin.js +0 -7
  646. data/public/javascripts/ckeditor/plugins/menu/plugin.js +0 -7
  647. data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +0 -6
  648. data/public/javascripts/ckeditor/plugins/newpage/plugin.js +0 -6
  649. data/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  650. data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +0 -6
  651. data/public/javascripts/ckeditor/plugins/panel/plugin.js +0 -7
  652. data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -6
  653. data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -8
  654. data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +0 -6
  655. data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
  656. data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +0 -6
  657. data/public/javascripts/ckeditor/plugins/popup/plugin.js +0 -6
  658. data/public/javascripts/ckeditor/plugins/preview/plugin.js +0 -6
  659. data/public/javascripts/ckeditor/plugins/print/plugin.js +0 -6
  660. data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +0 -6
  661. data/public/javascripts/ckeditor/plugins/resize/plugin.js +0 -6
  662. data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +0 -7
  663. data/public/javascripts/ckeditor/plugins/save/plugin.js +0 -6
  664. data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
  665. data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
  666. data/public/javascripts/ckeditor/plugins/scayt/plugin.js +0 -8
  667. data/public/javascripts/ckeditor/plugins/selection/plugin.js +0 -9
  668. data/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  669. data/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  670. data/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  671. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  672. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  673. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  674. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  675. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  676. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  677. data/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  678. data/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  679. data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +0 -6
  680. data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
  681. data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  682. data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  683. data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  684. data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  685. data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  686. data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  687. data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  688. data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  689. data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  690. data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  691. data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  692. data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  693. data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  694. data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  695. data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  696. data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  697. data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  698. data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  699. data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  700. data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  701. data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  702. data/public/javascripts/ckeditor/plugins/smiley/plugin.js +0 -6
  703. data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +0 -6
  704. data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
  705. data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +0 -6
  706. data/public/javascripts/ckeditor/plugins/styles/plugin.js +0 -10
  707. data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +0 -7
  708. data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +0 -6
  709. data/public/javascripts/ckeditor/plugins/tab/plugin.js +0 -6
  710. data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -8
  711. data/public/javascripts/ckeditor/plugins/table/plugin.js +0 -6
  712. data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -7
  713. data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +0 -9
  714. data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -6
  715. data/public/javascripts/ckeditor/plugins/templates/plugin.js +0 -6
  716. data/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
  717. data/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  718. data/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  719. data/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  720. data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +0 -7
  721. data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
  722. data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
  723. data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
  724. data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  725. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  726. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  727. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  728. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  729. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
  730. data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
  731. data/public/javascripts/ckeditor/plugins/undo/plugin.js +0 -7
  732. data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
  733. data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  734. data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
  735. data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
  736. data/public/javascripts/ckeditor/plugins/wsc/plugin.js +0 -6
  737. data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +0 -8
  738. data/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
  739. data/public/javascripts/ckeditor/skins/kama/editor.css +0 -12
  740. data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
  741. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  742. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  743. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  744. data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  745. data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  746. data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  747. data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  748. data/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  749. data/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
  750. data/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
  751. data/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -8
  752. data/public/javascripts/ckeditor/skins/office2003/editor.css +0 -13
  753. data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  754. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  755. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  756. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  757. data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  758. data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  759. data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  760. data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  761. data/public/javascripts/ckeditor/skins/office2003/skin.js +0 -6
  762. data/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
  763. data/public/javascripts/ckeditor/skins/v2/dialog.css +0 -8
  764. data/public/javascripts/ckeditor/skins/v2/editor.css +0 -12
  765. data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
  766. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  767. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  768. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  769. data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  770. data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  771. data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  772. data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  773. data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  774. data/public/javascripts/ckeditor/skins/v2/skin.js +0 -6
  775. data/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
  776. data/public/javascripts/ckeditor/themes/default/theme.js +0 -7
  777. data/public/javascripts/codecollapse.js +0 -8
  778. data/public/javascripts/controls.js +0 -963
  779. data/public/javascripts/cookies.js +0 -60
  780. data/public/javascripts/dragdrop.js +0 -973
  781. data/public/javascripts/effects.js +0 -1128
  782. data/public/javascripts/growler.js +0 -168
  783. data/public/javascripts/lang/default.js +0 -21
  784. data/public/javascripts/lang/en_US.js +0 -21
  785. data/public/javascripts/lang/fr_FR.js +0 -21
  786. data/public/javascripts/lang/nl_NL.js +0 -21
  787. data/public/javascripts/lang/zh_TW.js +0 -17
  788. data/public/javascripts/lightbox.js +0 -497
  789. data/public/javascripts/prototype.js +0 -4320
  790. data/public/javascripts/prototype_ext.js +0 -117
  791. data/public/javascripts/quicktags.js +0 -522
  792. data/public/javascripts/scriptaculous.js +0 -58
  793. data/public/javascripts/slider.js +0 -258
  794. data/public/javascripts/typo.js +0 -136
  795. data/public/javascripts/typo_carousel.js +0 -340
  796. data/public/robots.txt +0 -6
  797. data/public/stylesheets/accounts.css +0 -119
  798. data/public/stylesheets/administration.css +0 -678
  799. data/public/stylesheets/administration_rtl.css +0 -905
  800. data/public/stylesheets/base_packaged.css +0 -100
  801. data/public/stylesheets/calendar_date_select/default.css +0 -136
  802. data/public/stylesheets/codecollapse.css +0 -3
  803. data/public/stylesheets/coderay.css +0 -128
  804. data/public/stylesheets/growler.css +0 -216
  805. data/public/stylesheets/lightbox.css +0 -27
  806. data/public/stylesheets/rss.css +0 -54
  807. data/public/stylesheets/textmate/dawn.css +0 -209
  808. data/public/stylesheets/textmate/iplastic.css +0 -142
  809. data/public/stylesheets/textmate/space_cadet.css +0 -99
  810. data/public/stylesheets/textmate/textmate.css +0 -48
  811. data/public/stylesheets/textmate/twilight.css +0 -227
  812. data/public/stylesheets/user-styles.css +0 -24
  813. data/script/about +0 -4
  814. data/script/autospec +0 -6
  815. data/script/breakpointer +0 -3
  816. data/script/console +0 -3
  817. data/script/dbconsole +0 -3
  818. data/script/destroy +0 -3
  819. data/script/generate +0 -3
  820. data/script/lighttpd +0 -2
  821. data/script/logreport +0 -79
  822. data/script/migrate +0 -31
  823. data/script/performance/benchmarker +0 -3
  824. data/script/performance/profiler +0 -3
  825. data/script/plugin +0 -3
  826. data/script/runner +0 -3
  827. data/script/server +0 -3
  828. data/script/spacecheck +0 -40
  829. data/script/spec +0 -10
  830. data/themes/dirtylicious/about.markdown +0 -3
  831. data/themes/dirtylicious/images/body.jpg +0 -0
  832. data/themes/dirtylicious/images/container.jpg +0 -0
  833. data/themes/dirtylicious/images/gravatar.gif +0 -0
  834. data/themes/dirtylicious/images/header.jpg +0 -0
  835. data/themes/dirtylicious/images/li.gif +0 -0
  836. data/themes/dirtylicious/images/main.gif +0 -0
  837. data/themes/dirtylicious/images/nav.gif +0 -0
  838. data/themes/dirtylicious/images/quote.gif +0 -0
  839. data/themes/dirtylicious/images/spinner.gif +0 -0
  840. data/themes/dirtylicious/layouts/default.html.erb +0 -57
  841. data/themes/dirtylicious/preview.png +0 -0
  842. data/themes/dirtylicious/stylesheets/application.css +0 -327
  843. data/themes/dirtylicious/views/articles/_article.html.erb +0 -43
  844. data/themes/dirtylicious/views/articles/_article_content.html.erb +0 -1
  845. data/themes/dirtylicious/views/articles/_comment.html.erb +0 -14
  846. data/themes/dirtylicious/views/articles/_comment_form.html.erb +0 -37
  847. data/themes/dirtylicious/views/articles/_comment_list.html.erb +0 -7
  848. data/themes/dirtylicious/views/articles/_password_form.html.erb +0 -10
  849. data/themes/dirtylicious/views/articles/_trackback.html.erb +0 -9
  850. data/themes/dirtylicious/views/articles/comment_preview.html.erb +0 -10
  851. data/themes/dirtylicious/views/articles/index.html.erb +0 -3
  852. data/themes/dirtylicious/views/articles/read.html.erb +0 -48
  853. data/themes/scribbish/CONTRIBUTORS +0 -2
  854. data/themes/scribbish/about.markdown +0 -9
  855. data/themes/scribbish/images/background.gif +0 -0
  856. data/themes/scribbish/images/gravatar.gif +0 -0
  857. data/themes/scribbish/images/header_shadow.gif +0 -0
  858. data/themes/scribbish/images/spinner.gif +0 -0
  859. data/themes/scribbish/layouts/default.html.erb +0 -41
  860. data/themes/scribbish/preview.png +0 -0
  861. data/themes/scribbish/stylesheets/application.css +0 -27
  862. data/themes/scribbish/stylesheets/content.css +0 -399
  863. data/themes/scribbish/stylesheets/layout.css +0 -70
  864. data/themes/scribbish/views/articles/_article.html.erb +0 -47
  865. data/themes/scribbish/views/articles/_article_content.html.erb +0 -1
  866. data/themes/scribbish/views/articles/_comment.html.erb +0 -14
  867. data/themes/scribbish/views/articles/_comment_form.html.erb +0 -53
  868. data/themes/scribbish/views/articles/_comment_list.html.erb +0 -7
  869. data/themes/scribbish/views/articles/_password_form.html.erb +0 -10
  870. data/themes/scribbish/views/articles/_trackback.html.erb +0 -9
  871. data/themes/scribbish/views/articles/comment_preview.html.erb +0 -10
  872. data/themes/scribbish/views/articles/index.html.erb +0 -3
  873. data/themes/scribbish/views/articles/read.html.erb +0 -48
  874. data/themes/standard_issue/about.markdown +0 -5
  875. data/themes/standard_issue/images/img01.gif +0 -0
  876. data/themes/standard_issue/images/img02.gif +0 -0
  877. data/themes/standard_issue/images/img03.gif +0 -0
  878. data/themes/standard_issue/images/img04.jpg +0 -0
  879. data/themes/standard_issue/images/img05.gif +0 -0
  880. data/themes/standard_issue/images/img06.gif +0 -0
  881. data/themes/standard_issue/images/img07.gif +0 -0
  882. data/themes/standard_issue/images/img08.gif +0 -0
  883. data/themes/standard_issue/images/img09.gif +0 -0
  884. data/themes/standard_issue/images/img10.gif +0 -0
  885. data/themes/standard_issue/images/spacer.gif +0 -0
  886. data/themes/standard_issue/images/spinner.gif +0 -0
  887. data/themes/standard_issue/layouts/default.html.erb +0 -56
  888. data/themes/standard_issue/preview.png +0 -0
  889. data/themes/standard_issue/stylesheets/application.css +0 -461
  890. data/themes/standard_issue/views/articles/_article.html.erb +0 -47
  891. data/themes/standard_issue/views/articles/_article_content.html.erb +0 -1
  892. data/themes/standard_issue/views/articles/_comment.html.erb +0 -12
  893. data/themes/standard_issue/views/articles/_comment_form.html.erb +0 -48
  894. data/themes/standard_issue/views/articles/_comment_list.html.erb +0 -7
  895. data/themes/standard_issue/views/articles/_password_form.html.erb +0 -10
  896. data/themes/standard_issue/views/articles/_trackback.html.erb +0 -9
  897. data/themes/standard_issue/views/articles/comment_preview.html.erb +0 -10
  898. data/themes/standard_issue/views/articles/index.html.erb +0 -3
  899. data/themes/standard_issue/views/articles/read.html.erb +0 -47
  900. data/themes/standard_issue/views/theme/static_view_test.html.erb +0 -1
  901. data/themes/true-blue-3/README +0 -3
  902. data/themes/true-blue-3/about.markdown +0 -3
  903. data/themes/true-blue-3/helpers/theme_helper.rb +0 -85
  904. data/themes/true-blue-3/images/background.gif +0 -0
  905. data/themes/true-blue-3/images/bg_input.jpg +0 -0
  906. data/themes/true-blue-3/images/bullet.jpg +0 -0
  907. data/themes/true-blue-3/images/comment.gif +0 -0
  908. data/themes/true-blue-3/images/comment.jpg +0 -0
  909. data/themes/true-blue-3/images/comment_bottom.gif +0 -0
  910. data/themes/true-blue-3/images/comment_fdv.gif +0 -0
  911. data/themes/true-blue-3/images/find.png +0 -0
  912. data/themes/true-blue-3/images/fleche1.png +0 -0
  913. data/themes/true-blue-3/images/fleche2.png +0 -0
  914. data/themes/true-blue-3/images/rss.png +0 -0
  915. data/themes/true-blue-3/images/searchform.png +0 -0
  916. data/themes/true-blue-3/images/submit_form.jpg +0 -0
  917. data/themes/true-blue-3/images/twitter.jpg +0 -0
  918. data/themes/true-blue-3/images/twitter.png +0 -0
  919. data/themes/true-blue-3/layouts/default.html.erb +0 -52
  920. data/themes/true-blue-3/preview.png +0 -0
  921. data/themes/true-blue-3/psd/true-blue-3.psd +0 -0
  922. data/themes/true-blue-3/psd/true-blue-3_article.psd +0 -0
  923. data/themes/true-blue-3/stylesheets/style.css +0 -579
  924. data/themes/true-blue-3/views/articles/_article.html.erb +0 -28
  925. data/themes/true-blue-3/views/articles/_article_content.html.erb +0 -1
  926. data/themes/true-blue-3/views/articles/_comment.html.erb +0 -14
  927. data/themes/true-blue-3/views/articles/_comment_form.html.erb +0 -23
  928. data/themes/true-blue-3/views/articles/_comment_list.html.erb +0 -8
  929. data/themes/true-blue-3/views/articles/_password_form.html.erb +0 -10
  930. data/themes/true-blue-3/views/articles/_trackback.html.erb +0 -9
  931. data/themes/true-blue-3/views/articles/comment_preview.html.erb +0 -10
  932. data/themes/true-blue-3/views/articles/index.html.erb +0 -5
  933. data/themes/true-blue-3/views/articles/read.html.erb +0 -38
  934. data/themes/true-blue-3/views/articles/search.html.erb +0 -29
  935. data/themes/true-blue-3/views/articles/view_page.html.erb +0 -4
  936. data/themes/true-blue-3/views/categories/_article.html.erb +0 -27
  937. data/themes/true-blue-3/views/categories/index.html.erb +0 -13
  938. data/themes/true-blue-3/views/categories/show.html.erb +0 -7
  939. data/themes/true-blue-3/views/tags/_article.html.erb +0 -26
  940. data/themes/true-blue-3/views/tags/show.html.erb +0 -6
  941. data/themes/typographic/about.markdown +0 -7
  942. data/themes/typographic/images/accept.gif +0 -0
  943. data/themes/typographic/images/accept.png +0 -0
  944. data/themes/typographic/images/accept50.gif +0 -0
  945. data/themes/typographic/images/accept50.png +0 -0
  946. data/themes/typographic/images/bg_body.jpg +0 -0
  947. data/themes/typographic/images/bg_white.gif +0 -0
  948. data/themes/typographic/images/bg_white.png +0 -0
  949. data/themes/typographic/images/bg_wrapper.gif +0 -0
  950. data/themes/typographic/images/bg_wrapper.jpg +0 -0
  951. data/themes/typographic/images/bullet_bottom.gif +0 -0
  952. data/themes/typographic/images/bullet_bottom.png +0 -0
  953. data/themes/typographic/images/bullet_right.gif +0 -0
  954. data/themes/typographic/images/bullet_right.png +0 -0
  955. data/themes/typographic/images/email_open.gif +0 -0
  956. data/themes/typographic/images/email_open.png +0 -0
  957. data/themes/typographic/images/email_open50.gif +0 -0
  958. data/themes/typographic/images/email_open50.png +0 -0
  959. data/themes/typographic/images/meta.gif +0 -0
  960. data/themes/typographic/images/meta.png +0 -0
  961. data/themes/typographic/images/page_edit.gif +0 -0
  962. data/themes/typographic/images/page_edit.png +0 -0
  963. data/themes/typographic/images/page_edit50.gif +0 -0
  964. data/themes/typographic/images/page_edit50.png +0 -0
  965. data/themes/typographic/images/spinner.gif +0 -0
  966. data/themes/typographic/images/tag.gif +0 -0
  967. data/themes/typographic/images/tag.png +0 -0
  968. data/themes/typographic/images/user.gif +0 -0
  969. data/themes/typographic/images/user.png +0 -0
  970. data/themes/typographic/images/user50.gif +0 -0
  971. data/themes/typographic/images/user50.png +0 -0
  972. data/themes/typographic/images/world_link.gif +0 -0
  973. data/themes/typographic/images/world_link.png +0 -0
  974. data/themes/typographic/images/world_link50.gif +0 -0
  975. data/themes/typographic/images/world_link50.png +0 -0
  976. data/themes/typographic/layouts/default.html.erb +0 -44
  977. data/themes/typographic/preview.png +0 -0
  978. data/themes/typographic/stylesheets/colors.css +0 -51
  979. data/themes/typographic/stylesheets/ie6.css +0 -86
  980. data/themes/typographic/stylesheets/layout.css +0 -350
  981. data/themes/typographic/stylesheets/reset.css +0 -5
  982. data/themes/typographic/stylesheets/style.css +0 -36
  983. data/themes/typographic/views/articles/_article.html.erb +0 -51
  984. data/themes/typographic/views/articles/_article_content.html.erb +0 -1
  985. data/themes/typographic/views/articles/_comment.html.erb +0 -14
  986. data/themes/typographic/views/articles/_comment_form.html.erb +0 -48
  987. data/themes/typographic/views/articles/_comment_list.html.erb +0 -7
  988. data/themes/typographic/views/articles/_password_form.html.erb +0 -10
  989. data/themes/typographic/views/articles/_trackback.html.erb +0 -9
  990. data/themes/typographic/views/articles/comment_preview.html.erb +0 -10
  991. data/themes/typographic/views/articles/index.html.erb +0 -3
  992. data/themes/typographic/views/articles/read.html.erb +0 -46
  993. data/themes/typographic/views/theme/static_view_test.html.erb +0 -1
  994. data/vendor/akismet/akismet.rb +0 -168
  995. data/vendor/flickr/Rakefile +0 -36
  996. data/vendor/flickr/flickr.rb +0 -490
  997. data/vendor/flickr/index.html +0 -129
  998. data/vendor/flickr/test_flickr.rb +0 -173
  999. data/vendor/plugins/acts_as_list/README +0 -23
  1000. data/vendor/plugins/acts_as_list/init.rb +0 -3
  1001. data/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +0 -256
  1002. data/vendor/plugins/acts_as_list/test/list_test.rb +0 -332
  1003. data/vendor/plugins/acts_as_tree/README +0 -26
  1004. data/vendor/plugins/acts_as_tree/Rakefile +0 -22
  1005. data/vendor/plugins/acts_as_tree/init.rb +0 -1
  1006. data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +0 -96
  1007. data/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
  1008. data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +0 -219
  1009. data/vendor/plugins/acts_as_tree/test/database.yml +0 -0
  1010. data/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
  1011. data/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
  1012. data/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
  1013. data/vendor/plugins/amazon_sidebar/init.rb +0 -5
  1014. data/vendor/plugins/amazon_sidebar/lib/amazon_sidebar.rb +0 -16
  1015. data/vendor/plugins/amazon_sidebar/views/content.rhtml +0 -4
  1016. data/vendor/plugins/archives_sidebar/Rakefile +0 -22
  1017. data/vendor/plugins/archives_sidebar/init.rb +0 -5
  1018. data/vendor/plugins/archives_sidebar/lib/archives_sidebar.rb +0 -40
  1019. data/vendor/plugins/archives_sidebar/test/archives_sidebar_test.rb +0 -8
  1020. data/vendor/plugins/archives_sidebar/views/content.rhtml +0 -11
  1021. data/vendor/plugins/authors_sidebar/Rakefile +0 -22
  1022. data/vendor/plugins/authors_sidebar/init.rb +0 -4
  1023. data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +0 -10
  1024. data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +0 -8
  1025. data/vendor/plugins/authors_sidebar/views/content.rhtml +0 -11
  1026. data/vendor/plugins/category_sidebar/Rakefile +0 -22
  1027. data/vendor/plugins/category_sidebar/init.rb +0 -5
  1028. data/vendor/plugins/category_sidebar/lib/category_sidebar.rb +0 -11
  1029. data/vendor/plugins/category_sidebar/test/category_sidebar_test.rb +0 -8
  1030. data/vendor/plugins/category_sidebar/views/content.rhtml +0 -10
  1031. data/vendor/plugins/easy-ckeditor/CHANGELOG +0 -15
  1032. data/vendor/plugins/easy-ckeditor/LICENSE +0 -16
  1033. data/vendor/plugins/easy-ckeditor/README.textile +0 -164
  1034. data/vendor/plugins/easy-ckeditor/Rakefile +0 -72
  1035. data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +0 -226
  1036. data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +0 -2
  1037. data/vendor/plugins/easy-ckeditor/init.rb +0 -33
  1038. data/vendor/plugins/easy-ckeditor/install.rb +0 -12
  1039. data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +0 -93
  1040. data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +0 -108
  1041. data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +0 -9
  1042. data/vendor/plugins/easy-ckeditor/lib/tasks/ckeditor_tasks.rake +0 -108
  1043. data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +0 -16
  1044. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +0 -24
  1045. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +0 -254
  1046. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +0 -92
  1047. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +0 -1334
  1048. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +0 -108
  1049. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +0 -199
  1050. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
  1051. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
  1052. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +0 -25
  1053. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +0 -11
  1054. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +0 -35
  1055. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif +0 -0
  1056. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +0 -6
  1057. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -59
  1058. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +0 -6
  1059. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +0 -6
  1060. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +0 -6
  1061. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +0 -6
  1062. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +0 -6
  1063. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +0 -6
  1064. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +0 -6
  1065. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +0 -6
  1066. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +0 -6
  1067. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +0 -6
  1068. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +0 -6
  1069. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +0 -6
  1070. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +0 -6
  1071. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +0 -6
  1072. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +0 -6
  1073. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +0 -6
  1074. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +0 -6
  1075. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +0 -6
  1076. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +0 -6
  1077. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +0 -6
  1078. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +0 -6
  1079. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
  1080. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +0 -6
  1081. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +0 -6
  1082. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +0 -6
  1083. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +0 -6
  1084. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +0 -6
  1085. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +0 -6
  1086. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +0 -6
  1087. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +0 -6
  1088. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +0 -6
  1089. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +0 -6
  1090. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +0 -6
  1091. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +0 -6
  1092. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +0 -6
  1093. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +0 -6
  1094. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +0 -6
  1095. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +0 -6
  1096. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +0 -6
  1097. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +0 -6
  1098. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +0 -6
  1099. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +0 -6
  1100. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +0 -6
  1101. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +0 -6
  1102. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +0 -6
  1103. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +0 -6
  1104. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +0 -6
  1105. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +0 -6
  1106. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
  1107. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +0 -6
  1108. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +0 -6
  1109. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +0 -6
  1110. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +0 -6
  1111. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +0 -6
  1112. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +0 -6
  1113. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
  1114. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +0 -6
  1115. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
  1116. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  1117. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/plugin.js +0 -6
  1118. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +0 -6
  1119. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +0 -7
  1120. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +0 -7
  1121. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
  1122. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +0 -6
  1123. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -7
  1124. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +0 -6
  1125. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  1126. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +0 -17
  1127. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +0 -11
  1128. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +0 -7
  1129. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +0 -6
  1130. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +0 -6
  1131. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +0 -7
  1132. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +0 -6
  1133. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +0 -6
  1134. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +0 -7
  1135. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
  1136. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +0 -6
  1137. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
  1138. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  1139. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/plugin.js +0 -6
  1140. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +0 -7
  1141. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +0 -6
  1142. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +0 -6
  1143. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
  1144. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
  1145. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
  1146. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
  1147. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
  1148. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
  1149. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
  1150. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
  1151. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +0 -7
  1152. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +0 -6
  1153. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +0 -7
  1154. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +0 -6
  1155. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
  1156. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -12
  1157. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +0 -6
  1158. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +0 -7
  1159. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +0 -6
  1160. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +0 -6
  1161. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
  1162. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
  1163. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
  1164. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/plugin.js +0 -6
  1165. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +0 -9
  1166. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +0 -7
  1167. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +0 -7
  1168. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +0 -7
  1169. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +0 -6
  1170. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +0 -6
  1171. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  1172. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +0 -6
  1173. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +0 -7
  1174. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -6
  1175. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -8
  1176. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +0 -6
  1177. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
  1178. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +0 -6
  1179. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +0 -6
  1180. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +0 -6
  1181. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +0 -6
  1182. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +0 -6
  1183. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +0 -6
  1184. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +0 -7
  1185. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +0 -6
  1186. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
  1187. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
  1188. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +0 -8
  1189. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +0 -9
  1190. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  1191. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  1192. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  1193. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  1194. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  1195. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  1196. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  1197. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  1198. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  1199. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  1200. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  1201. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/plugin.js +0 -6
  1202. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
  1203. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  1204. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  1205. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  1206. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  1207. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  1208. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  1209. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  1210. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  1211. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  1212. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  1213. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  1214. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  1215. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  1216. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  1217. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  1218. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  1219. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  1220. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  1221. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  1222. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  1223. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  1224. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/plugin.js +0 -6
  1225. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +0 -6
  1226. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
  1227. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +0 -6
  1228. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +0 -10
  1229. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +0 -7
  1230. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +0 -6
  1231. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +0 -6
  1232. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -8
  1233. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +0 -6
  1234. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -7
  1235. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +0 -9
  1236. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -6
  1237. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +0 -6
  1238. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
  1239. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  1240. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  1241. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  1242. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/toolbar/plugin.js +0 -7
  1243. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
  1244. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
  1245. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
  1246. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  1247. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  1248. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  1249. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  1250. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  1251. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
  1252. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
  1253. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +0 -7
  1254. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
  1255. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  1256. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
  1257. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
  1258. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +0 -6
  1259. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +0 -8
  1260. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
  1261. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +0 -12
  1262. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
  1263. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  1264. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  1265. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  1266. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  1267. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  1268. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  1269. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  1270. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  1271. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
  1272. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
  1273. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -8
  1274. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +0 -13
  1275. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  1276. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  1277. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  1278. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  1279. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  1280. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  1281. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  1282. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  1283. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/skin.js +0 -6
  1284. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
  1285. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +0 -8
  1286. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +0 -12
  1287. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
  1288. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  1289. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  1290. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  1291. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  1292. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  1293. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  1294. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  1295. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  1296. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/skin.js +0 -6
  1297. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
  1298. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +0 -7
  1299. data/vendor/plugins/easy-ckeditor/uninstall.rb +0 -8
  1300. data/vendor/plugins/filemanager/app/controllers/fm/filemanager_controller.rb +0 -22
  1301. data/vendor/plugins/filemanager/app/views/fm/filemanager/index.html.erb +0 -512
  1302. data/vendor/plugins/filemanager/app/views/fm/filemanager/view.html.erb +0 -67
  1303. data/vendor/plugins/filemanager/filemanager.yml +0 -16
  1304. data/vendor/plugins/livesearch_sidebar/init.rb +0 -4
  1305. data/vendor/plugins/livesearch_sidebar/lib/livesearch_sidebar.rb +0 -5
  1306. data/vendor/plugins/livesearch_sidebar/views/content.rhtml +0 -15
  1307. data/vendor/plugins/localization/CHANGELOG +0 -1
  1308. data/vendor/plugins/localization/README +0 -85
  1309. data/vendor/plugins/localization/bin/make_language.rb +0 -78
  1310. data/vendor/plugins/localization/init.rb +0 -3
  1311. data/vendor/plugins/localization/lib/localization.rb +0 -60
  1312. data/vendor/plugins/page_sidebar/Rakefile +0 -22
  1313. data/vendor/plugins/page_sidebar/init.rb +0 -5
  1314. data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +0 -10
  1315. data/vendor/plugins/page_sidebar/test/page_sidebar_test.rb +0 -8
  1316. data/vendor/plugins/page_sidebar/views/content.rhtml +0 -12
  1317. data/vendor/plugins/search_sidebar/Rakefile +0 -22
  1318. data/vendor/plugins/search_sidebar/init.rb +0 -4
  1319. data/vendor/plugins/search_sidebar/lib/search_sidebar.rb +0 -6
  1320. data/vendor/plugins/search_sidebar/test/search_sidebar_test.rb +0 -8
  1321. data/vendor/plugins/search_sidebar/views/content.rhtml +0 -7
  1322. data/vendor/plugins/static_sidebar/init.rb +0 -4
  1323. data/vendor/plugins/static_sidebar/lib/static_sidebar.rb +0 -18
  1324. data/vendor/plugins/static_sidebar/views/content.rhtml +0 -2
  1325. data/vendor/plugins/tag_sidebar/Rakefile +0 -22
  1326. data/vendor/plugins/tag_sidebar/init.rb +0 -5
  1327. data/vendor/plugins/tag_sidebar/lib/tag_sidebar.rb +0 -24
  1328. data/vendor/plugins/tag_sidebar/test/tag_sidebar_test.rb +0 -8
  1329. data/vendor/plugins/tag_sidebar/views/content.rhtml +0 -8
  1330. data/vendor/plugins/typo_converter/README +0 -71
  1331. data/vendor/plugins/typo_converter/Rakefile +0 -21
  1332. data/vendor/plugins/typo_converter/db/wp25_schema.rb +0 -152
  1333. data/vendor/plugins/typo_converter/init.rb +0 -8
  1334. data/vendor/plugins/typo_converter/lib/converters/base.rb +0 -288
  1335. data/vendor/plugins/typo_converter/lib/converters/dotclear.rb +0 -98
  1336. data/vendor/plugins/typo_converter/lib/converters/dotclear/category.rb +0 -7
  1337. data/vendor/plugins/typo_converter/lib/converters/dotclear/comment.rb +0 -8
  1338. data/vendor/plugins/typo_converter/lib/converters/dotclear/post.rb +0 -9
  1339. data/vendor/plugins/typo_converter/lib/converters/dotclear/user.rb +0 -8
  1340. data/vendor/plugins/typo_converter/lib/converters/dotclear_2.rb +0 -122
  1341. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/category.rb +0 -11
  1342. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/comment.rb +0 -13
  1343. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/post.rb +0 -15
  1344. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/tag.rb +0 -13
  1345. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/user.rb +0 -13
  1346. data/vendor/plugins/typo_converter/lib/converters/wp25.rb +0 -183
  1347. data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +0 -13
  1348. data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +0 -11
  1349. data/vendor/plugins/typo_converter/lib/converters/wp25/post.rb +0 -37
  1350. data/vendor/plugins/typo_converter/lib/converters/wp25/term.rb +0 -11
  1351. data/vendor/plugins/typo_converter/lib/converters/wp25/term_relationship.rb +0 -13
  1352. data/vendor/plugins/typo_converter/lib/converters/wp25/term_taxonomy.rb +0 -19
  1353. data/vendor/plugins/typo_converter/lib/converters/wp25/user.rb +0 -12
  1354. data/vendor/plugins/typo_converter/lib/tasks/typo_converters_tasks.rake +0 -1
  1355. data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +0 -192
  1356. data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +0 -77
  1357. data/vendor/plugins/typo_converter/spec/spec_helper.rb +0 -19
  1358. data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +0 -2
  1359. data/vendor/plugins/typo_login_system/init.rb +0 -2
  1360. data/vendor/plugins/typo_login_system/lib/access_control.rb +0 -182
  1361. data/vendor/plugins/typo_login_system/lib/login_system.rb +0 -90
  1362. data/vendor/plugins/typo_textfilter_code/README +0 -4
  1363. data/vendor/plugins/typo_textfilter_code/Rakefile +0 -22
  1364. data/vendor/plugins/typo_textfilter_code/init.rb +0 -9
  1365. data/vendor/plugins/typo_textfilter_code/install.rb +0 -1
  1366. data/vendor/plugins/typo_textfilter_code/lib/tasks/typo_textfilter_code_tasks.rake +0 -4
  1367. data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +0 -70
  1368. data/vendor/plugins/typo_textfilter_code/test/typo_textfilter_code_test.rb +0 -8
  1369. data/vendor/plugins/typo_textfilter_flickr/README +0 -4
  1370. data/vendor/plugins/typo_textfilter_flickr/Rakefile +0 -22
  1371. data/vendor/plugins/typo_textfilter_flickr/init.rb +0 -4
  1372. data/vendor/plugins/typo_textfilter_flickr/install.rb +0 -1
  1373. data/vendor/plugins/typo_textfilter_flickr/lib/tasks/typo_textfilter_flickr_tasks.rake +0 -4
  1374. data/vendor/plugins/typo_textfilter_flickr/lib/typo_textfilter_flickr.rb +0 -79
  1375. data/vendor/plugins/typo_textfilter_flickr/test/typo_textfilter_flickr_test.rb +0 -8
  1376. data/vendor/plugins/typo_textfilter_htmlfilter/README +0 -4
  1377. data/vendor/plugins/typo_textfilter_htmlfilter/Rakefile +0 -22
  1378. data/vendor/plugins/typo_textfilter_htmlfilter/init.rb +0 -2
  1379. data/vendor/plugins/typo_textfilter_htmlfilter/install.rb +0 -1
  1380. data/vendor/plugins/typo_textfilter_htmlfilter/lib/tasks/typo_textfilter_htmlfilter_tasks.rake +0 -4
  1381. data/vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb +0 -12
  1382. data/vendor/plugins/typo_textfilter_htmlfilter/test/typo_textfilter_htmlfilter_test.rb +0 -8
  1383. data/vendor/plugins/typo_textfilter_lightbox/README +0 -4
  1384. data/vendor/plugins/typo_textfilter_lightbox/Rakefile +0 -22
  1385. data/vendor/plugins/typo_textfilter_lightbox/init.rb +0 -2
  1386. data/vendor/plugins/typo_textfilter_lightbox/install.rb +0 -1
  1387. data/vendor/plugins/typo_textfilter_lightbox/lib/tasks/typo_textfilter_lightbox_tasks.rake +0 -4
  1388. data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +0 -127
  1389. data/vendor/plugins/typo_textfilter_lightbox/test/typo_textfilter_lightbox_test.rb +0 -8
  1390. data/vendor/plugins/typo_textfilter_markdown/README +0 -4
  1391. data/vendor/plugins/typo_textfilter_markdown/Rakefile +0 -22
  1392. data/vendor/plugins/typo_textfilter_markdown/init.rb +0 -2
  1393. data/vendor/plugins/typo_textfilter_markdown/install.rb +0 -1
  1394. data/vendor/plugins/typo_textfilter_markdown/lib/tasks/typo_textfilter_markdown_tasks.rake +0 -4
  1395. data/vendor/plugins/typo_textfilter_markdown/lib/typo_textfilter_markdown.rb +0 -36
  1396. data/vendor/plugins/typo_textfilter_markdown/test/typo_textfilter_markdown_test.rb +0 -8
  1397. data/vendor/plugins/typo_textfilter_none/README +0 -4
  1398. data/vendor/plugins/typo_textfilter_none/Rakefile +0 -22
  1399. data/vendor/plugins/typo_textfilter_none/init.rb +0 -2
  1400. data/vendor/plugins/typo_textfilter_none/install.rb +0 -1
  1401. data/vendor/plugins/typo_textfilter_none/lib/tasks/typo_textfilter_none_tasks.rake +0 -4
  1402. data/vendor/plugins/typo_textfilter_none/lib/typo_textfilter_none.rb +0 -12
  1403. data/vendor/plugins/typo_textfilter_none/test/typo_textfilter_none_test.rb +0 -8
  1404. data/vendor/plugins/typo_textfilter_smartypants/README +0 -4
  1405. data/vendor/plugins/typo_textfilter_smartypants/Rakefile +0 -22
  1406. data/vendor/plugins/typo_textfilter_smartypants/init.rb +0 -2
  1407. data/vendor/plugins/typo_textfilter_smartypants/install.rb +0 -1
  1408. data/vendor/plugins/typo_textfilter_smartypants/lib/tasks/typo_textfilter_smartypants_tasks.rake +0 -4
  1409. data/vendor/plugins/typo_textfilter_smartypants/lib/typo_textfilter_smartypants.rb +0 -12
  1410. data/vendor/plugins/typo_textfilter_smartypants/test/typo_textfilter_smartypants_test.rb +0 -8
  1411. data/vendor/plugins/typo_textfilter_textile/README +0 -4
  1412. data/vendor/plugins/typo_textfilter_textile/Rakefile +0 -22
  1413. data/vendor/plugins/typo_textfilter_textile/init.rb +0 -2
  1414. data/vendor/plugins/typo_textfilter_textile/install.rb +0 -1
  1415. data/vendor/plugins/typo_textfilter_textile/lib/tasks/typo_textfilter_textile_tasks.rake +0 -4
  1416. data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +0 -18
  1417. data/vendor/plugins/typo_textfilter_textile/test/typo_textfilter_textile_test.rb +0 -8
  1418. data/vendor/plugins/typo_textfilter_textile_and_markdown/README +0 -4
  1419. data/vendor/plugins/typo_textfilter_textile_and_markdown/Rakefile +0 -22
  1420. data/vendor/plugins/typo_textfilter_textile_and_markdown/init.rb +0 -2
  1421. data/vendor/plugins/typo_textfilter_textile_and_markdown/install.rb +0 -1
  1422. data/vendor/plugins/typo_textfilter_textile_and_markdown/lib/tasks/typo_textfilter_textile_and_markdown_tasks.rake +0 -4
  1423. data/vendor/plugins/typo_textfilter_textile_and_markdown/lib/typo_textfilter_textile_and_markdown.rb +0 -12
  1424. data/vendor/plugins/typo_textfilter_textile_and_markdown/test/typo_textfilter_textile_and_markdown_test.rb +0 -8
  1425. data/vendor/plugins/upload_progress/CHANGELOG +0 -3
  1426. data/vendor/plugins/upload_progress/MIT-LICENSE +0 -20
  1427. data/vendor/plugins/upload_progress/README +0 -45
  1428. data/vendor/plugins/upload_progress/Rakefile +0 -23
  1429. data/vendor/plugins/upload_progress/init.rb +0 -7
  1430. data/vendor/plugins/upload_progress/lib/multipart_progress.rb +0 -169
  1431. data/vendor/plugins/upload_progress/lib/progress.rb +0 -145
  1432. data/vendor/plugins/upload_progress/lib/upload_progress.rb +0 -303
  1433. data/vendor/plugins/upload_progress/lib/upload_progress_helper.rb +0 -424
  1434. data/vendor/plugins/upload_progress/public/stylesheets/upload_progress.css +0 -21
  1435. data/vendor/plugins/upload_progress/test/multipart_progress_testx.rb +0 -364
  1436. data/vendor/plugins/upload_progress/test/upload_progress_helper_testx.rb +0 -134
  1437. data/vendor/plugins/upload_progress/test/upload_progress_testx.rb +0 -88
  1438. data/vendor/plugins/xml_sidebar/Rakefile +0 -22
  1439. data/vendor/plugins/xml_sidebar/init.rb +0 -5
  1440. data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +0 -24
  1441. data/vendor/plugins/xml_sidebar/test/xml_sidebar_test.rb +0 -8
  1442. data/vendor/plugins/xml_sidebar/views/content.rhtml +0 -26
  1443. data/vendor/rubypants/README +0 -114
  1444. data/vendor/rubypants/Rakefile +0 -55
  1445. data/vendor/rubypants/html/classes/RubyPants.html +0 -924
  1446. data/vendor/rubypants/html/created.rid +0 -1
  1447. data/vendor/rubypants/html/files/README.html +0 -248
  1448. data/vendor/rubypants/html/files/rubypants_rb.html +0 -125
  1449. data/vendor/rubypants/html/fr_class_index.html +0 -27
  1450. data/vendor/rubypants/html/fr_file_index.html +0 -28
  1451. data/vendor/rubypants/html/fr_method_index.html +0 -38
  1452. data/vendor/rubypants/html/index.html +0 -24
  1453. data/vendor/rubypants/html/rdoc-style.css +0 -172
  1454. data/vendor/rubypants/install.rb +0 -9
  1455. data/vendor/rubypants/rubypants.rb +0 -490
  1456. data/vendor/rubypants/test_rubypants.rb +0 -162
  1457. data/vendor/uuidtools/CHANGELOG +0 -4
  1458. data/vendor/uuidtools/README +0 -13
  1459. data/vendor/uuidtools/install.rb +0 -30
  1460. data/vendor/uuidtools/lib/uuidtools.rb +0 -555
  1461. data/vendor/uuidtools/rakefile +0 -112
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('about',function(a){var b=a.lang.about;return{title:CKEDITOR.env.ie?b.dlgTitle:b.title,minWidth:390,minHeight:230,contents:[{id:'tab1',label:'',title:'',expand:true,padding:0,elements:[{type:'html',html:'<style type="text/css">.cke_about_container{color:#000 !important;padding:10px 10px 0;margin-top:5px}.cke_about_container p{margin: 0 0 10px;}.cke_about_container .cke_about_logo{height:81px;background-color:#fff;background-image:url('+CKEDITOR.plugins.get('about').path+'dialogs/logo_ckeditor.png);'+'background-position:center; '+'background-repeat:no-repeat;'+'margin-bottom:10px;'+'}'+'.cke_about_container a'+'{'+'cursor:pointer !important;'+'color:blue !important;'+'text-decoration:underline !important;'+'}'+'</style>'+'<div class="cke_about_container">'+'<div class="cke_about_logo"></div>'+'<p>'+'CKEditor '+CKEDITOR.version+' (revision '+CKEDITOR.revision+')<br>'+'<a href="http://ckeditor.com/">http://ckeditor.com</a>'+'</p>'+'<p>'+b.moreInfo+'<br>'+'<a href="http://ckeditor.com/license">http://ckeditor.com/license</a>'+'</p>'+'<p>'+b.copy.replace('$1','<a href="http://cksource.com/">CKSource</a> - Frederico Knabben')+'</p>'+'</div>'}]}],buttons:[CKEDITOR.dialog.cancelButton]};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('about',{init:function(a){var b=a.addCommand('about',new CKEDITOR.dialogCommand('about'));b.modes={wysiwyg:1,source:1};b.canUndo=false;a.ui.addButton('About',{label:a.lang.about.title,command:'about'});CKEDITOR.dialog.add('about',this.path+'dialogs/about.js');}});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('basicstyles',{requires:['styles','button'],init:function(a){var b=function(e,f,g,h){var i=new CKEDITOR.style(h);a.attachStyleStateChange(i,function(j){a.getCommand(g).setState(j);});a.addCommand(g,new CKEDITOR.styleCommand(i));a.ui.addButton(e,{label:f,command:g});},c=a.config,d=a.lang;b('Bold',d.bold,'bold',c.coreStyles_bold);b('Italic',d.italic,'italic',c.coreStyles_italic);b('Underline',d.underline,'underline',c.coreStyles_underline);b('Strike',d.strike,'strike',c.coreStyles_strike);b('Subscript',d.subscript,'subscript',c.coreStyles_subscript);b('Superscript',d.superscript,'superscript',c.coreStyles_superscript);}});CKEDITOR.config.coreStyles_bold={element:'strong',overrides:'b'};CKEDITOR.config.coreStyles_italic={element:'em',overrides:'i'};CKEDITOR.config.coreStyles_underline={element:'u'};CKEDITOR.config.coreStyles_strike={element:'strike'};CKEDITOR.config.coreStyles_subscript={element:'sub'};CKEDITOR.config.coreStyles_superscript={element:'sup'};
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){function a(e,f){var g=f.block||f.blockLimit;if(!g||g.getName()=='body')return CKEDITOR.TRISTATE_OFF;if(g.getAscendant('blockquote',true))return CKEDITOR.TRISTATE_ON;return CKEDITOR.TRISTATE_OFF;};function b(e){var f=e.editor,g=f.getCommand('blockquote');g.state=a(f,e.data.path);g.fire('state');};function c(e){for(var f=0,g=e.getChildCount(),h;f<g&&(h=e.getChild(f));f++)if(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary())return false;return true;};var d={exec:function(e){var f=e.getCommand('blockquote').state,g=e.getSelection(),h=g&&g.getRanges()[0];if(!h)return;var i=g.createBookmarks();if(CKEDITOR.env.ie){var j=i[0].startNode,k=i[0].endNode,l;if(j&&j.getParent().getName()=='blockquote'){l=j;while(l=l.getNext())if(l.type==CKEDITOR.NODE_ELEMENT&&l.isBlockBoundary()){j.move(l,true);break;}}if(k&&k.getParent().getName()=='blockquote'){l=k;while(l=l.getPrevious())if(l.type==CKEDITOR.NODE_ELEMENT&&l.isBlockBoundary()){k.move(l);break;}}}var m=h.createIterator(),n;if(f==CKEDITOR.TRISTATE_OFF){var o=[];while(n=m.getNextParagraph())o.push(n);if(o.length<1){var p=e.document.createElement(e.config.enterMode==CKEDITOR.ENTER_P?'p':'div'),q=i.shift();h.insertNode(p);p.append(new CKEDITOR.dom.text('',e.document));h.moveToBookmark(q);h.selectNodeContents(p);h.collapse(true);q=h.createBookmark();o.push(p);i.unshift(q);}var r=o[0].getParent(),s=[];for(var t=0;t<o.length;t++){n=o[t];r=r.getCommonAncestor(n.getParent());}var u={table:1,tbody:1,tr:1,ol:1,ul:1};while(u[r.getName()])r=r.getParent();var v=null;while(o.length>0){n=o.shift();while(!n.getParent().equals(r))n=n.getParent();if(!n.equals(v))s.push(n);v=n;}while(s.length>0){n=s.shift();if(n.getName()=='blockquote'){var w=new CKEDITOR.dom.documentFragment(e.document);while(n.getFirst()){w.append(n.getFirst().remove());o.push(w.getLast());}w.replace(n);}else o.push(n);}var x=e.document.createElement('blockquote');x.insertBefore(o[0]);while(o.length>0){n=o.shift();x.append(n);}}else if(f==CKEDITOR.TRISTATE_ON){var y=[],z={};while(n=m.getNextParagraph()){var A=null,B=null;while(n.getParent()){if(n.getParent().getName()=='blockquote'){A=n.getParent();B=n;break;}n=n.getParent();}if(A&&B&&!B.getCustomData('blockquote_moveout')){y.push(B);CKEDITOR.dom.element.setMarker(z,B,'blockquote_moveout',true);}}CKEDITOR.dom.element.clearAllMarkers(z);var C=[],D=[];z={};while(y.length>0){var E=y.shift();x=E.getParent();if(!E.getPrevious())E.remove().insertBefore(x);else if(!E.getNext())E.remove().insertAfter(x);else{E.breakParent(E.getParent());
7
- D.push(E.getNext());}if(!x.getCustomData('blockquote_processed')){D.push(x);CKEDITOR.dom.element.setMarker(z,x,'blockquote_processed',true);}C.push(E);}CKEDITOR.dom.element.clearAllMarkers(z);for(t=D.length-1;t>=0;t--){x=D[t];if(c(x))x.remove();}if(e.config.enterMode==CKEDITOR.ENTER_BR){var F=true;while(C.length){E=C.shift();if(E.getName()=='div'){w=new CKEDITOR.dom.documentFragment(e.document);var G=F&&E.getPrevious()&&!(E.getPrevious().type==CKEDITOR.NODE_ELEMENT&&E.getPrevious().isBlockBoundary());if(G)w.append(e.document.createElement('br'));var H=E.getNext()&&!(E.getNext().type==CKEDITOR.NODE_ELEMENT&&E.getNext().isBlockBoundary());while(E.getFirst())E.getFirst().remove().appendTo(w);if(H)w.append(e.document.createElement('br'));w.replace(E);F=false;}}}}g.selectBookmarks(i);e.focus();}};CKEDITOR.plugins.add('blockquote',{init:function(e){e.addCommand('blockquote',d);e.ui.addButton('Blockquote',{label:e.lang.blockquote,command:'blockquote'});e.on('selectionChange',b);},requires:['domiterator']});})();
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('button',{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_BUTTON,CKEDITOR.ui.button.handler);}});CKEDITOR.UI_BUTTON=1;CKEDITOR.ui.button=function(a){CKEDITOR.tools.extend(this,a,{title:a.label,className:a.className||a.command&&'cke_button_'+a.command||'',click:a.click||(function(b){b.execCommand(a.command);})});this._={};};CKEDITOR.ui.button.handler={create:function(a){return new CKEDITOR.ui.button(a);}};CKEDITOR.ui.button.prototype={canGroup:true,render:function(a,b){var c=CKEDITOR.env,d=this._.id='cke_'+CKEDITOR.tools.getNextNumber();this._.editor=a;var e={id:d,button:this,editor:a,focus:function(){var k=CKEDITOR.document.getById(d);k.focus();},execute:function(){this.button.click(a);}},f=CKEDITOR.tools.addFunction(e.execute,e),g=CKEDITOR.ui.button._.instances.push(e)-1,h='',i=this.command;if(this.modes)a.on('mode',function(){this.setState(this.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);},this);else if(i){i=a.getCommand(i);if(i){i.on('state',function(){this.setState(i.state);},this);h+='cke_'+(i.state==CKEDITOR.TRISTATE_ON?'on':i.state==CKEDITOR.TRISTATE_DISABLED?'disabled':'off');}}if(!i)h+='cke_off';if(this.className)h+=' '+this.className;b.push('<span class="cke_button">','<a id="',d,'" class="',h,'" href="javascript:void(\'',(this.title||'').replace("'",''),'\')" title="',this.title,'" tabindex="-1" hidefocus="true"');if(c.opera||c.gecko&&c.mac)b.push(' onkeypress="return false;"');if(c.gecko)b.push(' onblur="this.style.cssText = this.style.cssText;"');b.push(' onkeydown="return CKEDITOR.ui.button._.keydown(',g,', event);" onfocus="return CKEDITOR.ui.button._.focus(',g,', event);" onclick="CKEDITOR.tools.callFunction(',f,', this); return false;"><span class="cke_icon"');if(this.icon){var j=(this.iconOffset||0)*(-16);b.push(' style="background-image:url(',CKEDITOR.getUrl(this.icon),');background-position:0 '+j+'px;"');}b.push('></span><span class="cke_label">',this.label,'</span>');if(this.hasArrow)b.push('<span class="cke_buttonarrow"></span>');b.push('</a>','</span>');if(this.onRender)this.onRender();return e;},setState:function(a){var f=this;if(f._.state==a)return;var b=CKEDITOR.document.getById(f._.id);if(b){b.setState(a);var c=f.title,d=f._.editor.lang.common.unavailable,e=b.getChild(1);if(a==CKEDITOR.TRISTATE_DISABLED)c=d.replace('%1',f.title);e.setHtml(c);}f._.state=a;}};CKEDITOR.ui.button._={instances:[],keydown:function(a,b){var c=CKEDITOR.ui.button._.instances[a];if(c.onkey){b=new CKEDITOR.dom.event(b);
7
- return c.onkey(c,b.getKeystroke())!==false;}},focus:function(a,b){var c=CKEDITOR.ui.button._.instances[a],d;if(c.onfocus)d=c.onfocus(c,new CKEDITOR.dom.event(b))!==false;if(CKEDITOR.env.gecko&&CKEDITOR.env.version<10900)b.preventBubble();return d;}};CKEDITOR.ui.prototype.addButton=function(a,b){this.add(a,CKEDITOR.UI_BUTTON,b);};
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('paste',function(a){var b=CKEDITOR.env.ie&&document.domain!=window.location.hostname;return{title:a.lang.clipboard.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370:350,minHeight:CKEDITOR.env.quirks?250:245,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});'+'};'+'</script><style>body { margin: 3px; height: 95%; } </style><body></body>',onShow:function(){var h=this;if(CKEDITOR.env.ie)h.getParentEditor().document.getBody().$.contentEditable='false';h.parts.dialog.$.offsetHeight;var c=h.getContentElement('general','editing_area').getElement(),d=CKEDITOR.dom.element.createFromHtml('<iframe src="javascript:void(0)" frameborder="0" allowtransparency="1"></iframe>'),e=h.getParentEditor().lang;d.setStyles({width:'346px',height:'130px','background-color':'white',border:'1px solid black'});d.setCustomData('dialog',h);var f=e.editorTitle.replace('%1',e.clipboard.title);if(CKEDITOR.env.ie)c.setHtml('<legend style="position:absolute;top:-1000000px;left:-1000000px;">'+CKEDITOR.tools.htmlEncode(f)+'</legend>');else{c.setHtml('');c.setAttributes({role:'region',title:f});d.setAttributes({role:'region',title:' '});}c.append(d);if(CKEDITOR.env.ie)c.setStyle('height',d.$.offsetHeight+2+'px');if(b){CKEDITOR._cke_htmlToLoad=h.definition.htmlToLoad;d.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=d.$.contentWindow.document;g.open();g.write(h.definition.htmlToLoad);g.close();}},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');},onOk:function(){var c=this.getContentElement('general','editing_area').getElement(),d=c.getElementsByTag('iframe').getItem(0),e=this.getParentEditor(),f=d.$.contentWindow.document.body.innerHTML;setTimeout(function(){e.insertHtml(f);
7
- },0);},contents:[{id:'general',label:a.lang.common.generalTab,elements:[{type:'html',id:'securityMsg',html:'<div style="white-space:normal;width:340px;">'+a.lang.clipboard.securityMsg+'</div>'},{type:'html',id:'pasteMsg',html:'<div style="white-space:normal;width:340px;">'+a.lang.clipboard.pasteMsg+'</div>'},{type:'html',id:'editing_area',style:'width: 100%; height: 100%;',html:'<fieldset></fieldset>',focus:function(){var c=this.getElement(),d=c.getElementsByTag('iframe');if(d.count()<1)return;d=d.getItem(0);setTimeout(function(){d.$.contentWindow.focus();},500);}}]}]};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a=function(f,g){var h=f.document,i=h.getBody(),j=false,k=function(){j=true;};i.on(g,k);h.$.execCommand(g);i.removeListener(g,k);return j;},b=CKEDITOR.env.ie?function(f,g){return a(f,g);}:function(f,g){try{return f.document.$.execCommand(g);}catch(h){return false;}},c=function(f){this.type=f;this.canUndo=this.type=='cut';};c.prototype={exec:function(f,g){var h=b(f,this.type);if(!h)alert(f.lang.clipboard[this.type+'Error']);return h;}};var d=CKEDITOR.env.ie?{exec:function(f,g){f.focus();if(!f.fire('beforePaste')&&!a(f,'paste'))f.openDialog('paste');}}:{exec:function(f){try{if(!f.fire('beforePaste')&&!f.document.$.execCommand('Paste',false,null))throw 0;}catch(g){f.openDialog('paste');}}},e=function(f){switch(f.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:var g=this;g.fire('saveSnapshot');if(g.fire('beforePaste'))f.cancel();setTimeout(function(){g.fire('saveSnapshot');},0);return;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:g=this;g.fire('saveSnapshot');setTimeout(function(){g.fire('saveSnapshot');},0);}};CKEDITOR.plugins.add('clipboard',{init:function(f){function g(i,j,k,l){var m=f.lang[j];f.addCommand(j,k);f.ui.addButton(i,{label:m,command:j});if(f.addMenuItems)f.addMenuItem(j,{label:m,command:j,group:'clipboard',order:l});};g('Cut','cut',new c('cut'),1);g('Copy','copy',new c('copy'),4);g('Paste','paste',d,8);CKEDITOR.dialog.add('paste',CKEDITOR.getUrl(this.path+'dialogs/paste.js'));f.on('key',e,f);if(f.contextMenu){function h(i){return f.document.$.queryCommandEnabled(i)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;};f.contextMenu.addListener(function(){return{cut:h('Cut'),copy:h('Cut'),paste:CKEDITOR.env.webkit?CKEDITOR.TRISTATE_OFF:h('Paste')};});}}});})();
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('colorbutton',{requires:['panelbutton','floatpanel','styles'],init:function(a){var b=a.config,c=a.lang.colorButton,d;if(!CKEDITOR.env.hc){e('TextColor','fore',c.textColorTitle);e('BGColor','back',c.bgColorTitle);}function e(g,h,i){a.ui.add(g,CKEDITOR.UI_PANELBUTTON,{label:i,title:i,className:'cke_button_'+g.toLowerCase(),modes:{wysiwyg:1},panel:{css:[CKEDITOR.getUrl(a.skinPath+'editor.css')]},onBlock:function(j,k){var l=j.addBlock(k);l.autoSize=true;l.element.addClass('cke_colorblock');l.element.setHtml(f(j,h));var m=l.keys;m[39]='next';m[9]='next';m[37]='prev';m[CKEDITOR.SHIFT+9]='prev';m[32]='click';}});};function f(g,h){var i=[],j=b.colorButton_colors.split(','),k=CKEDITOR.tools.addFunction(function(o,p){if(o=='?')return;a.focus();g.hide();var q=new CKEDITOR.style(b['colorButton_'+p+'Style'],o&&{color:o});a.fire('saveSnapshot');if(o)q.apply(a.document);else q.remove(a.document);a.fire('saveSnapshot');});i.push('<a class="cke_colorauto" _cke_focus=1 hidefocus=true title="',c.auto,'" onclick="CKEDITOR.tools.callFunction(',k,",null,'",h,"');return false;\" href=\"javascript:void('",c.auto,'\')"><table cellspacing=0 cellpadding=0 width="100%"><tr><td><span class="cke_colorbox" style="background-color:#000"></span></td><td colspan=7 align=center>',c.auto,'</td></tr></table></a><table cellspacing=0 cellpadding=0 width="100%">');for(var l=0;l<j.length;l++){if(l%8===0)i.push('</tr><tr>');var m=j[l],n=a.lang.colors[m]||m;i.push('<td><a class="cke_colorbox" _cke_focus=1 hidefocus=true title="',n,'" onclick="CKEDITOR.tools.callFunction(',k,",'#",m,"','",h,"'); return false;\" href=\"javascript:void('",n,'\')"><span class="cke_colorbox" style="background-color:#',m,'"></span></a></td>');}if(b.colorButton_enableMore)i.push('</tr><tr><td colspan=8 align=center><a class="cke_colormore" _cke_focus=1 hidefocus=true title="',c.more,'" onclick="CKEDITOR.tools.callFunction(',k,",'?','",h,"');return false;\" href=\"javascript:void('",c.more,"')\">",c.more,'</a></td>');i.push('</tr></table>');return i.join('');};}});CKEDITOR.config.colorButton_enableMore=false;CKEDITOR.config.colorButton_colors='000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF';CKEDITOR.config.colorButton_foreStyle={element:'span',styles:{color:'#(color)'},overrides:[{element:'font',attributes:{color:null}}]};
7
- CKEDITOR.config.colorButton_backStyle={element:'span',styles:{'background-color':'#(color)'}};
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('contextmenu',{requires:['menu'],beforeInit:function(a){a.contextMenu=new CKEDITOR.plugins.contextMenu(a);a.addCommand('contextMenu',{exec:function(){a.contextMenu.show();}});}});CKEDITOR.plugins.contextMenu=CKEDITOR.tools.createClass({$:function(a){this.id='cke_'+CKEDITOR.tools.getNextNumber();this.editor=a;this._.listeners=[];this._.functionId=CKEDITOR.tools.addFunction(function(b){this._.panel.hide();a.focus();a.execCommand(b);},this);},_:{onMenu:function(a,b,c,d){var e=this._.menu,f=this.editor;if(e){e.hide();e.removeAll();}else{e=this._.menu=new CKEDITOR.menu(f);e.onClick=CKEDITOR.tools.bind(function(o){var p=true;e.hide();if(CKEDITOR.env.ie)e.onEscape();if(o.onClick)o.onClick();else if(o.command)f.execCommand(o.command);p=false;},this);e.onEscape=function(){f.focus();if(CKEDITOR.env.ie)f.getSelection().unlock(true);};}var g=this._.listeners,h=[],i=this.editor.getSelection(),j=i&&i.getStartElement();if(CKEDITOR.env.ie)i.lock();e.onHide=CKEDITOR.tools.bind(function(){e.onHide=null;if(CKEDITOR.env.ie)f.getSelection().unlock();this.onHide&&this.onHide();},this);for(var k=0;k<g.length;k++){var l=g[k](j,i);if(l)for(var m in l){var n=this.editor.getMenuItem(m);if(n){n.state=l[m];e.add(n);}}}e.show(a,b||(f.lang.dir=='rtl'?2:1),c,d);}},proto:{addTarget:function(a){a.on('contextmenu',function(b){var c=b.data;c.preventDefault();var d=c.getTarget().getDocument().getDocumentElement(),e=c.$.clientX,f=c.$.clientY;CKEDITOR.tools.setTimeout(function(){this._.onMenu(d,null,e,f);},0,this);},this);},addListener:function(a){this._.listeners.push(a);},show:function(a,b,c,d){this.editor.focus();this._.onMenu(a||CKEDITOR.document.getDocumentElement(),b,c||0,d||0);}}});
@@ -1,4 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
@@ -1,17 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('dialog',{requires:['dialogui']});CKEDITOR.DIALOG_RESIZE_NONE=0;CKEDITOR.DIALOG_RESIZE_WIDTH=1;CKEDITOR.DIALOG_RESIZE_HEIGHT=2;CKEDITOR.DIALOG_RESIZE_BOTH=3;(function(){function a(y){return!!this._.tabs[y][0].$.offsetHeight;};function b(){var C=this;var y=C._.currentTabId,z=C._.tabIdList.length,A=CKEDITOR.tools.indexOf(C._.tabIdList,y)+z;for(var B=A-1;B>A-z;B--)if(a.call(C,C._.tabIdList[B%z]))return C._.tabIdList[B%z];return null;};function c(){var C=this;var y=C._.currentTabId,z=C._.tabIdList.length,A=CKEDITOR.tools.indexOf(C._.tabIdList,y);for(var B=A+1;B<A+z;B++)if(a.call(C,C._.tabIdList[B%z]))return C._.tabIdList[B%z];return null;};var d={};CKEDITOR.dialog=function(y,z){var A=CKEDITOR.dialog._.dialogDefinitions[z];if(!A){console.log('Error: The dialog "'+z+'" is not defined.');return;}A=CKEDITOR.tools.extend(A(y),f);A=CKEDITOR.tools.clone(A);A=new j(this,A);this.definition=A=CKEDITOR.fire('dialogDefinition',{name:z,definition:A},y).definition;var B=CKEDITOR.document,C=y.theme.buildDialog(y);this._={editor:y,element:C.element,name:z,contentSize:{width:0,height:0},size:{width:0,height:0},updateSize:false,contents:{},buttons:{},accessKeyMap:{},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:false,focusList:[],currentFocusIndex:0,hasFocus:false};this.parts=C.parts;this.parts.dialog.setStyles({position:CKEDITOR.env.ie6Compat?'absolute':'fixed',top:0,left:0,visibility:'hidden'});CKEDITOR.event.call(this);if(A.onLoad)this.on('load',A.onLoad);if(A.onShow)this.on('show',A.onShow);if(A.onHide)this.on('hide',A.onHide);if(A.onOk)this.on('ok',function(M){if(A.onOk.call(this,M)===false)M.data.hide=false;});if(A.onCancel)this.on('cancel',function(M){if(A.onCancel.call(this,M)===false)M.data.hide=false;});var D=this,E=function(M){var N=D._.contents,O=false;for(var P in N)for(var Q in N[P]){O=M.call(this,N[P][Q]);if(O)return;}};this.on('ok',function(M){E(function(N){if(N.validate){var O=N.validate(this);if(typeof O=='string'){alert(O);O=false;}if(O===false){if(N.select)N.select();else N.focus();M.data.hide=false;M.stop();return true;}}});},this,null,0);this.on('cancel',function(M){E(function(N){if(N.isChanged()){if(!confirm(y.lang.common.confirmCancel))M.data.hide=false;return true;}});},this,null,0);this.parts.close.on('click',function(M){if(this.fire('cancel',{hide:true}).hide!==false)this.hide();},this);function F(M){var N=D._.focusList,O=M?1:-1;if(N.length<1)return;var P=(D._.currentFocusIndex+O+N.length)%(N.length);
7
- while(!N[P].isFocusable()){P=(P+O+N.length)%(N.length);if(P==D._.currentFocusIndex)break;}N[P].focus();};function G(M){if(D!=CKEDITOR.dialog._.currentTop)return;var N=M.data.getKeystroke(),O=false;if(N==9||N==CKEDITOR.SHIFT+9){var P=N==CKEDITOR.SHIFT+9;if(D._.tabBarMode){var Q=P?b.call(D):c.call(D);D.selectPage(Q);D._.tabs[Q][0].focus();}else F(!P);O=true;}else if(N==CKEDITOR.ALT+121&&!D._.tabBarMode){D._.tabBarMode=true;D._.tabs[D._.currentTabId][0].focus();O=true;}else if((N==37||N==39)&&(D._.tabBarMode)){Q=N==37?b.call(D):c.call(D);D.selectPage(Q);D._.tabs[Q][0].focus();O=true;}if(O){M.stop();M.data.preventDefault();}};this.on('show',function(){CKEDITOR.document.on('keydown',G,this,null,0);if(CKEDITOR.env.ie6Compat){var M=o.getChild(0).getFrameDocument();M.on('keydown',G,this,null,0);}});this.on('hide',function(){CKEDITOR.document.removeListener('keydown',G);});this.on('iframeAdded',function(M){var N=new CKEDITOR.dom.document(M.data.iframe.$.contentWindow.document);N.on('keydown',G,this,null,0);});this.on('show',function(){var P=this;if(!P._.hasFocus){P._.currentFocusIndex=-1;F(true);if(P._.editor.mode=='wysiwyg'&&CKEDITOR.env.ie){var M=y.document.$.selection,N=M.createRange();if(N)if(N.parentElement&&N.parentElement().ownerDocument==y.document.$||N.item&&N.item(0).ownerDocument==y.document.$){var O=document.body.createTextRange();O.moveToElementText(P.getElement().getFirst().$);O.collapse(true);O.select();}}}},this,null,4294967295);if(CKEDITOR.env.ie6Compat)this.on('load',function(M){var N=this.getElement(),O=N.getFirst();O.remove();O.appendTo(N);},this);l(this);m(this);new CKEDITOR.dom.text(A.title,CKEDITOR.document).appendTo(this.parts.title);for(var H=0;H<A.contents.length;H++)this.addPage(A.contents[H]);var I=/cke_dialog_tab(\s|$|_)/,J=/cke_dialog_tab(\s|$)/;this.parts.tabs.on('click',function(M){var R=this;var N=M.data.getTarget(),O=N,P,Q;if(!(I.test(N.$.className)||N.getName()=='a'))return;P=N.$.id.substr(0,N.$.id.lastIndexOf('_'));R.selectPage(P);if(R._.tabBarMode){R._.tabBarMode=false;R._.currentFocusIndex=-1;F(true);}M.data.preventDefault();},this);var K=[],L=CKEDITOR.dialog._.uiElementBuilders.hbox.build(this,{type:'hbox',className:'cke_dialog_footer_buttons',widths:[],children:A.buttons},K).getChild();this.parts.footer.setHtml(K.join(''));for(H=0;H<L.length;H++)this._.buttons[L[H].id]=L[H];CKEDITOR.skins.load(y,'dialog');};function e(y,z,A){this.element=z;this.focusIndex=A;this.isFocusable=function(){return true;};this.focus=function(){y._.currentFocusIndex=this.focusIndex;
8
- this.element.focus();};z.on('keydown',function(B){if(B.data.getKeystroke() in {32:1,13:1})this.fire('click');});z.on('focus',function(){this.fire('mouseover');});z.on('blur',function(){this.fire('mouseout');});};CKEDITOR.dialog.prototype={resize:(function(){return function(y,z){var A=this;if(A._.contentSize&&A._.contentSize.width==y&&A._.contentSize.height==z)return;CKEDITOR.dialog.fire('resize',{dialog:A,skin:A._.editor.skinName,width:y,height:z},A._.editor);A._.contentSize={width:y,height:z};A._.updateSize=true;};})(),getSize:function(){var A=this;if(!A._.updateSize)return A._.size;var y=A._.element.getFirst(),z=A._.size={width:y.$.offsetWidth||0,height:y.$.offsetHeight||0};A._.updateSize=!z.width||!z.height;return z;},move:(function(){var y;return function(z,A){var D=this;var B=D._.element.getFirst();if(y===undefined)y=B.getComputedStyle('position')=='fixed';if(y&&D._.position&&D._.position.x==z&&D._.position.y==A)return;D._.position={x:z,y:A};if(!y){var C=CKEDITOR.document.getWindow().getScrollPosition();z+=C.x;A+=C.y;}B.setStyles({left:(z>0?z:0)+('px'),top:(A>0?A:0)+('px')});};})(),getPosition:function(){return CKEDITOR.tools.extend({},this._.position);},show:function(){if(this._.editor.mode=='wysiwyg'&&CKEDITOR.env.ie)this._.editor.getSelection().lock();var y=this._.element,z=this.definition;if(!(y.getParent()&&y.getParent().equals(CKEDITOR.document.getBody())))y.appendTo(CKEDITOR.document.getBody());else return;if(CKEDITOR.env.gecko&&CKEDITOR.env.version<10900){var A=this.parts.dialog;A.setStyle('position','absolute');setTimeout(function(){A.setStyle('position','fixed');},0);}this.resize(z.minWidth,z.minHeight);this.selectPage(this.definition.contents[0].id);this.reset();if(CKEDITOR.dialog._.currentZIndex===null)CKEDITOR.dialog._.currentZIndex=this._.editor.config.baseFloatZIndex;this._.element.getFirst().setStyle('z-index',CKEDITOR.dialog._.currentZIndex+=10);if(CKEDITOR.dialog._.currentTop===null){CKEDITOR.dialog._.currentTop=this;this._.parentDialog=null;p(this._.editor);CKEDITOR.document.on('keydown',s);CKEDITOR.document.on('keyup',t);}else{this._.parentDialog=CKEDITOR.dialog._.currentTop;var B=this._.parentDialog.getElement().getFirst();B.$.style.zIndex-=Math.floor(this._.editor.config.baseFloatZIndex/2);CKEDITOR.dialog._.currentTop=this;}u(this,this,'\x1b',null,function(){this.getButton('cancel')&&this.getButton('cancel').click();});this._.hasFocus=false;CKEDITOR.tools.setTimeout(function(){var C=CKEDITOR.document.getWindow().getViewPaneSize(),D=this.getSize();
9
- this.move((C.width-z.minWidth)/(2),(C.height-D.height)/(2));this.parts.dialog.setStyle('visibility','');this.fireOnce('load',{});this.fire('show',{});this.foreach(function(E){E.setInitValue&&E.setInitValue();});},100,this);},foreach:function(y){var B=this;for(var z in B._.contents)for(var A in B._.contents[z])y(B._.contents[z][A]);return B;},reset:(function(){var y=function(z){if(z.reset)z.reset();};return function(){this.foreach(y);return this;};})(),setupContent:function(){var y=arguments;this.foreach(function(z){if(z.setup)z.setup.apply(z,y);});},commitContent:function(){var y=arguments;this.foreach(function(z){if(z.commit)z.commit.apply(z,y);});},hide:function(){this.fire('hide',{});var y=this._.element;if(!y.getParent())return;y.remove();this.parts.dialog.setStyle('visibility','hidden');v(this);if(!this._.parentDialog)q();else{var z=this._.parentDialog.getElement().getFirst();z.setStyle('z-index',parseInt(z.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2));}CKEDITOR.dialog._.currentTop=this._.parentDialog;if(!this._.parentDialog){CKEDITOR.dialog._.currentZIndex=null;CKEDITOR.document.removeListener('keydown',s);CKEDITOR.document.removeListener('keyup',t);var A=this._.editor;A.focus();if(A.mode=='wysiwyg'&&CKEDITOR.env.ie)A.getSelection().unlock(true);}else CKEDITOR.dialog._.currentZIndex-=10;this.foreach(function(B){B.resetInitValue&&B.resetInitValue();});},addPage:function(y){var I=this;var z=[],A=y.label?' title="'+CKEDITOR.tools.htmlEncode(y.label)+'"':'',B=y.elements,C=CKEDITOR.dialog._.uiElementBuilders.vbox.build(I,{type:'vbox',className:'cke_dialog_page_contents',children:y.elements,expand:!!y.expand,padding:y.padding,style:y.style||'width: 100%; height: 100%;'},z),D=CKEDITOR.dom.element.createFromHtml(z.join('')),E=CKEDITOR.dom.element.createFromHtml(['<a class="cke_dialog_tab"',I._.pageCount>0?' cke_last':'cke_first',A,!!y.hidden?' style="display:none"':'',' id="',y.id+'_',CKEDITOR.tools.getNextNumber(),'" href="javascript:void(0)"',' hidefocus="true">',y.label,'</a>'].join(''));if(I._.pageCount===0)I.parts.dialog.addClass('cke_single_page');else I.parts.dialog.removeClass('cke_single_page');I._.tabs[y.id]=[E,D];I._.tabIdList.push(y.id);I._.pageCount++;I._.lastTab=E;var F=I._.contents[y.id]={},G,H=C.getChild();while(G=H.shift()){F[G.id]=G;if(typeof G.getChild=='function')H.push.apply(H,G.getChild());}D.setAttribute('name',y.id);D.appendTo(I.parts.contents);E.unselectable();I.parts.tabs.append(E);if(y.accessKey){u(I,I,'CTRL+'+y.accessKey,x,w);
10
- I._.accessKeyMap['CTRL+'+y.accessKey]=y.id;}},selectPage:function(y){var D=this;for(var z in D._.tabs){var A=D._.tabs[z][0],B=D._.tabs[z][1];if(z!=y){A.removeClass('cke_dialog_tab_selected');B.hide();}}var C=D._.tabs[y];C[0].addClass('cke_dialog_tab_selected');C[1].show();D._.currentTabId=y;D._.currentTabIndex=CKEDITOR.tools.indexOf(D._.tabIdList,y);},hidePage:function(y){var z=this._.tabs[y]&&this._.tabs[y][0];if(!z)return;z.hide();},showPage:function(y){var z=this._.tabs[y]&&this._.tabs[y][0];if(!z)return;z.show();},getElement:function(){return this._.element;},getName:function(){return this._.name;},getContentElement:function(y,z){return this._.contents[y][z];},getValueOf:function(y,z){return this.getContentElement(y,z).getValue();},setValueOf:function(y,z,A){return this.getContentElement(y,z).setValue(A);},getButton:function(y){return this._.buttons[y];},click:function(y){return this._.buttons[y].click();},disableButton:function(y){return this._.buttons[y].disable();},enableButton:function(y){return this._.buttons[y].enable();},getPageCount:function(){return this._.pageCount;},getParentEditor:function(){return this._.editor;},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement();},addFocusable:function(y,z){var B=this;if(typeof z=='undefined'){z=B._.focusList.length;B._.focusList.push(new e(B,y,z));}else{B._.focusList.splice(z,0,new e(B,y,z));for(var A=z+1;A<B._.focusList.length;A++)B._.focusList[A].focusIndex++;}}};CKEDITOR.tools.extend(CKEDITOR.dialog,{add:function(y,z){if(!this._.dialogDefinitions[y]||typeof z=='function')this._.dialogDefinitions[y]=z;},exists:function(y){return!!this._.dialogDefinitions[y];},getCurrent:function(){return CKEDITOR.dialog._.currentTop;},okButton:(function(){var y=function(z,A){A=A||{};return CKEDITOR.tools.extend({id:'ok',type:'button',label:z.lang.common.ok,'class':'cke_dialog_ui_button_ok',onClick:function(B){var C=B.data.dialog;if(C.fire('ok',{hide:true}).hide!==false)C.hide();}},A,true);};y.type='button';y.override=function(z){return CKEDITOR.tools.extend(function(A){return y(A,z);},{type:'button'},true);};return y;})(),cancelButton:(function(){var y=function(z,A){A=A||{};return CKEDITOR.tools.extend({id:'cancel',type:'button',label:z.lang.common.cancel,'class':'cke_dialog_ui_button_cancel',onClick:function(B){var C=B.data.dialog;if(C.fire('cancel',{hide:true}).hide!==false)C.hide();}},A,true);};y.type='button';y.override=function(z){return CKEDITOR.tools.extend(function(A){return y(A,z);
11
- },{type:'button'},true);};return y;})(),addUIElement:function(y,z){this._.uiElementBuilders[y]=z;}});CKEDITOR.dialog._={uiElementBuilders:{},dialogDefinitions:{},currentTop:null,currentZIndex:null};CKEDITOR.event.implementOn(CKEDITOR.dialog);CKEDITOR.event.implementOn(CKEDITOR.dialog.prototype,true);var f={resizable:CKEDITOR.DIALOG_RESIZE_NONE,minWidth:600,minHeight:400,buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton]},g=function(y,z,A){for(var B=0,C;C=y[B];B++){if(C.id==z)return C;if(A&&C[A]){var D=g(C[A],z,A);if(D)return D;}}return null;},h=function(y,z,A,B,C){if(A){for(var D=0,E;E=y[D];D++){if(E.id==A){y.splice(D,0,z);return z;}if(B&&E[B]){var F=h(E[B],z,A,B,true);if(F)return F;}}if(C)return null;}y.push(z);return z;},i=function(y,z,A){for(var B=0,C;C=y[B];B++){if(C.id==z)return y.splice(B,1);if(A&&C[A]){var D=i(C[A],z,A);if(D)return D;}}return null;},j=function(y,z){this.dialog=y;var A=z.contents;for(var B=0,C;C=A[B];B++)A[B]=new k(y,C);CKEDITOR.tools.extend(this,z);};j.prototype={getContents:function(y){return g(this.contents,y);},getButton:function(y){return g(this.buttons,y);},addContents:function(y,z){return h(this.contents,y,z);},addButton:function(y,z){return h(this.buttons,y,z);},removeContents:function(y){i(this.contents,y);},removeButton:function(y){i(this.buttons,y);}};function k(y,z){this._={dialog:y};CKEDITOR.tools.extend(this,z);};k.prototype={get:function(y){return g(this.elements,y,'children');},add:function(y,z){return h(this.elements,y,z,'children');},remove:function(y){i(this.elements,y,'children');}};function l(y){var z=null,A=null,B=y.getElement().getFirst(),C=y.getParentEditor(),D=C.config.dialog_magnetDistance,E=d[C.skinName].margins||[0,0,0,0];function F(H){var I=y.getSize(),J=CKEDITOR.document.getWindow().getViewPaneSize(),K=H.data.$.screenX,L=H.data.$.screenY,M=K-z.x,N=L-z.y,O,P;z={x:K,y:L};A.x+=M;A.y+=N;if(A.x+E[3]<D)O=-E[3];else if(A.x-E[1]>J.width-I.width-D)O=J.width-I.width+E[1];else O=A.x;if(A.y+E[0]<D)P=-E[0];else if(A.y-E[2]>J.height-I.height-D)P=J.height-I.height+E[2];else P=A.y;y.move(O,P);H.data.preventDefault();};function G(H){CKEDITOR.document.removeListener('mousemove',F);CKEDITOR.document.removeListener('mouseup',G);if(CKEDITOR.env.ie6Compat){var I=o.getChild(0).getFrameDocument();I.removeListener('mousemove',F);I.removeListener('mouseup',G);}};y.parts.title.on('mousedown',function(H){y._.updateSize=true;z={x:H.data.$.screenX,y:H.data.$.screenY};CKEDITOR.document.on('mousemove',F);CKEDITOR.document.on('mouseup',G);
12
- A=y.getPosition();if(CKEDITOR.env.ie6Compat){var I=o.getChild(0).getFrameDocument();I.on('mousemove',F);I.on('mouseup',G);}H.data.preventDefault();},y);};function m(y){var z=y.definition,A=z.minWidth||0,B=z.minHeight||0,C=z.resizable,D=d[y.getParentEditor().skinName].margins||[0,0,0,0];function E(P,Q){P.y+=Q;};function F(P,Q){P.x2+=Q;};function G(P,Q){P.y2+=Q;};function H(P,Q){P.x+=Q;};var I=null,J=null,K=y._.editor.config.magnetDistance,L=['tl','t','tr','l','r','bl','b','br'];function M(P){var Q=P.listenerData.part,R=y.getSize();J=y.getPosition();CKEDITOR.tools.extend(J,{x2:J.x+R.width,y2:J.y+R.height});I={x:P.data.$.screenX,y:P.data.$.screenY};CKEDITOR.document.on('mousemove',N,y,{part:Q});CKEDITOR.document.on('mouseup',O,y,{part:Q});if(CKEDITOR.env.ie6Compat){var S=o.getChild(0).getFrameDocument();S.on('mousemove',N,y,{part:Q});S.on('mouseup',O,y,{part:Q});}P.data.preventDefault();};function N(P){var Q=P.data.$.screenX,R=P.data.$.screenY,S=Q-I.x,T=R-I.y,U=CKEDITOR.document.getWindow().getViewPaneSize(),V=P.listenerData.part;if(V.search('t')!=-1)E(J,T);if(V.search('l')!=-1)H(J,S);if(V.search('b')!=-1)G(J,T);if(V.search('r')!=-1)F(J,S);I={x:Q,y:R};var W,X,Y,Z;if(J.x+D[3]<K)W=-D[3];else if(V.search('l')!=-1&&J.x2-J.x<A+K)W=J.x2-A;else W=J.x;if(J.y+D[0]<K)X=-D[0];else if(V.search('t')!=-1&&J.y2-J.y<B+K)X=J.y2-B;else X=J.y;if(J.x2-D[1]>U.width-K)Y=U.width+D[1];else if(V.search('r')!=-1&&J.x2-J.x<A+K)Y=J.x+A;else Y=J.x2;if(J.y2-D[2]>U.height-K)Z=U.height+D[2];else if(V.search('b')!=-1&&J.y2-J.y<B+K)Z=J.y+B;else Z=J.y2;y.move(W,X);y.resize(Y-W,Z-X);P.data.preventDefault();};function O(P){CKEDITOR.document.removeListener('mouseup',O);CKEDITOR.document.removeListener('mousemove',N);if(CKEDITOR.env.ie6Compat){var Q=o.getChild(0).getFrameDocument();Q.removeListener('mouseup',O);Q.removeListener('mousemove',N);}};};var n,o,p=function(y){var z=CKEDITOR.document.getWindow();if(!o){var A=['<div style="position: ',CKEDITOR.env.ie6Compat?'absolute':'fixed','; z-index: ',y.config.baseFloatZIndex,'; top: 0px; left: 0px; ','background-color: ',y.config.dialog_backgroundCoverColor,'" id="cke_dialog_background_cover">'];if(CKEDITOR.env.ie6Compat){var B=CKEDITOR.env.isCustomDomain();A.push('<iframe hidefocus="true" frameborder="0" id="cke_dialog_background_iframe" src="javascript:');A.push(B?"void((function(){document.open();document.domain='"+document.domain+"';"+'document.close();'+'})())':"''");A.push('" style="position:absolute;left:0;top:0;width:100%;height: 100%;progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe>');
13
- }A.push('</div>');o=CKEDITOR.dom.element.createFromHtml(A.join(''));}var C=o,D=function(){var G=z.getViewPaneSize();C.setStyles({width:G.width+'px',height:G.height+'px'});},E=function(){var G=z.getScrollPosition(),H=CKEDITOR.dialog._.currentTop;C.setStyles({left:G.x+'px',top:G.y+'px'});do{var I=H.getPosition();H.move(I.x,I.y);}while(H=H._.parentDialog)};n=D;z.on('resize',D);D();if(CKEDITOR.env.ie6Compat){var F=function(){E();arguments.callee.prevScrollHandler.apply(this,arguments);};z.$.setTimeout(function(){F.prevScrollHandler=window.onscroll||(function(){});window.onscroll=F;},0);E();}C.setOpacity(y.config.dialog_backgroundCoverOpacity);C.appendTo(CKEDITOR.document.getBody());},q=function(){if(!o)return;var y=CKEDITOR.document.getWindow();o.remove();y.removeListener('resize',n);if(CKEDITOR.env.ie6Compat)y.$.setTimeout(function(){var z=window.onscroll&&window.onscroll.prevScrollHandler;window.onscroll=z||null;},0);n=null;},r={},s=function(y){var z=y.data.$.ctrlKey||y.data.$.metaKey,A=y.data.$.altKey,B=y.data.$.shiftKey,C=String.fromCharCode(y.data.$.keyCode),D=r[(z?'CTRL+':'')+(A?'ALT+':'')+(B?'SHIFT+':'')+C];if(!D||!D.length)return;D=D[D.length-1];D.keydown&&D.keydown.call(D.uiElement,D.dialog,D.key);y.data.preventDefault();},t=function(y){var z=y.data.$.ctrlKey||y.data.$.metaKey,A=y.data.$.altKey,B=y.data.$.shiftKey,C=String.fromCharCode(y.data.$.keyCode),D=r[(z?'CTRL+':'')+(A?'ALT+':'')+(B?'SHIFT+':'')+C];if(!D||!D.length)return;D=D[D.length-1];D.keyup&&D.keyup.call(D.uiElement,D.dialog,D.key);y.data.preventDefault();},u=function(y,z,A,B,C){var D=r[A]||(r[A]=[]);D.push({uiElement:y,dialog:z,key:A,keyup:C||y.accessKeyUp,keydown:B||y.accessKeyDown});},v=function(y){for(var z in r){var A=r[z];for(var B=A.length-1;B>=0;B--)if(A[B].dialog==y||A[B].uiElement==y)A.splice(B,1);if(A.length===0)delete r[z];}},w=function(y,z){if(y._.accessKeyMap[z])y.selectPage(y._.accessKeyMap[z]);},x=function(y,z){};(function(){CKEDITOR.ui.dialog={uiElement:function(y,z,A,B,C,D,E){if(arguments.length<4)return;var F=(B.call?B(z):B)||('div'),G=['<',F,' '],H=(C&&C.call?C(z):C)||({}),I=(D&&D.call?D(z):D)||({}),J=(E&&E.call?E(y,z):E)||(''),K=this.domId=I.id||CKEDITOR.tools.getNextNumber()+'_uiElement',L=this.id=z.id,M;I.id=K;var N={};if(z.type)N['cke_dialog_ui_'+z.type]=1;if(z.className)N[z.className]=1;var O=I['class']&&I['class'].split?I['class'].split(' '):[];for(M=0;M<O.length;M++)if(O[M])N[O[M]]=1;var P=[];for(M in N)P.push(M);I['class']=P.join(' ');if(z.title)I.title=z.title;var Q=(z.style||'').split(';');
14
- for(M in H)Q.push(M+':'+H[M]);if(z.hidden)Q.push('display:none');for(M=Q.length-1;M>=0;M--)if(Q[M]==='')Q.splice(M,1);if(Q.length>0)I.style=(I.style?I.style+'; ':'')+(Q.join('; '));for(M in I)G.push(M+'="'+CKEDITOR.tools.htmlEncode(I[M])+'" ');G.push('>',J,'</',F,'>');A.push(G.join(''));(this._||(this._={})).dialog=y;if(typeof z.isChanged=='boolean')this.isChanged=function(){return z.isChanged;};if(typeof z.isChanged=='function')this.isChanged=z.isChanged;CKEDITOR.event.implementOn(this);this.registerEvents(z);if(this.accessKeyUp&&this.accessKeyDown&&z.accessKey)u(this,y,'CTRL+'+z.accessKey);var R=this;y.on('load',function(){if(R.getInputElement())R.getInputElement().on('focus',function(){y._.tabBarMode=false;y._.hasFocus=true;R.fire('focus');},R);});if(this.keyboardFocusable){this.focusIndex=y._.focusList.push(this)-1;this.on('focus',function(){y._.currentFocusIndex=R.focusIndex;});}CKEDITOR.tools.extend(this,z);},hbox:function(y,z,A,B,C){if(arguments.length<4)return;this._||(this._={});var D=this._.children=z,E=C&&C.widths||null,F=C&&C.height||null,G={},H,I=function(){var J=['<tbody><tr class="cke_dialog_ui_hbox">'];for(H=0;H<A.length;H++){var K='cke_dialog_ui_hbox_child',L=[];if(H===0)K='cke_dialog_ui_hbox_first';if(H==A.length-1)K='cke_dialog_ui_hbox_last';J.push('<td class="',K,'" ');if(E){if(E[H])L.push('width:'+CKEDITOR.tools.cssLength(E[H]));}else L.push('width:'+Math.floor(100/A.length)+'%');if(F)L.push('height:'+CKEDITOR.tools.cssLength(F));if(C&&C.padding!=undefined)L.push('padding:'+CKEDITOR.tools.cssLength(C.padding));if(L.length>0)J.push('style="'+L.join('; ')+'" ');J.push('>',A[H],'</td>');}J.push('</tr></tbody>');return J.join('');};CKEDITOR.ui.dialog.uiElement.call(this,y,C||{type:'hbox'},B,'table',G,C&&C.align&&{align:C.align}||null,I);},vbox:function(y,z,A,B,C){if(arguments.length<3)return;this._||(this._={});var D=this._.children=z,E=C&&C.width||null,F=C&&C.heights||null,G=function(){var H=['<table cellspacing="0" border="0" '];H.push('style="');if(C&&C.expand)H.push('height:100%;');H.push('width:'+CKEDITOR.tools.cssLength(E||'100%'),';');H.push('"');H.push('align="',CKEDITOR.tools.htmlEncode(C&&C.align||(y.getParentEditor().lang.dir=='ltr'?'left':'right')),'" ');H.push('><tbody>');for(var I=0;I<A.length;I++){var J=[];H.push('<tr><td ');if(E)J.push('width:'+CKEDITOR.tools.cssLength(E||'100%'));if(F)J.push('height:'+CKEDITOR.tools.cssLength(F[I]));else if(C&&C.expand)J.push('height:'+Math.floor(100/A.length)+'%');if(C&&C.padding!=undefined)J.push('padding:'+CKEDITOR.tools.cssLength(C.padding));
15
- if(J.length>0)H.push('style="',J.join('; '),'" ');H.push(' class="cke_dialog_ui_vbox_child">',A[I],'</td></tr>');}H.push('</tbody></table>');return H.join('');};CKEDITOR.ui.dialog.uiElement.call(this,y,C||{type:'vbox'},B,'div',null,null,G);}};})();CKEDITOR.ui.dialog.uiElement.prototype={getElement:function(){return CKEDITOR.document.getById(this.domId);},getInputElement:function(){return this.getElement();},getDialog:function(){return this._.dialog;},setValue:function(y){this.getInputElement().setValue(y);this.fire('change',{value:y});return this;},getValue:function(){return this.getInputElement().getValue();},isChanged:function(){return false;},selectParentTab:function(){var B=this;var y=B.getInputElement(),z=y,A;while((z=z.getParent())&&(z.$.className.search('cke_dialog_page_contents')==-1)){}if(!z)return B;A=z.getAttribute('name');if(B._.dialog._.currentTabId!=A)B._.dialog.selectPage(A);return B;},focus:function(){this.selectParentTab().getInputElement().focus();return this;},registerEvents:function(y){var z=/^on([A-Z]\w+)/,A,B=function(D,E,F,G){E.on('load',function(){D.getInputElement().on(F,G,D);});};for(var C in y){if(!(A=C.match(z)))continue;if(this.eventProcessors[C])this.eventProcessors[C].call(this,this._.dialog,y[C]);else B(this,this._.dialog,A[1].toLowerCase(),y[C]);}return this;},eventProcessors:{onLoad:function(y,z){y.on('load',z,this);},onShow:function(y,z){y.on('show',z,this);},onHide:function(y,z){y.on('hide',z,this);}},accessKeyDown:function(y,z){this.focus();},accessKeyUp:function(y,z){},disable:function(){var y=this.getInputElement();y.setAttribute('disabled','true');y.addClass('cke_disabled');},enable:function(){var y=this.getInputElement();y.removeAttribute('disabled');y.removeClass('cke_disabled');},isEnabled:function(){return!this.getInputElement().getAttribute('disabled');},isVisible:function(){return!!this.getInputElement().$.offsetHeight;},isFocusable:function(){if(!this.isEnabled()||!this.isVisible())return false;return true;}};CKEDITOR.ui.dialog.hbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement(),{getChild:function(y){var z=this;if(arguments.length<1)return z._.children.concat();if(!y.splice)y=[y];if(y.length<2)return z._.children[y[0]];else return z._.children[y[0]]&&z._.children[y[0]].getChild?z._.children[y[0]].getChild(y.slice(1,y.length)):null;}},true);CKEDITOR.ui.dialog.vbox.prototype=new CKEDITOR.ui.dialog.hbox();(function(){var y={build:function(z,A,B){var C=A.children,D,E=[],F=[];for(var G=0;G<C.length&&(D=C[G]);
16
- G++){var H=[];E.push(H);F.push(CKEDITOR.dialog._.uiElementBuilders[D.type].build(z,D,H));}return new CKEDITOR.ui.dialog[A.type](z,F,E,B,A);}};CKEDITOR.dialog.addUIElement('hbox',y);CKEDITOR.dialog.addUIElement('vbox',y);})();CKEDITOR.dialogCommand=function(y){this.dialogName=y;};CKEDITOR.dialogCommand.prototype={exec:function(y){y.openDialog(this.dialogName);},canUndo:false};(function(){var y=/^([a]|[^a])+$/,z=/^\d*$/,A=/^\d*(?:\.\d+)?$/;CKEDITOR.VALIDATE_OR=1;CKEDITOR.VALIDATE_AND=2;CKEDITOR.dialog.validate={functions:function(){return function(){var H=this;var B=H&&H.getValue?H.getValue():arguments[0],C=undefined,D=CKEDITOR.VALIDATE_AND,E=[],F;for(F=0;F<arguments.length;F++)if(typeof arguments[F]=='function')E.push(arguments[F]);else break;if(F<arguments.length&&typeof arguments[F]=='string'){C=arguments[F];F++;}if(F<arguments.length&&typeof arguments[F]=='number')D=arguments[F];var G=D==CKEDITOR.VALIDATE_AND?true:false;for(F=0;F<E.length;F++)if(D==CKEDITOR.VALIDATE_AND)G=G&&E[F](B);else G=G||E[F](B);if(!G){if(C!==undefined)alert(C);if(H&&(H.select||H.focus))H.select||H.focus();return false;}return true;};},regex:function(B,C){return function(){var E=this;var D=E&&E.getValue?E.getValue():arguments[0];if(!B.test(D)){if(C!==undefined)alert(C);if(E&&(E.select||E.focus))if(E.select)E.select();else E.focus();return false;}return true;};},notEmpty:function(B){return this.regex(y,B);},integer:function(B){return this.regex(z,B);},number:function(B){return this.regex(A,B);},equals:function(B,C){return this.functions(function(D){return D==B;},C);},notEqual:function(B,C){return this.functions(function(D){return D!=B;},C);}};})();CKEDITOR.skins.add=(function(){var y=CKEDITOR.skins.add;return function(z,A){d[z]={margins:A.margins};return y.apply(this,arguments);};})();})();CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{openDialog:function(a){var b=CKEDITOR.dialog._.dialogDefinitions[a];if(typeof b=='function'){var c=this._.storedDialogs||(this._.storedDialogs={}),d=c[a]||(c[a]=new CKEDITOR.dialog(this,a));d.show();return d;}else if(b=='failed')throw new Error('[CKEDITOR.dialog.openDialog] Dialog "'+a+'" failed when loading definition.');var e=CKEDITOR.document.getBody(),f=e.$.style.cursor,g=this;e.setStyle('cursor','wait');CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(b),function(){if(typeof CKEDITOR.dialog._.dialogDefinitions[a]!='function')CKEDITOR.dialog._.dialogDefinitions[a]='failed';g.openDialog(a);e.setStyle('cursor',f);});return null;}});CKEDITOR.config.dialog_backgroundCoverColor='white';
17
- CKEDITOR.config.dialog_backgroundCoverOpacity=0.5;CKEDITOR.config.dialog_magnetDistance=20;
@@ -1,11 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('dialogui');(function(){var a=function(h){var k=this;k._||(k._={});k._['default']=k._.initValue=h['default']||'';var i=[k._];for(var j=1;j<arguments.length;j++)i.push(arguments[j]);i.push(true);CKEDITOR.tools.extend.apply(CKEDITOR.tools,i);return k._;},b={build:function(h,i,j){return new CKEDITOR.ui.dialog.textInput(h,i,j);}},c={build:function(h,i,j){return new CKEDITOR.ui.dialog[i.type](h,i,j);}},d={isChanged:function(){return this.getValue()!=this.getInitValue();},reset:function(){this.setValue(this.getInitValue());},setInitValue:function(){this._.initValue=this.getValue();},resetInitValue:function(){this._.initValue=this._['default'];},getInitValue:function(){return this._.initValue;}},e=CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onChange:function(h,i){if(!this._.domOnChangeRegistered){h.on('load',function(){this.getInputElement().on('change',function(){this.fire('change',{value:this.getValue()});},this);},this);this._.domOnChangeRegistered=true;}this.on('change',i);}},true),f=/^on([A-Z]\w+)/,g=function(h){for(var i in h)if(f.test(i)||i=='title'||i=='type')delete h[i];return h;};CKEDITOR.tools.extend(CKEDITOR.ui.dialog,{labeledElement:function(h,i,j,k){if(arguments.length<4)return;var l=a.call(this,i);l.labelId=CKEDITOR.tools.getNextNumber()+'_label';var m=this._.children=[],n=function(){var o=[];if(i.labelLayout!='horizontal')o.push('<div class="cke_dialog_ui_labeled_label" id="',l.labelId,'" >',i.label,'</div>','<div class="cke_dialog_ui_labeled_content">',k(h,i),'</div>');else{var p={type:'hbox',widths:i.widths,padding:0,children:[{type:'html',html:'<span class="cke_dialog_ui_labeled_label" id="'+l.labelId+'">'+CKEDITOR.tools.htmlEncode(i.label)+'</span>'},{type:'html',html:'<span class="cke_dialog_ui_labeled_content">'+k(h,i)+'</span>'}]};CKEDITOR.dialog._.uiElementBuilders.hbox.build(h,p,o);}return o.join('');};CKEDITOR.ui.dialog.uiElement.call(this,h,i,j,'div',null,null,n);},textInput:function(h,i,j){if(arguments.length<3)return;a.call(this,i);var k=this._.inputId=CKEDITOR.tools.getNextNumber()+'_textInput',l={'class':'cke_dialog_ui_input_'+i.type,id:k,type:'text'},m;if(i.validate)this.validate=i.validate;if(i.maxLength)l.maxlength=i.maxLength;if(i.size)l.size=i.size;var n=this,o=false;h.on('load',function(){n.getInputElement().on('keydown',function(q){if(q.data.getKeystroke()==13)o=true;});n.getInputElement().on('keyup',function(q){if(q.data.getKeystroke()==13&&o){h.getButton('ok')&&h.getButton('ok').click();
7
- o=false;}},null,null,1000);});var p=function(){var q=['<div class="cke_dialog_ui_input_',i.type,'"'];if(i.width)q.push('style="width:'+i.width+'" ');q.push('><input ');for(var r in l)q.push(r+'="'+l[r]+'" ');q.push(' /></div>');return q.join('');};CKEDITOR.ui.dialog.labeledElement.call(this,h,i,j,p);},textarea:function(h,i,j){if(arguments.length<3)return;a.call(this,i);var k=this,l=this._.inputId=CKEDITOR.tools.getNextNumber()+'_textarea',m={};if(i.validate)this.validate=i.validate;m.rows=i.rows||5;m.cols=i.cols||20;var n=function(){var o=['<div class="cke_dialog_ui_input_textarea"><textarea class="cke_dialog_ui_input_textarea" id="',l,'" '];for(var p in m)o.push(p+'="'+CKEDITOR.tools.htmlEncode(m[p])+'" ');o.push('>',CKEDITOR.tools.htmlEncode(k._['default']),'</textarea></div>');return o.join('');};CKEDITOR.ui.dialog.labeledElement.call(this,h,i,j,n);},checkbox:function(h,i,j){if(arguments.length<3)return;var k=a.call(this,i,{'default':!!i['default']});if(i.validate)this.validate=i.validate;var l=function(){var m=CKEDITOR.tools.extend({},i,{id:i.id?i.id+'_checkbox':CKEDITOR.tools.getNextNumber()+'_checkbox'},true),n=[],o={'class':'cke_dialog_ui_checkbox_input',type:'checkbox'};g(m);if(i['default'])o.checked='checked';k.checkbox=new CKEDITOR.ui.dialog.uiElement(h,m,n,'input',null,o);n.push(' <label for="',o.id,'">',CKEDITOR.tools.htmlEncode(i.label),'</label>');return n.join('');};CKEDITOR.ui.dialog.uiElement.call(this,h,i,j,'span',null,null,l);},radio:function(h,i,j){if(arguments.length<3)return;a.call(this,i);if(!this._['default'])this._['default']=this._.initValue=i.items[0][1];if(i.validate)this.validate=i.valdiate;var k=[],l=this,m=function(){var n=[],o=[],p={'class':'cke_dialog_ui_radio_item'},q=i.id?i.id+'_radio':CKEDITOR.tools.getNextNumber()+'_radio';for(var r=0;r<i.items.length;r++){var s=i.items[r],t=s[2]!==undefined?s[2]:s[0],u=s[1]!==undefined?s[1]:s[0],v=CKEDITOR.tools.extend({},i,{id:CKEDITOR.tools.getNextNumber()+'_radio_input',title:null,type:null},true),w=CKEDITOR.tools.extend({},v,{id:null,title:t},true),x={type:'radio','class':'cke_dialog_ui_radio_input',name:q,value:u},y=[];if(l._['default']==u)x.checked='checked';g(v);g(w);k.push(new CKEDITOR.ui.dialog.uiElement(h,v,y,'input',null,x));y.push(' ');new CKEDITOR.ui.dialog.uiElement(h,w,y,'label',null,{'for':x.id},s[0]);n.push(y.join(''));}new CKEDITOR.ui.dialog.hbox(h,[],n,o);return o.join('');};CKEDITOR.ui.dialog.labeledElement.call(this,h,i,j,m);this._.children=k;},button:function(h,i,j){if(!arguments.length)return;
8
- if(typeof i=='function')i=i(h.getParentEditor());a.call(this,i,{disabled:i.disabled||false});CKEDITOR.event.implementOn(this);var k=this;h.on('load',function(m){var n=this.getElement();(function(){n.on('click',function(o){k.fire('click',{dialog:k.getDialog()});o.data.preventDefault();});})();n.unselectable();},this);var l=CKEDITOR.tools.extend({},i);delete l.style;CKEDITOR.ui.dialog.uiElement.call(this,h,l,j,'a',null,{style:i.style,href:'javascript:void(0)',title:i.label,hidefocus:'true','class':i['class']},'<span class="cke_dialog_ui_button">'+CKEDITOR.tools.htmlEncode(i.label)+'</span>');},select:function(h,i,j){if(arguments.length<3)return;var k=a.call(this,i);if(i.validate)this.validate=i.validate;var l=function(){var m=CKEDITOR.tools.extend({},i,{id:i.id?i.id+'_select':CKEDITOR.tools.getNextNumber()+'_select'},true),n=[],o=[],p={'class':'cke_dialog_ui_input_select'};if(i.size!=undefined)p.size=i.size;if(i.multiple!=undefined)p.multiple=i.multiple;g(m);for(var q=0,r;q<i.items.length&&(r=i.items[q]);q++)o.push('<option value="',CKEDITOR.tools.htmlEncode(r[1]!==undefined?r[1]:r[0]),'" /> ',CKEDITOR.tools.htmlEncode(r[0]));k.select=new CKEDITOR.ui.dialog.uiElement(h,m,n,'select',null,p,o.join(''));return n.join('');};CKEDITOR.ui.dialog.labeledElement.call(this,h,i,j,l);},file:function(h,i,j){if(arguments.length<3)return;if(i['default']===undefined)i['default']='';var k=CKEDITOR.tools.extend(a.call(this,i),{definition:i,buttons:[]});if(i.validate)this.validate=i.validate;var l=function(){k.frameId=CKEDITOR.tools.getNextNumber()+'_fileInput';var m=CKEDITOR.env.ie&&document.domain!=window.location.hostname,n=['<iframe frameborder="0" allowtransparency="0" class="cke_dialog_ui_input_file" id="',k.frameId,'" title="',i.label,'" src="javascript:void('];n.push(m?"(function(){document.open();document.domain='"+document.domain+"';"+'document.close();'+'})()':'0');n.push(')"></iframe>');return n.join('');};h.on('load',function(){var m=CKEDITOR.document.getById(k.frameId),n=m.getParent();n.addClass('cke_dialog_ui_input_file');});CKEDITOR.ui.dialog.labeledElement.call(this,h,i,j,l);},fileButton:function(h,i,j){if(arguments.length<3)return;var k=a.call(this,i),l=this;if(i.validate)this.validate=i.validate;var m=CKEDITOR.tools.extend({},i),n=m.onClick;m.className=(m.className?m.className+' ':'')+('cke_dialog_ui_button');m.onClick=function(o){var p=i['for'];if(!n||n.call(this,o)!==false){h.getContentElement(p[0],p[1]).submit();this.disable();}};h.on('load',function(){h.getContentElement(i['for'][0],i['for'][1])._.buttons.push(l);
9
- });CKEDITOR.ui.dialog.button.call(this,h,m,j);},html:(function(){var h=/^\s*<[\w:]+\s+([^>]*)?>/,i=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,j=/\/$/;return function(k,l,m){if(arguments.length<3)return;var n=[],o,p=l.html,q,r;if(p.charAt(0)!='<')p='<span>'+p+'</span>';if(l.focus){var s=this.focus;this.focus=function(){s.call(this);l.focus.call(this);this.fire('focus');};if(l.isFocusable){var t=this.isFocusable;this.isFocusable=t;}this.keyboardFocusable=true;}CKEDITOR.ui.dialog.uiElement.call(this,k,l,n,'span',null,null,'');o=n.join('');q=o.match(h);r=p.match(i)||['','',''];if(j.test(r[1])){r[1]=r[1].slice(0,-1);r[2]='/'+r[2];}m.push([r[1],' ',q[1]||'',r[2]].join(''));};})()},true);CKEDITOR.ui.dialog.html.prototype=new CKEDITOR.ui.dialog.uiElement();CKEDITOR.ui.dialog.labeledElement.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement(),{setLabel:function(h){var i=CKEDITOR.document.getById(this._.labelId);if(i.getChildCount()<1)new CKEDITOR.dom.text(h,CKEDITOR.document).appendTo(i);else i.getChild(0).$.nodeValue=h;return this;},getLabel:function(){var h=CKEDITOR.document.getById(this._.labelId);if(!h||h.getChildCount()<1)return '';else return h.getChild(0).getText();},eventProcessors:e},true);CKEDITOR.ui.dialog.button.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement(),{click:function(){var h=this;if(!h._.disabled)return h.fire('click',{dialog:h._.dialog});h.getElement().$.blur();return false;},enable:function(){this._.disabled=false;var h=this.getElement();h&&h.removeClass('disabled');},disable:function(){this._.disabled=true;this.getElement().addClass('disabled');},isVisible:function(){return!!this.getElement().$.firstChild.offsetHeight;},isEnabled:function(){return!this._.disabled;},eventProcessors:CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onClick:function(h,i){this.on('click',i);}},true),accessKeyUp:function(){this.click();},accessKeyDown:function(){this.focus();},keyboardFocusable:true},true);CKEDITOR.ui.dialog.textInput.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement(),{getInputElement:function(){return CKEDITOR.document.getById(this._.inputId);},focus:function(){var h=this.selectParentTab();setTimeout(function(){var i=h.getInputElement();i&&i.$.focus();},0);},select:function(){var h=this.selectParentTab();setTimeout(function(){var i=h.getInputElement();if(i){i.$.focus();i.$.select();}},0);},accessKeyUp:function(){this.select();},setValue:function(h){h=h||'';return CKEDITOR.ui.dialog.uiElement.prototype.setValue.call(this,h);
10
- },keyboardFocusable:true},d,true);CKEDITOR.ui.dialog.textarea.prototype=new CKEDITOR.ui.dialog.textInput();CKEDITOR.ui.dialog.select.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement(),{getInputElement:function(){return this._.select.getElement();},add:function(h,i,j){var k=new CKEDITOR.dom.element('option',this.getDialog().getParentEditor().document),l=this.getInputElement().$;k.$.text=h;k.$.value=i===undefined||i===null?h:i;if(j===undefined||j===null){if(CKEDITOR.env.ie)l.add(k.$);else l.add(k.$,null);}else l.add(k.$,j);return this;},remove:function(h){var i=this.getInputElement().$;i.remove(h);return this;},clear:function(){var h=this.getInputElement().$;while(h.length>0)h.remove(0);return this;},keyboardFocusable:true},d,true);CKEDITOR.ui.dialog.checkbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement(),{getInputElement:function(){return this._.checkbox.getElement();},setValue:function(h){this.getInputElement().$.checked=h;this.fire('change',{value:h});},getValue:function(){return this.getInputElement().$.checked;},accessKeyUp:function(){this.setValue(!this.getValue());},eventProcessors:{onChange:function(h,i){if(!CKEDITOR.env.ie)return e.onChange.apply(this,arguments);else{h.on('load',function(){var j=this._.checkbox.getElement();j.on('propertychange',function(k){k=k.data.$;if(k.propertyName=='checked')this.fire('change',{value:j.$.checked});},this);},this);this.on('change',i);}return null;}},keyboardFocusable:true},d,true);CKEDITOR.ui.dialog.radio.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement(),{setValue:function(h){var i=this._.children,j;for(var k=0;k<i.length&&(j=i[k]);k++)j.getElement().$.checked=j.getValue()==h;this.fire('change',{value:h});},getValue:function(){var h=this._.children;for(var i=0;i<h.length;i++)if(h[i].getElement().$.checked)return h[i].getValue();return null;},accessKeyUp:function(){var h=this._.children,i;for(i=0;i<h.length;i++)if(h[i].getElement().$.checked){h[i].getElement().focus();return;}h[0].getElement().focus();},eventProcessors:{onChange:function(h,i){if(!CKEDITOR.env.ie)return e.onChange.apply(this,arguments);else{h.on('load',function(){var j=this._.children,k=this;for(var l=0;l<j.length;l++){var m=j[l].getElement();m.on('propertychange',function(n){n=n.data.$;if(n.propertyName=='checked'&&this.$.checked)k.fire('change',{value:this.getAttribute('value')});});}},this);this.on('change',i);}return null;}},keyboardFocusable:true},d,true);CKEDITOR.ui.dialog.file.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement(),d,{getInputElement:function(){var h=CKEDITOR.document.getById(this._.frameId).getFrameDocument();
11
- return h.$.forms.length>0?new CKEDITOR.dom.element(h.$.forms[0].elements[0]):this.getElement();},submit:function(){this.getInputElement().getParent().$.submit();return this;},getAction:function(h){return this.getInputElement().getParent().$.action;},reset:function(){var h=CKEDITOR.document.getById(this._.frameId),i=h.getFrameDocument(),j=this._.definition,k=this._.buttons;function l(){i.$.open();if(CKEDITOR.env.isCustomDomain())i.$.domain=document.domain;var m='';if(j.size)m=j.size-(CKEDITOR.env.ie?7:0);i.$.write(['<html><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">','<form enctype="multipart/form-data" method="POST" action="',CKEDITOR.tools.htmlEncode(j.action),'">','<input type="file" name="',CKEDITOR.tools.htmlEncode(j.id||'cke_upload'),'" size="',CKEDITOR.tools.htmlEncode(m>0?m:''),'" />','</form>','</body></html>'].join(''));i.$.close();for(var n=0;n<k.length;n++)k[n].enable();};if(CKEDITOR.env.gecko)setTimeout(l,500);else l();},getValue:function(){return '';},eventProcessors:e,keyboardFocusable:true},true);CKEDITOR.ui.dialog.fileButton.prototype=new CKEDITOR.ui.dialog.button();CKEDITOR.dialog.addUIElement('text',b);CKEDITOR.dialog.addUIElement('password',b);CKEDITOR.dialog.addUIElement('textarea',c);CKEDITOR.dialog.addUIElement('checkbox',c);CKEDITOR.dialog.addUIElement('radio',c);CKEDITOR.dialog.addUIElement('button',c);CKEDITOR.dialog.addUIElement('select',c);CKEDITOR.dialog.addUIElement('file',c);CKEDITOR.dialog.addUIElement('fileButton',c);CKEDITOR.dialog.addUIElement('html',c);})();
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('domiterator');(function(){var a=function(c){var d=this;if(arguments.length<1)return;d.range=c;d.forceBrBreak=false;d.enlargeBr=true;d.enforceRealBlocks=false;d._||(d._={});},b=/^[\r\n\t ]+$/;a.prototype={getNextParagraph:function(c){var D=this;var d,e,f,g,h;if(!D._.lastNode){e=D.range.clone();e.enlarge(D.forceBrBreak||!D.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);var i=new CKEDITOR.dom.walker(e),j=CKEDITOR.dom.walker.bookmark(true,true);i.evaluator=j;D._.nextNode=i.next();i=new CKEDITOR.dom.walker(e);i.evaluator=j;var k=i.previous();D._.lastNode=k.getNextSourceNode(true);if(D._.lastNode&&D._.lastNode.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(D._.lastNode.getText())&&D._.lastNode.getParent().isBlockBoundary()){var l=new CKEDITOR.dom.range(e.document);l.moveToPosition(D._.lastNode,CKEDITOR.POSITION_AFTER_END);if(l.checkEndOfBlock()){var m=new CKEDITOR.dom.elementPath(l.endContainer),n=m.block||m.blockLimit;D._.lastNode=n.getNextSourceNode(true);}}if(!D._.lastNode){D._.lastNode=D._.docEndMarker=e.document.createText('');D._.lastNode.insertAfter(k);}e=null;}var o=D._.nextNode;k=D._.lastNode;D._.nextNode=null;while(o){var p=false,q=o.type!=CKEDITOR.NODE_ELEMENT,r=false;if(!q){var s=o.getName();if(o.isBlockBoundary(D.forceBrBreak&&{br:1})){if(s=='br')q=true;else if(!e&&!o.getChildCount()&&s!='hr'){d=o;f=o.equals(k);break;}if(e){e.setEndAt(o,CKEDITOR.POSITION_BEFORE_START);if(s!='br')D._.nextNode=o;}p=true;}else{if(o.getFirst()){if(!e){e=new CKEDITOR.dom.range(D.range.document);e.setStartAt(o,CKEDITOR.POSITION_BEFORE_START);}o=o.getFirst();continue;}q=true;}}else if(o.type==CKEDITOR.NODE_TEXT)if(b.test(o.getText()))q=false;if(q&&!e){e=new CKEDITOR.dom.range(D.range.document);e.setStartAt(o,CKEDITOR.POSITION_BEFORE_START);}f=(!p||q)&&(o.equals(k));if(e&&!p)while(!o.getNext()&&!f){var t=o.getParent();if(t.isBlockBoundary(D.forceBrBreak&&{br:1})){p=true;f=f||t.equals(k);break;}o=t;q=true;f=o.equals(k);r=true;}if(q)e.setEndAt(o,CKEDITOR.POSITION_AFTER_END);o=o.getNextSourceNode(r,null,k);f=!o;if((p||f)&&(e)){var u=e.getBoundaryNodes(),v=new CKEDITOR.dom.elementPath(e.startContainer),w=new CKEDITOR.dom.elementPath(e.endContainer);if(u.startNode.equals(u.endNode)&&u.startNode.getParent().equals(v.blockLimit)&&u.startNode.type==CKEDITOR.NODE_ELEMENT&&u.startNode.getAttribute('_fck_bookmark')){e=null;D._.nextNode=null;}else break;}if(f)break;}if(!d){if(!e){D._.docEndMarker&&D._.docEndMarker.remove();D._.nextNode=null;
7
- return null;}v=new CKEDITOR.dom.elementPath(e.startContainer);var x=v.blockLimit,y={div:1,th:1,td:1};d=v.block;if(!d&&!D.enforceRealBlocks&&y[x.getName()]&&e.checkStartOfBlock()&&e.checkEndOfBlock())d=x;else if(!d||D.enforceRealBlocks&&d.getName()=='li'){d=D.range.document.createElement(c||'p');e.extractContents().appendTo(d);d.trim();e.insertNode(d);g=h=true;}else if(d.getName()!='li'){if(!e.checkStartOfBlock()||!e.checkEndOfBlock()){d=d.clone(false);e.extractContents().appendTo(d);d.trim();var z=e.splitBlock();g=!z.wasStartOfBlock;h=!z.wasEndOfBlock;e.insertNode(d);}}else if(!f)D._.nextNode=d.equals(k)?null:e.getBoundaryNodes().endNode.getNextSourceNode(true,null,k);}if(g){var A=d.getPrevious();if(A&&A.type==CKEDITOR.NODE_ELEMENT)if(A.getName()=='br')A.remove();else if(A.getLast()&&A.getLast().$.nodeName.toLowerCase()=='br')A.getLast().remove();}if(h){var B=CKEDITOR.dom.walker.bookmark(false,true),C=d.getLast();if(C&&C.type==CKEDITOR.NODE_ELEMENT&&C.getName()=='br')if(CKEDITOR.env.ie||C.getPrevious(B)||C.getNext(B))C.remove();}if(!D._.nextNode)D._.nextNode=f||d.equals(k)?null:d.getNextSourceNode(true,null,k);return d;}};CKEDITOR.dom.range.prototype.createIterator=function(){return new a(this);};})();
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a=function(c,d){return c._.modes&&c._.modes[d||c.mode];},b;CKEDITOR.plugins.add('editingblock',{init:function(c){if(!c.config.editingBlock)return;c.on('themeSpace',function(d){if(d.data.space=='contents')d.data.html+='<br>';});c.on('themeLoaded',function(){c.fireOnce('editingBlockReady');});c.on('uiReady',function(){c.setMode(c.config.startupMode);});c.on('afterSetData',function(){if(!b){function d(){b=true;a(c).loadData(c.getData());b=false;};if(c.mode)d();else c.on('mode',function(){d();c.removeListener('mode',arguments.callee);});}});c.on('beforeGetData',function(){if(!b&&c.mode){b=true;c.setData(a(c).getData());b=false;}});c.on('getSnapshot',function(d){if(c.mode)d.data=a(c).getSnapshotData();});c.on('loadSnapshot',function(d){if(c.mode)a(c).loadSnapshotData(d.data);});c.on('mode',function(d){d.removeListener();var e=c.container;if(CKEDITOR.env.webkit&&CKEDITOR.env.version<528){var f=c.config.tabIndex||c.element.getAttribute('tabindex')||0;e=e.append(CKEDITOR.dom.element.createFromHtml('<input tabindex="'+f+'"'+' style="position:absolute; left:-10000">'));}e.on('focus',function(){c.focus();});if(c.config.startupFocus)c.focus();setTimeout(function(){c.fireOnce('instanceReady');CKEDITOR.fire('instanceReady',null,c);});});}});CKEDITOR.editor.prototype.mode='';CKEDITOR.editor.prototype.addMode=function(c,d){d.name=c;(this._.modes||(this._.modes={}))[c]=d;};CKEDITOR.editor.prototype.setMode=function(c){var d,e=this.getThemeSpace('contents'),f=this.checkDirty();if(this.mode){if(c==this.mode)return;this.fire('beforeModeUnload');var g=a(this);d=g.getData();g.unload(e);this.mode='';}e.setHtml('');var h=a(this,c);if(!h)throw '[CKEDITOR.editor.setMode] Unknown mode "'+c+'".';if(!f)this.on('mode',function(){this.resetDirty();this.removeListener('mode',arguments.callee);});h.load(e,typeof d!='string'?this.getData():d);};CKEDITOR.editor.prototype.focus=function(){var c=a(this);if(c)c.focus();};})();CKEDITOR.config.startupMode='wysiwyg';CKEDITOR.config.startupFocus=false;CKEDITOR.config.editingBlock=true;
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a={toolbarFocus:{exec:function(c){var d=c._.elementsPath.idBase,e=CKEDITOR.document.getById(d+'0');if(e)e.focus();}}},b='<span class="cke_empty">&nbsp;</span>';CKEDITOR.plugins.add('elementspath',{requires:['selection'],init:function(c){var d='cke_path_'+c.name,e,f=function(){if(!e)e=CKEDITOR.document.getById(d);return e;},g='cke_elementspath_'+CKEDITOR.tools.getNextNumber()+'_';c._.elementsPath={idBase:g};c.on('themeSpace',function(h){if(h.data.space=='bottom')h.data.html+='<div id="'+d+'" class="cke_path">'+b+'</div>';});c.on('selectionChange',function(h){var i=CKEDITOR.env,j=h.data.selection,k=j.getStartElement(),l=[],m=this._.elementsPath.list=[];while(k){var n=m.push(k)-1,o;if(k.getAttribute('_cke_real_element_type'))o=k.getAttribute('_cke_real_element_type');else o=k.getName();var p='';if(i.opera||i.gecko&&i.mac)p+=' onkeypress="return false;"';if(i.gecko)p+=' onblur="this.style.cssText = this.style.cssText;"';l.unshift('<a id="',g,n,'" href="javascript:void(\'',o,'\')" tabindex="-1" title="',c.lang.elementsPath.eleTitle.replace(/%1/,o),'"'+(CKEDITOR.env.gecko&&CKEDITOR.env.version<10900?' onfocus="event.preventBubble();"':'')+' hidefocus="true" '+" onkeydown=\"return CKEDITOR._.elementsPath.keydown('",this.name,"',",n,', event);"'+p," onclick=\"return CKEDITOR._.elementsPath.click('",this.name,"',",n,');">',o,'</a>');if(o=='body')break;k=k.getParent();}f().setHtml(l.join('')+b);});c.on('contentDomUnload',function(){f().setHtml(b);});c.addCommand('elementsPathFocus',a.toolbarFocus);}});})();CKEDITOR._.elementsPath={click:function(a,b){var c=CKEDITOR.instances[a];c.focus();var d=c._.elementsPath.list[b];c.getSelection().selectElement(d);return false;},keydown:function(a,b,c){var d=CKEDITOR.ui.button._.instances[b],e=CKEDITOR.instances[a],f=e._.elementsPath.idBase,g;c=new CKEDITOR.dom.event(c);switch(c.getKeystroke()){case 37:case 9:g=CKEDITOR.document.getById(f+(b+1));if(!g)g=CKEDITOR.document.getById(f+'0');g.focus();return false;case 39:case CKEDITOR.SHIFT+9:g=CKEDITOR.document.getById(f+(b-1));if(!g)g=CKEDITOR.document.getById(f+(e._.elementsPath.list.length-1));g.focus();return false;case 27:e.focus();return false;case 13:case 32:this.click(a,b);return false;}return true;}};
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){CKEDITOR.plugins.add('enterkey',{requires:['keystrokes','indent'],init:function(h){var i=h.specialKeys;i[13]=d;i[CKEDITOR.SHIFT+13]=c;}});var a,b=/^h[1-6]$/;function c(h){a=1;return d(h,h.config.shiftEnterMode);};function d(h,i){if(h.mode!='wysiwyg')return false;if(!i)i=h.config.enterMode;setTimeout(function(){h.fire('saveSnapshot');if(i==CKEDITOR.ENTER_BR||h.getSelection().getStartElement().hasAscendant('pre',true))f(h,i);else e(h,i);a=0;},0);return true;};function e(h,i,j){j=j||g(h);var k=j.document,l=i==CKEDITOR.ENTER_DIV?'div':'p',m=j.splitBlock(l);if(!m)return;var n=m.previousBlock,o=m.nextBlock,p=m.wasStartOfBlock,q=m.wasEndOfBlock,r;if(o){r=o.getParent();if(r.is('li')){o.breakParent(r);o.move(o.getNext(),true);}}else if(n&&(r=n.getParent())&&(r.is('li'))){n.breakParent(r);j.moveToElementEditStart(n.getNext());n.move(n.getPrevious());}if(!p&&!q){if(o.is('li')&&(r=o.getFirst())&&(r.is&&r.is('ul','ol')))o.insertBefore(k.createText('\xa0'),r);if(o)j.moveToElementEditStart(o);}else{if(p&&q&&n.is('li')){h.execCommand('outdent');return;}var s;if(n){if(!a&&!b.test(n.getName()))s=n.clone();}else if(o)s=o.clone();if(!s)s=k.createElement(l);var t=m.elementPath;if(t)for(var u=0,v=t.elements.length;u<v;u++){var w=t.elements[u];if(w.equals(t.block)||w.equals(t.blockLimit))break;if(CKEDITOR.dtd.$removeEmpty[w.getName()]){w=w.clone();s.moveChildren(w);s.append(w);}}if(!CKEDITOR.env.ie)s.appendBogus();j.insertNode(s);if(CKEDITOR.env.ie&&p&&(!q||!n.getChildCount())){j.moveToElementEditStart(q?n:s);j.select();}j.moveToElementEditStart(p&&!q?o:s);}if(!CKEDITOR.env.ie)if(o){var x=k.createElement('span');x.setHtml('&nbsp;');j.insertNode(x);x.scrollIntoView();j.deleteContents();}else s.scrollIntoView();j.select();};function f(h,i){var j=g(h),k=j.document,l=i==CKEDITOR.ENTER_DIV?'div':'p',m=j.checkEndOfBlock(),n=new CKEDITOR.dom.elementPath(h.getSelection().getStartElement()),o=n.block,p=o&&n.block.getName(),q=false;if(!a&&p=='li'){e(h,i,j);return;}if(!a&&m&&b.test(p)){k.createElement('br').insertAfter(o);if(CKEDITOR.env.gecko)k.createText('').insertAfter(o);j.setStartAt(o.getNext(),CKEDITOR.env.ie?CKEDITOR.POSITION_BEFORE_START:CKEDITOR.POSITION_AFTER_START);}else{var r;q=p=='pre';if(q)r=k.createText(CKEDITOR.env.ie?'\r':'\n');else r=k.createElement('br');j.deleteContents();j.insertNode(r);if(!CKEDITOR.env.ie)k.createText('').insertAfter(r);if(m&&!CKEDITOR.env.ie)r.getParent().appendBogus();if(!CKEDITOR.env.ie)r.getNext().$.nodeValue='';if(CKEDITOR.env.ie)j.setStartAt(r,CKEDITOR.POSITION_AFTER_END);
7
- else j.setStartAt(r.getNext(),CKEDITOR.POSITION_AFTER_START);if(!CKEDITOR.env.ie){var s=null;if(!CKEDITOR.env.gecko){s=k.createElement('span');s.setHtml('&nbsp;');}else s=k.createElement('br');s.insertBefore(r.getNext());s.scrollIntoView();s.remove();}}j.collapse(true);j.select(q);};function g(h){var i=h.getSelection().getRanges();for(var j=i.length-1;j>0;j--)i[j].deleteContents();return i[0];};})();
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a='nbsp,gt,lt,quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro',b='Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,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,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml',c='Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv';function d(e){var f={},g=[],h={nbsp:'\xa0',shy:'­',gt:'>',lt:'<'};e=e.replace(/\b(nbsp|shy|gt|lt|amp)(?:,|$)/g,function(m,n){f[h[n]]='&'+n+';';g.push(h[n]);return '';});e=e.split(',');var i=document.createElement('div'),j;i.innerHTML='&'+e.join(';&')+';';j=i.innerHTML;i=null;for(var k=0;k<j.length;k++){var l=j.charAt(k);f[l]='&'+e[k]+';';g.push(l);}f.regex=g.join('');return f;};CKEDITOR.plugins.add('entities',{afterInit:function(e){var f=e.config;if(!f.entities)return;var g=e.dataProcessor,h=g&&g.htmlFilter;if(h){var i=a;if(f.entities_latin)i+=','+b;if(f.entities_greek)i+=','+c;if(f.entities_additional)i+=','+f.entities_additional;var j=d(i),k='['+j.regex+']';delete j.regex;if(f.entities_processNumerical)k='[^ -~]|'+k;k=new RegExp(k,'g');function l(m){return j[m]||'&#'+m.charCodeAt(0)+';';};h.addRules({text:function(m){return m.replace(k,l);}});}}});})();CKEDITOR.config.entities=true;CKEDITOR.config.entities_latin=true;CKEDITOR.config.entities_greek=true;CKEDITOR.config.entities_processNumerical=false;CKEDITOR.config.entities_additional='#39';
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a={elements:{$:function(b){var c=b.attributes._cke_realelement,d=c&&new CKEDITOR.htmlParser.fragment.fromHtml(decodeURIComponent(c)),e=d&&d.children[0];if(e){var f=b.attributes.style;if(f){var g=/(?:^|\s)width\s*:\s*(\d+)/.exec(f),h=g&&g[1];g=/(?:^|\s)height\s*:\s*(\d+)/.exec(f);var i=g&&g[1];if(h)e.attributes.width=h;if(i)e.attributes.height=i;}}return e;}}};CKEDITOR.plugins.add('fakeobjects',{requires:['htmlwriter'],afterInit:function(b){var c=b.dataProcessor,d=c&&c.htmlFilter;if(d)d.addRules(a);}});})();CKEDITOR.editor.prototype.createFakeElement=function(a,b,c,d){var e=this.lang.fakeobjects,f={'class':b,src:CKEDITOR.getUrl('images/spacer.gif'),_cke_realelement:encodeURIComponent(a.getOuterHtml()),alt:e[c]||e.unknown};if(c)f._cke_real_element_type=c;if(d)f._cke_resizable=d;return this.document.createElement('img',{attributes:f});};CKEDITOR.editor.prototype.createFakeParserElement=function(a,b,c,d){var e=new CKEDITOR.htmlParser.basicWriter();a.writeHtml(e);var f=e.getHtml(),g=this.lang.fakeobjects,h={'class':b,src:CKEDITOR.getUrl('images/spacer.gif'),_cke_realelement:encodeURIComponent(f),alt:g[c]||g.unknown};if(c)h._cke_real_element_type=c;if(d)h._cke_resizable=d;return new CKEDITOR.htmlParser.element('img',h);};CKEDITOR.editor.prototype.restoreRealElement=function(a){var b=decodeURIComponent(a.getAttribute('_cke_realelement'));return CKEDITOR.dom.element.createFromHtml(b,this.document);};
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){function a(j,k){var l=[];if(!k)return j;else for(var m in k)l.push(m+'='+encodeURIComponent(k[m]));return j+(j.indexOf('?')!=-1?'&':'?')+l.join('&');};function b(j){j+='';var k=j.charAt(0).toUpperCase();return k+j.substr(1);};function c(j){var q=this;var k=q.getDialog(),l=k.getParentEditor();l._.filebrowserSe=q;var m=l.config['filebrowser'+b(k.getName())+'WindowWidth']||l.config.filebrowserWindowWidth||'80%',n=l.config['filebrowser'+b(k.getName())+'WindowHeight']||l.config.filebrowserWindowHeight||'70%',o=q.filebrowser.params||{};o.CKEditor=l.name;o.CKEditorFuncNum=l._.filebrowserFn;if(!o.langCode)o.langCode=l.langCode;var p=a(q.filebrowser.url,o);l.popup(p,m,n);};function d(j){var m=this;var k=m.getDialog(),l=k.getParentEditor();l._.filebrowserSe=m;if(!k.getContentElement(m['for'][0],m['for'][1]).getInputElement().$.value)return false;if(!k.getContentElement(m['for'][0],m['for'][1]).getAction())return false;return true;};function e(j,k,l){var m=l.params||{};m.CKEditor=j.name;m.CKEditorFuncNum=j._.filebrowserFn;if(!m.langCode)m.langCode=j.langCode;k.action=a(l.url,m);k.filebrowser=l;};function f(j,k,l,m){var n,o;for(var p in m){n=m[p];if(n.type=='hbox'||n.type=='vbox')f(j,k,l,n.children);if(!n.filebrowser)continue;if(typeof n.filebrowser=='string'){var q={action:n.type=='fileButton'?'QuickUpload':'Browse',target:n.filebrowser};n.filebrowser=q;}if(n.filebrowser.action=='Browse'){var r=n.filebrowser.url||j.config['filebrowser'+b(k)+'BrowseUrl']||j.config.filebrowserBrowseUrl;if(r){n.onClick=c;n.filebrowser.url=r;n.hidden=false;}}else if(n.filebrowser.action=='QuickUpload'&&n['for']){r=n.filebrowser.url||j.config['filebrowser'+b(k)+'UploadUrl']||j.config.filebrowserUploadUrl;if(r){n.onClick=d;n.filebrowser.url=r;n.hidden=false;e(j,l.getContents(n['for'][0]).get(n['for'][1]),n.filebrowser);}}}};function g(j,k){var l=k.getDialog(),m=k.filebrowser.target||null;j=j.replace(/#/g,'%23');if(m){var n=m.split(':'),o=l.getContentElement(n[0],n[1]);if(o){o.setValue(j);l.selectPage(n[0]);}}};function h(j,k,l){if(l.indexOf(';')!==-1){var m=l.split(';');for(var n=0;n<m.length;n++)if(h(j,k,m[n]))return true;return false;}return j.getContents(k).get(l).filebrowser&&j.getContents(k).get(l).filebrowser.url;};function i(j,k){var o=this;var l=o._.filebrowserSe.getDialog(),m=o._.filebrowserSe['for'],n=o._.filebrowserSe.filebrowser.onSelect;if(m)l.getContentElement(m[0],m[1]).reset();if(n&&n.call(o._.filebrowserSe,j,k)===false)return;if(typeof k=='string'&&k)alert(k);if(j)g(j,o._.filebrowserSe);
7
- };CKEDITOR.plugins.add('filebrowser',{init:function(j,k){j._.filebrowserFn=CKEDITOR.tools.addFunction(i,j);CKEDITOR.on('dialogDefinition',function(l){for(var m in l.data.definition.contents){f(l.editor,l.data.name,l.data.definition,l.data.definition.contents[m].elements);if(l.data.definition.contents[m].hidden&&l.data.definition.contents[m].filebrowser)l.data.definition.contents[m].hidden=!h(l.data.definition,l.data.definition.contents[m].id,l.data.definition.contents[m].filebrowser);}});}});})();
@@ -1,9 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){var i=CKEDITOR.dtd;return h.isBlockBoundary(CKEDITOR.tools.extend({},i.$empty,i.$nonEditable));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h.textNode.getText().charAt(h.offset):null,hitMatchBoundary:h._.matchBoundary};},d=['find','replace'],e=[['txtFindFind','txtFindReplace'],['txtFindCaseChk','txtReplaceCaseChk'],['txtFindWordChk','txtReplaceWordChk'],['txtFindCyclic','txtReplaceCyclic']];function f(h){var i,j,k,l;i=h==='find'?1:0;j=1-i;var m,n=e.length;for(m=0;m<n;m++){k=this.getContentElement(d[i],e[m][i]);l=this.getContentElement(d[j],e[m][j]);l.setValue(k.getValue());}};var g=function(h,i){var j=new CKEDITOR.style(h.config.find_highlight),k=function(w,x){var y=new CKEDITOR.dom.walker(w);y[x?'guard':'evaluator']=a;y.breakOnFalse=true;this._={matchWord:x,walker:y,matchBoundary:false};};k.prototype={next:function(){return this.move();},back:function(){return this.move(true);},move:function(w){var y=this;var x=y.textNode;if(x===null)return c.call(y);y._.matchBoundary=false;if(x&&w&&y.offset>0){y.offset--;return c.call(y);}else if(x&&y.offset<x.getLength()-1){y.offset++;return c.call(y);}else{x=null;while(!x){x=y._.walker[w?'previous':'next'].call(y._.walker);if(y._.matchWord&&!x||y._.walker._.end)break;if(!x&&b(y._.walker.current))y._.matchBoundary=true;}y.textNode=x;if(x)y.offset=w?x.getLength()-1:0;else y.offset=0;}return c.call(y);}};var l=function(w,x){this._={walker:w,cursors:[],rangeLength:x,highlightRange:null,isMatched:false};};l.prototype={toDomRange:function(){var w=this._.cursors;if(w.length<1)return null;var x=w[0],y=w[w.length-1],z=new CKEDITOR.dom.range(h.document);z.setStart(x.textNode,x.offset);z.setEnd(y.textNode,y.offset+1);return z;},updateFromDomRange:function(w){var z=this;var x,y=new k(w);z._.cursors=[];do{x=y.next();if(x.character)z._.cursors.push(x);}while(x.character)z._.rangeLength=z._.cursors.length;},setMatched:function(){this._.isMatched=true;},clearMatched:function(){this._.isMatched=false;},isMatched:function(){return this._.isMatched;},highlight:function(){var y=this;if(y._.cursors.length<1)return;if(y._.highlightRange)y.removeHighlight();var w=y.toDomRange();j.applyToRange(w);y._.highlightRange=w;var x=w.startContainer;if(x.type!=CKEDITOR.NODE_ELEMENT)x=x.getParent();x.scrollIntoView();y.updateFromDomRange(w);},removeHighlight:function(){var w=this;if(!w._.highlightRange)return;j.removeFromRange(w._.highlightRange);
7
- w.updateFromDomRange(w._.highlightRange);w._.highlightRange=null;},moveBack:function(){var y=this;var w=y._.walker.back(),x=y._.cursors;if(w.hitMatchBoundary)y._.cursors=x=[];x.unshift(w);if(x.length>y._.rangeLength)x.pop();return w;},moveNext:function(){var y=this;var w=y._.walker.next(),x=y._.cursors;if(w.hitMatchBoundary)y._.cursors=x=[];x.push(w);if(x.length>y._.rangeLength)x.shift();return w;},getEndCharacter:function(){var w=this._.cursors;if(w.length<1)return null;return w[w.length-1].character;},getNextCharacterRange:function(w){var x,y=this._.cursors;if(!(x=y[y.length-1]))return null;return new l(new k(m(x)),w);},getCursors:function(){return this._.cursors;}};function m(w,x){var y=new CKEDITOR.dom.range();y.setStart(w.textNode,x?w.offset:w.offset+1);y.setEndAt(h.document.getBody(),CKEDITOR.POSITION_BEFORE_END);return y;};function n(w){var x=new CKEDITOR.dom.range();x.setStartAt(h.document.getBody(),CKEDITOR.POSITION_AFTER_START);x.setEnd(w.textNode,w.offset);return x;};var o=0,p=1,q=2,r=function(w,x){var y=[-1];if(x)w=w.toLowerCase();for(var z=0;z<w.length;z++){y.push(y[z]+1);while(y[z+1]>0&&w.charAt(z)!=w.charAt(y[z+1]-1))y[z+1]=y[y[z+1]-1]+1;}this._={overlap:y,state:0,ignoreCase:!!x,pattern:w};};r.prototype={feedCharacter:function(w){var x=this;if(x._.ignoreCase)w=w.toLowerCase();for(;;)if(w==x._.pattern.charAt(x._.state)){x._.state++;if(x._.state==x._.pattern.length){x._.state=0;return q;}return p;}else if(!x._.state)return o;else x._.state=x._.overlap[x._.state];return null;},reset:function(){this._.state=0;}};var s=/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/,t=function(w){if(!w)return true;var x=w.charCodeAt(0);return x>=9&&x<=13||x>=8192&&x<=8202||s.test(w);},u={searchRange:null,matchRange:null,find:function(w,x,y,z,A){var J=this;if(!J.matchRange)J.matchRange=new l(new k(J.searchRange),w.length);else{J.matchRange.removeHighlight();J.matchRange=J.matchRange.getNextCharacterRange(w.length);}var B=new r(w,!x),C=o,D='%';while(D!==null){J.matchRange.moveNext();while(D=J.matchRange.getEndCharacter()){C=B.feedCharacter(D);if(C==q)break;if(J.matchRange.moveNext().hitMatchBoundary)B.reset();}if(C==q){if(y){var E=J.matchRange.getCursors(),F=E[E.length-1],G=E[0],H=new k(n(G),true),I=new k(m(F),true);if(!(t(H.back().character)&&t(I.next().character)))continue;}J.matchRange.setMatched();if(A!==false)J.matchRange.highlight();return true;}}J.matchRange.clearMatched();J.matchRange.removeHighlight();if(z){J.searchRange=v(true);J.matchRange=null;
8
- }return false;},replaceCounter:0,replace:function(w,x,y,z,A,B,C){var H=this;var D=false;if(H.matchRange&&H.matchRange.isMatched()&&!H.matchRange._.isReplaced){H.matchRange.removeHighlight();var E=H.matchRange.toDomRange(),F=h.document.createText(y);if(!C){var G=h.getSelection();G.selectRanges([E]);h.fire('saveSnapshot');}E.deleteContents();E.insertNode(F);if(!C){G.selectRanges([E]);h.fire('saveSnapshot');}H.matchRange.updateFromDomRange(E);if(!C)H.matchRange.highlight();H.matchRange._.isReplaced=true;H.replaceCounter++;D=true;}else D=H.find(x,z,A,B,!C);return D;}};function v(w){var x,y=h.getSelection(),z=h.document.getBody();if(y&&!w){x=y.getRanges()[0].clone();x.collapse(true);}else{x=new CKEDITOR.dom.range();x.setStartAt(z,CKEDITOR.POSITION_AFTER_START);}x.setEndAt(z,CKEDITOR.POSITION_BEFORE_END);return x;};return{title:h.lang.findAndReplace.title,resizable:CKEDITOR.DIALOG_RESIZE_NONE,minWidth:350,minHeight:165,buttons:[CKEDITOR.dialog.cancelButton],contents:[{id:'find',label:h.lang.findAndReplace.find,title:h.lang.findAndReplace.find,accessKey:'',elements:[{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtFindFind',label:h.lang.findAndReplace.findWhat,isChanged:false,labelLayout:'horizontal',accessKey:'F'},{type:'button',align:'left',style:'width:100%',label:h.lang.findAndReplace.find,onClick:function(){var w=this.getDialog();if(!u.find(w.getValueOf('find','txtFindFind'),w.getValueOf('find','txtFindCaseChk'),w.getValueOf('find','txtFindWordChk'),w.getValueOf('find','txtFindCyclic')))alert(h.lang.findAndReplace.notFoundMsg);}}]},{type:'vbox',padding:0,children:[{type:'checkbox',id:'txtFindCaseChk',isChanged:false,style:'margin-top:28px',label:h.lang.findAndReplace.matchCase},{type:'checkbox',id:'txtFindWordChk',isChanged:false,label:h.lang.findAndReplace.matchWord},{type:'checkbox',id:'txtFindCyclic',isChanged:false,'default':true,label:h.lang.findAndReplace.matchCyclic}]}]},{id:'replace',label:h.lang.findAndReplace.replace,accessKey:'M',elements:[{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtFindReplace',label:h.lang.findAndReplace.findWhat,isChanged:false,labelLayout:'horizontal',accessKey:'F'},{type:'button',align:'left',style:'width:100%',label:h.lang.findAndReplace.replace,onClick:function(){var w=this.getDialog();if(!u.replace(w,w.getValueOf('replace','txtFindReplace'),w.getValueOf('replace','txtReplace'),w.getValueOf('replace','txtReplaceCaseChk'),w.getValueOf('replace','txtReplaceWordChk'),w.getValueOf('replace','txtReplaceCyclic')))alert(h.lang.findAndReplace.notFoundMsg);
9
- }}]},{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtReplace',label:h.lang.findAndReplace.replaceWith,isChanged:false,labelLayout:'horizontal',accessKey:'R'},{type:'button',align:'left',style:'width:100%',label:h.lang.findAndReplace.replaceAll,isChanged:false,onClick:function(){var w=this.getDialog(),x;u.replaceCounter=0;u.searchRange=v(true);if(u.matchRange){u.matchRange.removeHighlight();u.matchRange=null;}h.fire('saveSnapshot');while(u.replace(w,w.getValueOf('replace','txtFindReplace'),w.getValueOf('replace','txtReplace'),w.getValueOf('replace','txtReplaceCaseChk'),w.getValueOf('replace','txtReplaceWordChk'),false,true)){}if(u.replaceCounter){alert(h.lang.findAndReplace.replaceSuccessMsg.replace(/%1/,u.replaceCounter));h.fire('saveSnapshot');}else alert(h.lang.findAndReplace.notFoundMsg);}}]},{type:'vbox',padding:0,children:[{type:'checkbox',id:'txtReplaceCaseChk',isChanged:false,label:h.lang.findAndReplace.matchCase},{type:'checkbox',id:'txtReplaceWordChk',isChanged:false,label:h.lang.findAndReplace.matchWord},{type:'checkbox',id:'txtReplaceCyclic',isChanged:false,'default':true,label:h.lang.findAndReplace.matchCyclic}]}]}],onLoad:function(){var w=this,x,y,z=false;this.on('hide',function(){z=false;});this.on('show',function(){z=true;});this.selectPage=CKEDITOR.tools.override(this.selectPage,function(A){return function(B){A.call(w,B);var C=w._.tabs[B],D,E,F;E=B==='find'?'txtFindFind':'txtFindReplace';F=B==='find'?'txtFindWordChk':'txtReplaceWordChk';x=w.getContentElement(B,E);y=w.getContentElement(B,F);if(!C.initialized){D=CKEDITOR.document.getById(x._.inputId);C.initialized=true;}if(z)f.call(this,B);};});},onShow:function(){u.searchRange=v();if(i=='replace')this.getContentElement('replace','txtFindReplace').focus();else this.getContentElement('find','txtFindFind').focus();},onHide:function(){if(u.matchRange&&u.matchRange.isMatched()){u.matchRange.removeHighlight();h.focus();h.getSelection().selectRanges([u.matchRange.toDomRange()]);}delete u.matchRange;}};};CKEDITOR.dialog.add('find',function(h){return g(h,'find');});CKEDITOR.dialog.add('replace',function(h){return g(h,'replace');});})();
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('find',{init:function(a){var b=CKEDITOR.plugins.find;a.ui.addButton('Find',{label:a.lang.findAndReplace.find,command:'find'});var c=a.addCommand('find',new CKEDITOR.dialogCommand('find'));c.canUndo=false;a.ui.addButton('Replace',{label:a.lang.findAndReplace.replace,command:'replace'});var d=a.addCommand('replace',new CKEDITOR.dialogCommand('replace'));d.canUndo=false;CKEDITOR.dialog.add('find',this.path+'dialogs/find.js');CKEDITOR.dialog.add('replace',this.path+'dialogs/find.js');},requires:['styles']});CKEDITOR.config.find_highlight={element:'span',styles:{'background-color':'#004',color:'#fff'}};
@@ -1,9 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a=1,b=2,c=4,d={id:[{type:a,name:CKEDITOR.env.ie?'_cke_saved_id':'id'}],classid:[{type:a,name:'classid'}],codebase:[{type:a,name:'codebase'}],pluginspage:[{type:c,name:'pluginspage'}],src:[{type:b,name:'movie'},{type:c,name:'src'}],name:[{type:c,name:'name'}],align:[{type:a,name:'align'}],title:[{type:a,name:'title'},{type:c,name:'title'}],'class':[{type:a,name:'class'},{type:c,name:'class'}],width:[{type:a,name:'width'},{type:c,name:'width'}],height:[{type:a,name:'height'},{type:c,name:'height'}],hSpace:[{type:a,name:'hSpace'},{type:c,name:'hSpace'}],vSpace:[{type:a,name:'vSpace'},{type:c,name:'vSpace'}],style:[{type:a,name:'style'},{type:c,name:'style'}],type:[{type:c,name:'type'}]},e=['play','loop','menu','quality','scale','salign','wmode','bgcolor','base','flashvars','allowScriptAccess','allowFullScreen'];for(var f=0;f<e.length;f++)d[e[f]]=[{type:c,name:e[f]},{type:b,name:e[f]}];e=['allowFullScreen','play','loop','menu'];for(f=0;f<e.length;f++)d[e[f]][0]['default']=d[e[f]][1]['default']=true;function g(i,j,k){var q=this;var l=d[q.id];if(!l)return;var m=q instanceof CKEDITOR.ui.dialog.checkbox;for(var n=0;n<l.length;n++){var o=l[n];switch(o.type){case a:if(!i)continue;if(i.getAttribute(o.name)!==null){var p=i.getAttribute(o.name);if(m)q.setValue(p.toLowerCase()=='true');else q.setValue(p);return;}else if(m)q.setValue(!!o['default']);break;case b:if(!i)continue;if(o.name in k){p=k[o.name];if(m)q.setValue(p.toLowerCase()=='true');else q.setValue(p);return;}else if(m)q.setValue(!!o['default']);break;case c:if(!j)continue;if(j.getAttribute(o.name)){p=j.getAttribute(o.name);if(m)q.setValue(p.toLowerCase()=='true');else q.setValue(p);return;}else if(m)q.setValue(!!o['default']);}}};function h(i,j,k){var s=this;var l=d[s.id];if(!l)return;var m=s.getValue()==='',n=s instanceof CKEDITOR.ui.dialog.checkbox;for(var o=0;o<l.length;o++){var p=l[o];switch(p.type){case a:if(!i)continue;var q=s.getValue();if(m||n&&q===p['default'])i.removeAttribute(p.name);else i.setAttribute(p.name,q);break;case b:if(!i)continue;q=s.getValue();if(m||n&&q===p['default']){if(p.name in k)k[p.name].remove();}else if(p.name in k)k[p.name].setAttribute('value',q);else{var r=CKEDITOR.dom.element.createFromHtml('<cke:param></cke:param>',i.getDocument());r.setAttributes({name:p.name,value:q});if(i.getChildCount()<1)r.appendTo(i);else r.insertBefore(i.getFirst());}break;case c:if(!j)continue;q=s.getValue();if(m||n&&q===p['default'])j.removeAttribute(p.name);else j.setAttribute(p.name,q);
7
- }}};CKEDITOR.dialog.add('flash',function(i){var j=!i.config.flashEmbedTagOnly,k=i.config.flashAddEmbedTag||i.config.flashEmbedTagOnly,l='<div>'+CKEDITOR.tools.htmlEncode(i.lang.image.preview)+'<br>'+'<div id="FlashPreviewLoader" style="display:none"><div class="loading">&nbsp;</div></div>'+'<div id="FlashPreviewBox"></div></div>';return{title:i.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){var y=this;y.fakeImage=y.objectNode=y.embedNode=null;var m=y.getSelectedElement();if(m&&m.getAttribute('_cke_real_element_type')&&m.getAttribute('_cke_real_element_type')=='flash'){y.fakeImage=m;var n=i.restoreRealElement(m),o=null,p=null,q={};if(n.getName()=='cke:object'){o=n;var r=o.getElementsByTag('embed','cke');if(r.count()>0)p=r.getItem(0);var s=o.getElementsByTag('param','cke');for(var t=0,u=s.count();t<u;t++){var v=s.getItem(t),w=v.getAttribute('name'),x=v.getAttribute('value');q[w]=x;}}else if(n.getName()=='cke:embed')p=n;y.objectNode=o;y.embedNode=p;y.setupContent(o,p,q,m);}},onOk:function(){var v=this;var m=null,n=null,o=null;if(!v.fakeImage){if(j){m=CKEDITOR.dom.element.createFromHtml('<cke:object></cke:object>',i.document);var p={classid:'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',codebase:'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'};m.setAttributes(p);}if(k){n=CKEDITOR.dom.element.createFromHtml('<cke:embed></cke:embed>',i.document);n.setAttributes({type:'application/x-shockwave-flash',pluginspage:'http://www.macromedia.com/go/getflashplayer'});if(m)n.appendTo(m);}}else{m=v.objectNode;n=v.embedNode;}if(m){o={};var q=m.getElementsByTag('param','cke');for(var r=0,s=q.count();r<s;r++)o[q.getItem(r).getAttribute('name')]=q.getItem(r);}var t={};v.commitContent(m,n,o,t);var u=i.createFakeElement(m||n,'cke_flash','flash',true);u.setStyles(t);if(v.fakeImage)u.replace(v.fakeImage);else i.insertElement(u);},onHide:function(){if(this.preview)this.preview.setHtml('');},contents:[{id:'info',label:i.lang.common.generalTab,accessKey:'I',elements:[{type:'vbox',padding:0,children:[{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(i.lang.image.url)+'</span>'},{type:'hbox',widths:['280px','110px'],align:'right',children:[{id:'src',type:'text',label:'',validate:CKEDITOR.dialog.validate.notEmpty(i.lang.flash.validateSrc),setup:g,commit:h,onLoad:function(){var m=this.getDialog(),n=function(o){m.preview.setHtml('<embed height="100%" width="100%" src="'+CKEDITOR.tools.htmlEncode(o)+'" type="application/x-shockwave-flash"></embed>');
8
- };m.preview=m.getContentElement('info','preview').getElement().getChild(3);this.on('change',function(o){if(o.data&&o.data.value)n(o.data.value);});this.getInputElement().on('change',function(o){n(this.getValue());},this);}},{type:'button',id:'browse',filebrowser:'info:src',hidden:true,align:'center',label:i.lang.common.browseServer}]}]},{type:'hbox',widths:['25%','25%','25%','25%','25%'],children:[{type:'text',id:'width',style:'width:95px',label:i.lang.flash.width,validate:CKEDITOR.dialog.validate.integer(i.lang.flash.validateWidth),setup:function(m,n,o,p){g.apply(this,arguments);if(p){var q=parseInt(p.$.style.width,10);if(!isNaN(q))this.setValue(q);}},commit:function(m,n,o,p){h.apply(this,arguments);if(this.getValue())p.width=this.getValue()+'px';}},{type:'text',id:'height',style:'width:95px',label:i.lang.flash.height,validate:CKEDITOR.dialog.validate.integer(i.lang.flash.validateHeight),setup:function(m,n,o,p){g.apply(this,arguments);if(p){var q=parseInt(p.$.style.height,10);if(!isNaN(q))this.setValue(q);}},commit:function(m,n,o,p){h.apply(this,arguments);if(this.getValue())p.height=this.getValue()+'px';}},{type:'text',id:'hSpace',style:'width:95px',label:i.lang.flash.hSpace,validate:CKEDITOR.dialog.validate.integer(i.lang.flash.validateHSpace),setup:g,commit:h},{type:'text',id:'vSpace',style:'width:95px',label:i.lang.flash.vSpace,validate:CKEDITOR.dialog.validate.integer(i.lang.flash.validateVSpace),setup:g,commit:h}]},{type:'vbox',children:[{type:'html',id:'preview',style:'width:95%;',html:l}]}]},{id:'Upload',hidden:true,filebrowser:'uploadButton',label:i.lang.common.upload,elements:[{type:'file',id:'upload',label:i.lang.common.upload,size:38},{type:'fileButton',id:'uploadButton',label:i.lang.common.uploadSubmit,filebrowser:'info:src','for':['Upload','upload']}]},{id:'properties',label:i.lang.flash.propertiesTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'scale',type:'select',label:i.lang.flash.scale,'default':'',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.scaleAll,'showall'],[i.lang.flash.scaleNoBorder,'noborder'],[i.lang.flash.scaleFit,'exactfit']],setup:g,commit:h},{id:'allowScriptAccess',type:'select',label:i.lang.flash.access,'default':'',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.accessAlways,'always'],[i.lang.flash.accessSameDomain,'samedomain'],[i.lang.flash.accessNever,'never']],setup:g,commit:h}]},{type:'hbox',widths:['50%','50%'],children:[{id:'wmode',type:'select',label:i.lang.flash.windowMode,'default':'',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.windowModeWindow,'window'],[i.lang.flash.windowModeOpaque,'opaque'],[i.lang.flash.windowModeTransparent,'transparent']],setup:g,commit:h},{id:'quality',type:'select',label:i.lang.flash.quality,'default':'high',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.qualityBest,'best'],[i.lang.flash.qualityHigh,'high'],[i.lang.flash.qualityAutoHigh,'autohigh'],[i.lang.flash.qualityMedium,'medium'],[i.lang.flash.qualityAutoLow,'autolow'],[i.lang.flash.qualityLow,'low']],setup:g,commit:h}]},{type:'hbox',widths:['50%','50%'],children:[{id:'align',type:'select',label:i.lang.flash.align,'default':'',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.image.alignLeft,'left'],[i.lang.image.alignAbsBottom,'absBottom'],[i.lang.image.alignAbsMiddle,'absMiddle'],[i.lang.image.alignBaseline,'baseline'],[i.lang.image.alignBottom,'bottom'],[i.lang.image.alignMiddle,'middle'],[i.lang.image.alignRight,'right'],[i.lang.image.alignTextTop,'textTop'],[i.lang.image.alignTop,'top']],setup:g,commit:h},{type:'html',html:'<div></div>'}]},{type:'vbox',padding:0,children:[{type:'html',html:CKEDITOR.tools.htmlEncode(i.lang.flash.flashvars)},{type:'checkbox',id:'menu',label:i.lang.flash.chkMenu,'default':true,setup:g,commit:h},{type:'checkbox',id:'play',label:i.lang.flash.chkPlay,'default':true,setup:g,commit:h},{type:'checkbox',id:'loop',label:i.lang.flash.chkLoop,'default':true,setup:g,commit:h},{type:'checkbox',id:'allowFullScreen',label:i.lang.flash.chkFull,'default':true,setup:g,commit:h}]}]},{id:'advanced',label:i.lang.common.advancedTab,elements:[{type:'hbox',widths:['45%','55%'],children:[{type:'text',id:'id',label:i.lang.common.id,setup:g,commit:h},{type:'text',id:'title',label:i.lang.common.advisoryTitle,setup:g,commit:h}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',id:'bgcolor',label:i.lang.flash.bgcolor,setup:g,commit:h},{type:'text',id:'class',label:i.lang.common.cssClass,setup:g,commit:h}]},{type:'text',id:'style',label:i.lang.common.cssStyle,setup:g,commit:h}]}]};
9
- });})();
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a=/\.swf(?:$|\?)/i,b=/^\d+(?:\.\d+)?$/;function c(f){if(b.test(f))return f+'px';return f;};function d(f){var g=f.attributes;return g.type=='application/x-shockwave-flash'||a.test(g.src||'');};function e(f,g){var h=f.createFakeParserElement(g,'cke_flash','flash',true),i=h.attributes.style||'',j=g.attributes.width,k=g.attributes.height;if(typeof j!='undefined')i=h.attributes.style=i+'width:'+c(j)+';';if(typeof k!='undefined')i=h.attributes.style=i+'height:'+c(k)+';';return h;};CKEDITOR.plugins.add('flash',{init:function(f){f.addCommand('flash',new CKEDITOR.dialogCommand('flash'));f.ui.addButton('Flash',{label:f.lang.common.flash,command:'flash'});CKEDITOR.dialog.add('flash',this.path+'dialogs/flash.js');f.addCss('img.cke_flash{background-image: url('+CKEDITOR.getUrl(this.path+'images/placeholder.png')+');'+'background-position: center center;'+'background-repeat: no-repeat;'+'border: 1px solid #a9a9a9;'+'width: 80px;'+'height: 80px;'+'}');if(f.addMenuItems)f.addMenuItems({flash:{label:f.lang.flash.properties,command:'flash',group:'flash'}});if(f.contextMenu)f.contextMenu.addListener(function(g,h){if(g&&g.is('img')&&g.getAttribute('_cke_real_element_type')=='flash')return{flash:CKEDITOR.TRISTATE_OFF};});},afterInit:function(f){var g=f.dataProcessor,h=g&&g.dataFilter;if(h)h.addRules({elements:{'cke:object':function(i){var j=i.attributes,k=j.classid&&String(j.classid).toLowerCase();if(!k){for(var l=0;l<i.children.length;l++)if(i.children[l].name=='embed'){if(!d(i.children[l]))return null;return e(f,i);}return null;}return e(f,i);},'cke:embed':function(i){if(!d(i))return null;return e(f,i);}}},5);},requires:['fakeobjects']});})();CKEDITOR.tools.extend(CKEDITOR.config,{flashEmbedTagOnly:false,flashAddEmbedTag:true,flashConvertOnEdit:false});
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('floatpanel',{requires:['panel']});(function(){var a={},b=false;function c(d,e,f,g,h){var i=e.getUniqueId()+'-'+f.getUniqueId()+'-'+d.skinName+'-'+d.lang.dir+(d.uiColor&&'-'+d.uiColor||'')+(g.css&&'-'+g.css||'')+(h&&'-'+h||''),j=a[i];if(!j){j=a[i]=new CKEDITOR.ui.panel(e,g);j.element=f.append(CKEDITOR.dom.element.createFromHtml(j.renderHtml(d),e));j.element.setStyles({display:'none',position:'absolute'});}return j;};CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(d,e,f,g){f.forceIFrame=true;var h=e.getDocument(),i=c(d,h,e,f,g||0),j=i.element,k=j.getFirst().getFirst();this.element=j;this._={panel:i,parentElement:e,definition:f,document:h,iframe:k,children:[],dir:d.lang.dir};},proto:{addBlock:function(d,e){return this._.panel.addBlock(d,e);},addListBlock:function(d,e){return this._.panel.addListBlock(d,e);},getBlock:function(d){return this._.panel.getBlock(d);},showBlock:function(d,e,f,g,h){var i=this._.panel,j=i.showBlock(d);this.allowBlur(false);b=true;var k=this.element,l=this._.iframe,m=this._.definition,n=e.getDocumentPosition(k.getDocument()),o=this._.dir=='rtl',p=n.x+(g||0),q=n.y+(h||0);if(o&&(f==1||f==4)||!o&&(f==2||f==3))p+=e.$.offsetWidth-1;if(f==3||f==4)q+=e.$.offsetHeight-1;this._.panel._.offsetParentId=e.getId();k.setStyles({top:q+'px',left:'-3000px',visibility:'hidden',opacity:'0',display:''});if(!this._.blurSet){var r=CKEDITOR.env.ie?l:new CKEDITOR.dom.window(l.$.contentWindow);CKEDITOR.event.useCapture=true;r.on('blur',function(s){var v=this;if(CKEDITOR.env.ie&&!v.allowBlur())return;var t=s.data.getTarget(),u=t.getWindow&&t.getWindow();if(u&&u.equals(r))return;if(v.visible&&!v._.activeChild&&!b)v.hide();},this);r.on('focus',function(){this._.focused=true;this.hideChild();this.allowBlur(true);},this);CKEDITOR.event.useCapture=false;this._.blurSet=1;}i.onEscape=CKEDITOR.tools.bind(function(){this.onEscape&&this.onEscape();},this);CKEDITOR.tools.setTimeout(function(){if(o)p-=k.$.offsetWidth;k.setStyles({left:p+'px',visibility:'',opacity:'1'});if(j.autoSize){function s(){var t=k.getFirst(),u=j.element.$.scrollHeight;if(CKEDITOR.env.ie&&CKEDITOR.env.quirks&&u>0)u+=(t.$.offsetHeight||0)-(t.$.clientHeight||0);t.setStyle('height',u+'px');i._.currentBlock.element.setStyle('display','none').removeStyle('display');};if(i.isLoaded)s();else i.onLoad=s;}else k.getFirst().removeStyle('height');CKEDITOR.tools.setTimeout(function(){if(m.voiceLabel)if(CKEDITOR.env.gecko){var t=l.getParent();t.setAttribute('role','region');t.setAttribute('title',m.voiceLabel);
7
- l.setAttribute('role','region');l.setAttribute('title',' ');}if(CKEDITOR.env.ie&&CKEDITOR.env.quirks)l.focus();else l.$.contentWindow.focus();if(CKEDITOR.env.ie&&!CKEDITOR.env.quirks)this.allowBlur(true);},0,this);},0,this);this.visible=1;if(this.onShow)this.onShow.call(this);b=false;},hide:function(){var d=this;if(d.visible&&(!d.onHide||d.onHide.call(d)!==true)){d.hideChild();d.element.setStyle('display','none');d.visible=0;}},allowBlur:function(d){var e=this._.panel;if(d!=undefined)e.allowBlur=d;return e.allowBlur;},showAsChild:function(d,e,f,g,h,i){if(this._.activeChild==d&&d._.panel._.offsetParentId==f.getId())return;this.hideChild();d.onHide=CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){if(!this._.focused)this.hide();},0,this);},this);this._.activeChild=d;this._.focused=false;d.showBlock(e,f,g,h,i);if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie8&&CKEDITOR.env.ie6Compat)setTimeout(function(){d.element.getChild(0).$.style.cssText+='';},100);},hideChild:function(){var d=this._.activeChild;if(d){delete d.onHide;delete this._.activeChild;d.hide();}}}});})();
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){function a(b,c,d,e,f,g,h){var i=b.config,j=f.split(';'),k=[],l={};for(var m=0;m<j.length;m++){var n={},o=j[m].split('/'),p=j[m]=o[0];n[d]=k[m]=o[1]||p;l[p]=new CKEDITOR.style(h,n);}b.ui.addRichCombo(c,{label:e.label,title:e.panelTitle,voiceLabel:e.voiceLabel,className:'cke_'+(d=='size'?'fontSize':'font'),multiSelect:false,panel:{css:[i.contentsCss,CKEDITOR.getUrl(b.skinPath+'editor.css')],voiceLabel:e.panelVoiceLabel},init:function(){this.startGroup(e.panelTitle);for(var q=0;q<j.length;q++){var r=j[q];this.add(r,'<span style="font-'+d+':'+k[q]+'">'+r+'</span>',r);}},onClick:function(q){b.focus();b.fire('saveSnapshot');var r=l[q];if(this.getValue()==q)r.remove(b.document);else r.apply(b.document);b.fire('saveSnapshot');},onRender:function(){b.on('selectionChange',function(q){var r=this.getValue(),s=q.data.path,t=s.elements;for(var u=0,v;u<t.length;u++){v=t[u];for(var w in l)if(l[w].checkElementRemovable(v,true)){if(w!=r)this.setValue(w);return;}}this.setValue('',g);},this);}});};CKEDITOR.plugins.add('font',{requires:['richcombo','styles'],init:function(b){var c=b.config;a(b,'Font','family',b.lang.font,c.font_names,c.font_defaultLabel,c.font_style);a(b,'FontSize','size',b.lang.fontSize,c.fontSize_sizes,c.fontSize_defaultLabel,c.fontSize_style);}});})();CKEDITOR.config.font_names='Arial/Arial, Helvetica, sans-serif;Comic Sans MS/Comic Sans MS, cursive;Courier New/Courier New, Courier, monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif';CKEDITOR.config.font_defaultLabel='';CKEDITOR.config.font_style={element:'span',styles:{'font-family':'#(family)'},overrides:[{element:'font',attributes:{face:null}}]};CKEDITOR.config.fontSize_sizes='8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px';CKEDITOR.config.fontSize_defaultLabel='';CKEDITOR.config.fontSize_style={element:'span',styles:{'font-size':'#(size)'},overrides:[{element:'font',attributes:{size:null}}]};
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('format',{requires:['richcombo','styles'],init:function(a){var b=a.config,c=a.lang.format,d=b.format_tags.split(';'),e={};for(var f=0;f<d.length;f++){var g=d[f];e[g]=new CKEDITOR.style(b['format_'+g]);}a.ui.addRichCombo('Format',{label:c.label,title:c.panelTitle,voiceLabel:c.voiceLabel,className:'cke_format',multiSelect:false,panel:{css:[b.contentsCss,CKEDITOR.getUrl(a.skinPath+'editor.css')],voiceLabel:c.panelVoiceLabel},init:function(){this.startGroup(c.panelTitle);for(var h in e){var i=c['tag_'+h];this.add(h,'<'+h+'>'+i+'</'+h+'>',i);}},onClick:function(h){a.focus();a.fire('saveSnapshot');e[h].apply(a.document);a.fire('saveSnapshot');},onRender:function(){a.on('selectionChange',function(h){var i=this.getValue(),j=h.data.path;for(var k in e)if(e[k].checkActive(j)){if(k!=i)this.setValue(k,a.lang.format['tag_'+k]);return;}this.setValue('');},this);}});}});CKEDITOR.config.format_tags='p;h1;h2;h3;h4;h5;h6;pre;address;div';CKEDITOR.config.format_p={element:'p'};CKEDITOR.config.format_div={element:'div'};CKEDITOR.config.format_pre={element:'pre'};CKEDITOR.config.format_address={element:'address'};CKEDITOR.config.format_h1={element:'h1'};CKEDITOR.config.format_h2={element:'h2'};CKEDITOR.config.format_h3={element:'h3'};CKEDITOR.config.format_h4={element:'h4'};CKEDITOR.config.format_h5={element:'h5'};CKEDITOR.config.format_h6={element:'h6'};
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('button',function(a){return{title:a.lang.button.title,minWidth:350,minHeight:150,onShow:function(){var d=this;delete d.button;var b=d.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='input'){var c=b.getAttribute('type');if(c=='button'||c=='reset'||c=='submit'){d.button=b;d.setupContent(b);}}},onOk:function(){var b,c=this.button,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');}if(d)b.insertElement(c);this.commitContent({element:c});},contents:[{id:'info',label:a.lang.button.title,title:a.lang.button.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.common.name,'default':'',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('_cke_saved_name',this.getValue());else{c.removeAttribute('_cke_saved_name');c.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.button.text,accessKey:'V','default':'',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('value',this.getValue());else c.removeAttribute('value');}},{id:'type',type:'select',label:a.lang.button.type,'default':'button',accessKey:'T',items:[[a.lang.button.typeBtn,'button'],[a.lang.button.typeSbm,'submit'],[a.lang.button.typeRst,'reset']],setup:function(b){this.setValue(b.getAttribute('type')||'');},commit:function(b){var c=b.element;if(CKEDITOR.env.ie){var d=c.getAttribute('type'),e=this.getValue();if(e!=d){var f=CKEDITOR.dom.element.createFromHtml('<input type="'+e+'"></input>',a.document);c.copyAttributes(f,{type:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}else c.setAttribute('type',this.getValue());}}]}]};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('checkbox',function(a){return{title:a.lang.checkboxAndRadio.checkboxTitle,minWidth:350,minHeight:140,onShow:function(){var c=this;delete c.checkbox;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getAttribute('type')=='checkbox'){c.checkbox=b;c.setupContent(b);}},onOk:function(){var b,c=this.checkbox,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','checkbox');}if(d)b.insertElement(c);this.commitContent({element:c});},contents:[{id:'info',label:a.lang.checkboxAndRadio.checkboxTitle,title:a.lang.checkboxAndRadio.checkboxTitle,startupFocus:'txtName',elements:[{id:'txtName',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('_cke_saved_name',this.getValue());else{c.removeAttribute('_cke_saved_name');c.removeAttribute('name');}}},{id:'txtValue',type:'text',label:a.lang.checkboxAndRadio.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('value',this.getValue());else c.removeAttribute('value');}},{id:'cmbSelected',type:'checkbox',label:a.lang.checkboxAndRadio.selected,'default':'',accessKey:'S',value:'checked',setup:function(b){this.setValue(b.getAttribute('checked'));},commit:function(b){var c=b.element;if(CKEDITOR.env.ie){var d=!!c.getAttribute('checked'),e=!!this.getValue();if(d!=e){var f=CKEDITOR.dom.element.createFromHtml('<input type="checkbox"'+(e?' checked="checked"':'')+'></input>',a.document);c.copyAttributes(f,{type:1,checked:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}else if(this.getValue())c.setAttribute('checked',this.getValue());else c.removeAttribute('checked');}}]}]};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('form',function(a){var b={action:1,id:1,method:1,enctype:1,target:1};return{title:a.lang.form.title,minWidth:350,minHeight:200,onShow:function(){var e=this;delete e.form;var c=e.getParentEditor().getSelection().getStartElement(),d=c&&c.getAscendant('form',true);if(d){e.form=d;e.setupContent(d);}},onOk:function(){var c,d=this.form,e=!d;if(e){c=this.getParentEditor();d=c.document.createElement('form');d.append(c.document.createElement('br'));}if(e)c.insertElement(d);this.commitContent(d);},onLoad:function(){function c(e){this.setValue(e.getAttribute(this.id)||'');};function d(e){var f=this;if(f.getValue())e.setAttribute(f.id,f.getValue());else e.removeAttribute(f.id);};this.foreach(function(e){if(b[e.id]){e.setup=c;e.commit=d;}});},contents:[{id:'info',label:a.lang.form.title,title:a.lang.form.title,elements:[{id:'txtName',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(c){this.setValue(c.getAttribute('_cke_saved_name')||c.getAttribute('name')||'');},commit:function(c){if(this.getValue())c.setAttribute('_cke_saved_name',this.getValue());else{c.removeAttribute('_cke_saved_name');c.removeAttribute('name');}}},{id:'action',type:'text',label:a.lang.form.action,'default':'',accessKey:'A'},{type:'hbox',widths:['45%','55%'],children:[{id:'id',type:'text',label:a.lang.common.id,'default':'',accessKey:'I'},{id:'enctype',type:'select',label:a.lang.form.encoding,style:'width:100%',accessKey:'E','default':'',items:[[''],['text/plain'],['multipart/form-data'],['application/x-www-form-urlencoded']]}]},{type:'hbox',widths:['45%','55%'],children:[{id:'target',type:'select',label:a.lang.form.target,style:'width:100%',accessKey:'M','default':'',items:[[a.lang.form.targetNotSet,''],[a.lang.form.targetNew,'_blank'],[a.lang.form.targetTop,'_top'],[a.lang.form.targetSelf,'_self'],[a.lang.form.targetParent,'_parent']]},{id:'method',type:'select',label:a.lang.form.method,accessKey:'M','default':'GET',items:[['GET','get'],['POST','post']]}]}]}]};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('hiddenfield',function(a){return{title:a.lang.hidden.title,minWidth:350,minHeight:110,onShow:function(){var c=this;delete c.hiddenField;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='input'&&b.getAttribute('type')=='checkbox'){c.hiddenField=b;c.setupContent(b);}},onOk:function(){var b,c=this.hiddenField,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','hidden');}if(d)b.insertElement(c);this.commitContent(c);},contents:[{id:'info',label:a.lang.hidden.title,title:a.lang.hidden.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.hidden.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.setAttribute('_cke_saved_name',this.getValue());else{b.removeAttribute('_cke_saved_name');b.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.hidden.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){if(this.getValue())b.setAttribute('value',this.getValue());else b.removeAttribute('value');}}]}]};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('radio',function(a){return{title:a.lang.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){var c=this;delete c.radioButton;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='input'&&b.getAttribute('type')=='radio'){c.radioButton=b;c.setupContent(b);}},onOk:function(){var b,c=this.radioButton,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','radio');}if(d)b.insertElement(c);this.commitContent({element:c});},contents:[{id:'info',label:a.lang.checkboxAndRadio.radioTitle,title:a.lang.checkboxAndRadio.radioTitle,elements:[{id:'name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('_cke_saved_name',this.getValue());else{c.removeAttribute('_cke_saved_name');c.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.checkboxAndRadio.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('value',this.getValue());else c.removeAttribute('value');}},{id:'checked',type:'checkbox',label:a.lang.checkboxAndRadio.selected,'default':'',accessKey:'S',value:'checked',setup:function(b){this.setValue(b.getAttribute('checked'));},commit:function(b){var c=b.element;if(!CKEDITOR.env.ie){if(this.getValue())c.setAttribute('checked','checked');else c.removeAttribute('checked');}else{var d=c.getAttribute('checked'),e=!!this.getValue();if(d!=e){var f=CKEDITOR.dom.element.createFromHtml('<input type="radio"'+(e?' checked="checked"':'')+'></input>',a.document);c.copyAttributes(f,{type:1,checked:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}}}]}]};});
@@ -1,9 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('select',function(a){function b(k,l,m,n,o){k=j(k);var p;if(n)p=n.createElement('OPTION');else p=document.createElement('OPTION');if(k&&p&&p.getName()=='option'){if(CKEDITOR.env.ie){if(!isNaN(parseInt(o,10)))k.$.options.add(p.$,o);else k.$.options.add(p.$);p.$.innerHTML=l.length>0?l:'';p.$.value=m;}else{if(o!==null&&o<k.getChildCount())k.getChild(o<0?0:o).insertBeforeMe(p);else k.append(p);p.setText(l.length>0?l:'');p.setValue(m);}}else return false;return p;};function c(k){k=j(k);var l=g(k);for(var m=k.getChildren().count()-1;m>=0;m--)if(k.getChild(m).$.selected)k.getChild(m).remove();h(k,l);};function d(k,l,m,n){k=j(k);if(l<0)return false;var o=k.getChild(l);o.setText(m);o.setValue(n);return o;};function e(k){k=j(k);while(k.getChild(0)&&k.getChild(0).remove()){}};function f(k,l,m){k=j(k);var n=g(k);if(n<0)return false;var o=n+l;o=o<0?0:o;o=o>=k.getChildCount()?k.getChildCount()-1:o;if(n==o)return false;var p=k.getChild(n),q=p.getText(),r=p.getValue();p.remove();p=b(k,q,r,!m?null:m,o);h(k,o);return p;};function g(k){k=j(k);return k?k.$.selectedIndex:-1;};function h(k,l){k=j(k);if(l<0)return null;var m=k.getChildren().count();k.$.selectedIndex=l>=m?m-1:l;return k;};function i(k){k=j(k);return k?k.getChildren():false;};function j(k){if(k&&k.domId&&k.getInputElement().$)return k.getInputElement();else if(k&&k.$)return k;return false;};return{title:a.lang.select.title,minWidth:CKEDITOR.env.ie?460:395,minHeight:CKEDITOR.env.ie?320:300,onShow:function(){var n=this;delete n.selectBox;n.setupContent('clear');var k=n.getParentEditor().getSelection().getSelectedElement();if(k&&k.getName()=='select'){n.selectBox=k;n.setupContent(k.getName(),k);var l=i(k);for(var m=0;m<l.count();m++)n.setupContent('option',l.getItem(m));}},onOk:function(){var k=this.getParentEditor(),l=this.selectBox,m=!l;if(m)l=k.document.createElement('select');this.commitContent(l);if(m)k.insertElement(l);},contents:[{id:'info',label:a.lang.select.selectInfo,title:a.lang.select.selectInfo,accessKey:'',elements:[{id:'txtName',type:'text',widths:['25%','75%'],labelLayout:'horizontal',label:a.lang.common.name,'default':'',accessKey:'N',align:'center',style:'width:350px',setup:function(k,l){if(k=='clear')this.setValue('');else if(k=='select')this.setValue(l.getAttribute('_cke_saved_name')||l.getAttribute('name')||'');},commit:function(k){if(this.getValue())k.setAttribute('_cke_saved_name',this.getValue());else{k.removeAttribute('_cke_saved_name');k.removeAttribute('name');}}},{id:'txtValue',type:'text',widths:['25%','75%'],labelLayout:'horizontal',label:a.lang.select.value,style:'width:350px','default':'',className:'cke_disabled',onLoad:function(){this.getInputElement().setAttribute('readOnly',true);
7
- },setup:function(k,l){if(k=='clear')this.setValue('');else if(k=='option'&&l.getAttribute('selected'))this.setValue(l.$.value);}},{type:'hbox',widths:['175px','170px'],align:'center',children:[{id:'txtSize',type:'text',align:'center',labelLayout:'horizontal',label:a.lang.select.size,'default':'',accessKey:'S',style:'width:175px',validate:function(){var k=CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed);return this.getValue()===''||k.apply(this);},setup:function(k,l){if(k=='select')this.setValue(l.getAttribute('size')||'');},commit:function(k){if(this.getValue())k.setAttribute('size',this.getValue());else k.removeAttribute('size');}},{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(a.lang.select.lines)+'</span>'}]},{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(a.lang.select.opAvail)+'</span>'},{type:'hbox',widths:['115px','115px','100px'],align:'top',children:[{type:'vbox',children:[{id:'txtOptName',type:'text',label:a.lang.select.opText,style:'width:115px',setup:function(k,l){if(k=='clear')this.setValue('');}},{type:'select',id:'cmbName',label:'',title:'',size:5,style:'width:115px;height:75px',items:[],onChange:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbValue'),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=g(this);h(l,o);m.setValue(this.getValue());n.setValue(l.getValue());},setup:function(k,l){if(k=='clear')e(this);else if(k=='option')b(this,l.getText(),l.getText(),this.getDialog().getParentEditor().document);},commit:function(k){var l=this.getDialog(),m=i(this),n=i(l.getContentElement('info','cmbValue')),o=l.getContentElement('info','txtValue').getValue();e(k);for(var p=0;p<m.count();p++){var q=b(k,m.getItem(p).getValue(),n.getItem(p).getValue(),l.getParentEditor().document);if(n.getItem(p).getValue()==o){q.setAttribute('selected','selected');q.selected=true;}}}}]},{type:'vbox',children:[{id:'txtOptValue',type:'text',label:a.lang.select.opValue,style:'width:115px',setup:function(k,l){if(k=='clear')this.setValue('');}},{type:'select',id:'cmbValue',label:'',size:5,style:'width:115px;height:75px',items:[],onChange:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=g(this);h(l,o);m.setValue(l.getValue());n.setValue(this.getValue());},setup:function(k,l){var n=this;if(k=='clear')e(n);else if(k=='option'){var m=l.getValue();b(n,m,m,n.getDialog().getParentEditor().document);
8
- if(l.getAttribute('selected')=='selected')n.getDialog().getContentElement('info','txtValue').setValue(m);}}}]},{type:'vbox',padding:5,children:[{type:'button',style:'',label:a.lang.select.btnAdd,title:a.lang.select.btnAdd,style:'width:100%;',onClick:function(){var k=this.getDialog(),l=k.getParentEditor(),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=k.getContentElement('info','cmbName'),p=k.getContentElement('info','cmbValue');b(o,m.getValue(),m.getValue(),k.getParentEditor().document);b(p,n.getValue(),n.getValue(),k.getParentEditor().document);m.setValue('');n.setValue('');}},{type:'button',label:a.lang.select.btnModify,title:a.lang.select.btnModify,style:'width:100%;',onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','txtOptName'),m=k.getContentElement('info','txtOptValue'),n=k.getContentElement('info','cmbName'),o=k.getContentElement('info','cmbValue'),p=g(n);if(p>=0){d(n,p,l.getValue(),l.getValue());d(o,p,m.getValue(),m.getValue());}}},{type:'button',style:'width:100%;',label:a.lang.select.btnUp,title:a.lang.select.btnUp,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue');f(l,-1,k.getParentEditor().document);f(m,-1,k.getParentEditor().document);}},{type:'button',style:'width:100%;',label:a.lang.select.btnDown,title:a.lang.select.btnDown,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue');f(l,1,k.getParentEditor().document);f(m,1,k.getParentEditor().document);}}]}]},{type:'hbox',widths:['40%','20%','40%'],children:[{type:'button',label:a.lang.select.btnSetValue,title:a.lang.select.btnSetValue,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbValue'),m=k.getContentElement('info','txtValue');m.setValue(l.getValue());}},{type:'button',label:a.lang.select.btnDelete,title:a.lang.select.btnDelete,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue'),n=k.getContentElement('info','txtOptName'),o=k.getContentElement('info','txtOptValue');c(l);c(m);n.setValue('');o.setValue('');}},{id:'chkMulti',type:'checkbox',label:a.lang.select.chkMulti,'default':'',accessKey:'M',value:'checked',setup:function(k,l){if(k=='select')this.setValue(l.getAttribute('multiple'));},commit:function(k){if(this.getValue())k.setAttribute('multiple',this.getValue());else k.removeAttribute('multiple');
9
- }}]}]}]};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('textarea',function(a){return{title:a.lang.textarea.title,minWidth:350,minHeight:150,onShow:function(){var c=this;delete c.textarea;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='textarea'){c.textarea=b;c.setupContent(b);}},onOk:function(){var b,c=this.textarea,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('textarea');}this.commitContent(c);if(d)b.insertElement(c);},contents:[{id:'info',label:a.lang.textarea.title,title:a.lang.textarea.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.setAttribute('_cke_saved_name',this.getValue());else{b.removeAttribute('_cke_saved_name');b.removeAttribute('name');}}},{id:'cols',type:'text',label:a.lang.textarea.cols,'default':'',accessKey:'C',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('cols')&&b.getAttribute('cols');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('cols',this.getValue());else b.removeAttribute('cols');}},{id:'rows',type:'text',label:a.lang.textarea.rows,'default':'',accessKey:'R',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('rows')&&b.getAttribute('rows');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('rows',this.getValue());else b.removeAttribute('rows');}}]}]};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('textfield',function(a){var b={value:1,size:1,maxLength:1},c={text:1,password:1};return{title:a.lang.textfield.title,minWidth:350,minHeight:150,onShow:function(){var e=this;delete e.textField;var d=e.getParentEditor().getSelection().getSelectedElement();if(d&&d.getName()=='input'&&(c[d.getAttribute('type')]||!d.getAttribute('type'))){e.textField=d;e.setupContent(d);}},onOk:function(){var d,e=this.textField,f=!e;if(f){d=this.getParentEditor();e=d.document.createElement('input');e.setAttribute('type','text');}if(f)d.insertElement(e);this.commitContent({element:e});},onLoad:function(){var d=function(f){var g=f.hasAttribute(this.id)&&f.getAttribute(this.id);this.setValue(g||'');},e=function(f){var g=f.element,h=this.getValue();if(h)g.setAttribute(this.id,h);else g.removeAttribute(this.id);};this.foreach(function(f){if(b[f.id]){f.setup=d;f.commit=e;}});},contents:[{id:'info',label:a.lang.textfield.title,title:a.lang.textfield.title,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'_cke_saved_name',type:'text',label:a.lang.textfield.name,'default':'',accessKey:'N',setup:function(d){this.setValue(d.getAttribute('_cke_saved_name')||d.getAttribute('name')||'');},commit:function(d){var e=d.element;if(this.getValue())e.setAttribute('_cke_saved_name',this.getValue());else{e.removeAttribute('_cke_saved_name');e.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.textfield.value,'default':'',accessKey:'V'}]},{type:'hbox',widths:['50%','50%'],children:[{id:'size',type:'text',label:a.lang.textfield.charWidth,'default':'',accessKey:'C',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed)},{id:'maxLength',type:'text',label:a.lang.textfield.maxChars,'default':'',accessKey:'M',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed)}]},{id:'type',type:'select',label:a.lang.textfield.type,'default':'text',accessKey:'M',items:[[a.lang.textfield.typeText,'text'],[a.lang.textfield.typePass,'password']],setup:function(d){this.setValue(d.getAttribute('type'));},commit:function(d){var e=d.element;if(CKEDITOR.env.ie){var f=e.getAttribute('type'),g=this.getValue();if(f!=g){var h=CKEDITOR.dom.element.createFromHtml('<input type="'+g+'"></input>',a.document);e.copyAttributes(h,{type:1});h.replace(e);a.getSelection().selectElement(h);d.element=e;}}else e.setAttribute('type',this.getValue());}}]}]};});
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('forms',{init:function(a){var b=a.lang;a.addCss('form{border: 1px dotted #FF0000;padding: 2px;}');var c=function(e,f,g){a.addCommand(f,new CKEDITOR.dialogCommand(f));a.ui.addButton(e,{label:b.common[e.charAt(0).toLowerCase()+e.slice(1)],command:f});CKEDITOR.dialog.add(f,g);},d=this.path+'dialogs/';c('Form','form',d+'form.js');c('Checkbox','checkbox',d+'checkbox.js');c('Radio','radio',d+'radio.js');c('TextField','textfield',d+'textfield.js');c('Textarea','textarea',d+'textarea.js');c('Select','select',d+'select.js');c('Button','button',d+'button.js');c('ImageButton','imagebutton',CKEDITOR.plugins.getPath('image')+'dialogs/image.js');c('HiddenField','hiddenfield',d+'hiddenfield.js');if(a.addMenuItems)a.addMenuItems({form:{label:b.form.menu,command:'form',group:'form'},checkbox:{label:b.checkboxAndRadio.checkboxTitle,command:'checkbox',group:'checkbox'},radio:{label:b.checkboxAndRadio.radioTitle,command:'radio',group:'radio'},textfield:{label:b.textfield.title,command:'textfield',group:'textfield'},hiddenfield:{label:b.hidden.title,command:'hiddenfield',group:'hiddenfield'},imagebutton:{label:b.image.titleButton,command:'imagebutton',group:'imagebutton'},button:{label:b.button.title,command:'button',group:'button'},select:{label:b.select.title,command:'select',group:'select'},textarea:{label:b.textarea.title,command:'textarea',group:'textarea'}});if(a.contextMenu){a.contextMenu.addListener(function(e){if(e&&e.hasAscendant('form'))return{form:CKEDITOR.TRISTATE_OFF};});a.contextMenu.addListener(function(e){if(e){var f=e.getName();if(f=='select')return{select:CKEDITOR.TRISTATE_OFF};if(f=='textarea')return{textarea:CKEDITOR.TRISTATE_OFF};if(f=='input'){var g=e.getAttribute('type');if(g=='text'||g=='password')return{textfield:CKEDITOR.TRISTATE_OFF};if(g=='button'||g=='submit'||g=='reset')return{button:CKEDITOR.TRISTATE_OFF};if(g=='checkbox')return{checkbox:CKEDITOR.TRISTATE_OFF};if(g=='radio')return{radio:CKEDITOR.TRISTATE_OFF};if(g=='image')return{imagebutton:CKEDITOR.TRISTATE_OFF};}if(f=='img'&&e.getAttribute('_cke_real_element_type')=='hiddenfield')return{hiddenfield:CKEDITOR.TRISTATE_OFF};}});}},requires:['image']});if(CKEDITOR.env.ie)CKEDITOR.dom.element.prototype.hasAttribute=function(a){var d=this;var b=d.$.attributes.getNamedItem(a);if(d.getName()=='input')switch(a){case 'class':return d.$.className.length>0;case 'checked':return!!d.$.checked;case 'value':var c=d.getAttribute('type');if(c=='checkbox'||c=='radio')return d.$.value!='on';break;
7
- default:}return!!(b&&b.specified);};
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a={exec:function(c){c.insertElement(c.document.createElement('hr'));}},b='horizontalrule';CKEDITOR.plugins.add(b,{init:function(c){c.addCommand(b,a);c.ui.addButton('HorizontalRule',{label:c.lang.horizontalrule,command:b});}});})();
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a=/^[\t\r\n ]*(?:&nbsp;|\xa0)$/,b='{cke_protected}';function c(A,B){var C=A.children,D=C[C.length-1];if(D){if((B||!CKEDITOR.env.ie)&&(D.type==CKEDITOR.NODE_ELEMENT&&D.name=='br'))C.pop();if(D.type==CKEDITOR.NODE_TEXT&&a.test(D.value))C.pop();}};function d(A){if(A.children.length<1)return true;var B=A.children[A.children.length-1];return B.type==CKEDITOR.NODE_ELEMENT&&B.name=='br';};function e(A){c(A,true);if(d(A))if(CKEDITOR.env.ie)A.add(new CKEDITOR.htmlParser.text('\xa0'));else A.add(new CKEDITOR.htmlParser.element('br',{}));};function f(A){c(A);if(d(A))A.add(new CKEDITOR.htmlParser.text('\xa0'));};var g=CKEDITOR.dtd,h=CKEDITOR.tools.extend({},g.$block,g.$listItem,g.$tableContent);for(var i in h)if(!('br' in g[i]))delete h[i];delete h.pre;var j={attributeNames:[[/^on/,'_cke_pa_on']]},k={elements:{}};for(i in h)k.elements[i]=e;var l={elementNames:[[/^cke:/,''],[/^\?xml:namespace$/,'']],attributeNames:[[/^_cke_(saved|pa)_/,''],[/^_cke.*/,'']],elements:{$:function(A){var B=A.attributes;if(B){var C=['name','href','src'],D;for(var E=0;E<C.length;E++){D='_cke_saved_'+C[E];D in B&&delete B[C[E]];}}},embed:function(A){var B=A.parent;if(B&&B.name=='object'){var C=B.attributes.width,D=B.attributes.height;C&&(A.attributes.width=C);D&&(A.attributes.height=D);}},param:function(A){A.children=[];A.isEmpty=true;return A;},a:function(A){if(!(A.children.length||A.attributes.name||A.attributes._cke_saved_name))return false;}},attributes:{'class':function(A,B){return CKEDITOR.tools.ltrim(A.replace(/(?:^|\s+)cke_[^\s]*/g,''))||false;}},comment:function(A){if(A.substr(0,b.length)==b)return new CKEDITOR.htmlParser.cdata(decodeURIComponent(A.substr(b.length)));return A;}},m={elements:{}};for(i in h)m.elements[i]=f;if(CKEDITOR.env.ie)l.attributes.style=function(A,B){return A.toLowerCase();};var n=/<(?:a|area|img|input).*?\s((?:href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+)))/gi;function o(A){return A.replace(n,'$& _cke_saved_$1');};var p=/<(style)(?=[ >])[^>]*>[^<]*<\/\1>/gi,q=/<cke:encoded>([^<]*)<\/cke:encoded>/gi,r=/(<\/?)((?:object|embed|param).*?>)/gi,s=/<cke:param(.*?)\/>/gi;function t(A){return '<cke:encoded>'+encodeURIComponent(A)+'</cke:encoded>';};function u(A){return A.replace(p,t);};function v(A){return A.replace(r,'$1cke:$2');};function w(A){return A.replace(s,'<cke:param$1></cke:param>');};function x(A,B){return decodeURIComponent(B);};function y(A){return A.replace(q,x);};function z(A,B){var C=[],D=/<\!--\{cke_temp\}(\d*?)-->/g,E=[/<!--[\s\S]*?-->/g,/<script[\s\S]*?<\/script>/gi,/<noscript[\s\S]*?<\/noscript>/gi].concat(B);
7
- for(var F=0;F<E.length;F++)A=A.replace(E[F],function(G){G=G.replace(D,function(H,I){return C[I];});return '<!--{cke_temp}'+(C.push(G)-1)+'-->';});A=A.replace(D,function(G,H){return '<!--'+b+encodeURIComponent(C[H]).replace(/--/g,'%2D%2D')+'-->';});return A;};CKEDITOR.plugins.add('htmldataprocessor',{requires:['htmlwriter'],init:function(A){var B=A.dataProcessor=new CKEDITOR.htmlDataProcessor(A);B.writer.forceSimpleAmpersand=A.config.forceSimpleAmpersand;B.dataFilter.addRules(j);B.dataFilter.addRules(k);B.htmlFilter.addRules(l);B.htmlFilter.addRules(m);}});CKEDITOR.htmlDataProcessor=function(A){var B=this;B.editor=A;B.writer=new CKEDITOR.htmlWriter();B.dataFilter=new CKEDITOR.htmlParser.filter();B.htmlFilter=new CKEDITOR.htmlParser.filter();};CKEDITOR.htmlDataProcessor.prototype={toHtml:function(A,B){A=z(A,this.editor.config.protectedSource);A=o(A);if(CKEDITOR.env.ie)A=u(A);A=v(A);A=w(A);var C=document.createElement('div');C.innerHTML='a'+A;A=C.innerHTML.substr(1);if(CKEDITOR.env.ie)A=y(A);var D=CKEDITOR.htmlParser.fragment.fromHtml(A,B),E=new CKEDITOR.htmlParser.basicWriter();D.writeHtml(E,this.dataFilter);return E.getHtml(true);},toDataFormat:function(A,B){var C=this.writer,D=CKEDITOR.htmlParser.fragment.fromHtml(A,B);C.reset();D.writeHtml(C,this.htmlFilter);return C.getHtml(true);}};})();CKEDITOR.config.forceSimpleAmpersand=false;
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('htmlwriter');CKEDITOR.htmlWriter=CKEDITOR.tools.createClass({base:CKEDITOR.htmlParser.basicWriter,$:function(){var c=this;c.base();c.indentationChars='\t';c.selfClosingEnd=' />';c.lineBreakChars='\n';c.forceSimpleAmpersand=false;c.sortAttributes=true;c._.indent=false;c._.indentation='';c._.rules={};var a=CKEDITOR.dtd;for(var b in CKEDITOR.tools.extend({},a.$block,a.$listItem,a.$tableContent))c.setRules(b,{indent:true,breakBeforeOpen:true,breakAfterOpen:true,breakBeforeClose:!a[b]['#'],breakAfterClose:true});c.setRules('br',{breakAfterOpen:true});c.setRules('pre',{indent:false});},proto:{openTag:function(a,b){var d=this;var c=d._.rules[a];if(d._.indent)d.indentation();else if(c&&c.breakBeforeOpen){d.lineBreak();d.indentation();}d._.output.push('<',a);},openTagClose:function(a,b){var d=this;var c=d._.rules[a];if(b)d._.output.push(d.selfClosingEnd);else{d._.output.push('>');if(c&&c.indent)d._.indentation+=d.indentationChars;}if(c&&c.breakAfterOpen)d.lineBreak();},attribute:function(a,b){if(this.forceSimpleAmpersand)b=b.replace(/&amp;/,'&');this._.output.push(' ',a,'="',b,'"');},closeTag:function(a){var c=this;var b=c._.rules[a];if(b&&b.indent)c._.indentation=c._.indentation.substr(c.indentationChars.length);if(c._.indent)c.indentation();else if(b&&b.breakBeforeClose){c.lineBreak();c.indentation();}c._.output.push('</',a,'>');if(b&&b.breakAfterClose)c.lineBreak();},text:function(a){if(this._.indent){this.indentation();a=CKEDITOR.tools.ltrim(a);}this._.output.push(a);},comment:function(a){if(this._.indent)this.indentation();this._.output.push('<!--',a,'-->');},lineBreak:function(){var a=this;if(a._.output.length>0)a._.output.push(a.lineBreakChars);a._.indent=true;},indentation:function(){this._.output.push(this._.indentation);this._.indent=false;},setRules:function(a,b){this._.rules[a]=b;}}});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('iframedialog',{requires:['dialog'],onLoad:function(){CKEDITOR.dialog.addIframe=function(a,b,c,d,e,f){var g={type:'iframe',src:c,width:'100%',height:'100%'};if(typeof f=='function')g.onContentLoad=f;var h={title:b,minWidth:d,minHeight:e,contents:[{id:'iframe',label:b,expand:true,elements:[g]}]};return this.add(a,function(){return h;});};(function(){var a=function(b,c,d){if(arguments.length<3)return;var e=this._||(this._={}),f=c.onContentLoad&&CKEDITOR.tools.bind(c.onContentLoad,this),g=CKEDITOR.tools.cssLength(c.width),h=CKEDITOR.tools.cssLength(c.height);e.frameId=CKEDITOR.tools.getNextNumber()+'_iframe';b.on('load',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent();l.setStyles({width:g,height:h});});var i={src:'%2',id:e.frameId,frameborder:0,allowtransparency:true},j=[];if(typeof c.onContentLoad=='function')i.onload='CKEDITOR.tools.callFunction(%1);';CKEDITOR.ui.dialog.uiElement.call(this,b,c,j,'iframe',{width:g,height:h},i,'');d.push('<div style="width:'+g+';height:'+h+';" id="'+this.domId+'"></div>');j=j.join('');b.on('show',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent(),m=CKEDITOR.tools.addFunction(f),n=j.replace('%1',m).replace('%2',CKEDITOR.tools.htmlEncode(c.src));l.setHtml(n);});};a.prototype=new CKEDITOR.ui.dialog.uiElement();CKEDITOR.dialog.addUIElement('iframe',{build:function(b,c,d){return new a(b,c,d);}});})();}});
@@ -1,12 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a=1,b=2,c=4,d=8,e=/^\s*(\d+)((px)|\%)?\s*$/i,f=/(^\s*(\d+)((px)|\%)?\s*$)|^$/i,g=function(){var m=this.getValue(),n=this.getDialog(),o=m.match(e);if(o){if(o[2]=='%')i(n,false);m=o[1];}if(n.lockRatio){var p=n.originalElement;if(p.getCustomData('isReady')=='true')if(this.id=='txtHeight'){if(m&&m!='0')m=Math.round(p.$.width*(m/p.$.height));if(!isNaN(m))n.setValueOf('info','txtWidth',m);}else{if(m&&m!='0')m=Math.round(p.$.height*(m/p.$.width));if(!isNaN(m))n.setValueOf('info','txtHeight',m);}}h(n);},h=function(m){if(!m.originalElement||!m.preview)return 1;m.commitContent(c,m.preview);return 0;},i=function(m,n){var o=m.originalElement,p=CKEDITOR.document.getById('btnLockSizes');if(o.getCustomData('isReady')=='true'){if(n=='check'){var q=m.getValueOf('info','txtWidth'),r=m.getValueOf('info','txtHeight'),s=o.$.width*1000/o.$.height,t=q*1000/r;m.lockRatio=false;if(!q&&!r)m.lockRatio=true;else if(!isNaN(s)&&!isNaN(t))if(Math.round(s)==Math.round(t))m.lockRatio=true;}else if(n!=undefined)m.lockRatio=n;else m.lockRatio=!m.lockRatio;}else if(n!='check')m.lockRatio=false;if(m.lockRatio)p.removeClass('cke_btn_unlocked');else p.addClass('cke_btn_unlocked');return m.lockRatio;},j=function(m){var n=m.originalElement;if(n.getCustomData('isReady')=='true'){m.setValueOf('info','txtWidth',n.$.width);m.setValueOf('info','txtHeight',n.$.height);}h(m);},k=function(m,n){if(m!=a)return;function o(t,u){var v=t.match(e);if(v){if(v[2]=='%'){v[1]+='%';i(p,false);}return v[1];}return u;};var p=this.getDialog(),q='',r=this.id=='txtWidth'?'width':'height',s=n.getAttribute(r);if(s)q=o(s,q);q=o(n.$.style[r],q);this.setValue(q);},l=function(m,n){var o=function(){var r=this;var q=r.originalElement;q.setCustomData('isReady','true');q.removeListener('load',o);q.removeListener('error',p);q.removeListener('abort',p);CKEDITOR.document.getById('ImagePreviewLoader').setStyle('display','none');if(!r.dontResetSize)j(r);if(r.firstLoad)i(r,'check');r.firstLoad=false;r.dontResetSize=false;},p=function(){var s=this;var q=s.originalElement;q.removeListener('load',o);q.removeListener('error',p);q.removeListener('abort',p);var r=CKEDITOR.getUrl(m.skinPath+'images/noimage.png');if(s.preview)s.preview.setAttribute('src',r);CKEDITOR.document.getById('ImagePreviewLoader').setStyle('display','none');i(s,false);};return{title:n=='image'?m.lang.image.title:m.lang.image.titleButton,minWidth:420,minHeight:310,onShow:function(){var w=this;w.imageElement=false;w.linkElement=false;w.imageEditMode=false;w.linkEditMode=false;
7
- w.lockRatio=true;w.dontResetSize=false;w.firstLoad=true;w.addLink=false;CKEDITOR.document.getById('ImagePreviewLoader').setStyle('display','none');w.preview=CKEDITOR.document.getById('previewImage');var q=w.getParentEditor(),r=w.getParentEditor().getSelection(),s=r.getSelectedElement(),t=s&&s.getAscendant('a');w.originalElement=q.document.createElement('img');w.originalElement.setAttribute('alt','');w.originalElement.setCustomData('isReady','false');if(t){w.linkElement=t;w.linkEditMode=true;var u=t.getChildren();if(u.count()==1){var v=u.getItem(0).getName();if(v=='img'||v=='input'){w.imageElement=u.getItem(0);if(w.imageElement.getName()=='img')w.imageEditMode='img';else if(w.imageElement.getName()=='input')w.imageEditMode='input';}}if(n=='image')w.setupContent(b,t);}if(s&&s.getName()=='img'&&!s.getAttribute('_cke_protected_html'))w.imageEditMode='img';else if(s&&s.getName()=='input'&&s.getAttribute('type')&&s.getAttribute('type')=='image')w.imageEditMode='input';if(w.imageEditMode||w.imageElement){if(!w.imageElement)w.imageElement=s;w.setupContent(a,w.imageElement);i(w,true);}},onOk:function(){var r=this;if(r.imageEditMode){var q=r.imageEditMode;if(n=='image'&&q=='input'&&confirm(m.lang.image.button2Img)){q='img';r.imageElement=m.document.createElement('img');r.imageElement.setAttribute('alt','');m.insertElement(r.imageElement);}else if(n!='image'&&q=='img'&&confirm(m.lang.image.img2Button)){q='input';r.imageElement=m.document.createElement('input');r.imageElement.setAttributes({type:'image',alt:''});m.insertElement(r.imageElement);}}else{if(n=='image')r.imageElement=m.document.createElement('img');else{r.imageElement=m.document.createElement('input');r.imageElement.setAttribute('type','image');}r.imageElement.setAttribute('alt','');}if(!r.linkEditMode)r.linkElement=m.document.createElement('a');r.commitContent(a,r.imageElement);r.commitContent(b,r.linkElement);if(!r.imageEditMode){if(r.addLink){if(!r.linkEditMode){m.insertElement(r.linkElement);r.linkElement.append(r.imageElement,false);}else m.insertElement(r.imageElement);}else m.insertElement(r.imageElement);}else if(!r.linkEditMode&&r.addLink){m.insertElement(r.linkElement);r.imageElement.appendTo(r.linkElement);}else if(r.linkEditMode&&!r.addLink){m.getSelection().selectElement(r.linkElement);m.insertElement(r.imageElement);}},onLoad:function(){var r=this;if(n!='image')r.hidePage('Link');var q=r._.element.getDocument();r.addFocusable(q.getById('btnResetSize'),5);r.addFocusable(q.getById('btnLockSizes'),5);
8
- },onHide:function(){var q=this;if(q.preview)q.commitContent(d,q.preview);if(q.originalElement){q.originalElement.removeListener('load',o);q.originalElement.removeListener('error',p);q.originalElement.removeListener('abort',p);q.originalElement.remove();q.originalElement=false;}},contents:[{id:'info',label:m.lang.image.infoTab,accessKey:'I',elements:[{type:'vbox',padding:0,children:[{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(m.lang.image.url)+'</span>'},{type:'hbox',widths:['280px','110px'],align:'right',children:[{id:'txtUrl',type:'text',label:'',onChange:function(){var q=this.getDialog(),r=this.getValue();if(r.length>0){q=this.getDialog();var s=q.originalElement;s.setCustomData('isReady','false');var t=CKEDITOR.document.getById('ImagePreviewLoader');if(t)t.setStyle('display','');s.on('load',o,q);s.on('error',p,q);s.on('abort',p,q);s.setAttribute('src',r);q.preview.setAttribute('src',r);h(q);}},setup:function(q,r){if(q==a){var s=r.getAttribute('_cke_saved_src')||r.getAttribute('src'),t=this;this.getDialog().dontResetSize=true;setTimeout(function(){t.setValue(s);t.focus();},0);}},commit:function(q,r){var s=this;if(q==a&&(s.getValue()||s.isChanged())){r.setAttribute('_cke_saved_src',decodeURI(s.getValue()));r.setAttribute('src',decodeURI(s.getValue()));}else if(q==d){r.setAttribute('src','');r.removeAttribute('src');}}},{type:'button',id:'browse',align:'center',label:m.lang.common.browseServer,hidden:true,filebrowser:'info:txtUrl'}]}]},{id:'txtAlt',type:'text',label:m.lang.image.alt,accessKey:'A','default':'',onChange:function(){h(this.getDialog());},setup:function(q,r){if(q==a)this.setValue(r.getAttribute('alt'));},commit:function(q,r){var s=this;if(q==a){if(s.getValue()||s.isChanged())r.setAttribute('alt',s.getValue());}else if(q==c)r.setAttribute('alt',s.getValue());else if(q==d)r.removeAttribute('alt');}},{type:'hbox',widths:['140px','240px'],children:[{type:'vbox',padding:10,children:[{type:'hbox',widths:['70%','30%'],children:[{type:'vbox',padding:1,children:[{type:'text',width:'40px',id:'txtWidth',labelLayout:'horizontal',label:m.lang.image.width,onKeyUp:g,validate:function(){var q=this.getValue().match(f);if(!q)alert(m.lang.common.validateNumberFailed);return!!q;},setup:k,commit:function(q,r){var v=this;if(q==a){var s=v.getValue();if(s)r.setAttribute('width',s);else if(!s&&v.isChanged())r.removeAttribute('width');}else if(q==c){s=v.getValue();var t=s.match(e);if(!t){var u=v.getDialog().originalElement;if(u.getCustomData('isReady')=='true')r.setStyle('width',u.$.width+'px');
9
- }else r.setStyle('width',s+'px');}else if(q==d){r.setStyle('width','0px');r.removeAttribute('width');r.removeStyle('width');}}},{type:'text',id:'txtHeight',width:'40px',labelLayout:'horizontal',label:m.lang.image.height,onKeyUp:g,validate:function(){var q=this.getValue().match(f);if(!q)alert(m.lang.common.validateNumberFailed);return!!q;},setup:k,commit:function(q,r){var v=this;if(q==a){var s=v.getValue();if(s)r.setAttribute('height',s);else if(!s&&v.isChanged())r.removeAttribute('height');}else if(q==c){s=v.getValue();var t=s.match(e);if(!t){var u=v.getDialog().originalElement;if(u.getCustomData('isReady')=='true')r.setStyle('height',u.$.height+'px');}else r.setStyle('height',s+'px');}else if(q==d){r.setStyle('height','0px');r.removeAttribute('height');r.removeStyle('height');}}}]},{type:'html',style:'margin-top:10px;width:40px;height:40px;',onLoad:function(){var q=CKEDITOR.document.getById('btnResetSize'),r=CKEDITOR.document.getById('btnLockSizes');if(q){q.on('click',function(){j(this);},this.getDialog());q.on('mouseover',function(){this.addClass('cke_btn_over');},q);q.on('mouseout',function(){this.removeClass('cke_btn_over');},q);}if(r){r.on('click',function(){var w=this;var s=i(w),t=w.originalElement,u=w.getValueOf('info','txtWidth');if(t.getCustomData('isReady')=='true'&&u){var v=t.$.height/t.$.width*u;if(!isNaN(v)){w.setValueOf('info','txtHeight',Math.round(v));h(w);}}},this.getDialog());r.on('mouseover',function(){this.addClass('cke_btn_over');},r);r.on('mouseout',function(){this.removeClass('cke_btn_over');},r);}},html:'<div><a href="javascript:void(0)" tabindex="-1" title="'+m.lang.image.lockRatio+'" class="cke_btn_locked" id="btnLockSizes"></a>'+'<a href="javascript:void(0)" tabindex="-1" title="'+m.lang.image.resetSize+'" class="cke_btn_reset" id="btnResetSize"></a>'+'</div>'}]},{type:'vbox',padding:1,children:[{type:'text',id:'txtBorder',width:'60px',labelLayout:'horizontal',label:m.lang.image.border,'default':'',onKeyUp:function(){h(this.getDialog());},validate:function(){var q=CKEDITOR.dialog.validate.integer(m.lang.common.validateNumberFailed);return q.apply(this);},setup:function(q,r){if(q==a)this.setValue(r.getAttribute('border'));},commit:function(q,r){var t=this;if(q==a){if(t.getValue()||t.isChanged())r.setAttribute('border',t.getValue());}else if(q==c){var s=parseInt(t.getValue(),10);s=isNaN(s)?0:s;r.setAttribute('border',s);r.setStyle('border',s+'px solid black');}else if(q==d){r.removeAttribute('border');r.removeStyle('border');}}},{type:'text',id:'txtHSpace',width:'60px',labelLayout:'horizontal',label:m.lang.image.hSpace,'default':'',onKeyUp:function(){h(this.getDialog());
10
- },validate:function(){var q=CKEDITOR.dialog.validate.integer(m.lang.common.validateNumberFailed);return q.apply(this);},setup:function(q,r){if(q==a){var s=r.getAttribute('hspace');if(s!=-1)this.setValue(s);}},commit:function(q,r){var t=this;if(q==a){if(t.getValue()||t.isChanged())r.setAttribute('hspace',t.getValue());}else if(q==c){var s=parseInt(t.getValue(),10);s=isNaN(s)?0:s;r.setAttribute('hspace',s);r.setStyle('margin-left',s+'px');r.setStyle('margin-right',s+'px');}else if(q==d){r.removeAttribute('hspace');r.removeStyle('margin-left');r.removeStyle('margin-right');}}},{type:'text',id:'txtVSpace',width:'60px',labelLayout:'horizontal',label:m.lang.image.vSpace,'default':'',onKeyUp:function(){h(this.getDialog());},validate:function(){var q=CKEDITOR.dialog.validate.integer(m.lang.common.validateNumberFailed);return q.apply(this);},setup:function(q,r){if(q==a)this.setValue(r.getAttribute('vspace'));},commit:function(q,r){var t=this;if(q==a){if(t.getValue()||t.isChanged())r.setAttribute('vspace',t.getValue());}else if(q==c){var s=parseInt(t.getValue(),10);s=isNaN(s)?0:s;r.setAttribute('vspace',t.getValue());r.setStyle('margin-top',s+'px');r.setStyle('margin-bottom',s+'px');}else if(q==d){r.removeAttribute('vspace');r.removeStyle('margin-top');r.removeStyle('margin-bottom');}}},{id:'cmbAlign',type:'select',labelLayout:'horizontal',widths:['35%','65%'],style:'width:90px',label:m.lang.image.align,'default':'',items:[[m.lang.common.notSet,''],[m.lang.image.alignLeft,'left'],[m.lang.image.alignAbsBottom,'absBottom'],[m.lang.image.alignAbsMiddle,'absMiddle'],[m.lang.image.alignBaseline,'baseline'],[m.lang.image.alignBottom,'bottom'],[m.lang.image.alignMiddle,'middle'],[m.lang.image.alignRight,'right'],[m.lang.image.alignTextTop,'textTop'],[m.lang.image.alignTop,'top']],onChange:function(){h(this.getDialog());},setup:function(q,r){if(q==a)this.setValue(r.getAttribute('align'));},commit:function(q,r){var s=this.getValue();if(q==a){if(s||this.isChanged())r.setAttribute('align',s);}else if(q==c){r.setAttribute('align',this.getValue());if(s=='absMiddle'||s=='middle')r.setStyle('vertical-align','middle');else if(s=='top'||s=='textTop')r.setStyle('vertical-align','top');else r.removeStyle('vertical-align');if(s=='right'||s=='left')r.setStyle('styleFloat',s);else r.removeStyle('styleFloat');}else if(q==d)r.removeAttribute('align');}}]}]},{type:'vbox',height:'250px',children:[{type:'html',style:'width:95%;',html:'<div>'+CKEDITOR.tools.htmlEncode(m.lang.image.preview)+'<br>'+'<div id="ImagePreviewLoader" style="display:none"><div class="loading">&nbsp;</div></div>'+'<div id="ImagePreviewBox">'+'<a href="javascript:void(0)" target="_blank" onclick="return false;" id="previewLink">'+'<img id="previewImage" src="" alt="" /></a>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. '+'Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, '+'nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.'+'</div>'+'</div>'}]}]}]},{id:'Link',label:m.lang.link.title,padding:0,elements:[{id:'txtUrl',type:'text',label:m.lang.image.url,style:'width: 100%','default':'',setup:function(q,r){if(q==b){var s=r.getAttribute('_cke_saved_href');
11
- if(!s)s=r.getAttribute('href');this.setValue(s);}},commit:function(q,r){var s=this;if(q==b)if(s.getValue()||s.isChanged()){r.setAttribute('_cke_saved_href',decodeURI(s.getValue()));r.setAttribute('href','javascript:void(0)/*'+CKEDITOR.tools.getNextNumber()+'*/');if(s.getValue()||!m.config.image_removeLinkByEmptyURL)s.getDialog().addLink=true;}}},{type:'button',id:'browse',filebrowser:'Link:txtUrl',style:'float:right',hidden:true,label:m.lang.common.browseServer},{id:'cmbTarget',type:'select',label:m.lang.link.target,'default':'',items:[[m.lang.link.targetNotSet,''],[m.lang.link.targetNew,'_blank'],[m.lang.link.targetTop,'_top'],[m.lang.link.targetSelf,'_self'],[m.lang.link.targetParent,'_parent']],setup:function(q,r){if(q==b)this.setValue(r.getAttribute('target'));},commit:function(q,r){if(q==b)if(this.getValue()||this.isChanged())r.setAttribute('target',this.getValue());}}]},{id:'Upload',hidden:true,filebrowser:'uploadButton',label:m.lang.image.upload,elements:[{type:'file',id:'upload',label:m.lang.image.btnUpload,style:'height:40px',size:38},{type:'fileButton',id:'uploadButton',filebrowser:'info:txtUrl',label:m.lang.image.btnUpload,'for':['Upload','upload']}]},{id:'advanced',label:m.lang.common.advancedTab,elements:[{type:'hbox',widths:['50%','25%','25%'],children:[{type:'text',id:'linkId',label:m.lang.common.id,setup:function(q,r){if(q==a)this.setValue(r.getAttribute('id'));},commit:function(q,r){if(q==a)if(this.getValue()||this.isChanged())r.setAttribute('id',this.getValue());}},{id:'cmbLangDir',type:'select',style:'width : 100px;',label:m.lang.common.langDir,'default':'',items:[[m.lang.common.notSet,''],[m.lang.common.langDirLtr,'ltr'],[m.lang.common.langDirRtl,'rtl']],setup:function(q,r){if(q==a)this.setValue(r.getAttribute('dir'));},commit:function(q,r){if(q==a)if(this.getValue()||this.isChanged())r.setAttribute('dir',this.getValue());}},{type:'text',id:'txtLangCode',label:m.lang.common.langCode,'default':'',setup:function(q,r){if(q==a)this.setValue(r.getAttribute('lang'));},commit:function(q,r){if(q==a)if(this.getValue()||this.isChanged())r.setAttribute('lang',this.getValue());}}]},{type:'text',id:'txtGenLongDescr',label:m.lang.common.longDescr,setup:function(q,r){if(q==a)this.setValue(r.getAttribute('longDesc'));},commit:function(q,r){if(q==a)if(this.getValue()||this.isChanged())r.setAttribute('longDesc',this.getValue());}},{type:'hbox',widths:['50%','50%'],children:[{type:'text',id:'txtGenClass',label:m.lang.common.cssClass,'default':'',setup:function(q,r){if(q==a)this.setValue(r.getAttribute('class'));
12
- },commit:function(q,r){if(q==a)if(this.getValue()||this.isChanged())r.setAttribute('class',this.getValue());}},{type:'text',id:'txtGenTitle',label:m.lang.common.advisoryTitle,'default':'',onChange:function(){h(this.getDialog());},setup:function(q,r){if(q==a)this.setValue(r.getAttribute('title'));},commit:function(q,r){var s=this;if(q==a){if(s.getValue()||s.isChanged())r.setAttribute('title',s.getValue());}else if(q==c)r.setAttribute('title',s.getValue());else if(q==d)r.removeAttribute('title');}}]},{type:'text',id:'txtdlgGenStyle',label:m.lang.common.cssStyle,'default':'',setup:function(q,r){if(q==a){var s=r.getAttribute('style');if(!s&&r.$.style.cssText)s=r.$.style.cssText;this.setValue(s);var t=r.$.style.height,u=r.$.style.width,v=(t?t:'').match(e),w=(u?u:'').match(e);this.attributesInStyle={height:!!v,width:!!w};}},commit:function(q,r){var u=this;if(q==a&&(u.getValue()||u.isChanged())){r.setAttribute('style',u.getValue());var s=r.getAttribute('height'),t=r.getAttribute('width');if(u.attributesInStyle&&u.attributesInStyle.height)if(s){if(s.match(e)[2]=='%')r.setStyle('height',s+'%');else r.setStyle('height',s+'px');}else r.removeStyle('height');if(u.attributesInStyle&&u.attributesInStyle.width)if(t){if(t.match(e)[2]=='%')r.setStyle('width',t+'%');else r.setStyle('width',t+'px');}else r.removeStyle('width');}}}]}]};};CKEDITOR.dialog.add('image',function(m){return l(m,'image');});CKEDITOR.dialog.add('imagebutton',function(m){return l(m,'imagebutton');});})();
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('image',{init:function(a){var b='image';CKEDITOR.dialog.add(b,this.path+'dialogs/image.js');a.addCommand(b,new CKEDITOR.dialogCommand(b));a.ui.addButton('Image',{label:a.lang.common.image,command:b});if(a.addMenuItems)a.addMenuItems({image:{label:a.lang.image.menu,command:'image',group:'image'}});if(a.contextMenu)a.contextMenu.addListener(function(c,d){if(!c||!c.is('img')||c.getAttribute('_cke_realelement'))return null;return{image:CKEDITOR.TRISTATE_OFF};});}});CKEDITOR.config.image_removeLinkByEmptyURL=true;
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a={ol:1,ul:1};function b(g,h){g.getCommand(this.name).setState(h);};function c(g){var r=this;var h=g.data.path.elements,i,j,k=g.editor;for(var l=0;l<h.length;l++){if(h[l].getName()=='li'){j=h[l];continue;}if(a[h[l].getName()]){i=h[l];break;}}if(i)if(r.name=='outdent')return b.call(r,k,CKEDITOR.TRISTATE_OFF);else{while(j&&(j=j.getPrevious(CKEDITOR.dom.walker.whitespaces(true))))if(j.getName&&j.getName()=='li')return b.call(r,k,CKEDITOR.TRISTATE_OFF);return b.call(r,k,CKEDITOR.TRISTATE_DISABLED);}if(!r.useIndentClasses&&r.name=='indent')return b.call(r,k,CKEDITOR.TRISTATE_OFF);var m=g.data.path,n=m.block||m.blockLimit;if(!n)return b.call(r,k,CKEDITOR.TRISTATE_DISABLED);if(r.useIndentClasses){var o=n.$.className.match(r.classNameRegex),p=0;if(o){o=o[1];p=r.indentClassMap[o];}if(r.name=='outdent'&&!p||r.name=='indent'&&p==k.config.indentClasses.length)return b.call(r,k,CKEDITOR.TRISTATE_DISABLED);return b.call(r,k,CKEDITOR.TRISTATE_OFF);}else{var q=parseInt(n.getStyle(r.indentCssProperty),10);if(isNaN(q))q=0;if(q<=0)return b.call(r,k,CKEDITOR.TRISTATE_DISABLED);return b.call(r,k,CKEDITOR.TRISTATE_OFF);}};function d(g,h,i){var j=h.startContainer,k=h.endContainer;while(j&&!j.getParent().equals(i))j=j.getParent();while(k&&!k.getParent().equals(i))k=k.getParent();if(!j||!k)return;var l=j,m=[],n=false;while(!n){if(l.equals(k))n=true;m.push(l);l=l.getNext();}if(m.length<1)return;var o=i.getParents(true);for(var p=0;p<o.length;p++)if(o[p].getName&&a[o[p].getName()]){i=o[p];break;}var q=this.name=='indent'?1:-1,r=m[0],s=m[m.length-1],t={},u=CKEDITOR.plugins.list.listToArray(i,t),v=u[s.getCustomData('listarray_index')].indent;for(p=r.getCustomData('listarray_index');p<=s.getCustomData('listarray_index');p++)u[p].indent+=q;for(p=s.getCustomData('listarray_index')+1;p<u.length&&u[p].indent>v;p++)u[p].indent+=q;var w=CKEDITOR.plugins.list.arrayToList(u,t,null,g.config.enterMode,0);if(this.name=='outdent'){var x;if((x=i.getParent())&&(x.is('li'))){var y=w.listNode.getChildren(),z=[],A=y.count(),B;for(p=A-1;p>=0;p--)if((B=y.getItem(p))&&(B.is&&B.is('li')))z.push(B);}}if(w)w.listNode.replace(i);if(z&&z.length)for(p=0;p<z.length;p++){var C=z[p],D=C;while((D=D.getNext())&&(D.is&&D.getName() in a))C.append(D);C.insertAfter(x);}CKEDITOR.dom.element.clearAllMarkers(t);};function e(g,h){var p=this;var i=h.createIterator(),j=g.config.enterMode;i.enforceRealBlocks=true;i.enlargeBr=j!=CKEDITOR.ENTER_BR;var k;while(k=i.getNextParagraph())if(p.useIndentClasses){var l=k.$.className.match(p.classNameRegex),m=0;
7
- if(l){l=l[1];m=p.indentClassMap[l];}if(p.name=='outdent')m--;elsem++;m=Math.min(m,g.config.indentClasses.length);m=Math.max(m,0);var n=CKEDITOR.tools.ltrim(k.$.className.replace(p.classNameRegex,''));if(m<1)k.$.className=n;else k.addClass(g.config.indentClasses[m-1]);}else{var o=parseInt(k.getStyle(p.indentCssProperty),10);if(isNaN(o))o=0;o+=(p.name=='indent'?1:-1)*(g.config.indentOffset);o=Math.max(o,0);o=Math.ceil(o/g.config.indentOffset)*g.config.indentOffset;k.setStyle(p.indentCssProperty,o?o+g.config.indentUnit:'');if(k.getAttribute('style')==='')k.removeAttribute('style');}};function f(g,h){var j=this;j.name=h;j.useIndentClasses=g.config.indentClasses&&g.config.indentClasses.length>0;if(j.useIndentClasses){j.classNameRegex=new RegExp('(?:^|\\s+)('+g.config.indentClasses.join('|')+')(?=$|\\s)');j.indentClassMap={};for(var i=0;i<g.config.indentClasses.length;i++)j.indentClassMap[g.config.indentClasses[i]]=i+1;}else j.indentCssProperty=g.config.contentsLangDirection=='ltr'?'margin-left':'margin-right';};f.prototype={exec:function(g){var h=g.getSelection(),i=h&&h.getRanges()[0];if(!h||!i)return;var j=h.createBookmarks(true),k=i.getCommonAncestor();while(k&&!(k.type==CKEDITOR.NODE_ELEMENT&&a[k.getName()]))k=k.getParent();if(k)d.call(this,g,i,k);else e.call(this,g,i);g.focus();g.forceNextSelectionCheck();h.selectBookmarks(j);}};CKEDITOR.plugins.add('indent',{init:function(g){var h=new f(g,'indent'),i=new f(g,'outdent');g.addCommand('indent',h);g.addCommand('outdent',i);g.ui.addButton('Indent',{label:g.lang.indent,command:'indent'});g.ui.addButton('Outdent',{label:g.lang.outdent,command:'outdent'});g.on('selectionChange',CKEDITOR.tools.bind(c,h));g.on('selectionChange',CKEDITOR.tools.bind(c,i));},requires:['domiterator','list']});})();CKEDITOR.tools.extend(CKEDITOR.config,{indentOffset:40,indentUnit:'px',indentClasses:null});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a=/(-moz-|-webkit-|start|auto)/i;function b(e,f){var g=f.block||f.blockLimit;if(!g||g.getName()=='body')return CKEDITOR.TRISTATE_OFF;var h=g.getComputedStyle('text-align').replace(a,'');if(!h&&this.isDefaultAlign||h==this.value)return CKEDITOR.TRISTATE_ON;return CKEDITOR.TRISTATE_OFF;};function c(e){var f=e.editor.getCommand(this.name);f.state=b.call(this,e.editor,e.data.path);f.fire('state');};function d(e,f,g){var j=this;j.name=f;j.value=g;var h=e.config.contentsLangDirection;j.isDefaultAlign=g=='left'&&h=='ltr'||g=='right'&&h=='rtl';var i=e.config.justifyClasses;if(i){switch(g){case 'left':j.cssClassName=i[0];break;case 'center':j.cssClassName=i[1];break;case 'right':j.cssClassName=i[2];break;case 'justify':j.cssClassName=i[3];break;}j.cssClassRegex=new RegExp('(?:^|\\s+)(?:'+i.join('|')+')(?=$|\\s)');}};d.prototype={exec:function(e){var n=this;var f=e.getSelection();if(!f)return;var g=f.createBookmarks(),h=f.getRanges(),i=n.cssClassName,j,k;for(var l=h.length-1;l>=0;l--){j=h[l].createIterator();while(k=j.getNextParagraph()){k.removeAttribute('align');if(i){var m=k.$.className=CKEDITOR.tools.ltrim(k.$.className.replace(n.cssClassRegex,''));if(n.state==CKEDITOR.TRISTATE_OFF&&!n.isDefaultAlign)k.addClass(i);else if(!m)k.removeAttribute('class');}else if(n.state==CKEDITOR.TRISTATE_OFF&&!n.isDefaultAlign)k.setStyle('text-align',n.value);else k.removeStyle('text-align');}}e.focus();e.forceNextSelectionCheck();f.selectBookmarks(g);}};CKEDITOR.plugins.add('justify',{init:function(e){var f=new d(e,'justifyleft','left'),g=new d(e,'justifycenter','center'),h=new d(e,'justifyright','right'),i=new d(e,'justifyblock','justify');e.addCommand('justifyleft',f);e.addCommand('justifycenter',g);e.addCommand('justifyright',h);e.addCommand('justifyblock',i);e.ui.addButton('JustifyLeft',{label:e.lang.justify.left,command:'justifyleft'});e.ui.addButton('JustifyCenter',{label:e.lang.justify.center,command:'justifycenter'});e.ui.addButton('JustifyRight',{label:e.lang.justify.right,command:'justifyright'});e.ui.addButton('JustifyBlock',{label:e.lang.justify.block,command:'justifyblock'});e.on('selectionChange',CKEDITOR.tools.bind(c,f));e.on('selectionChange',CKEDITOR.tools.bind(c,h));e.on('selectionChange',CKEDITOR.tools.bind(c,g));e.on('selectionChange',CKEDITOR.tools.bind(c,i));},requires:['domiterator']});})();CKEDITOR.tools.extend(CKEDITOR.config,{justifyClasses:null});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add('keystrokes',{beforeInit:function(a){a.keystrokeHandler=new CKEDITOR.keystrokeHandler(a);a.specialKeys={};},init:function(a){var b=a.config.keystrokes,c=a.config.blockedKeystrokes,d=a.keystrokeHandler.keystrokes,e=a.keystrokeHandler.blockedKeystrokes;for(var f=0;f<b.length;f++)d[b[f][0]]=b[f][1];for(f=0;f<c.length;f++)e[c[f]]=1;}});CKEDITOR.keystrokeHandler=function(a){var b=this;if(a.keystrokeHandler)return a.keystrokeHandler;b.keystrokes={};b.blockedKeystrokes={};b._={editor:a};return b;};(function(){var a,b=function(d){d=d.data;var e=d.getKeystroke(),f=this.keystrokes[e],g=this._.editor;a=g.fire('key',{keyCode:e})===true;if(!a){if(f){var h={from:'keystrokeHandler'};a=g.execCommand(f,h)!==false;}if(!a){var i=g.specialKeys[e];a=i&&i(g)===true;if(!a)a=!!this.blockedKeystrokes[e];}}if(a)d.preventDefault(true);return!a;},c=function(d){if(a){a=false;d.data.preventDefault(true);}};CKEDITOR.keystrokeHandler.prototype={attach:function(d){d.on('keydown',b,this);if(CKEDITOR.env.opera||CKEDITOR.env.gecko&&CKEDITOR.env.mac)d.on('keypress',c,this);}};})();CKEDITOR.config.blockedKeystrokes=[CKEDITOR.CTRL+66,CKEDITOR.CTRL+73,CKEDITOR.CTRL+85];CKEDITOR.config.keystrokes=[[CKEDITOR.ALT+121,'toolbarFocus'],[CKEDITOR.ALT+122,'elementsPathFocus'],[CKEDITOR.SHIFT+121,'contextMenu'],[CKEDITOR.CTRL+90,'undo'],[CKEDITOR.CTRL+89,'redo'],[CKEDITOR.CTRL+CKEDITOR.SHIFT+90,'redo'],[CKEDITOR.CTRL+76,'link'],[CKEDITOR.CTRL+66,'bold'],[CKEDITOR.CTRL+73,'italic'],[CKEDITOR.CTRL+85,'underline'],[CKEDITOR.ALT+109,'toolbarCollapse']];
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('anchor',function(a){var b=function(c,d,e){var g=this;g.editMode=true;g.editObj=e;var f=g.editObj.getAttribute('name');if(f)g.setValueOf('info','txtName',f);else g.setValueOf('info','txtName','');};return{title:a.lang.anchor.title,minWidth:300,minHeight:60,onOk:function(){var f=this;var c=f.getValueOf('info','txtName'),d=CKEDITOR.env.ie?a.document.createElement('<a name="'+CKEDITOR.tools.htmlEncode(c)+'">'):a.document.createElement('a');if(f.editMode){f.editObj.copyAttributes(d,{name:1});f.editObj.moveChildren(d);}d.removeAttribute('_cke_saved_name');d.setAttribute('name',c);var e=a.createFakeElement(d,'cke_anchor','anchor');if(!f.editMode)a.insertElement(e);else{e.replace(f.fakeObj);a.getSelection().selectElement(e);}return true;},onShow:function(){var e=this;e.editObj=false;e.fakeObj=false;e.editMode=false;var c=a.getSelection(),d=c.getSelectedElement();if(d&&d.getAttribute('_cke_real_element_type')&&d.getAttribute('_cke_real_element_type')=='anchor'){e.fakeObj=d;d=a.restoreRealElement(e.fakeObj);b.apply(e,[a,c,d]);c.selectElement(e.fakeObj);}e.getContentElement('info','txtName').focus();},contents:[{id:'info',label:a.lang.anchor.title,accessKey:'I',elements:[{type:'text',id:'txtName',label:a.lang.anchor.name,validate:function(){if(!this.getValue()){alert(a.lang.anchor.errorName);return false;}return true;}}]}]};});
@@ -1,11 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('link',function(a){var b=function(){var s=this.getDialog(),t=s.getContentElement('target','popupFeatures'),u=s.getContentElement('target','linkTargetName'),v=this.getValue();if(!t||!u)return;t=t.getElement();if(v=='popup'){t.show();u.setLabel(a.lang.link.targetPopupName);}else{t.hide();u.setLabel(a.lang.link.targetFrameName);this.getDialog().setValueOf('target','linkTargetName',v.charAt(0)=='_'?v:'');}},c=function(){var s=this.getDialog(),t=['urlOptions','anchorOptions','emailOptions'],u=this.getValue(),v=s.definition.getContents('upload').hidden;if(u=='url'){if(a.config.linkShowTargetTab)s.showPage('target');if(!v)s.showPage('upload');}else{s.hidePage('target');if(!v)s.hidePage('upload');}for(var w=0;w<t.length;w++){var x=s.getContentElement('info',t[w]);if(!x)continue;x=x.getElement().getParent().getParent();if(t[w]==u+'Options')x.show();else x.hide();}},d=/^mailto:([^?]+)(?:\?(.+))?$/,e=/subject=([^;?:@&=$,\/]*)/,f=/body=([^;?:@&=$,\/]*)/,g=/^#(.*)$/,h=/^((?:http|https|ftp|news):\/\/)?(.*)$/,i=/^(_(?:self|top|parent|blank))$/,j=/\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*/,k=/(?:^|,)([^=]+)=(\d+|yes|no)/gi,l=function(s,t){var u=t?t.getAttribute('_cke_saved_href')||t.getAttribute('href'):'',v='',w='',x=false,y={};if(u){v=u.match(d);w=u.match(g);x=u.match(h);}if(v){var z=u.match(e),A=u.match(f);y.type='email';y.email={};y.email.address=v[1];z&&(y.email.subject=decodeURIComponent(z[1]));A&&(y.email.body=decodeURIComponent(A[1]));}else if(w){y.type='anchor';y.anchor={};y.anchor.name=y.anchor.id=w[1];}else if(u&&x){y.type='url';y.url={};y.url.protocol=x[1];y.url.url=x[2];}else y.type='url';if(t){var B=t.getAttribute('target');y.target={};y.adv={};if(!B){var C=t.getAttribute('_cke_pa_onclick')||t.getAttribute('onclick'),D=C&&C.match(j);if(D){y.target.type='popup';y.target.name=D[1];var E;while(E=k.exec(D[2]))if(E[2]=='yes'||E[2]=='1')y.target[E[1]]=true;else if(isFinite(E[2]))y.target[E[1]]=E[2];}}else{var F=B.match(i);if(F)y.target.type=y.target.name=B;else{y.target.type='frame';y.target.name=B;}}var G=this,H=function(N,O){var P=t.getAttribute(O);if(P!==null)y.adv[N]=P||'';};H('advId','id');H('advLangDir','dir');H('advAccessKey','accessKey');H('advName','name');H('advLangCode','lang');H('advTabIndex','tabindex');H('advTitle','title');H('advContentType','type');H('advCSSClasses','class');H('advCharset','charset');H('advStyles','style');}var I=s.document.getElementsByTag('img'),J=new CKEDITOR.dom.nodeList(s.document.$.anchors),K=y.anchors=[];
7
- for(var L=0;L<I.count();L++){var M=I.getItem(L);if(M.getAttribute('_cke_realelement')&&M.getAttribute('_cke_real_element_type')=='anchor')K.push(s.restoreRealElement(M));}for(L=0;L<J.count();L++)K.push(J.getItem(L));for(L=0;L<K.length;L++){M=K[L];K[L]={name:M.getAttribute('name'),id:M.getAttribute('id')};}this._.selectedElement=t;return y;},m=function(s,t){if(t[s])this.setValue(t[s][this.id]||'');},n=function(s){return m.call(this,'target',s);},o=function(s){return m.call(this,'adv',s);},p=function(s,t){if(!t[s])t[s]={};t[s][this.id]=this.getValue()||'';},q=function(s){return p.call(this,'target',s);},r=function(s){return p.call(this,'adv',s);};return{title:a.lang.link.title,minWidth:350,minHeight:230,contents:[{id:'info',label:a.lang.link.info,title:a.lang.link.info,elements:[{id:'linkType',type:'select',label:a.lang.link.type,'default':'url',items:[[a.lang.common.url,'url'],[a.lang.link.toAnchor,'anchor'],[a.lang.link.toEmail,'email']],onChange:c,setup:function(s){if(s.type)this.setValue(s.type);},commit:function(s){s.type=this.getValue();}},{type:'vbox',id:'urlOptions',children:[{type:'hbox',widths:['25%','75%'],children:[{id:'protocol',type:'select',label:a.lang.common.protocol,'default':'http://',style:'width : 100%;',items:[['http://'],['https://'],['ftp://'],['news://'],['<other>','']],setup:function(s){if(s.url)this.setValue(s.url.protocol);},commit:function(s){if(!s.url)s.url={};s.url.protocol=this.getValue();}},{type:'text',id:'url',label:a.lang.common.url,onLoad:function(){this.allowOnChange=true;},onKeyUp:function(){var x=this;x.allowOnChange=false;var s=x.getDialog().getContentElement('info','protocol'),t=x.getValue(),u=/^(http|https|ftp|news):\/\/(?=.)/gi,v=/^((javascript:)|[#\/\.])/gi,w=u.exec(t);if(w){x.setValue(t.substr(w[0].length));s.setValue(w[0].toLowerCase());}else if(v.test(t))s.setValue('');x.allowOnChange=true;},onChange:function(){if(this.allowOnChange)this.onKeyUp();},validate:function(){var s=this.getDialog();if(s.getContentElement('info','linkType')&&s.getValueOf('info','linkType')!='url')return true;if(this.getDialog().fakeObj)return true;var t=CKEDITOR.dialog.validate.notEmpty(a.lang.link.noUrl);return t.apply(this);},setup:function(s){var u=this;u.allowOnChange=false;if(s.url)u.setValue(s.url.url);u.allowOnChange=true;var t=u.getDialog().getContentElement('info','linkType');if(t&&t.getValue()=='url')u.select();},commit:function(s){if(!s.url)s.url={};s.url.url=this.getValue();this.allowOnChange=false;}}],setup:function(s){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().show();
8
- }},{type:'button',id:'browse',hidden:'true',filebrowser:'info:url',label:a.lang.common.browseServer}]},{type:'vbox',id:'anchorOptions',width:260,align:'center',padding:0,children:[{type:'html',id:'selectAnchorText',html:CKEDITOR.tools.htmlEncode(a.lang.link.selectAnchor),setup:function(s){if(s.anchors.length>0)this.getElement().show();else this.getElement().hide();}},{type:'html',id:'noAnchors',style:'text-align: center;',html:'<div>'+CKEDITOR.tools.htmlEncode(a.lang.link.noAnchors)+'</div>',setup:function(s){if(s.anchors.length<1)this.getElement().show();else this.getElement().hide();}},{type:'hbox',id:'selectAnchor',children:[{type:'select',id:'anchorName','default':'',label:a.lang.link.anchorName,style:'width: 100%;',items:[['']],setup:function(s){var v=this;v.clear();v.add('');for(var t=0;t<s.anchors.length;t++)if(s.anchors[t].name)v.add(s.anchors[t].name);if(s.anchor)v.setValue(s.anchor.name);var u=v.getDialog().getContentElement('info','linkType');if(u&&u.getValue()=='email')v.focus();},commit:function(s){if(!s.anchor)s.anchor={};s.anchor.name=this.getValue();}},{type:'select',id:'anchorId','default':'',label:a.lang.link.anchorId,style:'width: 100%;',items:[['']],setup:function(s){var u=this;u.clear();u.add('');for(var t=0;t<s.anchors.length;t++)if(s.anchors[t].id)u.add(s.anchors[t].id);if(s.anchor)u.setValue(s.anchor.id);},commit:function(s){if(!s.anchor)s.anchor={};s.anchor.id=this.getValue();}}],setup:function(s){if(s.anchors.length>0)this.getElement().show();else this.getElement().hide();}}],setup:function(s){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}},{type:'vbox',id:'emailOptions',padding:1,children:[{type:'text',id:'emailAddress',label:a.lang.link.emailAddress,validate:function(){var s=this.getDialog();if(!s.getContentElement('info','linkType')||s.getValueOf('info','linkType')!='email')return true;var t=CKEDITOR.dialog.validate.notEmpty(a.lang.link.noEmail);return t.apply(this);},setup:function(s){if(s.email)this.setValue(s.email.address);var t=this.getDialog().getContentElement('info','linkType');if(t&&t.getValue()=='email')this.select();},commit:function(s){if(!s.email)s.email={};s.email.address=this.getValue();}},{type:'text',id:'emailSubject',label:a.lang.link.emailSubject,setup:function(s){if(s.email)this.setValue(s.email.subject);},commit:function(s){if(!s.email)s.email={};s.email.subject=this.getValue();}},{type:'textarea',id:'emailBody',label:a.lang.link.emailBody,rows:3,'default':'',setup:function(s){if(s.email)this.setValue(s.email.body);
9
- },commit:function(s){if(!s.email)s.email={};s.email.body=this.getValue();}}],setup:function(s){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}}]},{id:'target',label:a.lang.link.target,title:a.lang.link.target,elements:[{type:'hbox',widths:['50%','50%'],children:[{type:'select',id:'linkTargetType',label:a.lang.link.target,'default':'notSet',style:'width : 100%;',items:[[a.lang.link.targetNotSet,'notSet'],[a.lang.link.targetFrame,'frame'],[a.lang.link.targetPopup,'popup'],[a.lang.link.targetNew,'_blank'],[a.lang.link.targetTop,'_top'],[a.lang.link.targetSelf,'_self'],[a.lang.link.targetParent,'_parent']],onChange:b,setup:function(s){if(s.target)this.setValue(s.target.type);},commit:function(s){if(!s.target)s.target={};s.target.type=this.getValue();}},{type:'text',id:'linkTargetName',label:a.lang.link.targetFrameName,'default':'',setup:function(s){if(s.target)this.setValue(s.target.name);},commit:function(s){if(!s.target)s.target={};s.target.name=this.getValue();}}]},{type:'vbox',width:260,align:'center',padding:2,id:'popupFeatures',children:[{type:'html',html:CKEDITOR.tools.htmlEncode(a.lang.link.popupFeatures)},{type:'hbox',children:[{type:'checkbox',id:'resizable',label:a.lang.link.popupResizable,setup:n,commit:q},{type:'checkbox',id:'status',label:a.lang.link.popupStatusBar,setup:n,commit:q}]},{type:'hbox',children:[{type:'checkbox',id:'location',label:a.lang.link.popupLocationBar,setup:n,commit:q},{type:'checkbox',id:'toolbar',label:a.lang.link.popupToolbar,setup:n,commit:q}]},{type:'hbox',children:[{type:'checkbox',id:'menubar',label:a.lang.link.popupMenuBar,setup:n,commit:q},{type:'checkbox',id:'fullscreen',label:a.lang.link.popupFullScreen,setup:n,commit:q}]},{type:'hbox',children:[{type:'checkbox',id:'scrollbars',label:a.lang.link.popupScrollBars,setup:n,commit:q},{type:'checkbox',id:'dependent',label:a.lang.link.popupDependent,setup:n,commit:q}]},{type:'hbox',children:[{type:'text',widths:['30%','70%'],labelLayout:'horizontal',label:a.lang.link.popupWidth,id:'width',setup:n,commit:q},{type:'text',labelLayout:'horizontal',widths:['55%','45%'],label:a.lang.link.popupLeft,id:'left',setup:n,commit:q}]},{type:'hbox',children:[{type:'text',labelLayout:'horizontal',widths:['30%','70%'],label:a.lang.link.popupHeight,id:'height',setup:n,commit:q},{type:'text',labelLayout:'horizontal',label:a.lang.link.popupTop,widths:['55%','45%'],id:'top',setup:n,commit:q}]}]}]},{id:'upload',label:a.lang.link.upload,title:a.lang.link.upload,hidden:true,filebrowser:'uploadButton',elements:[{type:'file',id:'upload',label:a.lang.common.upload,style:'height:40px',size:29},{type:'fileButton',id:'uploadButton',label:a.lang.common.uploadSubmit,filebrowser:'info:url','for':['upload','upload']}]},{id:'advanced',label:a.lang.link.advanced,title:a.lang.link.advanced,elements:[{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',id:'advId',label:a.lang.link.id,setup:o,commit:r},{type:'select',id:'advLangDir',label:a.lang.link.langDir,'default':'',style:'width:110px',items:[[a.lang.link.langDirNotSet,''],[a.lang.link.langDirLTR,'ltr'],[a.lang.link.langDirRTL,'rtl']],setup:o,commit:r},{type:'text',id:'advAccessKey',width:'80px',label:a.lang.link.acccessKey,maxLength:1,setup:o,commit:r}]},{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',label:a.lang.link.name,id:'advName',setup:o,commit:r},{type:'text',label:a.lang.link.langCode,id:'advLangCode',width:'110px','default':'',setup:o,commit:r},{type:'text',label:a.lang.link.tabIndex,id:'advTabIndex',width:'80px',maxLength:5,setup:o,commit:r}]}]},{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:a.lang.link.advisoryTitle,'default':'',id:'advTitle',setup:o,commit:r},{type:'text',label:a.lang.link.advisoryContentType,'default':'',id:'advContentType',setup:o,commit:r}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:a.lang.link.cssClasses,'default':'',id:'advCSSClasses',setup:o,commit:r},{type:'text',label:a.lang.link.charset,'default':'',id:'advCharset',setup:o,commit:r}]},{type:'hbox',children:[{type:'text',label:a.lang.link.styles,'default':'',id:'advStyles',setup:o,commit:r}]}]}]}],onShow:function(){var y=this;
10
- y.fakeObj=false;var s=y.getParentEditor(),t=s.getSelection(),u=t.getRanges(),v=null,w=y;if(u.length==1){var x=u[0].getCommonAncestor(true);v=x.getAscendant('a',true);if(v&&v.getAttribute('href'))t.selectElement(v);else if((v=x.getAscendant('img',true))&&(v.getAttribute('_cke_real_element_type')&&v.getAttribute('_cke_real_element_type')=='anchor')){y.fakeObj=v;v=s.restoreRealElement(y.fakeObj);t.selectElement(y.fakeObj);}else v=null;}y.setupContent(l.apply(y,[s,v]));},onOk:function(){var s={href:'javascript:void(0)/*'+CKEDITOR.tools.getNextNumber()+'*/'},t=[],u={href:s.href},v=this,w=this.getParentEditor();this.commitContent(u);switch(u.type||'url'){case 'url':var x=u.url&&u.url.protocol!=undefined?u.url.protocol:'http://',y=u.url&&u.url.url||'';s._cke_saved_href=y.indexOf('/')===0?y:x+y;break;case 'anchor':var z=u.anchor&&u.anchor.name,A=u.anchor&&u.anchor.id;s._cke_saved_href='#'+(z||A||'');break;case 'email':var B=u.email&&u.email.address,C=u.email&&encodeURIComponent(u.email.subject||''),D=u.email&&encodeURIComponent(u.email.body||''),E=['mailto:',B];if(C||D){var F=[];E.push('?');C&&F.push('subject='+C);D&&F.push('body='+D);E.push(F.join('&'));}s._cke_saved_href=E.join('');break;default:}if(u.target)if(u.target.type=='popup'){var G=["window.open(this.href, '",u.target.name||'',"', '"],H=['resizable','status','location','toolbar','menubar','fullscreen','scrollbars','dependent'],I=H.length,J=function(T){if(u.target[T])H.push(T+'='+u.target[T]);};for(var K=0;K<I;K++)H[K]=H[K]+(u.target[H[K]]?'=yes':'=no');J('width');J('left');J('height');J('top');G.push(H.join(','),"'); return false;");s[CKEDITOR.env.ie||CKEDITOR.env.webkit?'_cke_pa_onclick':'onclick']=G.join('');}else{if(u.target.type!='notSet'&&u.target.name)s.target=u.target.name;t.push('_cke_pa_onclick','onclick');}if(u.adv){var L=function(T,U){var V=u.adv[T];if(V)s[U]=V;else t.push(U);};if(this._.selectedElement)L('advId','id');L('advLangDir','dir');L('advAccessKey','accessKey');L('advName','name');L('advLangCode','lang');L('advTabIndex','tabindex');L('advTitle','title');L('advContentType','type');L('advCSSClasses','class');L('advCharset','charset');L('advStyles','style');}if(!this._.selectedElement){var M=w.getSelection(),N=M.getRanges();if(N.length==1&&N[0].collapsed){var O=new CKEDITOR.dom.text(s._cke_saved_href,w.document);N[0].insertNode(O);N[0].selectNodeContents(O);M.selectRanges(N);}var P=new CKEDITOR.style({element:'a',attributes:s});P.type=CKEDITOR.STYLE_INLINE;P.apply(w.document);if(u.adv&&u.adv.advId){var Q=this.getParentEditor().document.$.getElementsByTagName('a');
11
- for(K=0;K<Q.length;K++)if(Q[K].href==s.href){Q[K].id=u.adv.advId;break;}}}else{var R=this._.selectedElement;if(CKEDITOR.env.ie&&s.name!=R.getAttribute('name')){var S=new CKEDITOR.dom.element('<a name="'+CKEDITOR.tools.htmlEncode(s.name)+'">',w.document);M=w.getSelection();R.moveChildren(S);R.copyAttributes(S,{name:1});S.replace(R);R=S;M.selectElement(R);}R.setAttributes(s);R.removeAttributes(t);if(R.getAttribute('name'))R.addClass('cke_anchor');else R.removeClass('cke_anchor');if(this.fakeObj)w.createFakeElement(R,'cke_anchor','anchor').replace(this.fakeObj);delete this._.selectedElement;}},onLoad:function(){if(!a.config.linkShowAdvancedTab)this.hidePage('advanced');if(!a.config.linkShowTargetTab)this.hidePage('target');}};});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- 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});
@@ -1,9 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){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']});})();
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- 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);}}}});}});
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){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);}});})();