typo 5.5 → 6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/PostInstall.txt +5 -0
- data/typo.gemspec +16 -0
- metadata +35 -1619
- data/CHANGELOG +0 -59
- data/MAINTAINERS +0 -23
- data/MIT-LICENSE +0 -21
- data/README +0 -57
- data/Rakefile +0 -10
- data/Typo users guide.pdf +0 -0
- data/UPGRADE +0 -144
- data/app/apis/blogger_service.rb +0 -93
- data/app/apis/meta_weblog_service.rb +0 -173
- data/app/apis/movable_type_service.rb +0 -144
- data/app/apis/typo_web_service.rb +0 -26
- data/app/controllers/accounts_controller.rb +0 -106
- data/app/controllers/admin/base_controller.rb +0 -18
- data/app/controllers/admin/categories_controller.rb +0 -66
- data/app/controllers/admin/content_controller.rb +0 -242
- data/app/controllers/admin/dashboard_controller.rb +0 -96
- data/app/controllers/admin/feedback_controller.rb +0 -173
- data/app/controllers/admin/pages_controller.rb +0 -77
- data/app/controllers/admin/profiles_controller.rb +0 -14
- data/app/controllers/admin/resources_controller.rb +0 -96
- data/app/controllers/admin/settings_controller.rb +0 -76
- data/app/controllers/admin/sidebar_controller.rb +0 -102
- data/app/controllers/admin/tags_controller.rb +0 -37
- data/app/controllers/admin/textfilters_controller.rb +0 -8
- data/app/controllers/admin/themes_controller.rb +0 -121
- data/app/controllers/admin/users_controller.rb +0 -47
- data/app/controllers/application_controller.rb +0 -78
- data/app/controllers/articles_controller.rb +0 -312
- data/app/controllers/authors_controller.rb +0 -21
- data/app/controllers/backend_controller.rb +0 -20
- data/app/controllers/categories_controller.rb +0 -4
- data/app/controllers/comments_controller.rb +0 -89
- data/app/controllers/content_controller.rb +0 -51
- data/app/controllers/feedback_controller.rb +0 -50
- data/app/controllers/grouping_controller.rb +0 -123
- data/app/controllers/setup_controller.rb +0 -45
- data/app/controllers/tags_controller.rb +0 -3
- data/app/controllers/textfilter_controller.rb +0 -19
- data/app/controllers/theme_controller.rb +0 -62
- data/app/controllers/trackbacks_controller.rb +0 -41
- data/app/controllers/xml_controller.rb +0 -134
- data/app/helpers/accounts_helper.rb +0 -2
- data/app/helpers/admin/base_helper.rb +0 -251
- data/app/helpers/admin/cache_helper.rb +0 -2
- data/app/helpers/admin/categories_helper.rb +0 -12
- data/app/helpers/admin/comments_helper.rb +0 -2
- data/app/helpers/admin/content_helper.rb +0 -88
- data/app/helpers/admin/feedback_helper.rb +0 -15
- data/app/helpers/admin/general_helper.rb +0 -2
- data/app/helpers/admin/pages_helper.rb +0 -8
- data/app/helpers/admin/resources_helper.rb +0 -8
- data/app/helpers/admin/settings_helper.rb +0 -23
- data/app/helpers/admin/sidebar_helper.rb +0 -2
- data/app/helpers/admin/textfilters_helper.rb +0 -2
- data/app/helpers/admin/themes_helper.rb +0 -23
- data/app/helpers/admin/trackbacks_helper.rb +0 -2
- data/app/helpers/admin/users_helper.rb +0 -14
- data/app/helpers/application_helper.rb +0 -199
- data/app/helpers/articles_helper.rb +0 -21
- data/app/helpers/authors_helper.rb +0 -19
- data/app/helpers/backend_helper.rb +0 -2
- data/app/helpers/categories_helper.rb +0 -5
- data/app/helpers/comments_helper.rb +0 -2
- data/app/helpers/content_helper.rb +0 -67
- data/app/helpers/groupings_helper.rb +0 -5
- data/app/helpers/mail_helper.rb +0 -7
- data/app/helpers/sidebar_helper.rb +0 -47
- data/app/helpers/sidebars/plugin_helper.rb +0 -2
- data/app/helpers/tags_helper.rb +0 -5
- data/app/helpers/text_filter_plugin_helper.rb +0 -2
- data/app/helpers/textfilter_helper.rb +0 -2
- data/app/helpers/theme_helper.rb +0 -7
- data/app/helpers/xml_helper.rb +0 -20
- data/app/models/article.rb +0 -575
- data/app/models/article/states.rb +0 -191
- data/app/models/blog.rb +0 -202
- data/app/models/blog_sweeper.rb +0 -88
- data/app/models/categorization.rb +0 -4
- data/app/models/category.rb +0 -98
- data/app/models/comment.rb +0 -75
- data/app/models/config_manager.rb +0 -80
- data/app/models/content.rb +0 -385
- data/app/models/email_notifier.rb +0 -8
- data/app/models/feedback.rb +0 -175
- data/app/models/feedback/states.rb +0 -221
- data/app/models/notification.rb +0 -4
- data/app/models/notification_mailer.rb +0 -41
- data/app/models/page.rb +0 -41
- data/app/models/page_cache.rb +0 -62
- data/app/models/ping.rb +0 -124
- data/app/models/profile.rb +0 -15
- data/app/models/redirect.rb +0 -3
- data/app/models/resource.rb +0 -66
- data/app/models/right.rb +0 -4
- data/app/models/sidebar.rb +0 -269
- data/app/models/tag.rb +0 -99
- data/app/models/text_filter.rb +0 -106
- data/app/models/theme.rb +0 -58
- data/app/models/trackback.rb +0 -67
- data/app/models/trigger.rb +0 -32
- data/app/models/user.rb +0 -208
- data/app/models/web_notifier.rb +0 -7
- data/app/views/accounts/confirm.html.erb +0 -1
- data/app/views/accounts/login.html.erb +0 -25
- data/app/views/accounts/recover_password.html.erb +0 -15
- data/app/views/accounts/signup.html.erb +0 -22
- data/app/views/admin/categories/_categories.html.erb +0 -22
- data/app/views/admin/categories/_form.html.erb +0 -19
- data/app/views/admin/categories/destroy.html.erb +0 -10
- data/app/views/admin/categories/index.html.erb +0 -8
- data/app/views/admin/categories/new.html.erb +0 -6
- data/app/views/admin/categories/reorder.html.erb +0 -11
- data/app/views/admin/content/_article_list.html.erb +0 -17
- data/app/views/admin/content/_attachment.html.erb +0 -30
- data/app/views/admin/content/_drafts.html.erb +0 -8
- data/app/views/admin/content/_form.html.erb +0 -124
- data/app/views/admin/content/_images.html.erb +0 -18
- data/app/views/admin/content/_show_resources.html.erb +0 -9
- data/app/views/admin/content/_simple_editor.html.erb +0 -15
- data/app/views/admin/content/_visual_editor.html.erb +0 -20
- data/app/views/admin/content/destroy.html.erb +0 -11
- data/app/views/admin/content/index.html.erb +0 -47
- data/app/views/admin/content/new.html.erb +0 -3
- data/app/views/admin/dashboard/_comments.html.erb +0 -19
- data/app/views/admin/dashboard/_inbound.html.erb +0 -23
- data/app/views/admin/dashboard/_overview.html.erb +0 -19
- data/app/views/admin/dashboard/_popular.html.erb +0 -17
- data/app/views/admin/dashboard/_posts.html.erb +0 -19
- data/app/views/admin/dashboard/_typo_dev.html.erb +0 -25
- data/app/views/admin/dashboard/_welcome.html.erb +0 -17
- data/app/views/admin/dashboard/index.html.erb +0 -13
- data/app/views/admin/feedback/_button.html.erb +0 -10
- data/app/views/admin/feedback/_form.html.erb +0 -32
- data/app/views/admin/feedback/_item.html.erb +0 -19
- data/app/views/admin/feedback/article.html.erb +0 -34
- data/app/views/admin/feedback/edit.html.erb +0 -10
- data/app/views/admin/feedback/index.html.erb +0 -44
- data/app/views/admin/pages/_form.html.erb +0 -62
- data/app/views/admin/pages/_images.html.erb +0 -18
- data/app/views/admin/pages/_pages.html.erb +0 -17
- data/app/views/admin/pages/_simple_editor.html.erb +0 -15
- data/app/views/admin/pages/_visual_editor.html.erb +0 -21
- data/app/views/admin/pages/destroy.html.erb +0 -11
- data/app/views/admin/pages/edit.html.erb +0 -4
- data/app/views/admin/pages/index.html.erb +0 -13
- data/app/views/admin/pages/new.html.erb +0 -3
- data/app/views/admin/pages/show.html.erb +0 -2
- data/app/views/admin/profiles/index.html.erb +0 -8
- data/app/views/admin/resources/_mime_edit.html.erb +0 -8
- data/app/views/admin/resources/_pages.html.erb +0 -3
- data/app/views/admin/resources/_upload.html.erb +0 -17
- data/app/views/admin/resources/destroy.html.erb +0 -11
- data/app/views/admin/resources/get_thumbnails.html.erb +0 -5
- data/app/views/admin/resources/images.html.erb +0 -28
- data/app/views/admin/resources/index.html.erb +0 -30
- data/app/views/admin/settings/_submit.html.erb +0 -3
- data/app/views/admin/settings/feedback.html.erb +0 -109
- data/app/views/admin/settings/index.html.erb +0 -86
- data/app/views/admin/settings/seo.html.erb +0 -80
- data/app/views/admin/settings/update_database.html.erb +0 -42
- data/app/views/admin/settings/write.html.erb +0 -34
- data/app/views/admin/shared/_edit.html.erb +0 -6
- data/app/views/admin/sidebar/_active.html.erb +0 -15
- data/app/views/admin/sidebar/_actives.html.erb +0 -9
- data/app/views/admin/sidebar/_available.html.erb +0 -7
- data/app/views/admin/sidebar/_availables.html.erb +0 -5
- data/app/views/admin/sidebar/_publish.html.erb +0 -2
- data/app/views/admin/sidebar/_target.html.erb +0 -1
- data/app/views/admin/sidebar/index.html.erb +0 -49
- data/app/views/admin/sidebar/publish.rjs +0 -4
- data/app/views/admin/sidebar/remove.rjs +0 -5
- data/app/views/admin/sidebar/set_active.rjs +0 -10
- data/app/views/admin/tags/_form.html.erb +0 -6
- data/app/views/admin/tags/destroy.html.erb +0 -11
- data/app/views/admin/tags/edit.html.erb +0 -13
- data/app/views/admin/tags/index.html.erb +0 -19
- data/app/views/admin/themes/catalogue.html.erb +0 -30
- data/app/views/admin/themes/editor.html.erb +0 -29
- data/app/views/admin/themes/index.html.erb +0 -36
- data/app/views/admin/users/_form.html.erb +0 -188
- data/app/views/admin/users/destroy.html.erb +0 -14
- data/app/views/admin/users/edit.html.erb +0 -6
- data/app/views/admin/users/index.html.erb +0 -27
- data/app/views/admin/users/new.html.erb +0 -6
- data/app/views/articles/_article.html.erb +0 -24
- data/app/views/articles/_article_content.html.erb +0 -1
- data/app/views/articles/_atom_feed.atom.builder +0 -12
- data/app/views/articles/_comment.html.erb +0 -9
- data/app/views/articles/_comment_box.html.erb +0 -45
- data/app/views/articles/_comment_error.html.erb +0 -1
- data/app/views/articles/_comment_failed.html.erb +0 -4
- data/app/views/articles/_password_form.html.erb +0 -10
- data/app/views/articles/_rss20_feed.rss.builder +0 -19
- data/app/views/articles/_trackback.html.erb +0 -6
- data/app/views/articles/archives.html.erb +0 -22
- data/app/views/articles/comment_preview.html.erb +0 -3
- data/app/views/articles/error.html.erb +0 -3
- data/app/views/articles/groupings.html.erb +0 -15
- data/app/views/articles/index.html.erb +0 -8
- data/app/views/articles/live_search.html.erb +0 -10
- data/app/views/articles/read.html.erb +0 -66
- data/app/views/articles/search.html.erb +0 -8
- data/app/views/articles/trackback.xml.builder +0 -5
- data/app/views/articles/view_page.html.erb +0 -3
- data/app/views/authors/show.html.erb +0 -37
- data/app/views/comments/index.html.erb +0 -1
- data/app/views/comments/show.html.erb +0 -13
- data/app/views/layouts/accounts.html.erb +0 -18
- data/app/views/layouts/administration.html.erb +0 -45
- data/app/views/layouts/setup.html.erb +0 -18
- data/app/views/layouts/sidebar.html.erb +0 -40
- data/app/views/notification_mailer/_mail_footer.html.erb +0 -7
- data/app/views/notification_mailer/_mail_header.html.erb +0 -1
- data/app/views/notification_mailer/article.html.erb +0 -6
- data/app/views/notification_mailer/comment.html.erb +0 -11
- data/app/views/notification_mailer/notif_user.html.erb +0 -14
- data/app/views/notification_mailer/trackback.html.erb +0 -3
- data/app/views/settings/done.html.erb +0 -2
- data/app/views/settings/install.html.erb +0 -12
- data/app/views/setup/confirm.html.erb +0 -1
- data/app/views/setup/index.html.erb +0 -17
- data/app/views/shared/_confirm.html.erb +0 -16
- data/app/views/shared/_search.html.erb +0 -10
- data/app/views/sidebar/_row.html.erb +0 -1
- data/app/views/sidebar/_sidebar.html.erb +0 -5
- data/app/views/sidebar/display_plugins.html.erb +0 -5
- data/app/views/sidebar/show.html.erb +0 -1
- data/app/views/theme/static_view_test.html.erb +0 -1
- data/app/views/trackbacks/trackback.xml.builder +0 -4
- data/app/views/xml/_atom10_item_article.atom.builder +0 -39
- data/app/views/xml/_atom10_item_comment.atom.builder +0 -12
- data/app/views/xml/_atom10_item_trackback.atom.builder +0 -16
- data/app/views/xml/_googlesitemap_item_article.googlesitemap.builder +0 -5
- data/app/views/xml/_googlesitemap_item_category.googlesitemap.builder +0 -4
- data/app/views/xml/_googlesitemap_item_page.googlesitemap.builder +0 -4
- data/app/views/xml/_googlesitemap_item_tag.googlesitemap.builder +0 -4
- data/app/views/xml/_itunes_item_resource.xml.builder +0 -28
- data/app/views/xml/_rss20_item_article.rss.builder +0 -29
- data/app/views/xml/_rss20_item_comment.rss.builder +0 -7
- data/app/views/xml/_rss20_item_trackback.rss.builder +0 -7
- data/app/views/xml/feed.atom.builder +0 -18
- data/app/views/xml/feed.googlesitemap.builder +0 -7
- data/app/views/xml/feed.rss.builder +0 -21
- data/app/views/xml/itunes_feed.rss.builder +0 -29
- data/app/views/xml/rsd.rsd.builder +0 -19
- data/app/views/xml/rsd.rxml +0 -19
- data/bin/typo +0 -122
- data/config/boot.rb +0 -110
- data/config/ckeditor.yml +0 -14
- data/config/database.yml.example +0 -18
- data/config/environment.rb +0 -109
- data/config/environments/cucumber.rb +0 -23
- data/config/environments/development.rb +0 -21
- data/config/environments/production.rb +0 -19
- data/config/environments/test.rb +0 -26
- data/config/filemanager.yml +0 -16
- data/config/initializers/access_rules.rb +0 -110
- data/config/initializers/inflector.rb +0 -4
- data/config/initializers/mime_types.rb +0 -3
- data/config/lighttpd.conf +0 -46
- data/config/locales/nl.rb +0 -103
- data/config/mail.yml.example +0 -8
- data/config/routes.rb +0 -128
- data/db/converters/README +0 -14
- data/db/converters/feed.rb +0 -68
- data/db/converters/mt3.rb +0 -172
- data/db/converters/rss.rb +0 -67
- data/db/converters/s9y.rb +0 -182
- data/db/converters/textpattern.rb +0 -137
- data/db/migrate/001_initial_schema.rb +0 -145
- data/db/migrate/002_add_user_email.rb +0 -17
- data/db/migrate/003_add_article_user_id.rb +0 -31
- data/db/migrate/004_add_sidebars.rb +0 -48
- data/db/migrate/005_add_cache_table.rb +0 -20
- data/db/migrate/006_add_pages.rb +0 -17
- data/db/migrate/007_add_permalink.rb +0 -36
- data/db/migrate/008_add_page_title.rb +0 -20
- data/db/migrate/009_add_article_guid.rb +0 -10
- data/db/migrate/010_add_tags.rb +0 -19
- data/db/migrate/011_add_article_id.rb +0 -17
- data/db/migrate/012_enlarge_settings.rb +0 -11
- data/db/migrate/013_add_textfilters.rb +0 -33
- data/db/migrate/014_move_text_filter_to_text_filter_id.rb +0 -43
- data/db/migrate/015_convert_mysql_to_innodb.rb +0 -19
- data/db/migrate/016_fix_is_primary_postgres.rb +0 -16
- data/db/migrate/017_add_comment_user_id.rb +0 -23
- data/db/migrate/018_add_guids.rb +0 -13
- data/db/migrate/019_add_whiteboards_to_content.rb +0 -15
- data/db/migrate/020_superclass_articles.rb +0 -168
- data/db/migrate/021_superclass_comments.rb +0 -94
- data/db/migrate/022_superclass_trackbacks.rb +0 -73
- data/db/migrate/023_superclass_pages.rb +0 -65
- data/db/migrate/024_cleanup_contents.rb +0 -54
- data/db/migrate/025_add_itunes_metadata.rb +0 -29
- data/db/migrate/026_add_redirect_table.rb +0 -13
- data/db/migrate/027_set_comment_published_flag.rb +0 -19
- data/db/migrate/028_rename_redirect_to.rb +0 -16
- data/db/migrate/029_add_user_notification.rb +0 -29
- data/db/migrate/030_index_sessions.rb +0 -9
- data/db/migrate/031_add_notifications_table.rb +0 -14
- data/db/migrate/032_add_jabber_notification.rb +0 -11
- data/db/migrate/033_add_count_caching.rb +0 -34
- data/db/migrate/034_boolify_published.rb +0 -36
- data/db/migrate/035_boolify_content_allow_foo.rb +0 -36
- data/db/migrate/036_add_tag_display_name.rb +0 -51
- data/db/migrate/037_enlarge_ip_field.rb +0 -9
- data/db/migrate/038_add_blog_object.rb +0 -52
- data/db/migrate/039_serialize_blog_attributes.rb +0 -160
- data/db/migrate/040_attach_content_to_blog.rb +0 -28
- data/db/migrate/041_fixup_default_sidebars.rb +0 -18
- data/db/migrate/042_remove_sidebar_staged_config.rb +0 -22
- data/db/migrate/043_create_triggers.rb +0 -14
- data/db/migrate/044_add_published_at_to_content.rb +0 -18
- data/db/migrate/045_fix_contents_published_default.rb +0 -9
- data/db/migrate/046_fixup_forthcoming_publications.rb +0 -40
- data/db/migrate/047_add_content_state_field.rb +0 -24
- data/db/migrate/048_remove_count_caching.rb +0 -31
- data/db/migrate/049_move_feedback_to_new_state_machine.rb +0 -33
- data/db/migrate/050_add_status_confirmed_field_to_content.rb +0 -19
- data/db/migrate/051_fix_canonical_server_url.rb +0 -17
- data/db/migrate/052_remove_cached_html.rb +0 -11
- data/db/migrate/053_promote_canonical_server_url.rb +0 -22
- data/db/migrate/054_upgrade_sidebar_objects.rb +0 -26
- data/db/migrate/055_link_sidebars_to_blog.rb +0 -17
- data/db/migrate/056_create_notifications.rb +0 -33
- data/db/migrate/057_add_categorization_model.rb +0 -58
- data/db/migrate/058_separate_entries_and_feedback.rb +0 -81
- data/db/migrate/059_cleanup_feedback_table.rb +0 -25
- data/db/migrate/060_cleanup_contents_table.rb +0 -37
- data/db/migrate/061_convert_title_prefix_setting.rb +0 -25
- data/db/migrate/062_add_sitealizer_plugin.rb +0 -18
- data/db/migrate/063_rejig_state_field.rb +0 -42
- data/db/migrate/064_add_users_profile.rb +0 -32
- data/db/migrate/065_add_users_rights.rb +0 -116
- data/db/migrate/066_fix_profiles.rb +0 -20
- data/db/migrate/067_remove_blog_ids.rb +0 -30
- data/db/migrate/068_fix_grants.rb +0 -113
- data/db/migrate/069_add_modules_to_profile.rb +0 -18
- data/db/migrate/070_add_users_to_non_admins.rb +0 -17
- data/db/migrate/071_fix_tags_naming.rb +0 -18
- data/db/migrate/072_add_remember_token.rb +0 -9
- data/db/migrate/073_add_meta_and_subcategories.rb +0 -13
- data/db/migrate/074_add_remember_token_expires_at.rb +0 -9
- data/db/migrate/075_move_editor_to_user.rb +0 -10
- data/db/migrate/076_fix_users_empty_email.rb +0 -15
- data/db/migrate/077_fix_userless_articles.rb +0 -20
- data/db/migrate/078_add_textfilter_to_users.rb +0 -15
- data/db/migrate/079_move_editor_as_string.rb +0 -16
- data/db/migrate/080_add_state_to_user.rb +0 -14
- data/db/migrate/081_create_cache_informations.rb +0 -28
- data/db/migrate/082_add_users_options.rb +0 -35
- data/db/migrate/083_add_users_display_perms.rb +0 -19
- data/db/migrate/084_move_users_to_profiles.rb +0 -19
- data/db/migrate/085_add_article_parent_draft.rb +0 -9
- data/db/migrate/086_add_user_last_connection.rb +0 -9
- data/db/migrate/087_drop_blacklist_patterns.rb +0 -14
- data/db/migrate/088_drop_session_table.rb +0 -14
- data/db/migrate/089_drop_cache_information_table.rb +0 -31
- data/db/migrate/090_remove_keywords_from_posts.rb +0 -9
- data/db/migrate/091_adds_password_protection_to_posts.rb +0 -9
- data/db/schema.mysql-v3.sql +0 -3
- data/db/schema.mysql.sql +0 -3
- data/db/schema.postgresql.sql +0 -3
- data/db/schema.sqlite.sql +0 -3
- data/db/schema.sqlite3.sql +0 -3
- data/db/schema.sqlserver.sql +0 -3
- data/db/schema_version +0 -1
- data/db/scripts/fix_permalinks.rb +0 -5
- data/db/updates/update.168.to.200.mysql.sql +0 -33
- data/db/updates/update.168.to.200.psql.sql +0 -30
- data/doc/CACHE.SETUP.README +0 -36
- data/doc/Installer.txt +0 -160
- data/installer/apache13.conf.example.template +0 -33
- data/installer/apache20.conf.example.template +0 -40
- data/installer/lighttpd.conf.example.template +0 -6
- data/installer/rails_installer_defaults.yml +0 -5
- data/lang/de_DE.rb +0 -497
- data/lang/en_US.rb +0 -3
- data/lang/es_MX.rb +0 -556
- data/lang/fr_FR.rb +0 -762
- data/lang/he_IL.rb +0 -715
- data/lang/it_IT.rb +0 -566
- data/lang/ja_JP.rb +0 -707
- data/lang/nl_NL.rb +0 -657
- data/lang/pl_PL.rb +0 -685
- data/lang/ro_RO.rb +0 -552
- data/lang/zh_TW.rb +0 -597
- data/lib/backpack_api.rb +0 -202
- data/lib/bare_migration.rb +0 -145
- data/lib/email_notify.rb +0 -32
- data/lib/filemanager.rb +0 -53
- data/lib/filemanager/controller.rb +0 -217
- data/lib/format.rb +0 -19
- data/lib/generators/sidebar/sidebar_generator.rb +0 -22
- data/lib/generators/sidebar/templates/Rakefile +0 -22
- data/lib/generators/sidebar/templates/content.html.erb +0 -10
- data/lib/generators/sidebar/templates/init.rb +0 -4
- data/lib/generators/sidebar/templates/sidebar.rb +0 -16
- data/lib/generators/sidebar/templates/unit_test.rb +0 -8
- data/lib/i18n_interpolation_deprecation.rb +0 -26
- data/lib/migrator.rb +0 -28
- data/lib/rails_patch/active_record.rb +0 -9
- data/lib/rails_patch/active_support.rb +0 -4
- data/lib/route_cache.rb +0 -15
- data/lib/sidebars/component_plugin.rb +0 -8
- data/lib/sidebars/consolidated_plugin.rb +0 -26
- data/lib/sidebars/plugin.rb +0 -237
- data/lib/spam_protection.rb +0 -110
- data/lib/stateful.rb +0 -111
- data/lib/tasks/cucumber.rake +0 -20
- data/lib/tasks/release.rake +0 -53
- data/lib/tasks/rspec.rake +0 -167
- data/lib/tasks/schemas.rake +0 -6
- data/lib/tasks/sweep_cache.rake +0 -5
- data/lib/text_filter_plugin.rb +0 -148
- data/lib/transforms.rb +0 -26
- data/lib/typo_guid.rb +0 -10
- data/lib/typo_plugins.rb +0 -19
- data/lib/typo_version.rb +0 -1
- data/public/.htaccess +0 -36
- data/public/404.html +0 -8
- data/public/500.html +0 -8
- data/public/dispatch.cgi +0 -10
- data/public/dispatch.fcgi +0 -24
- data/public/dispatch.rb +0 -10
- data/public/favicon.ico +0 -0
- data/public/filemanager/images/avi.gif +0 -0
- data/public/filemanager/images/box.gif +0 -0
- data/public/filemanager/images/bullet.gif +0 -0
- data/public/filemanager/images/close.gif +0 -0
- data/public/filemanager/images/closelabel.gif +0 -0
- data/public/filemanager/images/doc.gif +0 -0
- data/public/filemanager/images/donate-button.gif +0 -0
- data/public/filemanager/images/download-icon.gif +0 -0
- data/public/filemanager/images/folder.gif +0 -0
- data/public/filemanager/images/gif.gif +0 -0
- data/public/filemanager/images/htm.gif +0 -0
- data/public/filemanager/images/html.gif +0 -0
- data/public/filemanager/images/image-1.jpg +0 -0
- data/public/filemanager/images/image.gif +0 -0
- data/public/filemanager/images/jpg.gif +0 -0
- data/public/filemanager/images/loading.gif +0 -0
- data/public/filemanager/images/mov.gif +0 -0
- data/public/filemanager/images/nextlabel.gif +0 -0
- data/public/filemanager/images/pdf.gif +0 -0
- data/public/filemanager/images/png.gif +0 -0
- data/public/filemanager/images/ppt.gif +0 -0
- data/public/filemanager/images/prevlabel.gif +0 -0
- data/public/filemanager/images/rar.gif +0 -0
- data/public/filemanager/images/rm.gif +0 -0
- data/public/filemanager/images/rmvb.gif +0 -0
- data/public/filemanager/images/separator.gif +0 -0
- data/public/filemanager/images/spacer.gif +0 -0
- data/public/filemanager/images/swf.gif +0 -0
- data/public/filemanager/images/thumb-1.jpg +0 -0
- data/public/filemanager/images/tool_copy.gif +0 -0
- data/public/filemanager/images/tool_cut.gif +0 -0
- data/public/filemanager/images/tool_del.gif +0 -0
- data/public/filemanager/images/tool_folder.gif +0 -0
- data/public/filemanager/images/tool_imagemanager.gif +0 -0
- data/public/filemanager/images/tool_new.gif +0 -0
- data/public/filemanager/images/tool_paste.gif +0 -0
- data/public/filemanager/images/tool_props.gif +0 -0
- data/public/filemanager/images/tool_refresh.gif +0 -0
- data/public/filemanager/images/tool_unzip.gif +0 -0
- data/public/filemanager/images/tool_upload.gif +0 -0
- data/public/filemanager/images/tool_zip.gif +0 -0
- data/public/filemanager/images/txt.gif +0 -0
- data/public/filemanager/images/unknown.gif +0 -0
- data/public/filemanager/images/wmv.gif +0 -0
- data/public/filemanager/images/xls.gif +0 -0
- data/public/filemanager/images/zip.gif +0 -0
- data/public/filemanager/javascripts/filemanager.js +0 -6
- data/public/filemanager/javascripts/lang/en.js +0 -31
- data/public/filemanager/javascripts/lang/zh_CN.js +0 -31
- data/public/filemanager/javascripts/lightbox.js +0 -497
- data/public/filemanager/javascripts/translate.js +0 -42
- data/public/filemanager/resources/resources.txt +0 -1
- data/public/filemanager/stylesheets/filelist.css +0 -147
- data/public/filemanager/stylesheets/general.css +0 -135
- data/public/filemanager/stylesheets/lightbox.css +0 -27
- data/public/images/admin/loading.gif +0 -0
- data/public/images/admin/typologo.gif +0 -0
- data/public/images/admin/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/public/images/admin/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/public/images/admin/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/public/images/admin/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/public/images/admin/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/public/images/admin/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/public/images/admin/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/public/images/admin/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/public/images/admin/ui-bg_highlight-soft_50_116088_1x100.png +0 -0
- data/public/images/admin/ui-icons_2694e8_256x240.png +0 -0
- data/public/images/admin/ui-icons_2e83ff_256x240.png +0 -0
- data/public/images/admin/ui-icons_3d80b3_256x240.png +0 -0
- data/public/images/admin/ui-icons_72a7cf_256x240.png +0 -0
- data/public/images/admin/ui-icons_ffffff_256x240.png +0 -0
- data/public/images/calendar_date_select/calendar.gif +0 -0
- data/public/images/close.gif +0 -0
- data/public/images/closelabel.gif +0 -0
- data/public/images/go.png +0 -0
- data/public/images/loading.gif +0 -0
- data/public/images/nextlabel.gif +0 -0
- data/public/images/overlay.png +0 -0
- data/public/images/powered.gif +0 -0
- data/public/images/prevlabel.gif +0 -0
- data/public/images/spinner-blue.gif +0 -0
- data/public/images/spinner.gif +0 -0
- data/public/images/thumb_blank.jpg +0 -0
- data/public/javascripts/administration.js +0 -20
- data/public/javascripts/application.js +0 -2
- data/public/javascripts/base_packaged.js +0 -377
- data/public/javascripts/builder.js +0 -136
- data/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
- data/public/javascripts/calendar_date_select/format_db.js +0 -27
- data/public/javascripts/ckcustom.js +0 -27
- data/public/javascripts/ckeditor/.htaccess +0 -24
- data/public/javascripts/ckeditor/CHANGES.html +0 -254
- data/public/javascripts/ckeditor/INSTALL.html +0 -92
- data/public/javascripts/ckeditor/LICENSE.html +0 -1334
- data/public/javascripts/ckeditor/ckeditor.js +0 -108
- data/public/javascripts/ckeditor/ckeditor.pack +0 -199
- data/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
- data/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
- data/public/javascripts/ckeditor/ckeditor_source.js +0 -25
- data/public/javascripts/ckeditor/config.bak +0 -27
- data/public/javascripts/ckeditor/contents.css +0 -35
- data/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/public/javascripts/ckeditor/lang/_languages.js +0 -6
- data/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -59
- data/public/javascripts/ckeditor/lang/af.js +0 -6
- data/public/javascripts/ckeditor/lang/ar.js +0 -6
- data/public/javascripts/ckeditor/lang/bg.js +0 -6
- data/public/javascripts/ckeditor/lang/bn.js +0 -6
- data/public/javascripts/ckeditor/lang/bs.js +0 -6
- data/public/javascripts/ckeditor/lang/ca.js +0 -6
- data/public/javascripts/ckeditor/lang/cs.js +0 -6
- data/public/javascripts/ckeditor/lang/da.js +0 -6
- data/public/javascripts/ckeditor/lang/de.js +0 -6
- data/public/javascripts/ckeditor/lang/el.js +0 -6
- data/public/javascripts/ckeditor/lang/en-au.js +0 -6
- data/public/javascripts/ckeditor/lang/en-ca.js +0 -6
- data/public/javascripts/ckeditor/lang/en-uk.js +0 -6
- data/public/javascripts/ckeditor/lang/en.js +0 -6
- data/public/javascripts/ckeditor/lang/eo.js +0 -6
- data/public/javascripts/ckeditor/lang/es.js +0 -6
- data/public/javascripts/ckeditor/lang/et.js +0 -6
- data/public/javascripts/ckeditor/lang/eu.js +0 -6
- data/public/javascripts/ckeditor/lang/fa.js +0 -6
- data/public/javascripts/ckeditor/lang/fi.js +0 -6
- data/public/javascripts/ckeditor/lang/fo.js +0 -6
- data/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
- data/public/javascripts/ckeditor/lang/fr.js +0 -6
- data/public/javascripts/ckeditor/lang/gl.js +0 -6
- data/public/javascripts/ckeditor/lang/gu.js +0 -6
- data/public/javascripts/ckeditor/lang/he.js +0 -6
- data/public/javascripts/ckeditor/lang/hi.js +0 -6
- data/public/javascripts/ckeditor/lang/hr.js +0 -6
- data/public/javascripts/ckeditor/lang/hu.js +0 -6
- data/public/javascripts/ckeditor/lang/is.js +0 -6
- data/public/javascripts/ckeditor/lang/it.js +0 -6
- data/public/javascripts/ckeditor/lang/ja.js +0 -6
- data/public/javascripts/ckeditor/lang/km.js +0 -6
- data/public/javascripts/ckeditor/lang/ko.js +0 -6
- data/public/javascripts/ckeditor/lang/lt.js +0 -6
- data/public/javascripts/ckeditor/lang/lv.js +0 -6
- data/public/javascripts/ckeditor/lang/mn.js +0 -6
- data/public/javascripts/ckeditor/lang/ms.js +0 -6
- data/public/javascripts/ckeditor/lang/nb.js +0 -6
- data/public/javascripts/ckeditor/lang/nl.js +0 -6
- data/public/javascripts/ckeditor/lang/no.js +0 -6
- data/public/javascripts/ckeditor/lang/pl.js +0 -6
- data/public/javascripts/ckeditor/lang/pt-br.js +0 -6
- data/public/javascripts/ckeditor/lang/pt.js +0 -6
- data/public/javascripts/ckeditor/lang/ro.js +0 -6
- data/public/javascripts/ckeditor/lang/ru.js +0 -6
- data/public/javascripts/ckeditor/lang/sk.js +0 -6
- data/public/javascripts/ckeditor/lang/sl.js +0 -6
- data/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
- data/public/javascripts/ckeditor/lang/sr.js +0 -6
- data/public/javascripts/ckeditor/lang/sv.js +0 -6
- data/public/javascripts/ckeditor/lang/th.js +0 -6
- data/public/javascripts/ckeditor/lang/tr.js +0 -6
- data/public/javascripts/ckeditor/lang/uk.js +0 -6
- data/public/javascripts/ckeditor/lang/vi.js +0 -6
- data/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
- data/public/javascripts/ckeditor/lang/zh.js +0 -6
- data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/plugins/about/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/button/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -6
- data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/public/javascripts/ckeditor/plugins/dialog/plugin.js +0 -17
- data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +0 -11
- data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/entities/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
- data/public/javascripts/ckeditor/plugins/find/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/plugins/flash/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/font/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/format/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -12
- data/public/javascripts/ckeditor/plugins/image/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/indent/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/justify/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
- data/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/link/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/list/plugin.js +0 -9
- data/public/javascripts/ckeditor/plugins/listblock/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/maximize/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/menu/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/newpage/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/panel/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -8
- data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/popup/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/preview/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/print/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/resize/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/save/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/public/javascripts/ckeditor/plugins/scayt/plugin.js +0 -8
- data/public/javascripts/ckeditor/plugins/selection/plugin.js +0 -9
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/styles/plugin.js +0 -10
- data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +0 -6
- data/public/javascripts/ckeditor/plugins/tab/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -8
- data/public/javascripts/ckeditor/plugins/table/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -7
- data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +0 -9
- data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -6
- data/public/javascripts/ckeditor/plugins/templates/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/public/javascripts/ckeditor/plugins/undo/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/public/javascripts/ckeditor/plugins/wsc/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +0 -8
- data/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
- data/public/javascripts/ckeditor/skins/kama/editor.css +0 -12
- data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
- data/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
- data/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -8
- data/public/javascripts/ckeditor/skins/office2003/editor.css +0 -13
- data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/skin.js +0 -6
- data/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
- data/public/javascripts/ckeditor/skins/v2/dialog.css +0 -8
- data/public/javascripts/ckeditor/skins/v2/editor.css +0 -12
- data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/skin.js +0 -6
- data/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
- data/public/javascripts/ckeditor/themes/default/theme.js +0 -7
- data/public/javascripts/codecollapse.js +0 -8
- data/public/javascripts/controls.js +0 -963
- data/public/javascripts/cookies.js +0 -60
- data/public/javascripts/dragdrop.js +0 -973
- data/public/javascripts/effects.js +0 -1128
- data/public/javascripts/growler.js +0 -168
- data/public/javascripts/lang/default.js +0 -21
- data/public/javascripts/lang/en_US.js +0 -21
- data/public/javascripts/lang/fr_FR.js +0 -21
- data/public/javascripts/lang/nl_NL.js +0 -21
- data/public/javascripts/lang/zh_TW.js +0 -17
- data/public/javascripts/lightbox.js +0 -497
- data/public/javascripts/prototype.js +0 -4320
- data/public/javascripts/prototype_ext.js +0 -117
- data/public/javascripts/quicktags.js +0 -522
- data/public/javascripts/scriptaculous.js +0 -58
- data/public/javascripts/slider.js +0 -258
- data/public/javascripts/typo.js +0 -136
- data/public/javascripts/typo_carousel.js +0 -340
- data/public/robots.txt +0 -6
- data/public/stylesheets/accounts.css +0 -119
- data/public/stylesheets/administration.css +0 -678
- data/public/stylesheets/administration_rtl.css +0 -905
- data/public/stylesheets/base_packaged.css +0 -100
- data/public/stylesheets/calendar_date_select/default.css +0 -136
- data/public/stylesheets/codecollapse.css +0 -3
- data/public/stylesheets/coderay.css +0 -128
- data/public/stylesheets/growler.css +0 -216
- data/public/stylesheets/lightbox.css +0 -27
- data/public/stylesheets/rss.css +0 -54
- data/public/stylesheets/textmate/dawn.css +0 -209
- data/public/stylesheets/textmate/iplastic.css +0 -142
- data/public/stylesheets/textmate/space_cadet.css +0 -99
- data/public/stylesheets/textmate/textmate.css +0 -48
- data/public/stylesheets/textmate/twilight.css +0 -227
- data/public/stylesheets/user-styles.css +0 -24
- data/script/about +0 -4
- data/script/autospec +0 -6
- data/script/breakpointer +0 -3
- data/script/console +0 -3
- data/script/dbconsole +0 -3
- data/script/destroy +0 -3
- data/script/generate +0 -3
- data/script/lighttpd +0 -2
- data/script/logreport +0 -79
- data/script/migrate +0 -31
- data/script/performance/benchmarker +0 -3
- data/script/performance/profiler +0 -3
- data/script/plugin +0 -3
- data/script/runner +0 -3
- data/script/server +0 -3
- data/script/spacecheck +0 -40
- data/script/spec +0 -10
- data/themes/dirtylicious/about.markdown +0 -3
- data/themes/dirtylicious/images/body.jpg +0 -0
- data/themes/dirtylicious/images/container.jpg +0 -0
- data/themes/dirtylicious/images/gravatar.gif +0 -0
- data/themes/dirtylicious/images/header.jpg +0 -0
- data/themes/dirtylicious/images/li.gif +0 -0
- data/themes/dirtylicious/images/main.gif +0 -0
- data/themes/dirtylicious/images/nav.gif +0 -0
- data/themes/dirtylicious/images/quote.gif +0 -0
- data/themes/dirtylicious/images/spinner.gif +0 -0
- data/themes/dirtylicious/layouts/default.html.erb +0 -57
- data/themes/dirtylicious/preview.png +0 -0
- data/themes/dirtylicious/stylesheets/application.css +0 -327
- data/themes/dirtylicious/views/articles/_article.html.erb +0 -43
- data/themes/dirtylicious/views/articles/_article_content.html.erb +0 -1
- data/themes/dirtylicious/views/articles/_comment.html.erb +0 -14
- data/themes/dirtylicious/views/articles/_comment_form.html.erb +0 -37
- data/themes/dirtylicious/views/articles/_comment_list.html.erb +0 -7
- data/themes/dirtylicious/views/articles/_password_form.html.erb +0 -10
- data/themes/dirtylicious/views/articles/_trackback.html.erb +0 -9
- data/themes/dirtylicious/views/articles/comment_preview.html.erb +0 -10
- data/themes/dirtylicious/views/articles/index.html.erb +0 -3
- data/themes/dirtylicious/views/articles/read.html.erb +0 -48
- data/themes/scribbish/CONTRIBUTORS +0 -2
- data/themes/scribbish/about.markdown +0 -9
- data/themes/scribbish/images/background.gif +0 -0
- data/themes/scribbish/images/gravatar.gif +0 -0
- data/themes/scribbish/images/header_shadow.gif +0 -0
- data/themes/scribbish/images/spinner.gif +0 -0
- data/themes/scribbish/layouts/default.html.erb +0 -41
- data/themes/scribbish/preview.png +0 -0
- data/themes/scribbish/stylesheets/application.css +0 -27
- data/themes/scribbish/stylesheets/content.css +0 -399
- data/themes/scribbish/stylesheets/layout.css +0 -70
- data/themes/scribbish/views/articles/_article.html.erb +0 -47
- data/themes/scribbish/views/articles/_article_content.html.erb +0 -1
- data/themes/scribbish/views/articles/_comment.html.erb +0 -14
- data/themes/scribbish/views/articles/_comment_form.html.erb +0 -53
- data/themes/scribbish/views/articles/_comment_list.html.erb +0 -7
- data/themes/scribbish/views/articles/_password_form.html.erb +0 -10
- data/themes/scribbish/views/articles/_trackback.html.erb +0 -9
- data/themes/scribbish/views/articles/comment_preview.html.erb +0 -10
- data/themes/scribbish/views/articles/index.html.erb +0 -3
- data/themes/scribbish/views/articles/read.html.erb +0 -48
- data/themes/standard_issue/about.markdown +0 -5
- data/themes/standard_issue/images/img01.gif +0 -0
- data/themes/standard_issue/images/img02.gif +0 -0
- data/themes/standard_issue/images/img03.gif +0 -0
- data/themes/standard_issue/images/img04.jpg +0 -0
- data/themes/standard_issue/images/img05.gif +0 -0
- data/themes/standard_issue/images/img06.gif +0 -0
- data/themes/standard_issue/images/img07.gif +0 -0
- data/themes/standard_issue/images/img08.gif +0 -0
- data/themes/standard_issue/images/img09.gif +0 -0
- data/themes/standard_issue/images/img10.gif +0 -0
- data/themes/standard_issue/images/spacer.gif +0 -0
- data/themes/standard_issue/images/spinner.gif +0 -0
- data/themes/standard_issue/layouts/default.html.erb +0 -56
- data/themes/standard_issue/preview.png +0 -0
- data/themes/standard_issue/stylesheets/application.css +0 -461
- data/themes/standard_issue/views/articles/_article.html.erb +0 -47
- data/themes/standard_issue/views/articles/_article_content.html.erb +0 -1
- data/themes/standard_issue/views/articles/_comment.html.erb +0 -12
- data/themes/standard_issue/views/articles/_comment_form.html.erb +0 -48
- data/themes/standard_issue/views/articles/_comment_list.html.erb +0 -7
- data/themes/standard_issue/views/articles/_password_form.html.erb +0 -10
- data/themes/standard_issue/views/articles/_trackback.html.erb +0 -9
- data/themes/standard_issue/views/articles/comment_preview.html.erb +0 -10
- data/themes/standard_issue/views/articles/index.html.erb +0 -3
- data/themes/standard_issue/views/articles/read.html.erb +0 -47
- data/themes/standard_issue/views/theme/static_view_test.html.erb +0 -1
- data/themes/true-blue-3/README +0 -3
- data/themes/true-blue-3/about.markdown +0 -3
- data/themes/true-blue-3/helpers/theme_helper.rb +0 -85
- data/themes/true-blue-3/images/background.gif +0 -0
- data/themes/true-blue-3/images/bg_input.jpg +0 -0
- data/themes/true-blue-3/images/bullet.jpg +0 -0
- data/themes/true-blue-3/images/comment.gif +0 -0
- data/themes/true-blue-3/images/comment.jpg +0 -0
- data/themes/true-blue-3/images/comment_bottom.gif +0 -0
- data/themes/true-blue-3/images/comment_fdv.gif +0 -0
- data/themes/true-blue-3/images/find.png +0 -0
- data/themes/true-blue-3/images/fleche1.png +0 -0
- data/themes/true-blue-3/images/fleche2.png +0 -0
- data/themes/true-blue-3/images/rss.png +0 -0
- data/themes/true-blue-3/images/searchform.png +0 -0
- data/themes/true-blue-3/images/submit_form.jpg +0 -0
- data/themes/true-blue-3/images/twitter.jpg +0 -0
- data/themes/true-blue-3/images/twitter.png +0 -0
- data/themes/true-blue-3/layouts/default.html.erb +0 -52
- data/themes/true-blue-3/preview.png +0 -0
- data/themes/true-blue-3/psd/true-blue-3.psd +0 -0
- data/themes/true-blue-3/psd/true-blue-3_article.psd +0 -0
- data/themes/true-blue-3/stylesheets/style.css +0 -579
- data/themes/true-blue-3/views/articles/_article.html.erb +0 -28
- data/themes/true-blue-3/views/articles/_article_content.html.erb +0 -1
- data/themes/true-blue-3/views/articles/_comment.html.erb +0 -14
- data/themes/true-blue-3/views/articles/_comment_form.html.erb +0 -23
- data/themes/true-blue-3/views/articles/_comment_list.html.erb +0 -8
- data/themes/true-blue-3/views/articles/_password_form.html.erb +0 -10
- data/themes/true-blue-3/views/articles/_trackback.html.erb +0 -9
- data/themes/true-blue-3/views/articles/comment_preview.html.erb +0 -10
- data/themes/true-blue-3/views/articles/index.html.erb +0 -5
- data/themes/true-blue-3/views/articles/read.html.erb +0 -38
- data/themes/true-blue-3/views/articles/search.html.erb +0 -29
- data/themes/true-blue-3/views/articles/view_page.html.erb +0 -4
- data/themes/true-blue-3/views/categories/_article.html.erb +0 -27
- data/themes/true-blue-3/views/categories/index.html.erb +0 -13
- data/themes/true-blue-3/views/categories/show.html.erb +0 -7
- data/themes/true-blue-3/views/tags/_article.html.erb +0 -26
- data/themes/true-blue-3/views/tags/show.html.erb +0 -6
- data/themes/typographic/about.markdown +0 -7
- data/themes/typographic/images/accept.gif +0 -0
- data/themes/typographic/images/accept.png +0 -0
- data/themes/typographic/images/accept50.gif +0 -0
- data/themes/typographic/images/accept50.png +0 -0
- data/themes/typographic/images/bg_body.jpg +0 -0
- data/themes/typographic/images/bg_white.gif +0 -0
- data/themes/typographic/images/bg_white.png +0 -0
- data/themes/typographic/images/bg_wrapper.gif +0 -0
- data/themes/typographic/images/bg_wrapper.jpg +0 -0
- data/themes/typographic/images/bullet_bottom.gif +0 -0
- data/themes/typographic/images/bullet_bottom.png +0 -0
- data/themes/typographic/images/bullet_right.gif +0 -0
- data/themes/typographic/images/bullet_right.png +0 -0
- data/themes/typographic/images/email_open.gif +0 -0
- data/themes/typographic/images/email_open.png +0 -0
- data/themes/typographic/images/email_open50.gif +0 -0
- data/themes/typographic/images/email_open50.png +0 -0
- data/themes/typographic/images/meta.gif +0 -0
- data/themes/typographic/images/meta.png +0 -0
- data/themes/typographic/images/page_edit.gif +0 -0
- data/themes/typographic/images/page_edit.png +0 -0
- data/themes/typographic/images/page_edit50.gif +0 -0
- data/themes/typographic/images/page_edit50.png +0 -0
- data/themes/typographic/images/spinner.gif +0 -0
- data/themes/typographic/images/tag.gif +0 -0
- data/themes/typographic/images/tag.png +0 -0
- data/themes/typographic/images/user.gif +0 -0
- data/themes/typographic/images/user.png +0 -0
- data/themes/typographic/images/user50.gif +0 -0
- data/themes/typographic/images/user50.png +0 -0
- data/themes/typographic/images/world_link.gif +0 -0
- data/themes/typographic/images/world_link.png +0 -0
- data/themes/typographic/images/world_link50.gif +0 -0
- data/themes/typographic/images/world_link50.png +0 -0
- data/themes/typographic/layouts/default.html.erb +0 -44
- data/themes/typographic/preview.png +0 -0
- data/themes/typographic/stylesheets/colors.css +0 -51
- data/themes/typographic/stylesheets/ie6.css +0 -86
- data/themes/typographic/stylesheets/layout.css +0 -350
- data/themes/typographic/stylesheets/reset.css +0 -5
- data/themes/typographic/stylesheets/style.css +0 -36
- data/themes/typographic/views/articles/_article.html.erb +0 -51
- data/themes/typographic/views/articles/_article_content.html.erb +0 -1
- data/themes/typographic/views/articles/_comment.html.erb +0 -14
- data/themes/typographic/views/articles/_comment_form.html.erb +0 -48
- data/themes/typographic/views/articles/_comment_list.html.erb +0 -7
- data/themes/typographic/views/articles/_password_form.html.erb +0 -10
- data/themes/typographic/views/articles/_trackback.html.erb +0 -9
- data/themes/typographic/views/articles/comment_preview.html.erb +0 -10
- data/themes/typographic/views/articles/index.html.erb +0 -3
- data/themes/typographic/views/articles/read.html.erb +0 -46
- data/themes/typographic/views/theme/static_view_test.html.erb +0 -1
- data/vendor/akismet/akismet.rb +0 -168
- data/vendor/flickr/Rakefile +0 -36
- data/vendor/flickr/flickr.rb +0 -490
- data/vendor/flickr/index.html +0 -129
- data/vendor/flickr/test_flickr.rb +0 -173
- data/vendor/plugins/acts_as_list/README +0 -23
- data/vendor/plugins/acts_as_list/init.rb +0 -3
- data/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +0 -256
- data/vendor/plugins/acts_as_list/test/list_test.rb +0 -332
- data/vendor/plugins/acts_as_tree/README +0 -26
- data/vendor/plugins/acts_as_tree/Rakefile +0 -22
- data/vendor/plugins/acts_as_tree/init.rb +0 -1
- data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +0 -96
- data/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +0 -219
- data/vendor/plugins/acts_as_tree/test/database.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
- data/vendor/plugins/amazon_sidebar/init.rb +0 -5
- data/vendor/plugins/amazon_sidebar/lib/amazon_sidebar.rb +0 -16
- data/vendor/plugins/amazon_sidebar/views/content.rhtml +0 -4
- data/vendor/plugins/archives_sidebar/Rakefile +0 -22
- data/vendor/plugins/archives_sidebar/init.rb +0 -5
- data/vendor/plugins/archives_sidebar/lib/archives_sidebar.rb +0 -40
- data/vendor/plugins/archives_sidebar/test/archives_sidebar_test.rb +0 -8
- data/vendor/plugins/archives_sidebar/views/content.rhtml +0 -11
- data/vendor/plugins/authors_sidebar/Rakefile +0 -22
- data/vendor/plugins/authors_sidebar/init.rb +0 -4
- data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +0 -10
- data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +0 -8
- data/vendor/plugins/authors_sidebar/views/content.rhtml +0 -11
- data/vendor/plugins/category_sidebar/Rakefile +0 -22
- data/vendor/plugins/category_sidebar/init.rb +0 -5
- data/vendor/plugins/category_sidebar/lib/category_sidebar.rb +0 -11
- data/vendor/plugins/category_sidebar/test/category_sidebar_test.rb +0 -8
- data/vendor/plugins/category_sidebar/views/content.rhtml +0 -10
- data/vendor/plugins/easy-ckeditor/CHANGELOG +0 -15
- data/vendor/plugins/easy-ckeditor/LICENSE +0 -16
- data/vendor/plugins/easy-ckeditor/README.textile +0 -164
- data/vendor/plugins/easy-ckeditor/Rakefile +0 -72
- data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +0 -226
- data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +0 -2
- data/vendor/plugins/easy-ckeditor/init.rb +0 -33
- data/vendor/plugins/easy-ckeditor/install.rb +0 -12
- data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +0 -93
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +0 -108
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +0 -9
- data/vendor/plugins/easy-ckeditor/lib/tasks/ckeditor_tasks.rake +0 -108
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +0 -16
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +0 -24
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +0 -254
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +0 -92
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +0 -1334
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +0 -108
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +0 -199
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +0 -25
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +0 -11
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +0 -35
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -59
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +0 -17
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +0 -11
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -12
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +0 -10
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/toolbar/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +0 -12
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +0 -13
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/skin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +0 -12
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/skin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +0 -7
- data/vendor/plugins/easy-ckeditor/uninstall.rb +0 -8
- data/vendor/plugins/filemanager/app/controllers/fm/filemanager_controller.rb +0 -22
- data/vendor/plugins/filemanager/app/views/fm/filemanager/index.html.erb +0 -512
- data/vendor/plugins/filemanager/app/views/fm/filemanager/view.html.erb +0 -67
- data/vendor/plugins/filemanager/filemanager.yml +0 -16
- data/vendor/plugins/livesearch_sidebar/init.rb +0 -4
- data/vendor/plugins/livesearch_sidebar/lib/livesearch_sidebar.rb +0 -5
- data/vendor/plugins/livesearch_sidebar/views/content.rhtml +0 -15
- data/vendor/plugins/localization/CHANGELOG +0 -1
- data/vendor/plugins/localization/README +0 -85
- data/vendor/plugins/localization/bin/make_language.rb +0 -78
- data/vendor/plugins/localization/init.rb +0 -3
- data/vendor/plugins/localization/lib/localization.rb +0 -60
- data/vendor/plugins/page_sidebar/Rakefile +0 -22
- data/vendor/plugins/page_sidebar/init.rb +0 -5
- data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +0 -10
- data/vendor/plugins/page_sidebar/test/page_sidebar_test.rb +0 -8
- data/vendor/plugins/page_sidebar/views/content.rhtml +0 -12
- data/vendor/plugins/search_sidebar/Rakefile +0 -22
- data/vendor/plugins/search_sidebar/init.rb +0 -4
- data/vendor/plugins/search_sidebar/lib/search_sidebar.rb +0 -6
- data/vendor/plugins/search_sidebar/test/search_sidebar_test.rb +0 -8
- data/vendor/plugins/search_sidebar/views/content.rhtml +0 -7
- data/vendor/plugins/static_sidebar/init.rb +0 -4
- data/vendor/plugins/static_sidebar/lib/static_sidebar.rb +0 -18
- data/vendor/plugins/static_sidebar/views/content.rhtml +0 -2
- data/vendor/plugins/tag_sidebar/Rakefile +0 -22
- data/vendor/plugins/tag_sidebar/init.rb +0 -5
- data/vendor/plugins/tag_sidebar/lib/tag_sidebar.rb +0 -24
- data/vendor/plugins/tag_sidebar/test/tag_sidebar_test.rb +0 -8
- data/vendor/plugins/tag_sidebar/views/content.rhtml +0 -8
- data/vendor/plugins/typo_converter/README +0 -71
- data/vendor/plugins/typo_converter/Rakefile +0 -21
- data/vendor/plugins/typo_converter/db/wp25_schema.rb +0 -152
- data/vendor/plugins/typo_converter/init.rb +0 -8
- data/vendor/plugins/typo_converter/lib/converters/base.rb +0 -288
- data/vendor/plugins/typo_converter/lib/converters/dotclear.rb +0 -98
- data/vendor/plugins/typo_converter/lib/converters/dotclear/category.rb +0 -7
- data/vendor/plugins/typo_converter/lib/converters/dotclear/comment.rb +0 -8
- data/vendor/plugins/typo_converter/lib/converters/dotclear/post.rb +0 -9
- data/vendor/plugins/typo_converter/lib/converters/dotclear/user.rb +0 -8
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2.rb +0 -122
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/category.rb +0 -11
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/comment.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/post.rb +0 -15
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/tag.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/user.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/wp25.rb +0 -183
- data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +0 -11
- data/vendor/plugins/typo_converter/lib/converters/wp25/post.rb +0 -37
- data/vendor/plugins/typo_converter/lib/converters/wp25/term.rb +0 -11
- data/vendor/plugins/typo_converter/lib/converters/wp25/term_relationship.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/wp25/term_taxonomy.rb +0 -19
- data/vendor/plugins/typo_converter/lib/converters/wp25/user.rb +0 -12
- data/vendor/plugins/typo_converter/lib/tasks/typo_converters_tasks.rake +0 -1
- data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +0 -192
- data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +0 -77
- data/vendor/plugins/typo_converter/spec/spec_helper.rb +0 -19
- data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +0 -2
- data/vendor/plugins/typo_login_system/init.rb +0 -2
- data/vendor/plugins/typo_login_system/lib/access_control.rb +0 -182
- data/vendor/plugins/typo_login_system/lib/login_system.rb +0 -90
- data/vendor/plugins/typo_textfilter_code/README +0 -4
- data/vendor/plugins/typo_textfilter_code/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_code/init.rb +0 -9
- data/vendor/plugins/typo_textfilter_code/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_code/lib/tasks/typo_textfilter_code_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +0 -70
- data/vendor/plugins/typo_textfilter_code/test/typo_textfilter_code_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_flickr/README +0 -4
- data/vendor/plugins/typo_textfilter_flickr/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_flickr/init.rb +0 -4
- data/vendor/plugins/typo_textfilter_flickr/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_flickr/lib/tasks/typo_textfilter_flickr_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_flickr/lib/typo_textfilter_flickr.rb +0 -79
- data/vendor/plugins/typo_textfilter_flickr/test/typo_textfilter_flickr_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_htmlfilter/README +0 -4
- data/vendor/plugins/typo_textfilter_htmlfilter/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_htmlfilter/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_htmlfilter/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_htmlfilter/lib/tasks/typo_textfilter_htmlfilter_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb +0 -12
- data/vendor/plugins/typo_textfilter_htmlfilter/test/typo_textfilter_htmlfilter_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_lightbox/README +0 -4
- data/vendor/plugins/typo_textfilter_lightbox/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_lightbox/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_lightbox/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_lightbox/lib/tasks/typo_textfilter_lightbox_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +0 -127
- data/vendor/plugins/typo_textfilter_lightbox/test/typo_textfilter_lightbox_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_markdown/README +0 -4
- data/vendor/plugins/typo_textfilter_markdown/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_markdown/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_markdown/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_markdown/lib/tasks/typo_textfilter_markdown_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_markdown/lib/typo_textfilter_markdown.rb +0 -36
- data/vendor/plugins/typo_textfilter_markdown/test/typo_textfilter_markdown_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_none/README +0 -4
- data/vendor/plugins/typo_textfilter_none/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_none/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_none/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_none/lib/tasks/typo_textfilter_none_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_none/lib/typo_textfilter_none.rb +0 -12
- data/vendor/plugins/typo_textfilter_none/test/typo_textfilter_none_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_smartypants/README +0 -4
- data/vendor/plugins/typo_textfilter_smartypants/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_smartypants/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_smartypants/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_smartypants/lib/tasks/typo_textfilter_smartypants_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_smartypants/lib/typo_textfilter_smartypants.rb +0 -12
- data/vendor/plugins/typo_textfilter_smartypants/test/typo_textfilter_smartypants_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_textile/README +0 -4
- data/vendor/plugins/typo_textfilter_textile/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_textile/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_textile/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_textile/lib/tasks/typo_textfilter_textile_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +0 -18
- data/vendor/plugins/typo_textfilter_textile/test/typo_textfilter_textile_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_textile_and_markdown/README +0 -4
- data/vendor/plugins/typo_textfilter_textile_and_markdown/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_textile_and_markdown/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_textile_and_markdown/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_textile_and_markdown/lib/tasks/typo_textfilter_textile_and_markdown_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_textile_and_markdown/lib/typo_textfilter_textile_and_markdown.rb +0 -12
- data/vendor/plugins/typo_textfilter_textile_and_markdown/test/typo_textfilter_textile_and_markdown_test.rb +0 -8
- data/vendor/plugins/upload_progress/CHANGELOG +0 -3
- data/vendor/plugins/upload_progress/MIT-LICENSE +0 -20
- data/vendor/plugins/upload_progress/README +0 -45
- data/vendor/plugins/upload_progress/Rakefile +0 -23
- data/vendor/plugins/upload_progress/init.rb +0 -7
- data/vendor/plugins/upload_progress/lib/multipart_progress.rb +0 -169
- data/vendor/plugins/upload_progress/lib/progress.rb +0 -145
- data/vendor/plugins/upload_progress/lib/upload_progress.rb +0 -303
- data/vendor/plugins/upload_progress/lib/upload_progress_helper.rb +0 -424
- data/vendor/plugins/upload_progress/public/stylesheets/upload_progress.css +0 -21
- data/vendor/plugins/upload_progress/test/multipart_progress_testx.rb +0 -364
- data/vendor/plugins/upload_progress/test/upload_progress_helper_testx.rb +0 -134
- data/vendor/plugins/upload_progress/test/upload_progress_testx.rb +0 -88
- data/vendor/plugins/xml_sidebar/Rakefile +0 -22
- data/vendor/plugins/xml_sidebar/init.rb +0 -5
- data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +0 -24
- data/vendor/plugins/xml_sidebar/test/xml_sidebar_test.rb +0 -8
- data/vendor/plugins/xml_sidebar/views/content.rhtml +0 -26
- data/vendor/rubypants/README +0 -114
- data/vendor/rubypants/Rakefile +0 -55
- data/vendor/rubypants/html/classes/RubyPants.html +0 -924
- data/vendor/rubypants/html/created.rid +0 -1
- data/vendor/rubypants/html/files/README.html +0 -248
- data/vendor/rubypants/html/files/rubypants_rb.html +0 -125
- data/vendor/rubypants/html/fr_class_index.html +0 -27
- data/vendor/rubypants/html/fr_file_index.html +0 -28
- data/vendor/rubypants/html/fr_method_index.html +0 -38
- data/vendor/rubypants/html/index.html +0 -24
- data/vendor/rubypants/html/rdoc-style.css +0 -172
- data/vendor/rubypants/install.rb +0 -9
- data/vendor/rubypants/rubypants.rb +0 -490
- data/vendor/rubypants/test_rubypants.rb +0 -162
- data/vendor/uuidtools/CHANGELOG +0 -4
- data/vendor/uuidtools/README +0 -13
- data/vendor/uuidtools/install.rb +0 -30
- data/vendor/uuidtools/lib/uuidtools.rb +0 -555
- data/vendor/uuidtools/rakefile +0 -112
@@ -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('menu',{beforeInit:function(a){var b=a.config.menu_groups.split(','),c={};for(var d=0;d<b.length;d++)c[b[d]]=d+1;a._.menuGroups=c;a._.menuItems={};},requires:['floatpanel']});CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{addMenuGroup:function(a,b){this._.menuGroups[a]=b||100;},addMenuItem:function(a,b){if(this._.menuGroups[b.group])this._.menuItems[a]=new CKEDITOR.menuItem(this,a,b);},addMenuItems:function(a){for(var b in a)this.addMenuItem(b,a[b]);},getMenuItem:function(a){return this._.menuItems[a];}});(function(){CKEDITOR.menu=CKEDITOR.tools.createClass({$:function(b,c){var d=this;d.id='cke_'+CKEDITOR.tools.getNextNumber();d.editor=b;d.items=[];d._.level=c||1;},_:{showSubMenu:function(b){var h=this;var c=h._.subMenu,d=h.items[b],e=d.getItems&&d.getItems();if(!e){h._.panel.hideChild();return;}if(c)c.removeAll();else{c=h._.subMenu=new CKEDITOR.menu(h.editor,h._.level+1);c.parent=h;c.onClick=CKEDITOR.tools.bind(h.onClick,h);}for(var f in e)c.add(h.editor.getMenuItem(f));var g=h._.panel.getBlock(h.id).element.getDocument().getById(h.id+String(b));c.show(g,2);}},proto:{add:function(b){if(!b.order)b.order=this.items.length;this.items.push(b);},removeAll:function(){this.items=[];},show:function(b,c,d,e){var f=this.items,g=this.editor,h=this._.panel,i=this._.element;if(!h){h=this._.panel=new CKEDITOR.ui.floatPanel(this.editor,CKEDITOR.document.getBody(),{css:[CKEDITOR.getUrl(g.skinPath+'editor.css')],level:this._.level-1,className:g.skinClass+' cke_contextmenu'},this._.level);h.onEscape=CKEDITOR.tools.bind(function(){this.onEscape&&this.onEscape();this.hide();},this);h.onHide=CKEDITOR.tools.bind(function(){this.onHide&&this.onHide();},this);var j=h.addBlock(this.id);j.autoSize=true;var k=j.keys;k[40]='next';k[9]='next';k[38]='prev';k[CKEDITOR.SHIFT+9]='prev';k[32]='click';k[39]='click';i=this._.element=j.element;i.addClass(g.skinClass);var l=i.getDocument();l.getBody().setStyle('overflow','hidden');l.getElementsByTag('html').getItem(0).setStyle('overflow','hidden');this._.itemOverFn=CKEDITOR.tools.addFunction(function(r){var s=this;clearTimeout(s._.showSubTimeout);s._.showSubTimeout=CKEDITOR.tools.setTimeout(s._.showSubMenu,g.config.menu_subMenuDelay,s,[r]);},this);this._.itemOutFn=CKEDITOR.tools.addFunction(function(r){clearTimeout(this._.showSubTimeout);},this);this._.itemClickFn=CKEDITOR.tools.addFunction(function(r){var t=this;var s=t.items[r];if(s.state==CKEDITOR.TRISTATE_DISABLED){t.hide();return;}if(s.getItems)t._.showSubMenu(r);else t.onClick&&t.onClick(s);
|
7
|
-
},this);}a(f);var m=['<div class="cke_menu">'],n=f.length,o=n&&f[0].group;for(var p=0;p<n;p++){var q=f[p];if(o!=q.group){m.push('<div class="cke_menuseparator"></div>');o=q.group;}q.render(this,p,m);}m.push('</div>');i.setHtml(m.join(''));if(this.parent)this.parent._.panel.showAsChild(h,this.id,b,c,d,e);else h.showBlock(this.id,b,c,d,e);},hide:function(){this._.panel&&this._.panel.hide();}}});function a(b){b.sort(function(c,d){if(c.group<d.group)return-1;else if(c.group>d.group)return 1;return c.order<d.order?-1:c.order>d.order?1:0;});};})();CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(a,b,c){var d=this;CKEDITOR.tools.extend(d,c,{order:0,className:'cke_button_'+b});d.group=a._.menuGroups[d.group];d.editor=a;d.name=b;},proto:{render:function(a,b,c){var i=this;var d=a.id+String(b),e=typeof i.state=='undefined'?CKEDITOR.TRISTATE_OFF:i.state,f=' cke_'+(e==CKEDITOR.TRISTATE_ON?'on':e==CKEDITOR.TRISTATE_DISABLED?'disabled':'off'),g=i.label;if(e==CKEDITOR.TRISTATE_DISABLED)g=i.editor.lang.common.unavailable.replace('%1',g);if(i.className)f+=' '+i.className;c.push('<span class="cke_menuitem"><a id="',d,'" class="',f,'" href="javascript:void(\'',(i.label||'').replace("'",''),'\')" title="',i.label,'" tabindex="-1"_cke_focus=1 hidefocus="true"');if(CKEDITOR.env.opera||CKEDITOR.env.gecko&&CKEDITOR.env.mac)c.push(' onkeypress="return false;"');if(CKEDITOR.env.gecko)c.push(' onblur="this.style.cssText = this.style.cssText;"');var h=(i.iconOffset||0)*(-16);c.push(' onmouseover="CKEDITOR.tools.callFunction(',a._.itemOverFn,',',b,');" onmouseout="CKEDITOR.tools.callFunction(',a._.itemOutFn,',',b,');" onclick="CKEDITOR.tools.callFunction(',a._.itemClickFn,',',b,'); return false;"><span class="cke_icon_wrapper"><span class="cke_icon"'+(i.icon?' style="background-image:url('+CKEDITOR.getUrl(i.icon)+');background-position:0 '+h+'px;"></span>':'')+'></span></span>'+'<span class="cke_label">');if(i.getItems)c.push('<span class="cke_menuarrow"></span>');c.push(g,'</span></a></span>');}}});CKEDITOR.config.menu_subMenuDelay=400;CKEDITOR.config.menu_groups='clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea';
|
@@ -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('menubutton',{requires:['button','contextmenu'],beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_MENUBUTTON,CKEDITOR.ui.menuButton.handler);}});CKEDITOR.UI_MENUBUTTON=5;(function(){var a=function(b){var c=this._;if(c.state===CKEDITOR.TRISTATE_DISABLED)return;c.previousState=c.state;var d=c.menu;if(!d){d=c.menu=new CKEDITOR.plugins.contextMenu(b);d.onHide=CKEDITOR.tools.bind(function(){this.setState(c.previousState);},this);if(this.onMenu)d.addListener(this.onMenu);}if(c.on){d.hide();return;}this.setState(CKEDITOR.TRISTATE_ON);d.show(CKEDITOR.document.getById(this._.id),4);};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(b){var c=b.panel;delete b.panel;this.base(b);this.hasArrow=true;this.click=a;},statics:{handler:{create:function(b){return new CKEDITOR.ui.menuButton(b);}}}});})();
|
@@ -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('newpage',{init:function(a){a.addCommand('newpage',{modes:{wysiwyg:1,source:1},exec:function(b){var c=this;function d(){setTimeout(function(){b.fire('afterCommandExec',{name:c.name,command:c});},500);};if(b.mode=='wysiwyg')b.on('contentDom',function(e){e.removeListener();d();});b.setData(b.config.newpage_html);b.focus();if(b.mode=='source')d();},async:true});a.ui.addButton('NewPage',{label:a.lang.newPage,command:'newpage'});}});CKEDITOR.config.newpage_html='';
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif
DELETED
Binary file
|
@@ -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('pagebreak',{init:function(a){a.addCommand('pagebreak',CKEDITOR.plugins.pagebreakCmd);a.ui.addButton('PageBreak',{label:a.lang.pagebreak,command:'pagebreak'});a.addCss('img.cke_pagebreak{background-image: url('+CKEDITOR.getUrl(this.path+'images/pagebreak.gif')+');'+'background-position: center center;'+'background-repeat: no-repeat;'+'clear: both;'+'display: block;'+'float: none;'+'width: 100%;'+'border-top: #999999 1px dotted;'+'border-bottom: #999999 1px dotted;'+'height: 5px;'+'}');},afterInit:function(a){var b=a.dataProcessor,c=b&&b.dataFilter;if(c)c.addRules({elements:{div:function(d){var e=d.attributes.style,f=e&&d.children.length==1&&d.children[0],g=f&&f.name=='span'&&f.attributes.style;if(g&&/page-break-after\s*:\s*always/i.test(e)&&/display\s*:\s*none/i.test(g))return a.createFakeParserElement(d,'cke_pagebreak','div');}}});},requires:['fakeobjects']});CKEDITOR.plugins.pagebreakCmd={exec:function(a){var b=CKEDITOR.dom.element.createFromHtml('<div style="page-break-after: always;"><span style="display: none;"> </span></div>');b=a.createFakeElement(b,'cke_pagebreak','div');var c=a.getSelection().getRanges();for(var d,e=0;e<c.length;e++){d=c[e];if(e>0)b=b.clone(true);d.splitBlock('p');d.insertNode(b);}}};
|
@@ -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('panel',{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_PANEL,CKEDITOR.ui.panel.handler);}});CKEDITOR.UI_PANEL=2;CKEDITOR.ui.panel=function(a,b){var c=this;if(b)CKEDITOR.tools.extend(c,b);CKEDITOR.tools.extend(c,{className:'',css:[]});c.id=CKEDITOR.tools.getNextNumber();c.document=a;c._={blocks:{}};};CKEDITOR.ui.panel.handler={create:function(a){return new CKEDITOR.ui.panel(a);}};CKEDITOR.ui.panel.prototype={renderHtml:function(a){var b=[];this.render(a,b);return b.join('');},render:function(a,b){var d=this;var c='cke_'+d.id;b.push('<div class="',a.skinClass,'" lang="',a.langCode,'" style="display:none;z-index:'+(a.config.baseFloatZIndex+1)+'">'+'<div'+' id=',c,' dir=',a.lang.dir,' class="cke_panel cke_',a.lang.dir);if(d.className)b.push(' ',d.className);b.push('">');if(d.forceIFrame||d.css.length){b.push('<iframe id="',c,'_frame" frameborder="0" src="javascript:void(');b.push(CKEDITOR.env.isCustomDomain()?"(function(){document.open();document.domain='"+document.domain+"';"+'document.close();'+'})()':'0');b.push(')"></iframe>');}b.push('</div></div>');return c;},getHolderElement:function(){var a=this._.holder;if(!a){if(this.forceIFrame||this.css.length){var b=this.document.getById('cke_'+this.id+'_frame'),c=b.getParent(),d=c.getAttribute('dir'),e=c.getParent().getAttribute('class'),f=c.getParent().getAttribute('lang'),g=b.getFrameDocument();g.$.open();if(CKEDITOR.env.isCustomDomain())g.$.domain=document.domain;var h=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(j){this.isLoaded=true;if(this.onLoad)this.onLoad();},this));g.$.write('<!DOCTYPE html><html dir="'+d+'" class="'+e+'_container" lang="'+f+'">'+'<head>'+'<style>.'+e+'_container{visibility:hidden}</style>'+'</head>'+'<body class="cke_'+d+' cke_panel_frame '+CKEDITOR.env.cssClass+'" style="margin:0;padding:0"'+' onload="( window.CKEDITOR || window.parent.CKEDITOR ).tools.callFunction('+h+');">'+'</body>'+'<link type="text/css" rel=stylesheet href="'+this.css.join('"><link type="text/css" rel="stylesheet" href="')+'">'+'</html>');g.$.close();var i=g.getWindow();i.$.CKEDITOR=CKEDITOR;g.on('keydown',function(j){var l=this;var k=j.data.getKeystroke();if(l._.onKeyDown&&l._.onKeyDown(k)===false){j.data.preventDefault();return;}if(k==27)l.onEscape&&l.onEscape();},this);a=g.getBody();}else a=this.document.getById('cke_'+this.id);this._.holder=a;}return a;},addBlock:function(a,b){var c=this;b=c._.blocks[a]=b||new CKEDITOR.ui.panel.block(c.getHolderElement());if(!c._.currentBlock)c.showBlock(a);
|
7
|
-
return b;},getBlock:function(a){return this._.blocks[a];},showBlock:function(a){var e=this;var b=e._.blocks,c=b[a],d=e._.currentBlock;if(d)d.hide();e._.currentBlock=c;c._.focusIndex=-1;e._.onKeyDown=c.onKeyDown&&CKEDITOR.tools.bind(c.onKeyDown,c);c.show();return c;}};CKEDITOR.ui.panel.block=CKEDITOR.tools.createClass({$:function(a){this.element=a.append(a.getDocument().createElement('div',{attributes:{'class':'cke_panel_block'},styles:{display:'none'}}));this.keys={};this._.focusIndex=-1;},_:{},proto:{show:function(){this.element.setStyle('display','');},hide:function(){var a=this;if(!a.onHide||a.onHide.call(a)!==true)a.element.setStyle('display','none');},onKeyDown:function(a){var f=this;var b=f.keys[a];switch(b){case 'next':var c=f._.focusIndex,d=f.element.getElementsByTag('a'),e;while(e=d.getItem(++c))if(e.getAttribute('_cke_focus')&&e.$.offsetWidth){f._.focusIndex=c;e.focus();break;}return false;case 'prev':c=f._.focusIndex;d=f.element.getElementsByTag('a');while(c>0&&(e=d.getItem(--c)))if(e.getAttribute('_cke_focus')&&e.$.offsetWidth){f._.focusIndex=c;e.focus();break;}return false;case 'click':c=f._.focusIndex;e=c>=0&&f.element.getElementsByTag('a').getItem(c);if(e)e.$.click?e.$.click():e.$.onclick();return false;}return true;}}});
|
@@ -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('panelbutton',{requires:['button'],beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_PANELBUTTON,CKEDITOR.ui.panelButton.handler);}});CKEDITOR.UI_PANELBUTTON=4;(function(){var a=function(b){var d=this;var c=d._;if(c.state==CKEDITOR.TRISTATE_DISABLED)return;d.createPanel(b);if(c.on){c.panel.hide();return;}c.panel.showBlock(d._.id,d.document.getById(d._.id),4);};CKEDITOR.ui.panelButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(b){var d=this;var c=b.panel;delete b.panel;d.base(b);d.document=c&&c.parent&&c.parent.getDocument()||CKEDITOR.document;d.hasArrow=true;d.click=a;d._={panelDefinition:c};},statics:{handler:{create:function(b){return new CKEDITOR.ui.panelButton(b);}}},proto:{createPanel:function(b){var c=this._;if(c.panel)return;var d=this._.panelDefinition||{},e=d.parent||CKEDITOR.document.getBody(),f=this._.panel=new CKEDITOR.ui.floatPanel(b,e,d),g=this;f.onShow=function(){if(g.className)this.element.getFirst().addClass(g.className+'_panel');c.oldState=g._.state;g.setState(CKEDITOR.TRISTATE_ON);c.on=1;if(g.onOpen)g.onOpen();};f.onHide=function(){if(g.className)this.element.getFirst().removeClass(g.className+'_panel');g.setState(c.oldState);c.on=0;if(g.onClose)g.onClose();};f.onEscape=function(){f.hide();g.document.getById(c.id).focus();};if(this.onBlock)this.onBlock(f,c.id);f.getBlock(c.id).onHide=function(){c.on=0;g.setState(CKEDITOR.TRISTATE_OFF);};}}});})();
|
@@ -1,8 +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('pastefromword',function(a){return{title:a.lang.pastefromword.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370:350,minHeight:CKEDITOR.env.ie&&CKEDITOR.env.quirks?270:260,htmlToLoad:'<!doctype html><script type="text/javascript">window.onload = function(){if ( '+CKEDITOR.env.ie+' ) '+'document.body.contentEditable = "true";'+'else '+'document.designMode = "on";'+'var iframe = new window.parent.CKEDITOR.dom.element( frameElement );'+'var dialog = iframe.getCustomData( "dialog" );'+''+'iframe.getFrameDocument().on( "keydown", function( e )\t\t\t\t\t\t{\t\t\t\t\t\t\tif ( e.data.getKeystroke() == 27 )\t\t\t\t\t\t\t\tdialog.hide();\t\t\t\t\t\t});'+'dialog.fire( "iframeAdded", { iframe : iframe } );'+'};'+'</script><style>body { margin: 3px; height: 95%; } </style><body></body>',cleanWord:function(b,c,d,e){c=c.replace(/<\!--[\s\S]*?-->/g,'');c=c.replace(/<o:p>\s*<\/o:p>/g,'');c=c.replace(/<o:p>[\s\S]*?<\/o:p>/g,' ');c=c.replace(/\s*mso-[^:]+:[^;"]+;?/gi,'');c=c.replace(/\s*MARGIN: 0(?:cm|in) 0(?:cm|in) 0pt\s*;/gi,'');c=c.replace(/\s*MARGIN: 0(?:cm|in) 0(?:cm|in) 0pt\s*"/gi,'"');c=c.replace(/\s*TEXT-INDENT: 0cm\s*;/gi,'');c=c.replace(/\s*TEXT-INDENT: 0cm\s*"/gi,'"');c=c.replace(/\s*TEXT-ALIGN: [^\s;]+;?"/gi,'"');c=c.replace(/\s*PAGE-BREAK-BEFORE: [^\s;]+;?"/gi,'"');c=c.replace(/\s*FONT-VARIANT: [^\s;]+;?"/gi,'"');c=c.replace(/\s*tab-stops:[^;"]*;?/gi,'');c=c.replace(/\s*tab-stops:[^"]*/gi,'');if(d){c=c.replace(/\s*face="[^"]*"/gi,'');c=c.replace(/\s*face=[^ >]*/gi,'');c=c.replace(/\s*FONT-FAMILY:[^;"]*;?/gi,'');}c=c.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi,'<$1$3');if(e)c=c.replace(/<(\w[^>]*) style="([^\"]*)"([^>]*)/gi,'<$1$3');c=c.replace(/<STYLE[^>]*>[\s\S]*?<\/STYLE[^>]*>/gi,'');c=c.replace(/<(?:META|LINK)[^>]*>\s*/gi,'');c=c.replace(/\s*style="\s*"/gi,'');c=c.replace(/<SPAN\s*[^>]*>\s* \s*<\/SPAN>/gi,' ');c=c.replace(/<SPAN\s*[^>]*><\/SPAN>/gi,'');c=c.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi,'<$1$3');c=c.replace(/<SPAN\s*>([\s\S]*?)<\/SPAN>/gi,'$1');c=c.replace(/<FONT\s*>([\s\S]*?)<\/FONT>/gi,'$1');c=c.replace(/<\\?\?xml[^>]*>/gi,'');c=c.replace(/<w:[^>]*>[\s\S]*?<\/w:[^>]*>/gi,'');c=c.replace(/<\/?\w+:[^>]*>/gi,'');c=c.replace(/<(U|I|STRIKE)> <\/\1>/g,' ');c=c.replace(/<H\d>\s*<\/H\d>/gi,'');c=c.replace(/<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none[\s\S]*?<\/\1>/ig,'');c=c.replace(/<(\w[^>]*) language=([^ |>]*)([^>]*)/gi,'<$1$3');c=c.replace(/<(\w[^>]*) onmouseover="([^\"]*)"([^>]*)/gi,'<$1$3');c=c.replace(/<(\w[^>]*) onmouseout="([^\"]*)"([^>]*)/gi,'<$1$3');
|
7
|
-
if(b.config.pasteFromWordKeepsStructure){c=c.replace(/<H(\d)([^>]*)>/gi,'<h$1>');c=c.replace(/<(H\d)><FONT[^>]*>([\s\S]*?)<\/FONT><\/\1>/gi,'<$1>$2</$1>');c=c.replace(/<(H\d)><EM>([\s\S]*?)<\/EM><\/\1>/gi,'<$1>$2</$1>');}else{c=c.replace(/<H1([^>]*)>/gi,'<div$1><b><font size="6">');c=c.replace(/<H2([^>]*)>/gi,'<div$1><b><font size="5">');c=c.replace(/<H3([^>]*)>/gi,'<div$1><b><font size="4">');c=c.replace(/<H4([^>]*)>/gi,'<div$1><b><font size="3">');c=c.replace(/<H5([^>]*)>/gi,'<div$1><b><font size="2">');c=c.replace(/<H6([^>]*)>/gi,'<div$1><b><font size="1">');c=c.replace(/<\/H\d>/gi,'</font></b></div>');var f=new RegExp('(<P)([^>]*>[\\s\\S]*?)(</P>)','gi');c=c.replace(f,'<div$2</div>');c=c.replace(/<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g,'');c=c.replace(/<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g,'');c=c.replace(/<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g,'');}return c;},onShow:function(){var h=this;if(CKEDITOR.env.ie)h.getParentEditor().document.getBody().$.contentEditable='false';h.parts.dialog.$.offsetHeight;var b=h.getContentElement('general','editing_area').getElement(),c=CKEDITOR.dom.element.createFromHtml('<iframe src="javascript:void(0)" frameborder="0" allowtransparency="1"></iframe>'),d=h.getParentEditor().lang;c.setStyles({width:'346px',height:'152px','background-color':'white',border:'1px solid black'});c.setCustomData('dialog',h);var e=d.editorTitle.replace('%1',d.pastefromword.title);if(CKEDITOR.env.ie)b.setHtml('<legend style="position:absolute;top:-1000000px;left:-1000000px;">'+CKEDITOR.tools.htmlEncode(e)+'</legend>');else{b.setHtml('');b.setAttributes({role:'region',title:e});c.setAttributes({role:'region',title:' '});}b.append(c);if(CKEDITOR.env.ie)b.setStyle('height',c.$.offsetHeight+2+'px');var f=CKEDITOR.env.ie&&document.domain!=window.location.hostname;if(f){CKEDITOR._cke_htmlToLoad=h.definition.htmlToLoad;c.setAttribute('src','javascript:void( (function(){document.open();document.domain="'+document.domain+'";'+'document.write( window.parent.CKEDITOR._cke_htmlToLoad );'+'delete window.parent.CKEDITOR._cke_htmlToLoad;'+'document.close();'+'})() )');}else{var g=c.$.contentWindow.document;g.open();g.write(h.definition.htmlToLoad);g.close();}},onOk:function(){var b=this.getContentElement('general','editing_area').getElement(),c=b.getElementsByTag('iframe').getItem(0),d=this.getParentEditor(),e=this.definition.cleanWord(d,c.$.contentWindow.document.body.innerHTML,this.getValueOf('general','ignoreFontFace'),this.getValueOf('general','removeStyle'));setTimeout(function(){d.insertHtml(e);
|
8
|
-
},0);},onHide:function(){if(CKEDITOR.env.ie)this.getParentEditor().document.getBody().$.contentEditable='true';},onLoad:function(){if((CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&(a.lang.dir=='rtl'))this.parts.contents.setStyle('overflow','hidden');},contents:[{id:'general',label:a.lang.pastefromword.title,elements:[{type:'html',style:'white-space:normal;width:346px;display:block',onShow:function(){if(CKEDITOR.env.webkit)this.getElement().getAscendant('table').setStyle('table-layout','fixed');},html:a.lang.pastefromword.advice},{type:'html',id:'editing_area',style:'width: 100%; height: 100%;',html:'<fieldset></fieldset>',focus:function(){var b=this.getElement(),c=b.getElementsByTag('iframe');if(c.count()<1)return;c=c.getItem(0);setTimeout(function(){c.$.contentWindow.focus();},500);}},{type:'vbox',padding:0,children:[{type:'checkbox',id:'ignoreFontFace',label:a.lang.pastefromword.ignoreFontFace,'default':a.config.pasteFromWordIgnoreFontFace},{type:'checkbox',id:'removeStyle',label:a.lang.pastefromword.removeStyle,'default':a.config.pasteFromWordRemoveStyle}]}]}]};});
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js
DELETED
@@ -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('pastefromword',{init:function(a){a.addCommand('pastefromword',new CKEDITOR.dialogCommand('pastefromword'));a.ui.addButton('PasteFromWord',{label:a.lang.pastefromword.toolbar,command:'pastefromword'});CKEDITOR.dialog.add('pastefromword',this.path+'dialogs/pastefromword.js');}});CKEDITOR.config.pasteFromWordIgnoreFontFace=true;CKEDITOR.config.pasteFromWordRemoveStyle=false;CKEDITOR.config.pasteFromWordKeepsStructure=false;
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js
DELETED
@@ -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(){CKEDITOR.dialog.add('pastetext',function(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.getContentElement('general','content').getInputElement().setValue('');},onOk:function(){var b=this.getContentElement('general','content').getInputElement().getValue();this.getParentEditor().insertText(b);},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'<div style="white-space:normal;width:340px;">'+a.lang.clipboard.pasteMsg+'</div>'},{type:'html',id:'content',style:'width:340px;height:170px',html:'<textarea style="width:346px;height:170px;resize: none;border:1px solid black;background-color:white"></textarea>',focus:function(){this.getElement().focus();}}]}]};});})();
|
@@ -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){if(CKEDITOR.getClipboardData()===false||!window.clipboardData){c.openDialog('pastetext');return;}c.insertText(window.clipboardData.getData('Text'));}};CKEDITOR.plugins.add('pastetext',{init:function(c){var d='pastetext',e=c.addCommand(d,a);c.ui.addButton('PasteText',{label:c.lang.pasteText.button,command:d});CKEDITOR.dialog.add(d,CKEDITOR.getUrl(this.path+'dialogs/pastetext.js'));if(c.config.forcePasteAsPlainText)c.on('beforePaste',function(f){if(c.mode=='wysiwyg'){setTimeout(function(){e.exec();},0);f.cancel();}},null,null,20);},requires:['clipboard']});var b;CKEDITOR.getClipboardData=function(){if(!CKEDITOR.env.ie)return false;var c=CKEDITOR.document,d=c.getBody();if(!b){b=c.createElement('div',{attributes:{id:'cke_hiddenDiv'},styles:{position:'absolute',visibility:'hidden',overflow:'hidden',width:'1px',height:'1px'}});b.setHtml('');b.appendTo(d);}var e=false,f=function(){e=true;};d.on('paste',f);var g=d.$.createTextRange();g.moveToElementText(b.$);g.execCommand('Paste');var h=b.getHtml();b.setHtml('');d.removeListener('paste',f);return e&&h;};})();CKEDITOR.editor.prototype.insertText=function(a){a=CKEDITOR.tools.htmlEncode(a);a=a.replace(/(?:\r\n)|\n|\r/g,'<br>');this.insertHtml(a);};CKEDITOR.config.forcePasteAsPlainText=false;
|
@@ -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('popup');CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(a,b,c){b=b||'80%';c=c||'70%';if(typeof b=='string'&&b.length>1&&b.substr(b.length-1,1)=='%')b=parseInt(window.screen.width*parseInt(b,10)/100,10);if(typeof c=='string'&&c.length>1&&c.substr(c.length-1,1)=='%')c=parseInt(window.screen.height*parseInt(c,10)/100,10);if(b<640)b=640;if(c<420)c=420;var d=parseInt((window.screen.height-c)/(2),10),e=parseInt((window.screen.width-b)/(2),10),f='location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,width='+b+',height='+c+',top='+d+',left='+e,g=window.open('',null,f,true);if(!g)return false;try{g.moveTo(e,d);g.resizeTo(b,c);g.focus();g.location.href=a;}catch(h){g=window.open(a,null,f,true);}return true;}});
|
@@ -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={modes:{wysiwyg:1,source:1},canUndo:false,exec:function(c){var d,e=CKEDITOR.env.ie&&document.domain!=window.location.hostname;if(c.config.fullPage)d=c.getData();else{var f='<body ',g=CKEDITOR.document.getBody(),h=c.config.baseHref.length>0?'<base href="'+c.config.baseHref+'" _cktemp="true"></base>':'';if(g.getAttribute('id'))f+='id="'+g.getAttribute('id')+'" ';if(g.getAttribute('class'))f+='class="'+g.getAttribute('class')+'" ';f+='>';d=c.config.docType+'<html dir="'+c.config.contentsLangDirection+'">'+'<head>'+h+'<title>'+c.lang.preview+'</title>'+'<link href="'+c.config.contentsCss+'" type="text/css" rel="stylesheet" _cktemp="true"/>'+'</head>'+f+c.getData()+'</body></html>';}var i=640,j=420,k=80;try{var l=window.screen;i=Math.round(l.width*0.8);j=Math.round(l.height*0.7);k=Math.round(l.width*0.1);}catch(o){}var m='';if(e){window._cke_htmlToLoad=d;m='javascript:void( (function(){document.open();document.domain="'+document.domain+'";'+'document.write( window.opener._cke_htmlToLoad );'+'document.close();'+'window.opener._cke_htmlToLoad = null;'+'})() )';}var n=window.open(m,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+i+',height='+j+',left='+k);if(!e){n.document.write(d);n.document.close();}}},b='preview';CKEDITOR.plugins.add(b,{init:function(c){c.addCommand(b,a);c.ui.addButton('Preview',{label:c.lang.preview,command:b});}});})();
|
@@ -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('print',{init:function(a){var b='print',c=a.addCommand(b,CKEDITOR.plugins.print);a.ui.addButton('Print',{label:a.lang.print,command:b});}});CKEDITOR.plugins.print={exec:function(a){if(CKEDITOR.env.opera)return;else if(CKEDITOR.env.gecko)a.window.$.print();else a.document.$.execCommand('Print');},canUndo:false,modes:{wysiwyg:!CKEDITOR.env.opera}};
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js
DELETED
@@ -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('removeformat',{requires:['selection'],init:function(a){a.addCommand('removeFormat',CKEDITOR.plugins.removeformat.commands.removeformat);a.ui.addButton('RemoveFormat',{label:a.lang.removeFormat,command:'removeFormat'});}});CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(a){var b=a._.removeFormatRegex||(a._.removeFormatRegex=new RegExp('^(?:'+a.config.removeFormatTags.replace(/,/g,'|')+')$','i')),c=a._.removeAttributes||(a._.removeAttributes=a.config.removeFormatAttributes.split(',')),d=a.getSelection().getRanges();for(var e=0,f;f=d[e];e++){if(f.collapsed)continue;f.enlarge(CKEDITOR.ENLARGE_ELEMENT);var g=f.createBookmark(),h=g.startNode,i=g.endNode,j=function(m){var n=new CKEDITOR.dom.elementPath(m),o=n.elements;for(var p=1,q;q=o[p];p++){if(q.equals(n.block)||q.equals(n.blockLimit))break;if(b.test(q.getName()))m.breakParent(q);}};j(h);j(i);var k=h.getNextSourceNode(true,CKEDITOR.NODE_ELEMENT);while(k){if(k.equals(i))break;var l=k.getNextSourceNode(false,CKEDITOR.NODE_ELEMENT);if(k.getName()!='img'||!k.getAttribute('_cke_protected_html'))if(b.test(k.getName()))k.remove(true);else k.removeAttributes(c);k=l;}f.moveToBookmark(g);}a.getSelection().selectRanges(d);}}}};CKEDITOR.config.removeFormatTags='b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var';CKEDITOR.config.removeFormatAttributes='class,style,lang,width,height,align,hspace,valign';
|
@@ -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('resize',{init:function(a){var b=a.config;if(b.resize_enabled){var c=null,d,e;function f(i){var j=i.data.$.screenX-d.x,k=i.data.$.screenY-d.y,l=e.width+j*(a.lang.dir=='rtl'?-1:1),m=e.height+k;a.resize(Math.max(b.resize_minWidth,Math.min(l,b.resize_maxWidth)),Math.max(b.resize_minHeight,Math.min(m,b.resize_maxHeight)));};function g(i){CKEDITOR.document.removeListener('mousemove',f);CKEDITOR.document.removeListener('mouseup',g);if(a.document){a.document.removeListener('mousemove',f);a.document.removeListener('mouseup',g);}};var h=CKEDITOR.tools.addFunction(function(i){if(!c)c=a.getResizable();e={width:c.$.offsetWidth||0,height:c.$.offsetHeight||0};d={x:i.screenX,y:i.screenY};CKEDITOR.document.on('mousemove',f);CKEDITOR.document.on('mouseup',g);if(a.document){a.document.on('mousemove',f);a.document.on('mouseup',g);}});a.on('themeSpace',function(i){if(i.data.space=='bottom')i.data.html+='<div class="cke_resizer" title="'+CKEDITOR.tools.htmlEncode(a.lang.resize)+'"'+' onmousedown="CKEDITOR.tools.callFunction('+h+', event)"'+'></div>';},a,null,100);}}});CKEDITOR.config.resize_minWidth=750;CKEDITOR.config.resize_minHeight=250;CKEDITOR.config.resize_maxWidth=3000;CKEDITOR.config.resize_maxHeight=3000;CKEDITOR.config.resize_enabled=true;
|
@@ -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('richcombo',{requires:['floatpanel','listblock','button'],beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler);}});CKEDITOR.UI_RICHCOMBO=3;CKEDITOR.ui.richCombo=CKEDITOR.tools.createClass({$:function(a){var c=this;CKEDITOR.tools.extend(c,a,{title:a.label,modes:{wysiwyg:1}});var b=c.panel||{};delete c.panel;c.id=CKEDITOR.tools.getNextNumber();c.document=b&&b.parent&&b.parent.getDocument()||CKEDITOR.document;b.className=(b.className||'')+(' cke_rcombopanel');c._={panelDefinition:b,items:{},state:CKEDITOR.TRISTATE_OFF};},statics:{handler:{create:function(a){return new CKEDITOR.ui.richCombo(a);}}},proto:{renderHtml:function(a){var b=[];this.render(a,b);return b.join('');},render:function(a,b){var c='cke_'+this.id,d=CKEDITOR.tools.addFunction(function(g){var j=this;var h=j._;if(h.state==CKEDITOR.TRISTATE_DISABLED)return;j.createPanel(a);if(h.on){h.panel.hide();return;}if(!h.committed){h.list.commit();h.committed=1;}var i=j.getValue();if(i)h.list.mark(i);else h.list.unmarkAll();h.panel.showBlock(j.id,new CKEDITOR.dom.element(g),4);},this),e={id:c,combo:this,focus:function(){var g=CKEDITOR.document.getById(c).getChild(1);g.focus();},execute:d};a.on('mode',function(){this.setState(this.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);},this);var f=CKEDITOR.tools.addFunction(function(g,h){g=new CKEDITOR.dom.event(g);var i=g.getKeystroke();switch(i){case 13:case 32:case 40:CKEDITOR.tools.callFunction(d,h);break;default:e.onkey(e,i);}g.preventDefault();});b.push('<span class="cke_rcombo">','<span id=',c);if(this.className)b.push(' class="',this.className,' cke_off"');b.push('><span class=cke_label>',this.label,'</span><a hidefocus=true title="',this.title,'" tabindex="-1" href="javascript:void(\'',this.label,"')\"");if(CKEDITOR.env.opera||CKEDITOR.env.gecko&&CKEDITOR.env.mac)b.push(' onkeypress="return false;"');if(CKEDITOR.env.gecko)b.push(' onblur="this.style.cssText = this.style.cssText;"');b.push(' onkeydown="CKEDITOR.tools.callFunction( ',f,', event, this );" onclick="CKEDITOR.tools.callFunction(',d,', this); return false;"><span><span class="cke_accessibility">'+(this.voiceLabel?this.voiceLabel+' ':'')+'</span>'+'<span id="'+c+'_text" class="cke_text cke_inline_label">'+this.label+'</span>'+'</span>'+'<span class=cke_openbutton></span>'+'</a>'+'</span>'+'</span>');if(this.onRender)this.onRender();return e;},createPanel:function(a){if(this._.panel)return;var b=this._.panelDefinition,c=b.parent||CKEDITOR.document.getBody(),d=new CKEDITOR.ui.floatPanel(a,c,b),e=d.addListBlock(this.id,this.multiSelect),f=this;
|
7
|
-
d.onShow=function(){if(f.className)this.element.getFirst().addClass(f.className+'_panel');f.setState(CKEDITOR.TRISTATE_ON);e.focus(!f.multiSelect&&f.getValue());f._.on=1;if(f.onOpen)f.onOpen();};d.onHide=function(){if(f.className)this.element.getFirst().removeClass(f.className+'_panel');f.setState(CKEDITOR.TRISTATE_OFF);f._.on=0;if(f.onClose)f.onClose();};d.onEscape=function(){d.hide();f.document.getById('cke_'+f.id).getFirst().getNext().focus();};e.onClick=function(g,h){f.document.getWindow().focus();if(f.onClick)f.onClick.call(f,g,h);if(h)f.setValue(g,f._.items[g]);else f.setValue('');d.hide();};this._.panel=d;this._.list=e;d.getBlock(this.id).onHide=function(){f._.on=0;f.setState(CKEDITOR.TRISTATE_OFF);};if(this.init)this.init();},setValue:function(a,b){var d=this;d._.value=a;var c=d.document.getById('cke_'+d.id+'_text');if(!a){b=d.label;c.addClass('cke_inline_label');}else c.removeClass('cke_inline_label');c.setHtml(typeof b!='undefined'?b:a);},getValue:function(){return this._.value||'';},unmarkAll:function(){this._.list.unmarkAll();},mark:function(a){this._.list.mark(a);},hideItem:function(a){this._.list.hideItem(a);},hideGroup:function(a){this._.list.hideGroup(a);},showAll:function(){this._.list.showAll();},add:function(a,b,c){this._.items[a]=c||a;this._.list.add(a,b,c);},startGroup:function(a){this._.list.startGroup(a);},commit:function(){this._.list.commit();},setState:function(a){var b=this;if(b._.state==a)return;b.document.getById('cke_'+b.id).setState(a);b._.state=a;}}});CKEDITOR.ui.prototype.addRichCombo=function(a,b){this.add(a,CKEDITOR.UI_RICHCOMBO,b);};
|
@@ -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={modes:{wysiwyg:1,source:1},exec:function(c){var d=c.element.$.form;if(d)try{d.submit();}catch(e){if(d.submit.click)d.submit.click();}}},b='save';CKEDITOR.plugins.add(b,{init:function(c){var d=c.addCommand(b,a);d.modes={wysiwyg:!!c.element.$.form};c.ui.addButton('Save',{label:c.lang.save,command:b});}});})();
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js
DELETED
@@ -1,8 +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('scaytcheck',function(a){var b=true,c,d=CKEDITOR.document,e=[],f,g=[],h=false,i=['dic_create,dic_restore','dic_rename,dic_delete'],j=[{id:'options',label:a.lang.scayt.optionsTab,elements:[{type:'html',id:'options',html:'<div class="inner_options">\t<div class="messagebox"></div>\t<div style="display:none;">\t\t<input type="checkbox" value="0" id="allCaps" />\t\t<label for="allCaps" id="label_allCaps"></label>\t</div>\t<div style="display:none;">\t\t<input type="checkbox" value="0" id="ignoreDomainNames" />\t\t<label for="ignoreDomainNames" id="label_ignoreDomainNames"></label>\t</div>\t<div style="display:none;">\t<input type="checkbox" value="0" id="mixedCase" />\t\t<label for="mixedCase" id="label_mixedCase"></label>\t</div>\t<div style="display:none;">\t\t<input type="checkbox" value="0" id="mixedWithDigits" />\t\t<label for="mixedWithDigits" id="label_mixedWithDigits"></label>\t</div></div>'}]},{id:'langs',label:a.lang.scayt.languagesTab,elements:[{type:'html',id:'langs',html:'<div class="inner_langs">\t<div class="messagebox"></div>\t <div style="float:left;width:47%;margin-left:5px;" id="scayt_lcol" ></div> <div style="float:left;width:47%;margin-left:15px;" id="scayt_rcol"></div></div>'}]},{id:'dictionaries',label:a.lang.scayt.dictionariesTab,elements:[{type:'html',style:'',id:'dic',html:'<div class="inner_dictionary" style="text-align:left; white-space:normal;">\t<div style="margin:5px auto; width:80%;white-space:normal; overflow:hidden;" id="dic_message"> </div>\t<div style="margin:5px auto; width:80%;white-space:normal;"> <span class="cke_dialog_ui_labeled_label" >Dictionary name</span><br>\t\t<span class="cke_dialog_ui_labeled_content" >\t\t\t<div class="cke_dialog_ui_input_text">\t\t\t\t<input id="dic_name" type="text" class="cke_dialog_ui_input_text"/>\t\t</div></span></div>\t\t<div style="margin:5px auto; width:80%;white-space:normal;">\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_create">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_delete">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_rename">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_restore">\t\t\t\t</a>\t\t</div>\t<div style="margin:5px auto; width:95%;white-space:normal;" id="dic_info"></div></div>'}]},{id:'about',label:a.lang.scayt.aboutTab,elements:[{type:'html',id:'about',style:'margin: 10px 40px;',html:'<div id="scayt_about"></div>'}]}],k={title:a.lang.scayt.title,minWidth:340,minHeight:200,onShow:function(){var u=this;
|
7
|
-
u.data=a.fire('scaytDialog',{});u.options=u.data.scayt_control.option();u.sLang=u.data.scayt_control.sLang;if(!u.data||!u.data.scayt||!u.data.scayt_control){alert('Error loading application service');u.hide();return;}var v=0;if(b)u.data.scayt.getCaption('en',function(w){if(v++>0)return;c=w;n.apply(u);o.apply(u);b=false;});else o.apply(u);u.selectPage(u.data.tab);},onOk:function(){var z=this;var u=z.data.scayt_control,v=u.option(),w=0;for(var x in z.options)if(v[x]!=z.options[x]&&w===0){u.option(z.options);w++;}var y=z.chosed_lang;if(y&&z.data.sLang!=y){u.setLang(y);w++;}if(w>0)u.refresh();},contents:g},l=CKEDITOR.plugins.scayt.getScayt(a);if(l)e=l.uiTags;for(f in e)if(e[f]==1)g[g.length]=j[f];if(e[2]==1)h=true;function m(){var u=d.getById('dic_name').getValue();if(!u){p(' Dictionary name should not be empty. ');return false;}window.dic[this.getId()].apply(null,[this,u,i]);return true;};var n=function(){var u=this,v=u.data.scayt.getLangList(),w=['dic_create','dic_delete','dic_rename','dic_restore'],x=['mixedCase','mixedWithDigits','allCaps','ignoreDomainNames'],y;if(h){for(y in w){var z=w[y];d.getById(z).setHtml('<span class="cke_dialog_ui_button">'+c['button_'+z]+'</span>');}d.getById('dic_info').setHtml(c.dic_info);}for(y in x){var A='label_'+x[y],B=d.getById(A);if('undefined'!=typeof B&&'undefined'!=typeof c[A]&&'undefined'!=typeof u.options[x[y]]){B.setHtml(c[A]);var C=B.getParent();C.$.style.display='block';}}var D='<p>'+c.about_throwt_image+'</p>'+'<p>'+c.version+u.data.scayt.version.toString()+'</p>'+'<p>'+c.about_throwt_copy+'</p>';d.getById('scayt_about').setHtml(D);var E=function(N,O){var P=d.createElement('label');P.setAttribute('for','cke_option'+N);P.setHtml(O[N]);if(u.sLang==N)u.chosed_lang=N;var Q=d.createElement('div'),R=CKEDITOR.dom.element.createFromHtml('<input id="cke_option'+N+'" type="radio" '+(u.sLang==N?'checked="checked"':'')+' value="'+N+'" name="scayt_lang" />');R.on('click',function(){this.$.checked=true;u.chosed_lang=N;});Q.append(R);Q.append(P);return{lang:O[N],code:N,radio:Q};},F=[];for(y in v.rtl)F[F.length]=E(y,v.ltr);for(y in v.ltr)F[F.length]=E(y,v.ltr);F.sort(function(N,O){return O.lang>N.lang?-1:1;});var G=d.getById('scayt_lcol'),H=d.getById('scayt_rcol');for(y=0;y<F.length;y++){var I=y<F.length/2?G:H;I.append(F[y].radio);}var J={};J.dic_create=function(N,O,P){var Q=P[0]+','+P[1],R=c.err_dic_create,S=c.succ_dic_create;window.scayt.createUserDictionary(O,function(T){s(Q);r(P[1]);S=S.replace('%s',T.dname);q(S);},function(T){R=R.replace('%s',T.dname);
|
8
|
-
p(R+'( '+(T.message||'')+')');});};J.dic_rename=function(N,O){var P=c.err_dic_rename||'',Q=c.succ_dic_rename||'';window.scayt.renameUserDictionary(O,function(R){Q=Q.replace('%s',R.dname);t(O);q(Q);},function(R){P=P.replace('%s',R.dname);t(O);p(P+'( '+(R.message||'')+' )');});};J.dic_delete=function(N,O,P){var Q=P[0]+','+P[1],R=c.err_dic_delete,S=c.succ_dic_delete;window.scayt.deleteUserDictionary(function(T){S=S.replace('%s',T.dname);s(Q);r(P[0]);t('');q(S);},function(T){R=R.replace('%s',T.dname);p(R);});};J.dic_restore=u.dic_restore||(function(N,O,P){var Q=P[0]+','+P[1],R=c.err_dic_restore,S=c.succ_dic_restore;window.scayt.restoreUserDictionary(O,function(T){S=S.replace('%s',T.dname);s(Q);r(P[1]);q(S);},function(T){R=R.replace('%s',T.dname);p(R);});});var K=(i[0]+','+i[1]).split(','),L;for(y=0,L=K.length;y<L;y+=1){var M=d.getById(K[y]);if(M)M.on('click',m,this);}},o=function(){var u=this;for(var v in u.options){var w=d.getById(v);if(w){w.removeAttribute('checked');if(u.options[v]==1)w.setAttribute('checked','checked');if(b)w.on('click',function(){u.options[this.getId()]=this.$.checked?1:0;});}}if(h){window.scayt.getNameUserDictionary(function(x){var y=x.dname;if(y){d.getById('dic_name').setValue(y);r(i[1]);}else r(i[0]);},function(){d.getById('dic_name').setValue('');});q('');}};function p(u){d.getById('dic_message').setHtml('<span style="color:red;">'+u+'</span>');};function q(u){d.getById('dic_message').setHtml('<span style="color:blue;">'+u+'</span>');};function r(u){u=String(u);var v=u.split(',');for(var w=0,x=v.length;w<x;w+=1)d.getById(v[w]).$.style.display='inline';};function s(u){u=String(u);var v=u.split(',');for(var w=0,x=v.length;w<x;w+=1)d.getById(v[w]).$.style.display='none';};function t(u){d.getById('dic_name').$.value=u;};return k;});
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css
DELETED
@@ -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
|
-
a{text-decoration:none;padding:2px 4px 4px 6px;display:block;border-width:1px;border-style:solid;margin:0;}a.cke_scayt_toogle:hover,a.cke_scayt_toogle:focus,a.cke_scayt_toogle:active{border-color:#316ac5;background-color:#dff1ff;color:#000;cursor:pointer;margin:0;}a.cke_scayt_toogle{color:#316ac5;border-color:#fff;}.scayt_enabled a.cke_scayt_item{color:#316ac5;border-color:#fff;margin:0;}.scayt_disabled a.cke_scayt_item{color:gray;border-color:#fff;}.scayt_enabled a.cke_scayt_item:hover,.scayt_enabled a.cke_scayt_item:focus,.scayt_enabled a.cke_scayt_item:active{border-color:#316ac5;background-color:#dff1ff;color:#000;cursor:pointer;}.scayt_disabled a.cke_scayt_item:hover,.scayt_disabled a.cke_scayt_item:focus,.scayt_disabled a.cke_scayt_item:active{border-color:gray;background-color:#dff1ff;color:gray;cursor:no-drop;}.cke_scayt_set_on,.cke_scayt_set_off{display:none;}.scayt_enabled .cke_scayt_set_on{display:none;}.scayt_disabled .cke_scayt_set_on{display:inline;}.scayt_disabled .cke_scayt_set_off{display:none;}.scayt_enabled .cke_scayt_set_off{display:inline;}
|
@@ -1,8 +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='scaytcheck',b='',c=function(){var g=this,h=function(){var k={};k.srcNodeRef=g.document.getWindow().$.frameElement;k.assocApp='CKEDITOR.'+CKEDITOR.version+'@'+CKEDITOR.revision;k.customerid=g.config.scayt_customerid||'1:11111111111111111111111111111111111111';k.customDictionaryName=g.config.scayt_customDictionaryName;k.userDictionaryName=g.config.scayt_userDictionaryName;k.defLang=g.scayt_defLang;if(CKEDITOR._scaytParams)for(var l in CKEDITOR._scaytParams)k[l]=CKEDITOR._scaytParams[l];var m=new window.scayt(k),n=d.instances[g.name];if(n){m.sLang=n.sLang;m.option(n.option());m.paused=n.paused;}d.instances[g.name]=m;try{m.setDisabled(m.paused===false);}catch(o){}g.fire('showScaytState');};g.on('contentDom',h);g.on('contentDomUnload',function(){var k=CKEDITOR.document.getElementsByTag('script'),l=/^dojoIoScript(\d+)$/i,m=/^https?:\/\/svc\.spellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;for(var n=0;n<k.count();n++){var o=k.getItem(n),p=o.getId(),q=o.getAttribute('src');if(p&&q&&p.match(l)&&q.match(m))o.remove();}});g.on('beforeCommandExec',function(k){if((k.data.name=='source'||k.data.name=='newpage')&&(g.mode=='wysiwyg')){var l=d.getScayt(g);if(l){l.paused=!l.disabled;l.destroy();delete d.instances[g.name];}}});g.on('afterSetData',function(){if(d.isScaytEnabled(g))d.getScayt(g).refresh();});g.on('insertElement',function(){var k=d.getScayt(g);if(d.isScaytEnabled(g)){if(CKEDITOR.env.ie)g.getSelection().unlock(true);try{k.refresh();}catch(l){}}},this,null,50);g.on('scaytDialog',function(k){k.data.djConfig=window.djConfig;k.data.scayt_control=d.getScayt(g);k.data.tab=b;k.data.scayt=window.scayt;});var i=g.dataProcessor,j=i&&i.htmlFilter;if(j)j.addRules({elements:{span:function(k){if(k.attributes.scayt_word&&k.attributes.scaytid){delete k.name;return k;}}}});if(g.document)h();};CKEDITOR.plugins.scayt={engineLoaded:false,instances:{},getScayt:function(g){return this.instances[g.name];},isScaytReady:function(g){return this.engineLoaded===true&&'undefined'!==typeof window.scayt&&this.getScayt(g);},isScaytEnabled:function(g){var h=this.getScayt(g);return h?h.disabled===false:false;},loadEngine:function(g){if(this.engineLoaded===true)return c.apply(g);else if(this.engineLoaded==-1)return CKEDITOR.on('scaytReady',function(){c.apply(g);});CKEDITOR.on('scaytReady',c,g);CKEDITOR.on('scaytReady',function(){this.engineLoaded=true;},this,null,0);this.engineLoaded=-1;var h=document.location.protocol;h=h.search(/https?:/)!=-1?h:'http:';var i='svc.spellchecker.net/spellcheck/lf/scayt/scayt1.js',j=g.config.scayt_srcUrl||h+'//'+i,k=d.parseUrl(j).path+'/';
|
7
|
-
CKEDITOR._djScaytConfig={baseUrl:k,addOnLoad:[function(){CKEDITOR.fireOnce('scaytReady');}],isDebug:false};CKEDITOR.document.getHead().append(CKEDITOR.document.createElement('script',{attributes:{type:'text/javascript',src:j}}));return null;},parseUrl:function(g){var h;if(g.match&&(h=g.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:h[1],file:h[2]};else return g;}};var d=CKEDITOR.plugins.scayt,e=function(g,h,i,j,k,l,m){g.addCommand(j,k);g.addMenuItem(j,{label:i,command:j,group:l,order:m});},f={preserveState:true,exec:function(g){if(d.isScaytReady(g)){var h=d.isScaytEnabled(g);this.setState(h?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_ON);var i=d.getScayt(g);i.setDisabled(h);}else if(!g.config.scayt_autoStartup&&d.engineLoaded>=0){this.setState(CKEDITOR.TRISTATE_DISABLED);g.on('showScaytState',function(){this.removeListener();this.setState(d.isScaytEnabled(g)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);},this);d.loadEngine(g);}}};CKEDITOR.plugins.add('scayt',{requires:['menubutton'],beforeInit:function(g){g.config.menu_groups='scayt_suggest,scayt_moresuggest,scayt_control,'+g.config.menu_groups;},init:function(g){var h={},i={},j=g.addCommand(a,f);CKEDITOR.dialog.add(a,CKEDITOR.getUrl(this.path+'dialogs/options.js'));var k='scaytButton';g.addMenuGroup(k);g.addMenuItems({scaytToggle:{label:g.lang.scayt.enable,command:a,group:k},scaytOptions:{label:g.lang.scayt.options,group:k,onClick:function(){b='options';g.openDialog(a);}},scaytLangs:{label:g.lang.scayt.langs,group:k,onClick:function(){b='langs';g.openDialog(a);}},scaytAbout:{label:g.lang.scayt.about,group:k,onClick:function(){b='about';g.openDialog(a);}}});g.ui.add('Scayt',CKEDITOR.UI_MENUBUTTON,{label:g.lang.scayt.title,title:g.lang.scayt.title,className:'cke_button_scayt',onRender:function(){j.on('state',function(){this.setState(j.state);},this);},onMenu:function(){var m=d.isScaytEnabled(g);g.getMenuItem('scaytToggle').label=g.lang.scayt[m?'disable':'enable'];return{scaytToggle:CKEDITOR.TRISTATE_OFF,scaytOptions:m?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytLangs:m?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytAbout:m?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED};}});if(g.contextMenu&&g.addMenuItems)g.contextMenu.addListener(function(m){if(!(d.isScaytEnabled(g)&&m))return null;var n=d.getScayt(g),o=n.getWord(m.$);if(!o)return null;var p=n.getLang(),q={},r=window.scayt.getSuggestion(o,p);if(!r||!r.length)return null;for(i in h){delete g._.menuItems[i];delete g._.commands[i];}for(i in i){delete g._.menuItems[i];
|
8
|
-
delete g._.commands[i];}h={};i={};var s=false;for(var t=0,u=r.length;t<u;t+=1){var v='scayt_suggestion_'+r[t].replace(' ','_'),w=(function(A,B){return{exec:function(){n.replace(A,B);}};})(m.$,r[t]);if(t<g.config.scayt_maxSuggestions){e(g,'button_'+v,r[t],v,w,'scayt_suggest',t+1);q[v]=CKEDITOR.TRISTATE_OFF;i[v]=CKEDITOR.TRISTATE_OFF;}else{e(g,'button_'+v,r[t],v,w,'scayt_moresuggest',t+1);h[v]=CKEDITOR.TRISTATE_OFF;s=true;}}if(s)g.addMenuItem('scayt_moresuggest',{label:g.lang.scayt.moreSuggestions,group:'scayt_moresuggest',order:10,getItems:function(){return h;}});var x={exec:function(){n.ignore(m.$);}},y={exec:function(){n.ignoreAll(m.$);}},z={exec:function(){window.scayt.addWordToUserDictionary(m.$);}};e(g,'ignore',g.lang.scayt.ignore,'scayt_ignore',x,'scayt_control',1);e(g,'ignore_all',g.lang.scayt.ignoreAll,'scayt_ignore_all',y,'scayt_control',2);e(g,'add_word',g.lang.scayt.addWord,'scayt_add_word',z,'scayt_control',3);i.scayt_moresuggest=CKEDITOR.TRISTATE_OFF;i.scayt_ignore=CKEDITOR.TRISTATE_OFF;i.scayt_ignore_all=CKEDITOR.TRISTATE_OFF;i.scayt_add_word=CKEDITOR.TRISTATE_OFF;if(n.fireOnContextMenu)n.fireOnContextMenu(g);return i;});if(g.config.scayt_autoStartup){var l=function(){g.removeListener('showScaytState',l);j.setState(d.isScaytEnabled(g)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);};g.on('showScaytState',l);d.loadEngine(g);}}});})();CKEDITOR.config.scayt_maxSuggestions=5;CKEDITOR.config.scayt_autoStartup=false;
|
@@ -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(){var k=this;try{var h=k.getSelection();if(!h)return;var i=h.getStartElement(),j=new CKEDITOR.dom.elementPath(i);if(!j.compare(k._.selectionPreviousPath)){k._.selectionPreviousPath=j;k.fire('selectionChange',{selection:h,path:j,element:i});}}catch(l){}};var b,c;function d(){c=true;if(b)return;e.call(this);b=CKEDITOR.tools.setTimeout(e,200,this);};function e(){b=null;if(c){CKEDITOR.tools.setTimeout(a,0,this);c=false;}};var f={exec:function(h){switch(h.mode){case 'wysiwyg':h.document.$.execCommand('SelectAll',false,null);break;case 'source':}},canUndo:false};CKEDITOR.plugins.add('selection',{init:function(h){h.on('contentDom',function(){var i=h.document;if(CKEDITOR.env.ie){var j,k;i.on('focusin',function(){if(j){try{j.select();}catch(n){}j=null;}});h.window.on('focus',function(){k=true;m();});h.document.on('beforedeactivate',function(){k=false;h.document.$.execCommand('Unselect');});i.on('mousedown',l);i.on('mouseup',function(){k=true;setTimeout(function(){m(true);},0);});i.on('keydown',l);i.on('keyup',function(){k=true;m();});i.on('selectionchange',m);function l(){k=false;};function m(n){if(k){var o=h.document,p=o&&o.$.selection;if(n&&p&&p.type=='None')if(!o.$.queryCommandEnabled('InsertImage')){CKEDITOR.tools.setTimeout(m,50,this,true);return;}j=p&&p.createRange();d.call(h);}};}else{i.on('mouseup',d,h);i.on('keyup',d,h);}});h.addCommand('selectAll',f);h.ui.addButton('SelectAll',{label:h.lang.selectAll,command:'selectAll'});h.selectionChange=d;}});CKEDITOR.editor.prototype.getSelection=function(){return this.document&&this.document.getSelection();};CKEDITOR.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath;};CKEDITOR.dom.document.prototype.getSelection=function(){var h=new CKEDITOR.dom.selection(this);return!h||h.isInvalid?null:h;};CKEDITOR.SELECTION_NONE=1;CKEDITOR.SELECTION_TEXT=2;CKEDITOR.SELECTION_ELEMENT=3;CKEDITOR.dom.selection=function(h){var k=this;var i=h.getCustomData('cke_locked_selection');if(i)return i;k.document=h;k.isLocked=false;k._={cache:{}};if(CKEDITOR.env.ie){var j=k.getNative().createRange();if(!j||j.item&&j.item(0).ownerDocument!=k.document.$||j.parentElement&&j.parentElement().ownerDocument!=k.document.$)k.isInvalid=true;}return k;};var g={img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1,a:1,input:1,form:1,select:1,textarea:1,button:1,fieldset:1,th:1,thead:1,tfoot:1};CKEDITOR.dom.selection.prototype={getNative:CKEDITOR.env.ie?function(){return this._.cache.nativeSel||(this._.cache.nativeSel=this.document.$.selection);
|
7
|
-
}:function(){return this._.cache.nativeSel||(this._.cache.nativeSel=this.document.getWindow().$.getSelection());},getType:CKEDITOR.env.ie?function(){var h=this._.cache;if(h.type)return h.type;var i=CKEDITOR.SELECTION_NONE;try{var j=this.getNative(),k=j.type;if(k=='Text')i=CKEDITOR.SELECTION_TEXT;if(k=='Control')i=CKEDITOR.SELECTION_ELEMENT;if(j.createRange().parentElement)i=CKEDITOR.SELECTION_TEXT;}catch(l){}return h.type=i;}:function(){var h=this._.cache;if(h.type)return h.type;var i=CKEDITOR.SELECTION_TEXT,j=this.getNative();if(!j)i=CKEDITOR.SELECTION_NONE;else if(j.rangeCount==1){var k=j.getRangeAt(0),l=k.startContainer;if(l==k.endContainer&&l.nodeType==1&&k.endOffset-k.startOffset==1&&g[l.childNodes[k.startOffset].nodeName.toLowerCase()])i=CKEDITOR.SELECTION_ELEMENT;}return h.type=i;},getRanges:CKEDITOR.env.ie?(function(){var h=function(i,j){i=i.duplicate();i.collapse(j);var k=i.parentElement(),l=k.childNodes,m;for(var n=0;n<l.length;n++){var o=l[n];if(o.nodeType==1){m=i.duplicate();m.moveToElementText(o);m.collapse();var p=m.compareEndPoints('StartToStart',i);if(p>0)break;else if(p===0)return{container:k,offset:n};m=null;}}if(!m){m=i.duplicate();m.moveToElementText(k);m.collapse(false);}m.setEndPoint('StartToStart',i);var q=m.text.replace(/(\r\n|\r)/g,'\n').length;while(q>0)q-=l[--n].nodeValue.length;if(q===0)return{container:k,offset:n};else return{container:l[n],offset:-q};};return function(){var t=this;var i=t._.cache;if(i.ranges)return i.ranges;var j=t.getNative(),k=j&&j.createRange(),l=t.getType(),m;if(!j)return[];if(l==CKEDITOR.SELECTION_TEXT){m=new CKEDITOR.dom.range(t.document);var n=h(k,true);m.setStart(new CKEDITOR.dom.node(n.container),n.offset);n=h(k);m.setEnd(new CKEDITOR.dom.node(n.container),n.offset);return i.ranges=[m];}else if(l==CKEDITOR.SELECTION_ELEMENT){var o=t._.cache.ranges=[];for(var p=0;p<k.length;p++){var q=k.item(p),r=q.parentNode,s=0;m=new CKEDITOR.dom.range(t.document);for(;s<r.childNodes.length&&r.childNodes[s]!=q;s++){}m.setStart(new CKEDITOR.dom.node(r),s);m.setEnd(new CKEDITOR.dom.node(r),s+1);o.push(m);}return o;}return i.ranges=[];};})():function(){var h=this._.cache;if(h.ranges)return h.ranges;var i=[],j=this.getNative();if(!j)return[];for(var k=0;k<j.rangeCount;k++){var l=j.getRangeAt(k),m=new CKEDITOR.dom.range(this.document);m.setStart(new CKEDITOR.dom.node(l.startContainer),l.startOffset);m.setEnd(new CKEDITOR.dom.node(l.endContainer),l.endOffset);i.push(m);}return h.ranges=i;},getStartElement:function(){var o=this;
|
8
|
-
var h=o._.cache;if(h.startElement!==undefined)return h.startElement;var i,j=o.getNative();switch(o.getType()){case CKEDITOR.SELECTION_ELEMENT:return o.getSelectedElement();case CKEDITOR.SELECTION_TEXT:var k=o.getRanges()[0];if(k)if(!k.collapsed){k.optimize();for(;;){var l=k.startContainer,m=k.startOffset;if(m==(l.getChildCount?l.getChildCount():l.getLength()))k.setStartAfter(l);else break;}i=k.startContainer;if(i.type!=CKEDITOR.NODE_ELEMENT)return i.getParent();i=i.getChild(k.startOffset);if(!i||i.type!=CKEDITOR.NODE_ELEMENT)return k.startContainer;var n=i.getFirst();while(n&&n.type==CKEDITOR.NODE_ELEMENT){i=n;n=n.getFirst();}return i;}if(CKEDITOR.env.ie){k=j.createRange();k.collapse(true);i=k.parentElement();}else{i=j.anchorNode;if(i.nodeType!=1)i=i.parentNode;}}return h.startElement=i?new CKEDITOR.dom.element(i):null;},getSelectedElement:function(){var h=this._.cache;if(h.selectedElement!==undefined)return h.selectedElement;var i;if(this.getType()==CKEDITOR.SELECTION_ELEMENT){var j=this.getNative();if(CKEDITOR.env.ie)try{i=j.createRange().item(0);}catch(l){}else{var k=j.getRangeAt(0);i=k.startContainer.childNodes[k.startOffset];}}return h.selectedElement=i?new CKEDITOR.dom.element(i):null;},lock:function(){var h=this;h.getRanges();h.getStartElement();h.getSelectedElement();h._.cache.nativeSel={};h.isLocked=true;h.document.setCustomData('cke_locked_selection',h);},unlock:function(h){var m=this;var i=m.document,j=i.getCustomData('cke_locked_selection');if(j){i.setCustomData('cke_locked_selection',null);if(h){var k=j.getSelectedElement(),l=!k&&j.getRanges();m.isLocked=false;m.reset();i.getBody().focus();if(k)m.selectElement(k);else m.selectRanges(l);}}if(!j||!h){m.isLocked=false;m.reset();}},reset:function(){this._.cache={};},selectElement:function(h){var k=this;if(k.isLocked){var i=new CKEDITOR.dom.range(k.document);i.setStartBefore(h);i.setEndAfter(h);k._.cache.selectedElement=h;k._.cache.startElement=h;k._.cache.ranges=[i];k._.cache.type=CKEDITOR.SELECTION_ELEMENT;return;}if(CKEDITOR.env.ie){k.getNative().empty();try{i=k.document.$.body.createControlRange();i.addElement(h.$);i.select();}catch(l){i=k.document.$.body.createTextRange();i.moveToElementText(h.$);i.select();}k.reset();}else{i=k.document.$.createRange();i.selectNode(h.$);var j=k.getNative();j.removeAllRanges();j.addRange(i);k.reset();}},selectRanges:function(h){var n=this;if(n.isLocked){n._.cache.selectedElement=null;n._.cache.startElement=h[0].getTouchedStartNode();n._.cache.ranges=h;n._.cache.type=CKEDITOR.SELECTION_TEXT;
|
9
|
-
return;}if(CKEDITOR.env.ie){if(h[0])h[0].select();n.reset();}else{var i=n.getNative();i.removeAllRanges();for(var j=0;j<h.length;j++){var k=h[j],l=n.document.$.createRange(),m=k.startContainer;if(k.collapsed&&CKEDITOR.env.gecko&&CKEDITOR.env.version<10900&&m.type==CKEDITOR.NODE_ELEMENT&&!m.getChildCount())m.appendText('');l.setStart(m.$,k.startOffset);l.setEnd(k.endContainer.$,k.endOffset);i.addRange(l);}n.reset();}},createBookmarks:function(h){var i=[],j=this.getRanges(),k=j.length,l;for(var m=0;m<k;m++){i.push(l=j[m].createBookmark(h,true));h=l.serializable;var n=h?this.document.getById(l.startNode):l.startNode,o=h?this.document.getById(l.endNode):l.endNode;for(var p=m+1;p<k;p++){var q=j[p],r=q.startContainer,s=q.endContainer;r.equals(n.getParent())&&q.startOffset++;r.equals(o.getParent())&&q.startOffset++;s.equals(n.getParent())&&q.endOffset++;s.equals(o.getParent())&&q.endOffset++;}}return i;},createBookmarks2:function(h){var i=[],j=this.getRanges();for(var k=0;k<j.length;k++)i.push(j[k].createBookmark2(h));return i;},selectBookmarks:function(h){var i=[];for(var j=0;j<h.length;j++){var k=new CKEDITOR.dom.range(this.document);k.moveToBookmark(h[j]);i.push(k);}this.selectRanges(i);return this;}};})();CKEDITOR.dom.range.prototype.select=CKEDITOR.env.ie?function(a){var j=this;var b=j.collapsed,c,d,e=j.createBookmark(),f=e.startNode,g;if(!b)g=e.endNode;var h=j.document.$.body.createTextRange();h.moveToElementText(f.$);h.moveStart('character',1);if(g){var i=j.document.$.body.createTextRange();i.moveToElementText(g.$);h.setEndPoint('EndToEnd',i);h.moveEnd('character',-1);}else{c=a||!f.hasPrevious()||f.getPrevious().is&&f.getPrevious().is('br');d=j.document.createElement('span');d.setHtml('');d.insertBefore(f);if(c)j.document.createText('').insertBefore(f);}j.setStartBefore(f);f.remove();if(b){if(c){h.moveStart('character',-1);h.select();j.document.$.selection.clear();}else h.select();d.remove();}else{j.setEndBefore(g);g.remove();h.select();}}:function(){var d=this;var a=d.startContainer;if(d.collapsed&&a.type==CKEDITOR.NODE_ELEMENT&&!a.getChildCount())a.append(new CKEDITOR.dom.text(''));var b=d.document.$.createRange();b.setStart(a.$,d.startOffset);try{b.setEnd(d.endContainer.$,d.endOffset);}catch(e){if(e.toString().indexOf('NS_ERROR_ILLEGAL_VALUE')>=0){d.collapse(true);b.setEnd(d.endContainer.$,d.endOffset);}else throw e;}var c=d.document.getSelection().getNative();c.removeAllRanges();c.addRange(b);};
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png
DELETED
Binary file
|
Binary file
|
@@ -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='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2 h1{%1h1.png);}.%2 h2{%1h2.png);}.%2 h3{%1h3.png);}.%2 h4{%1h4.png);}.%2 h5{%1h5.png);}.%2 h6{%1h6.png);}',b=/%1/g,c=/%2/g,d={preserveState:true,exec:function(e){this.toggleState();this.refresh(e);},refresh:function(e){var f=this.state==CKEDITOR.TRISTATE_ON?'addClass':'removeClass';e.document.getBody()[f]('cke_show_blocks');}};CKEDITOR.plugins.add('showblocks',{requires:['wysiwygarea'],init:function(e){var f=e.addCommand('showblocks',d);f.canUndo=false;if(e.config.startupOutlineBlocks)f.setState(CKEDITOR.TRISTATE_ON);e.addCss(a.replace(b,'background-image: url('+CKEDITOR.getUrl(this.path)+'images/block_').replace(c,'cke_show_blocks '));e.ui.addButton('ShowBlocks',{label:e.lang.showBlocks,command:'showblocks'});e.on('mode',function(){if(f.state!=CKEDITOR.TRISTATE_DISABLED)f.refresh(e);});e.on('contentDom',function(){if(f.state!=CKEDITOR.TRISTATE_DISABLED)f.refresh(e);});}});})();CKEDITOR.config.startupOutlineBlocks=false;
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js
DELETED
@@ -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('smiley',function(a){var b=a.config,c=b.smiley_images,d=8,e,f,g=function(k){var l=k.data.getTarget(),m=l.getName();if(m=='td')l=l.getChild([0,0]);else if(m=='a')l=l.getChild(0);else if(m!='img')return;var n=l.getAttribute('cke_src'),o=l.getAttribute('title'),p=a.document.createElement('img',{attributes:{src:n,_cke_saved_src:n,title:o,alt:o}});a.insertElement(p);f.hide();},h=CKEDITOR.tools.addFunction(function(k,l){k=new CKEDITOR.dom.event(k);l=new CKEDITOR.dom.element(l);var m,n,o=k.getKeystroke();switch(o){case 39:if(m=l.getParent().getNext()){n=m.getChild(0);n.focus();}k.preventDefault();break;case 37:if(m=l.getParent().getPrevious()){n=m.getChild(0);n.focus();}k.preventDefault();break;case 38:if(m=l.getParent().getParent().getPrevious()){n=m.getChild([l.getParent().getIndex(),0]);n.focus();}k.preventDefault();break;case 40:if(m=l.getParent().getParent().getNext()){n=m.getChild([l.getParent().getIndex(),0]);if(n)n.focus();}k.preventDefault();break;case 32:g({data:k});k.preventDefault();break;case 9:if(m=l.getParent().getNext()){n=m.getChild(0);n.focus();k.preventDefault(true);}else if(m=l.getParent().getParent().getNext()){n=m.getChild([0,0]);if(n)n.focus();k.preventDefault(true);}break;case CKEDITOR.SHIFT+9:if(m=l.getParent().getPrevious()){n=m.getChild(0);n.focus();k.preventDefault(true);}else if(m=l.getParent().getParent().getPrevious()){n=m.getLast().getChild(0);n.focus();k.preventDefault(true);}break;default:return;}}),i=['<table cellspacing="2" cellpadding="2"',CKEDITOR.env.ie&&CKEDITOR.env.quirks?' style="position:absolute;"':'','><tbody>'];for(e=0;e<c.length;e++){if(e%d===0)i.push('<tr>');i.push('<td class="cke_dark_background cke_hand cke_centered" style="vertical-align: middle;"><a href="javascript:void(0)" class="cke_smile" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ',h,', event, this );">','<img class="hand" title="',b.smiley_descriptions[e],'" cke_src="',CKEDITOR.tools.htmlEncode(b.smiley_path+c[e]),'" alt="',b.smiley_descriptions[e],'"',' src="',CKEDITOR.tools.htmlEncode(b.smiley_path+c[e]),'"',CKEDITOR.env.ie?" onload=\"this.setAttribute('width', 2); this.removeAttribute('width');\" ":'','></a>','</td>');if(e%d==d-1)i.push('</tr>');}if(e<d-1){for(;e<d-1;e++)i.push('<td></td>');i.push('</tr>');}i.push('</tbody></table>');var j={type:'html',html:i.join(''),onLoad:function(k){f=k.sender;},focus:function(){var k=this.getElement().getChild([0,0,0,0]);k.focus();},onClick:g,style:'width: 100%; height: 100%; border-collapse: separate;'};
|
7
|
-
return{title:a.lang.smiley.title,minWidth:270,minHeight:120,contents:[{id:'tab1',label:'',title:'',expand:true,padding:0,elements:[j]}],buttons:[CKEDITOR.dialog.cancelButton]};});
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif
DELETED
Binary file
|
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif
DELETED
Binary file
|
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif
DELETED
Binary file
|
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif
DELETED
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif
DELETED
Binary file
|
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif
DELETED
Binary file
|
@@ -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('smiley',{requires:['dialog'],init:function(a){a.addCommand('smiley',new CKEDITOR.dialogCommand('smiley'));a.ui.addButton('Smiley',{label:a.lang.smiley.toolbar,command:'smiley'});CKEDITOR.dialog.add('smiley',this.path+'dialogs/smiley.js');}});CKEDITOR.config.smiley_path=CKEDITOR.basePath+'plugins/smiley/images/';CKEDITOR.config.smiley_images=['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'];CKEDITOR.config.smiley_descriptions=[':)',':(',';)',':D',':/',':P','','','','','','','',';(','','','','','',':kiss',''];
|
@@ -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('sourcearea',{requires:['editingblock'],init:function(a){var b=CKEDITOR.plugins.sourcearea;a.on('editingBlockReady',function(){var c,d;a.addMode('source',{load:function(e,f){if(CKEDITOR.env.ie&&CKEDITOR.env.version<8)e.setStyle('position','relative');a.textarea=c=new CKEDITOR.dom.element('textarea');c.setAttributes({dir:'ltr',tabIndex:-1});c.addClass('cke_source');var g={width:CKEDITOR.env.ie7Compat?'99%':'100%',height:'100%',resize:'none',outline:'none','text-align':'left'};if(CKEDITOR.env.ie){if(!CKEDITOR.env.ie8Compat){d=function(){c.hide();c.setStyle('height',e.$.clientHeight+'px');c.show();};a.on('resize',d);g.height=e.$.clientHeight+'px';}}else c.on('mousedown',function(i){i=i.data.$;if(i.stopPropagation)i.stopPropagation();});e.setHtml('');e.append(c);c.setStyles(g);a.mayBeDirty=true;this.loadData(f);var h=a.keystrokeHandler;if(h)h.attach(c);setTimeout(function(){a.mode='source';a.fire('mode');},CKEDITOR.env.gecko||CKEDITOR.env.webkit?100:0);},loadData:function(e){c.setValue(e);},getData:function(){return c.getValue();},getSnapshotData:function(){return c.getValue();},unload:function(e){a.textarea=c=null;if(d)a.removeListener('resize',d);if(CKEDITOR.env.ie&&CKEDITOR.env.version<8)e.removeStyle('position');},focus:function(){c.focus();}});});a.addCommand('source',b.commands.source);if(a.ui.addButton)a.ui.addButton('Source',{label:a.lang.source,command:'source'});a.on('mode',function(){a.getCommand('source').setState(a.mode=='source'?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);});}});CKEDITOR.plugins.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},exec:function(a){if(a.mode=='wysiwyg')a.fire('saveSnapshot');a.getCommand('source').setState(CKEDITOR.TRISTATE_DISABLED);a.setMode(a.mode=='source'?'wysiwyg':'source');},canUndo:false}}};
|
@@ -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('specialchar',function(a){var b,c=function(i){var j,k;if(i.data)j=i.data.getTarget();else j=new CKEDITOR.dom.element(i);if(j.getName()=='a'&&(k=j.getChild(0).getHtml())){j.removeClass('cke_light_background');b.hide();a.insertHtml(k);}},d=CKEDITOR.tools.addFunction(c),e,f=function(i,j){var k;j=j||i.data.getTarget();if(j.getName()=='span')j=j.getParent();if(j.getName()=='a'&&(k=j.getChild(0).getHtml())){if(e)g(null,e);var l=b.getContentElement('info','htmlPreview').getElement();b.getContentElement('info','charPreview').getElement().setHtml(k);l.setHtml(CKEDITOR.tools.htmlEncode(k));j.getParent().addClass('cke_light_background');e=j;}},g=function(i,j){j=j||i.data.getTarget();if(j.getName()=='span')j=j.getParent();if(j.getName()=='a'){b.getContentElement('info','charPreview').getElement().setHtml(' ');b.getContentElement('info','htmlPreview').getElement().setHtml(' ');j.getParent().removeClass('cke_light_background');e=undefined;}},h=CKEDITOR.tools.addFunction(function(i){i=new CKEDITOR.dom.event(i);var j=i.getTarget(),k,l,m=i.getKeystroke();switch(m){case 39:if(k=j.getParent().getNext()){l=k.getChild(0);if(l.type==1){l.focus();g(null,j);f(null,l);}}i.preventDefault();break;case 37:if(k=j.getParent().getPrevious()){l=k.getChild(0);l.focus();g(null,j);f(null,l);}i.preventDefault();break;case 38:if(k=j.getParent().getParent().getPrevious()){l=k.getChild([j.getParent().getIndex(),0]);l.focus();g(null,j);f(null,l);}i.preventDefault();break;case 40:if(k=j.getParent().getParent().getNext()){l=k.getChild([j.getParent().getIndex(),0]);if(l&&l.type==1){l.focus();g(null,j);f(null,l);}}i.preventDefault();break;case 32:c({data:i});i.preventDefault();break;case 9:if(k=j.getParent().getNext()){l=k.getChild(0);if(l.type==1){l.focus();g(null,j);f(null,l);i.preventDefault(true);}else g(null,j);}else if(k=j.getParent().getParent().getNext()){l=k.getChild([0,0]);if(l&&l.type==1){l.focus();g(null,j);f(null,l);i.preventDefault(true);}else g(null,j);}break;case CKEDITOR.SHIFT+9:if(k=j.getParent().getPrevious()){l=k.getChild(0);l.focus();g(null,j);f(null,l);i.preventDefault(true);}else if(k=j.getParent().getParent().getPrevious()){l=k.getLast().getChild(0);l.focus();g(null,j);f(null,l);i.preventDefault(true);}else g(null,j);break;default:return;}});return{title:a.lang.specialChar.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,chars:['!','"','#','$','%','&',"'",'(',')','*','+','-','.','/','0','1','2','3','4','5','6','7','8','9',':',';','<','=','>','?','@','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','[',']','^','_','`','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','{','|','}','~','€','‘','’','’','“','”','–','—','¡','¢','£','¤','¥','¦','§','¨','©','ª','«','¬','®','¯','°','±','²','³','´','µ','¶','·','¸','¹','º','»','¼','½','¾','¿','À','Á','Â','Ã','Ä','Å','Æ','Ç','È','É','Ê','Ë','Ì','Í','Î','Ï','Ð','Ñ','Ò','Ó','Ô','Õ','Ö','×','Ø','Ù','Ú','Û','Ü','Ý','Þ','ß','à','á','â','ã','ä','å','æ','ç','è','é','ê','ë','ì','í','î','ï','ð','ñ','ò','ó','ô','õ','ö','÷','ø','ù','ú','û','ü','ü','ý','þ','ÿ','Œ','œ','Ŵ','Ŷ','ŵ','ŷ','‚','‛','„','…','™','►','•','→','⇒','⇔','♦','≈'],onLoad:function(){var i=this.definition.charColumns,j=this.definition.chars,k=['<table style="width: 320px; height: 100%; border-collapse: separate;" align="center" cellspacing="2" cellpadding="2" border="0">'],l=0;
|
7
|
-
while(l<j.length){k.push('<tr>');for(var m=0;m<i;m++,l++){if(j[l])k.push('<td class="cke_dark_background" style="cursor: default"><a href="javascript: void(0);" style="cursor: inherit; display: block; height: 1.25em; margin-top: 0.25em; text-align: center;" title="',j[l].replace(/&/g,'&'),'" onkeydown="CKEDITOR.tools.callFunction( '+h+', event, this )"'+' onclick="CKEDITOR.tools.callFunction('+d+', this); return false;"'+' tabindex="-1">'+'<span style="margin: 0 auto;cursor: inherit">'+j[l]+'</span></a>');else k.push('<td class="cke_dark_background"> ');k.push('</td>');}k.push('</tr>');}k.push('</tbody></table>');this.getContentElement('info','charContainer').getElement().setHtml(k.join(''));},contents:[{id:'info',label:a.lang.common.generalTab,title:a.lang.common.generalTab,padding:0,align:'top',elements:[{type:'hbox',align:'top',widths:['320px','90px'],children:[{type:'html',id:'charContainer',html:'',onMouseover:f,onMouseout:g,focus:function(){var i=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){i.focus();f(null,i);});},onShow:function(){var i=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){i.focus();f(null,i);});},onLoad:function(i){b=i.sender;}},{type:'hbox',align:'top',widths:['100%'],children:[{type:'vbox',align:'top',children:[{type:'html',html:'<div></div>'},{type:'html',id:'charPreview',style:"border:1px solid #eeeeee;background-color:#EAEAD1;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:'<div> </div>'},{type:'html',id:'htmlPreview',style:"border:1px solid #eeeeee;background-color:#EAEAD1;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:'<div> </div>'}]}]}]}]}]};});
|
@@ -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('specialchar',{init:function(a){var b='specialchar';CKEDITOR.dialog.add(b,this.path+'dialogs/specialchar.js');a.addCommand(b,new CKEDITOR.dialogCommand(b));a.ui.addButton('SpecialChar',{label:a.lang.specialChar.toolbar,command:b});}});
|
@@ -1,10 +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('styles',{requires:['selection']});CKEDITOR.editor.prototype.attachStyleStateChange=function(a,b){var c=this._.styleStateChangeCallbacks;if(!c){c=this._.styleStateChangeCallbacks=[];this.on('selectionChange',function(d){for(var e=0;e<c.length;e++){var f=c[e],g=f.style.checkActive(d.data.path)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF;if(f.state!==g){f.fn.call(this,g);f.state!==g;}}});}c.push({style:a,fn:b});};CKEDITOR.STYLE_BLOCK=1;CKEDITOR.STYLE_INLINE=2;CKEDITOR.STYLE_OBJECT=3;(function(){var a={address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1},b={a:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,ul:1},c=/\s*(?:;\s*|$)/;CKEDITOR.style=function(A,B){if(B){A=CKEDITOR.tools.clone(A);v(A.attributes,B);v(A.styles,B);}var C=this.element=(A.element||'*').toLowerCase();this.type=C=='#'||a[C]?CKEDITOR.STYLE_BLOCK:b[C]?CKEDITOR.STYLE_OBJECT:CKEDITOR.STYLE_INLINE;this._={definition:A};};CKEDITOR.style.prototype={apply:function(A){z.call(this,A,false);},remove:function(A){z.call(this,A,true);},applyToRange:function(A){var B=this;return(B.applyToRange=B.type==CKEDITOR.STYLE_INLINE?d:B.type==CKEDITOR.STYLE_BLOCK?f:null).call(B,A);},removeFromRange:function(A){return(this.removeFromRange=this.type==CKEDITOR.STYLE_INLINE?e:null).call(this,A);},applyToObject:function(A){t(A,this);},checkActive:function(A){switch(this.type){case CKEDITOR.STYLE_BLOCK:return this.checkElementRemovable(A.block||A.blockLimit,true);case CKEDITOR.STYLE_INLINE:var B=A.elements;for(var C=0,D;C<B.length;C++){D=B[C];if(D==A.block||D==A.blockLimit)continue;if(this.checkElementRemovable(D,true))return true;}}return false;},checkElementRemovable:function(A,B){if(!A)return false;var C=this._.definition,D;if(A.getName()==this.element){if(!B&&!A.hasAttributes())return true;D=w(C);if(D._length){for(var E in D){if(E=='_length')continue;var F=A.getAttribute(E);if(D[E]==(E=='style'?y(F,false):F)){if(!B)return true;}else if(B)return false;}if(B)return true;}else return true;}var G=x(this)[A.getName()];if(G){if(!(D=G.attributes))return true;for(var H=0;H<D.length;H++){E=D[H][0];var I=A.getAttribute(E);if(I){var J=D[H][1];if(J===null||typeof J=='string'&&I==J||J.test(I))return true;}}}return false;}};CKEDITOR.style.getStyleText=function(A){var B=A._ST;if(B)return B;B=A.styles;var C=A.attributes&&A.attributes.style||'';if(C.length)C=C.replace(c,';');for(var D in B)C+=D+':'+B[D]+';';if(C.length)C=y(C);return A._ST=C;};function d(A){var aa=this;var B=A.document;if(A.collapsed){var C=s(aa,B);
|
7
|
-
A.insertNode(C);A.moveToPosition(C,CKEDITOR.POSITION_BEFORE_END);return;}var D=aa.element,E=aa._.definition,F,G=CKEDITOR.dtd[D]||(F=true,CKEDITOR.dtd.span),H=A.createBookmark();A.enlarge(CKEDITOR.ENLARGE_ELEMENT);A.trim();var I=A.getBoundaryNodes(),J=I.startNode,K=I.endNode.getNextSourceNode(true);if(!K){var L;K=L=B.createText('');K.insertAfter(A.endContainer);}var M=K.getParent();if(M&&M.getAttribute('_fck_bookmark'))K=M;if(K.equals(J)){K=K.getNextSourceNode(true);if(!K){K=L=B.createText('');K.insertAfter(J);}}var N=J,O,P;while(N){var Q=false;if(N.equals(K)){N=null;Q=true;}else{var R=N.type,S=R==CKEDITOR.NODE_ELEMENT?N.getName():null;if(S&&N.getAttribute('_fck_bookmark')){N=N.getNextSourceNode(true);continue;}if(!S||G[S]&&(N.getPosition(K)|CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED)==(CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IDENTICAL+CKEDITOR.POSITION_IS_CONTAINED)){var T=N.getParent();if(T&&((T.getDtd()||CKEDITOR.dtd.span)[D]||F)){if(!O&&(!S||!CKEDITOR.dtd.$removeEmpty[S]||(N.getPosition(K)|CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED)==(CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IDENTICAL+CKEDITOR.POSITION_IS_CONTAINED))){O=new CKEDITOR.dom.range(B);O.setStartBefore(N);}if(R==CKEDITOR.NODE_TEXT||R==CKEDITOR.NODE_ELEMENT&&!N.getChildCount()){var U=N,V;while(!U.$.nextSibling&&(V=U.getParent(),G[V.getName()])&&((V.getPosition(J)|CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED)==(CKEDITOR.POSITION_FOLLOWING+CKEDITOR.POSITION_IDENTICAL+CKEDITOR.POSITION_IS_CONTAINED)))U=V;O.setEndAfter(U);if(!U.$.nextSibling)Q=true;if(!P)P=R!=CKEDITOR.NODE_TEXT||/[^\s\ufeff]/.test(N.getText());}}else Q=true;}else Q=true;N=N.getNextSourceNode();}if(Q&&P&&O&&!O.collapsed){var W=s(aa,B),X=O.getCommonAncestor();while(W&&X){if(X.getName()==D){for(var Y in E.attributes)if(W.getAttribute(Y)==X.getAttribute(Y))W.removeAttribute(Y);for(var Z in E.styles)if(W.getStyle(Z)==X.getStyle(Z))W.removeStyle(Z);if(!W.hasAttributes()){W=null;break;}}X=X.getParent();}if(W){O.extractContents().appendTo(W);n(aa,W);O.insertNode(W);q(W);if(!CKEDITOR.env.ie)W.$.normalize();}O=null;}}L&&L.remove();A.moveToBookmark(H);};function e(A){A.enlarge(CKEDITOR.ENLARGE_ELEMENT);var B=A.createBookmark(),C=B.startNode;if(A.collapsed){var D=new CKEDITOR.dom.elementPath(C.getParent()),E;for(var F=0,G;F<D.elements.length&&(G=D.elements[F]);F++){if(G==D.block||G==D.blockLimit)break;if(this.checkElementRemovable(G)){var H=A.checkBoundaryOfElement(G,CKEDITOR.END),I=!H&&A.checkBoundaryOfElement(G,CKEDITOR.START);
|
8
|
-
if(I||H){E=G;E.match=I?'start':'end';}else{q(G);m(this,G);}}}if(E){var J=C;for(F=0;true;F++){var K=D.elements[F];if(K.equals(E))break;else if(K.match)continue;else K=K.clone();K.append(J);J=K;}J[E.match=='start'?'insertBefore':'insertAfter'](E);}}else{var L=B.endNode,M=this;function N(){var Q=new CKEDITOR.dom.elementPath(C.getParent()),R=new CKEDITOR.dom.elementPath(L.getParent()),S=null,T=null;for(var U=0;U<Q.elements.length;U++){var V=Q.elements[U];if(V==Q.block||V==Q.blockLimit)break;if(M.checkElementRemovable(V))S=V;}for(U=0;U<R.elements.length;U++){V=R.elements[U];if(V==R.block||V==R.blockLimit)break;if(M.checkElementRemovable(V))T=V;}if(T)L.breakParent(T);if(S)C.breakParent(S);};N();var O=C.getNext();while(!O.equals(L)){var P=O.getNextSourceNode();if(O.type==CKEDITOR.NODE_ELEMENT&&this.checkElementRemovable(O)){if(O.getName()==this.element)m(this,O);else o(O,x(this)[O.getName()]);if(P.type==CKEDITOR.NODE_ELEMENT&&P.contains(C)){N();P=C.getNext();}}O=P;}}A.moveToBookmark(B);};function f(A){var B=A.createBookmark(true),C=A.createIterator();C.enforceRealBlocks=true;var D,E=A.document,F;while(D=C.getNextParagraph()){var G=s(this,E);g(D,G);}A.moveToBookmark(B);};function g(A,B){var C=B.is('pre'),D=A.is('pre'),E=C&&!D,F=!C&&D;if(E)B=l(A,B);else if(F)B=k(i(A),B);else A.moveChildren(B);B.replace(A);if(C)h(B);};function h(A){var B;if(!((B=A.getPreviousSourceNode(true,CKEDITOR.NODE_ELEMENT))&&(B.is&&B.is('pre'))))return;var C=j(B.getHtml(),/\n$/,'')+'\n\n'+j(A.getHtml(),/^\n/,'');if(CKEDITOR.env.ie)A.$.outerHTML='<pre>'+C+'</pre>';else A.setHtml(C);B.remove();};function i(A){var B=/(\S\s*)\n(?:\s|(<span[^>]+_fck_bookmark.*?\/span>))*\n(?!$)/gi,C=A.getName(),D=j(A.getOuterHtml(),B,function(F,G,H){return G+'</pre>'+H+'<pre>';}),E=[];D.replace(/<pre>([\s\S]*?)<\/pre>/gi,function(F,G){E.push(G);});return E;};function j(A,B,C){var D='',E='';A=A.replace(/(^<span[^>]+_fck_bookmark.*?\/span>)|(<span[^>]+_fck_bookmark.*?\/span>$)/gi,function(F,G,H){G&&(D=G);H&&(E=H);return '';});return D+A.replace(B,C)+E;};function k(A,B){var C=new CKEDITOR.dom.documentFragment(B.getDocument());for(var D=0;D<A.length;D++){var E=A[D];E=E.replace(/(\r\n|\r)/g,'\n');E=j(E,/^[ \t]*\n/,'');E=j(E,/\n$/,'');E=j(E,/^[ \t]+|[ \t]+$/g,function(G,H,I){if(G.length==1)return ' ';else if(!H)return CKEDITOR.tools.repeat(' ',G.length-1)+' ';else return ' '+CKEDITOR.tools.repeat(' ',G.length-1);});E=E.replace(/\n/g,'<br>');E=E.replace(/[ \t]{2,}/g,function(G){return CKEDITOR.tools.repeat(' ',G.length-1)+' ';
|
9
|
-
});var F=B.clone();F.setHtml(E);C.append(F);}return C;};function l(A,B){var C=A.getHtml();C=j(C,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,'');C=C.replace(/[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi,'$1');C=C.replace(/([ \t\n\r]+| )/g,' ');C=C.replace(/<br\b[^>]*>/gi,'\n');if(CKEDITOR.env.ie){var D=A.getDocument().createElement('div');D.append(B);B.$.outerHTML='<pre>'+C+'</pre>';B=D.getFirst().remove();}else B.setHtml(C);return B;};function m(A,B){var C=A._.definition,D=C.attributes,E=C.styles,F=x(A);function G(){for(var I in D){if(I=='class'&&B.getAttribute(I)!=D[I])continue;B.removeAttribute(I);}};G();for(var H in E)B.removeStyle(H);D=F[B.getName()];if(D)G();p(B);};function n(A,B){var C=A._.definition,D=C.attributes,E=C.styles,F=x(A),G=B.getElementsByTag(A.element);for(var H=G.count();--H>=0;)m(A,G.getItem(H));for(var I in F)if(I!=A.element){G=B.getElementsByTag(I);for(H=G.count()-1;H>=0;H--){var J=G.getItem(H);o(J,F[I]);}}};function o(A,B){var C=B&&B.attributes;if(C)for(var D=0;D<C.length;D++){var E=C[D][0],F;if(F=A.getAttribute(E)){var G=C[D][1];if(G===null||G.test&&G.test(F)||typeof G=='string'&&F==G)A.removeAttribute(E);}}p(A);};function p(A){if(!A.hasAttributes()){var B=A.getFirst(),C=A.getLast();A.remove(true);if(B){q(B);if(C&&!B.equals(C))q(C);}}};function q(A){if(!A||A.type!=CKEDITOR.NODE_ELEMENT||!CKEDITOR.dtd.$removeEmpty[A.getName()])return;r(A,A.getNext(),true);r(A,A.getPrevious());};function r(A,B,C){if(B&&B.type==CKEDITOR.NODE_ELEMENT){var D=B.getAttribute('_fck_bookmark');if(D)B=C?B.getNext():B.getPrevious();if(B&&B.type==CKEDITOR.NODE_ELEMENT&&A.isIdentical(B)){var E=C?A.getLast():A.getFirst();if(D)(C?B.getPrevious():B.getNext()).move(A,!C);B.moveChildren(A,!C);B.remove();if(E)q(E);}}};function s(A,B){var C,D=A._.definition,E=A.element;if(E=='*')E='span';C=new CKEDITOR.dom.element(E,B);return t(C,A);};function t(A,B){var C=B._.definition,D=C.attributes,E=CKEDITOR.style.getStyleText(C);if(D)for(var F in D)A.setAttribute(F,D[F]);if(E)A.setAttribute('style',E);return A;};var u=/#\((.+?)\)/g;function v(A,B){for(var C in A)A[C]=A[C].replace(u,function(D,E){return B[E];});};function w(A){var B=A._AC;if(B)return B;B={};var C=0,D=A.attributes;if(D)for(var E in D){C++;B[E]=D[E];}var F=CKEDITOR.style.getStyleText(A);if(F){if(!B.style)C++;B.style=F;}B._length=C;return A._AC=B;};function x(A){if(A._.overrides)return A._.overrides;var B=A._.overrides={},C=A._.definition.overrides;if(C){if(!CKEDITOR.tools.isArray(C))C=[C];for(var D=0;D<C.length;D++){var E=C[D],F,G,H;
|
10
|
-
if(typeof E=='string')F=E.toLowerCase();else{F=E.element?E.element.toLowerCase():A.element;H=E.attributes;}G=B[F]||(B[F]={});if(H){var I=G.attributes=G.attributes||[];for(var J in H)I.push([J.toLowerCase(),H[J]]);}}}return B;};function y(A,B){var C;if(B!==false){var D=new CKEDITOR.dom.element('span');D.setAttribute('style',A);C=D.getAttribute('style');}else C=A;return C.replace(/\s*([;:])\s*/,'$1').replace(/([^\s;])$/,'$1;').toLowerCase();};function z(A,B){var C=A.getSelection(),D=C.getRanges(),E=B?this.removeFromRange:this.applyToRange;for(var F=0;F<D.length;F++)E.call(this,D[F]);C.selectRanges(D);};})();CKEDITOR.styleCommand=function(a){this.style=a;};CKEDITOR.styleCommand.prototype.exec=function(a){var c=this;a.focus();var b=a.document;if(b)if(c.state==CKEDITOR.TRISTATE_OFF)c.style.apply(b);else if(c.state==CKEDITOR.TRISTATE_ON)c.style.remove(b);return!!b;};
|
@@ -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('stylescombo',{requires:['richcombo','styles'],init:function(d){var e=d.config,f=d.lang.stylesCombo,g=this.path,h;d.ui.addRichCombo('Styles',{label:f.label,title:f.panelTitle,voiceLabel:f.voiceLabel,className:'cke_styles',multiSelect:true,panel:{css:[e.contentsCss,CKEDITOR.getUrl(d.skinPath+'editor.css')],voiceLabel:f.panelVoiceLabel},init:function(){var i=this,j=e.stylesCombo_stylesSet.split(':',2),k=j[1]||CKEDITOR.getUrl(g+'styles/'+j[0]+'.js');j=j[0];CKEDITOR.loadStylesSet(j,k,function(l){var m,n,o=[];h={};for(var p=0;p<l.length;p++){var q=l[p];n=q.name;m=h[n]=new CKEDITOR.style(q);m._name=n;o.push(m);}o.sort(c);var r;for(p=0;p<o.length;p++){m=o[p];n=m._name;var s=m.type;if(s!=r){i.startGroup(f['panelTitle'+String(s)]);r=s;}i.add(n,m.type==CKEDITOR.STYLE_OBJECT?n:b(m._.definition),n);}i.commit();i.onOpen();});},onClick:function(i){d.focus();d.fire('saveSnapshot');var j=h[i],k=d.getSelection();if(j.type==CKEDITOR.STYLE_OBJECT){var l=k.getSelectedElement();if(l)j.applyToObject(l);return;}var m=new CKEDITOR.dom.elementPath(k.getStartElement());if(j.type==CKEDITOR.STYLE_INLINE&&j.checkActive(m))j.remove(d.document);else j.apply(d.document);d.fire('saveSnapshot');},onRender:function(){d.on('selectionChange',function(i){var j=this.getValue(),k=i.data.path,l=k.elements;for(var m=0,n;m<l.length;m++){n=l[m];for(var o in h)if(h[o].checkElementRemovable(n,true)){if(o!=j)this.setValue(o);return;}}this.setValue('');},this);},onOpen:function(){var q=this;if(CKEDITOR.env.ie)d.focus();var i=d.getSelection(),j=i.getSelectedElement(),k=j&&j.getName(),l=new CKEDITOR.dom.elementPath(j||i.getStartElement()),m=[0,0,0,0];q.showAll();q.unmarkAll();for(var n in h){var o=h[n],p=o.type;if(p==CKEDITOR.STYLE_OBJECT){if(j&&o.element==k){if(o.checkElementRemovable(j,true))q.mark(n);m[p]++;}else q.hideItem(n);}else{if(o.checkActive(l))q.mark(n);m[p]++;}}if(!m[CKEDITOR.STYLE_BLOCK])q.hideGroup(f['panelTitle'+String(CKEDITOR.STYLE_BLOCK)]);if(!m[CKEDITOR.STYLE_INLINE])q.hideGroup(f['panelTitle'+String(CKEDITOR.STYLE_INLINE)]);if(!m[CKEDITOR.STYLE_OBJECT])q.hideGroup(f['panelTitle'+String(CKEDITOR.STYLE_OBJECT)]);}});}});var a={};CKEDITOR.addStylesSet=function(d,e){a[d]=e;};CKEDITOR.loadStylesSet=function(d,e,f){var g=a[d];if(g){f(g);return;}CKEDITOR.scriptLoader.load(e,function(){f(a[d]);});};function b(d){var e=[],f=d.element;if(f=='bdo')f='span';e=['<',f];var g=d.attributes;if(g)for(var h in g)e.push(' ',h,'="',g[h],'"');var i=CKEDITOR.style.getStyleText(d);
|
7
|
-
if(i)e.push(' style="',i,'"');e.push('>',d.name,'</',f,'>');return e.join('');};function c(d,e){var f=d.type,g=e.type;return f==g?0:f==CKEDITOR.STYLE_OBJECT?-1:g==CKEDITOR.STYLE_OBJECT?1:g==CKEDITOR.STYLE_BLOCK?1:-1;};})();CKEDITOR.config.stylesCombo_stylesSet='default';
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js
DELETED
@@ -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.addStylesSet('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{name:'Marker: Yellow',element:'span',styles:{'background-color':'Yellow'}},{name:'Marker: Green',element:'span',styles:{'background-color':'Lime'}},{name:'Big',element:'big'},{name:'Small',element:'small'},{name:'Typewriter',element:'tt'},{name:'Computer Code',element:'code'},{name:'Keyboard Phrase',element:'kbd'},{name:'Sample Text',element:'samp'},{name:'Variable',element:'var'},{name:'Deleted Text',element:'del'},{name:'Inserted Text',element:'ins'},{name:'Cited Work',element:'cite'},{name:'Inline Quotation',element:'q'},{name:'Language: RTL',element:'span',attributes:{dir:'rtl'}},{name:'Language: LTR',element:'span',attributes:{dir:'ltr'}},{name:'Image on Left',element:'img',attributes:{style:'padding: 5px; margin-right: 5px',border:'2',align:'left'}},{name:'Image on Right',element:'img',attributes:{style:'padding: 5px; margin-left: 5px',border:'2',align:'right'}}]);
|
@@ -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.container.focusNext(true);}},b={exec:function(c){c.container.focusPrevious(true);}};CKEDITOR.plugins.add('tab',{requires:['keystrokes'],init:function(c){var d=c.keystrokeHandler.keystrokes;d[9]='tab';d[CKEDITOR.SHIFT+9]='shiftTab';var e=c.config.tabSpaces,f='';while(e--)f+='\xa0';c.addCommand('tab',{exec:function(g){if(!g.fire('tab'))if(f.length>0)g.insertHtml(f);else return g.execCommand('blur');return true;}});c.addCommand('shiftTab',{exec:function(g){if(!g.fire('shiftTab'))return g.execCommand('blurBack');return true;}});c.addCommand('blur',a);c.addCommand('blurBack',b);}});})();CKEDITOR.dom.element.prototype.focusNext=function(a){var j=this;var b=j.$,c=j.getTabIndex(),d,e,f,g,h,i;if(c<=0){h=j.getNextSourceNode(a,CKEDITOR.NODE_ELEMENT);while(h){if(h.isVisible()&&h.getTabIndex()===0){f=h;break;}h=h.getNextSourceNode(false,CKEDITOR.NODE_ELEMENT);}}else{h=j.getDocument().getBody().getFirst();while(h=h.getNextSourceNode(false,CKEDITOR.NODE_ELEMENT)){if(!d)if(!e&&h.equals(j)){e=true;if(a){if(!(h=h.getNextSourceNode(true,CKEDITOR.NODE_ELEMENT)))break;d=1;}}else if(e&&!j.contains(h))d=1;if(!h.isVisible()||(i=h.getTabIndex())<(0))continue;if(d&&i==c){f=h;break;}if(i>c&&(!f||!g||i<g)){f=h;g=i;}else if(!f&&i===0){f=h;g=i;}}}if(f)f.focus();};CKEDITOR.dom.element.prototype.focusPrevious=function(a){var j=this;var b=j.$,c=j.getTabIndex(),d,e,f,g=0,h,i=j.getDocument().getBody().getLast();while(i=i.getPreviousSourceNode(false,CKEDITOR.NODE_ELEMENT)){if(!d)if(!e&&i.equals(j)){e=true;if(a){if(!(i=i.getPreviousSourceNode(true,CKEDITOR.NODE_ELEMENT)))break;d=1;}}else if(e&&!j.contains(i))d=1;if(!i.isVisible()||(h=i.getTabIndex())<(0))continue;if(c<=0){if(d&&h===0){f=i;break;}if(h>g){f=i;g=h;}}else{if(d&&h==c){f=i;break;}if(h<c&&(!f||h>g)){f=i;g=h;}}}if(f)f.focus();};CKEDITOR.config.tabSpaces=0;
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js
DELETED
@@ -1,8 +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=/^(\d+(?:\.\d+)?)(px|%)$/,b=/^(\d+(?:\.\d+)?)px$/,c=function(e){var f=this.id;if(!e.info)e.info={};e.info[f]=this.getValue();};function d(e,f){var g=function(h){return new CKEDITOR.dom.element(h,e.document);};return{title:e.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?310:280,onShow:function(){var o=this;var h=e.getSelection(),i=h.getRanges(),j=null,k=o.getContentElement('info','txtRows'),l=o.getContentElement('info','txtCols'),m=o.getContentElement('info','txtWidth');if(f=='tableProperties'){if(j=e.getSelection().getSelectedElement()){if(j.getName()!='table')j=null;}else if(i.length>0){var n=i[0].getCommonAncestor(true);j=n.getAscendant('table',true);}o._.selectedElement=j;}if(j){o.setupContent(j);k&&k.disable();l&&l.disable();m&&m.select();}else{k&&k.enable();l&&l.enable();k&&k.select();}},onOk:function(){var A=this;var h=A._.selectedElement||g('table'),i=A,j={};A.commitContent(j,h);if(j.info){var k=j.info;if(!A._.selectedElement){var l=h.append(g('tbody')),m=parseInt(k.txtRows,10)||0,n=parseInt(k.txtCols,10)||0;for(var o=0;o<m;o++){var p=l.append(g('tr'));for(var q=0;q<n;q++){var r=p.append(g('td'));if(!CKEDITOR.env.ie)r.append(g('br'));}}}var s=k.selHeaders;if(!h.$.tHead&&(s=='row'||s=='both')){var t=new CKEDITOR.dom.element(h.$.createTHead());l=h.getElementsByTag('tbody').getItem(0);var u=l.getElementsByTag('tr').getItem(0);for(o=0;o<u.getChildCount();o++){var v=u.getChild(o);if(v.type==CKEDITOR.NODE_ELEMENT){v.renameNode('th');if(!o)v.setAttribute('scope','col');}}t.append(u.remove());}if(h.$.tHead!==null&&!(s=='row'||s=='both')){t=new CKEDITOR.dom.element(h.$.tHead);l=h.getElementsByTag('tbody').getItem(0);var w=l.getFirst();while(t.getChildCount()>0){u=t.getFirst();for(o=0;o<u.getChildCount();o++){var x=u.getChild(o);if(x.type==CKEDITOR.NODE_ELEMENT){x.renameNode('td');x.removeAttribute('scope');}}u.insertBefore(w);}t.remove();}if(!A.hasColumnHeaders&&(s=='col'||s=='both'))for(p=0;p<h.$.rows.length;p++){x=new CKEDITOR.dom.element(h.$.rows[p].cells[0]);x.renameNode('th');x.setAttribute('scope','col');}if(A.hasColumnHeaders&&!(s=='col'||s=='both'))for(o=0;o<h.$.rows.length;o++){p=new CKEDITOR.dom.element(h.$.rows[o]);if(p.getParent().getName()=='tbody'){x=new CKEDITOR.dom.element(p.$.cells[0]);x.renameNode('td');x.removeAttribute('scope');}}var y=[];if(k.txtHeight)y.push('height:'+k.txtHeight+'px');if(k.txtWidth){var z=k.cmbWidthType||'pixels';y.push('width:'+k.txtWidth+(z=='pixels'?'px':'%'));}y=y.join(';');if(y)h.$.style.cssText=y;
|
7
|
-
else h.removeAttribute('style');}if(!A._.selectedElement)e.insertElement(h);return true;},contents:[{id:'info',label:e.lang.table.title,elements:[{type:'hbox',widths:[null,null],styles:['vertical-align:top'],children:[{type:'vbox',padding:0,children:[{type:'text',id:'txtRows','default':3,label:e.lang.table.rows,style:'width:5em',validate:function(){var h=true,i=this.getValue();h=h&&CKEDITOR.dialog.validate.integer()(i)&&i>0;if(!h){alert(e.lang.table.invalidRows);this.select();}return h;},setup:function(h){this.setValue(h.$.rows.length);},commit:c},{type:'text',id:'txtCols','default':2,label:e.lang.table.columns,style:'width:5em',validate:function(){var h=true,i=this.getValue();h=h&&CKEDITOR.dialog.validate.integer()(i)&&i>0;if(!h){alert(e.lang.table.invalidCols);this.select();}return h;},setup:function(h){this.setValue(h.$.rows[0].cells.length);},commit:c},{type:'html',html:' '},{type:'select',id:'selHeaders','default':'',label:e.lang.table.headers,items:[[e.lang.table.headersNone,''],[e.lang.table.headersRow,'row'],[e.lang.table.headersColumn,'col'],[e.lang.table.headersBoth,'both']],setup:function(h){var i=this.getDialog();i.hasColumnHeaders=true;for(var j=0;j<h.$.rows.length;j++)if(h.$.rows[j].cells[0].nodeName.toLowerCase()!='th'){i.hasColumnHeaders=false;break;}if(h.$.tHead!==null)this.setValue(i.hasColumnHeaders?'both':'row');else this.setValue(i.hasColumnHeaders?'col':'');},commit:c},{type:'text',id:'txtBorder','default':1,label:e.lang.table.border,style:'width:3em',validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidBorder),setup:function(h){this.setValue(h.getAttribute('border')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('border',this.getValue());else i.removeAttribute('border');}},{id:'cmbAlign',type:'select','default':'',label:e.lang.table.align,items:[[e.lang.table.alignNotSet,''],[e.lang.table.alignLeft,'left'],[e.lang.table.alignCenter,'center'],[e.lang.table.alignRight,'right']],setup:function(h){this.setValue(h.getAttribute('align')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('align',this.getValue());else i.removeAttribute('align');}}]},{type:'vbox',padding:0,children:[{type:'hbox',widths:['5em'],children:[{type:'text',id:'txtWidth',style:'width:5em',label:e.lang.table.width,'default':200,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidWidth),setup:function(h){var i=a.exec(h.$.style.width);if(i)this.setValue(i[1]);},commit:c},{id:'cmbWidthType',type:'select',label:' ','default':'pixels',items:[[e.lang.table.widthPx,'pixels'],[e.lang.table.widthPc,'percents']],setup:function(h){var i=a.exec(h.$.style.width);
|
8
|
-
if(i)this.setValue(i[2]=='px'?'pixels':'percents');},commit:c}]},{type:'hbox',widths:['5em'],children:[{type:'text',id:'txtHeight',style:'width:5em',label:e.lang.table.height,'default':'',validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidHeight),setup:function(h){var i=b.exec(h.$.style.height);if(i)this.setValue(i[1]);},commit:c},{type:'html',html:'<br />'+e.lang.table.widthPx}]},{type:'html',html:' '},{type:'text',id:'txtCellSpace',style:'width:3em',label:e.lang.table.cellSpace,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellSpacing),setup:function(h){this.setValue(h.getAttribute('cellSpacing')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('cellSpacing',this.getValue());else i.removeAttribute('cellSpacing');}},{type:'text',id:'txtCellPad',style:'width:3em',label:e.lang.table.cellPad,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellPadding),setup:function(h){this.setValue(h.getAttribute('cellPadding')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('cellPadding',this.getValue());else i.removeAttribute('cellPadding');}}]}]},{type:'html',align:'right',html:''},{type:'vbox',padding:0,children:[{type:'text',id:'txtCaption',label:e.lang.table.caption,setup:function(h){var i=h.getElementsByTag('caption');if(i.count()>0){var j=i.getItem(0);j=j.getChild(0)&&j.getChild(0).getText()||'';j=CKEDITOR.tools.trim(j);this.setValue(j);}},commit:function(h,i){var j=this.getValue(),k=i.getElementsByTag('caption');if(j){if(k.count()>0){k=k.getItem(0);k.setHtml('');}else{k=new CKEDITOR.dom.element('caption',e.document);if(i.getChildCount())k.insertBefore(i.getFirst());else k.appendTo(i);}k.append(new CKEDITOR.dom.text(j,e.document));}else if(k.count()>0)for(var l=k.count()-1;l>=0;l--)k.getItem(l).remove();}},{type:'text',id:'txtSummary',label:e.lang.table.summary,setup:function(h){this.setValue(h.getAttribute('summary')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('summary',this.getValue());}}]}]}]};};CKEDITOR.dialog.add('table',function(e){return d(e,'table');});CKEDITOR.dialog.add('tableProperties',function(e){return d(e,'tableProperties');});})();
|
@@ -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('table',{init:function(a){var b=CKEDITOR.plugins.table,c=a.lang.table;a.addCommand('table',new CKEDITOR.dialogCommand('table'));a.addCommand('tableProperties',new CKEDITOR.dialogCommand('tableProperties'));a.ui.addButton('Table',{label:c.toolbar,command:'table'});CKEDITOR.dialog.add('table',this.path+'dialogs/table.js');CKEDITOR.dialog.add('tableProperties',this.path+'dialogs/table.js');if(a.addMenuItems)a.addMenuItems({table:{label:c.menu,command:'tableProperties',group:'table',order:5},tabledelete:{label:c.deleteTable,command:'tableDelete',group:'table',order:1}});if(a.contextMenu)a.contextMenu.addListener(function(d,e){if(!d)return null;var f=d.is('table')||d.hasAscendant('table');if(f)return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF};return null;});}});
|
@@ -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('cellProperties',function(a){var b=a.lang.table,c=b.cell,d=a.lang.common,e=CKEDITOR.dialog.validate,f=/^(\d+(?:\.\d+)?)(px|%)$/,g=/^(\d+(?:\.\d+)?)px$/,h=CKEDITOR.tools.bind;function i(){return{type:'html',html:' '};};return{title:c.title,minWidth:480,minHeight:140,contents:[{id:'info',label:c.title,accessKey:'I',elements:[{type:'hbox',widths:['45%','10%','45%'],children:[{type:'vbox',padding:0,children:[{type:'hbox',widths:['70%','30%'],children:[{type:'text',id:'width',label:b.width,widths:['71%','29%'],labelLayout:'horizontal',validate:e.number(c.invalidWidth),setup:function(j){var k=f.exec(j.$.style.width);if(k)this.setValue(k[1]);},commit:function(j){var k=this.getDialog().getValueOf('info','widthType');if(this.getValue()!=='')j.$.style.width=this.getValue()+k;else j.$.style.width='';},'default':''},{type:'select',id:'widthType',labelLayout:'horizontal',widths:['0%','100%'],label:'','default':'px',items:[[b.widthPx,'px'],[b.widthPc,'%']],setup:function(j){var k=f.exec(j.$.style.width);if(k)this.setValue(k[2]);}}]},{type:'hbox',widths:['70%','30%'],children:[{type:'text',id:'height',label:b.height,'default':'',widths:['71%','29%'],labelLayout:'horizontal',validate:e.number(c.invalidHeight),setup:function(j){var k=g.exec(j.$.style.height);if(k)this.setValue(k[1]);},commit:function(j){if(this.getValue()!=='')j.$.style.height=this.getValue()+'px';else j.$.style.height='';}},{type:'html',html:b.widthPx}]},i(),{type:'select',id:'wordWrap',labelLayout:'horizontal',label:c.wordWrap,widths:['50%','50%'],'default':'yes',items:[[c.yes,'yes'],[c.no,'no']],commit:function(j){if(this.getValue()=='no')j.setAttribute('noWrap','nowrap');else j.removeAttribute('noWrap');}},i(),{type:'select',id:'hAlign',labelLayout:'horizontal',label:c.hAlign,widths:['50%','50%'],'default':'',items:[[d.notSet,''],[b.alignLeft,'left'],[b.alignCenter,'center'],[b.alignRight,'right']],setup:function(j){this.setValue(j.getAttribute('align')||'');},commit:function(j){if(this.getValue())j.setAttribute('align',this.getValue());else j.removeAttribute('align');}},{type:'select',id:'vAlign',labelLayout:'horizontal',label:c.vAlign,widths:['50%','50%'],'default':'',items:[[d.notSet,''],[c.alignTop,'top'],[c.alignMiddle,'middle'],[c.alignBottom,'bottom'],[c.alignBaseline,'baseline']],setup:function(j){this.setValue(j.getAttribute('vAlign')||'');},commit:function(j){if(this.getValue())j.setAttribute('vAlign',this.getValue());else j.removeAttribute('vAlign');}}]},i(),{type:'vbox',padding:0,children:[{type:'select',id:'cellType',label:c.cellType,labelLayout:'horizontal',widths:['50%','50%'],'default':'td',items:[[c.data,'td'],[c.header,'th']],setup:function(j){this.setValue(j.getName());
|
7
|
-
},commit:function(j){j.renameNode(this.getValue());}},i(),{type:'text',id:'rowSpan',label:c.rowSpan,labelLayout:'horizontal',widths:['50%','50%'],'default':'',validate:e.integer(c.invalidRowSpan),setup:function(j){this.setValue(j.getAttribute('rowSpan')||'');},commit:function(j){if(this.getValue())j.setAttribute('rowSpan',this.getValue());else j.removeAttribute('rowSpan');}},{type:'text',id:'colSpan',label:c.colSpan,labelLayout:'horizontal',widths:['50%','50%'],'default':'',validate:e.integer(c.invalidColSpan),setup:function(j){this.setValue(j.getAttribute('colSpan')||'');},commit:function(j){if(this.getValue())j.setAttribute('colSpan',this.getValue());else j.removeAttribute('colSpan');}},i(),{type:'text',id:'bgColor',label:c.bgColor,labelLayout:'horizontal',widths:['50%','50%'],'default':'',setup:function(j){this.setValue(j.getAttribute('bgColor')||'');},commit:function(j){if(this.getValue())j.setAttribute('bgColor',this.getValue());else j.removeAttribute('bgColor');}},{type:'text',id:'borderColor',label:c.borderColor,labelLayout:'horizontal',widths:['50%','50%'],'default':'',setup:function(j){this.setValue(j.getAttribute('borderColor')||'');},commit:function(j){if(this.getValue())j.setAttribute('borderColor',this.getValue());else j.removeAttribute('borderColor');}}]}]}]}],onShow:function(){var j=this;j.cells=CKEDITOR.plugins.tabletools.getSelectedCells(j._.editor.getSelection());j.setupContent(j.cells[0]);},onOk:function(){var j=this.cells;for(var k=0;k<j.length;k++)this.commitContent(j[k]);}};});
|
@@ -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(n,o){if(CKEDITOR.env.ie)n.removeAttribute(o);else delete n[o];};var b=/^(?:td|th)$/;function c(n){var o=n.createBookmarks(),p=n.getRanges(),q=[],r={};function s(A){if(q.length>0)return;if(A.type==CKEDITOR.NODE_ELEMENT&&b.test(A.getName())&&!A.getCustomData('selected_cell')){CKEDITOR.dom.element.setMarker(r,A,'selected_cell',true);q.push(A);}};for(var t=0;t<p.length;t++){var u=p[t];if(u.collapsed){var v=u.getCommonAncestor(),w=v.getAscendant('td',true)||v.getAscendant('th',true);if(w)q.push(w);}else{var x=new CKEDITOR.dom.walker(u),y;x.guard=s;while(y=x.next()){var z=y.getParent();if(z&&b.test(z.getName())&&!z.getCustomData('selected_cell')){CKEDITOR.dom.element.setMarker(r,z,'selected_cell',true);q.push(z);}}}}CKEDITOR.dom.element.clearAllMarkers(r);n.selectBookmarks(o);return q;};function d(n){var o=new CKEDITOR.dom.element(n),p=(o.getName()=='table'?n:o.getAscendant('table')).$,q=p.rows,r=-1,s=[];for(var t=0;t<q.length;t++){r++;if(!s[r])s[r]=[];var u=-1;for(var v=0;v<q[t].cells.length;v++){var w=q[t].cells[v];u++;while(s[r][u])u++;var x=isNaN(w.colSpan)?1:w.colSpan,y=isNaN(w.rowSpan)?1:w.rowSpan;for(var z=0;z<y;z++){if(!s[r+z])s[r+z]=[];for(var A=0;A<x;A++)s[r+z][u+A]=q[t].cells[v];}u+=x-1;}}return s;};function e(n,o){var p=CKEDITOR.env.ie?'_cke_rowspan':'rowSpan';for(var q=0;q<n.length;q++)for(var r=0;r<n[q].length;r++){var s=n[q][r];if(s.parentNode)s.parentNode.removeChild(s);s.colSpan=s[p]=1;}var t=0;for(q=0;q<n.length;q++)for(r=0;r<n[q].length;r++){s=n[q][r];if(!s)continue;if(r>t)t=r;if(s._cke_colScanned)continue;if(n[q][r-1]==s)s.colSpan++;if(n[q][r+1]!=s)s._cke_colScanned=1;}for(q=0;q<=t;q++)for(r=0;r<n.length;r++){if(!n[r])continue;s=n[r][q];if(!s||s._cke_rowScanned)continue;if(n[r-1]&&n[r-1][q]==s)s[p]++;if(!n[r+1]||n[r+1][q]!=s)s._cke_rowScanned=1;}for(q=0;q<n.length;q++)for(r=0;r<n[q].length;r++){s=n[q][r];a(s,'_cke_colScanned');a(s,'_cke_rowScanned');}for(q=0;q<n.length;q++){var u=o.ownerDocument.createElement('tr');for(r=0;r<n[q].length;){s=n[q][r];if(n[q-1]&&n[q-1][r]==s){r+=s.colSpan;continue;}u.appendChild(s);if(p!='rowSpan'){s.rowSpan=s[p];s.removeAttribute(p);}r+=s.colSpan;if(s.colSpan==1)s.removeAttribute('colSpan');if(s.rowSpan==1)s.removeAttribute('rowSpan');}if(CKEDITOR.env.ie)o.rows[q].replaceNode(u);else{var v=new CKEDITOR.dom.element(o.rows[q]),w=new CKEDITOR.dom.element(u);v.setHtml('');w.moveChildren(v);}}};function f(n){var o=n.cells;for(var p=0;p<o.length;p++){o[p].innerHTML='';if(!CKEDITOR.env.ie)new CKEDITOR.dom.element(o[p]).appendBogus();
|
7
|
-
}};function g(n,o){var p=n.getStartElement().getAscendant('tr');if(!p)return;var q=p.clone(true);q.insertBefore(p);f(o?q.$:p.$);};function h(n){if(n instanceof CKEDITOR.dom.selection){var o=c(n),p=[];for(var q=0;q<o.length;q++){var r=o[q].getParent();p[r.$.rowIndex]=r;}for(q=p.length;q>=0;q--)if(p[q])h(p[q]);}else if(n instanceof CKEDITOR.dom.element){var s=n.getAscendant('table');if(s.$.rows.length==1)s.remove();else n.remove();}};function i(n,o){var p=n.getStartElement(),q=p.getAscendant('td',true)||p.getAscendant('th',true);if(!q)return;var r=q.getAscendant('table'),s=q.$.cellIndex;for(var t=0;t<r.$.rows.length;t++){var u=r.$.rows[t];if(u.cells.length<s+1)continue;q=new CKEDITOR.dom.element(u.cells[s].cloneNode(false));if(!CKEDITOR.env.ie)q.appendBogus();var v=new CKEDITOR.dom.element(u.cells[s]);if(o)q.insertBefore(v);else q.insertAfter(v);}};function j(n){if(n instanceof CKEDITOR.dom.selection){var o=c(n);for(var p=o.length;p>=0;p--)if(o[p])j(o[p]);}else if(n instanceof CKEDITOR.dom.element){var q=n.getAscendant('table'),r=n.$.cellIndex;for(p=q.$.rows.length-1;p>=0;p--){var s=new CKEDITOR.dom.element(q.$.rows[p]);if(!r&&s.$.cells.length==1){h(s);continue;}if(s.$.cells[r])s.$.removeChild(s.$.cells[r]);}}};function k(n,o){var p=n.getStartElement(),q=p.getAscendant('td',true)||p.getAscendant('th',true);if(!q)return;var r=q.clone();if(!CKEDITOR.env.ie)r.appendBogus();if(o)r.insertBefore(q);else r.insertAfter(q);};function l(n){if(n instanceof CKEDITOR.dom.selection){var o=c(n);for(var p=o.length-1;p>=0;p--)l(o[p]);}else if(n instanceof CKEDITOR.dom.element)if(n.getParent().getChildCount()==1)n.getParent().remove();else n.remove();};var m={thead:1,tbody:1,tfoot:1,td:1,tr:1,th:1};CKEDITOR.plugins.tabletools={init:function(n){var o=n.lang.table;n.addCommand('cellProperties',new CKEDITOR.dialogCommand('cellProperties'));CKEDITOR.dialog.add('cellProperties',this.path+'dialogs/tableCell.js');n.addCommand('tableDelete',{exec:function(p){var q=p.getSelection(),r=q&&q.getStartElement(),s=r&&r.getAscendant('table',true);if(!s)return;q.selectElement(s);var t=q.getRanges()[0];t.collapse();q.selectRanges([t]);if(s.getParent().getChildCount()==1)s.getParent().remove();else s.remove();}});n.addCommand('rowDelete',{exec:function(p){var q=p.getSelection();h(q);}});n.addCommand('rowInsertBefore',{exec:function(p){var q=p.getSelection();g(q,true);}});n.addCommand('rowInsertAfter',{exec:function(p){var q=p.getSelection();g(q);}});n.addCommand('columnDelete',{exec:function(p){var q=p.getSelection();
|
8
|
-
j(q);}});n.addCommand('columnInsertBefore',{exec:function(p){var q=p.getSelection();i(q,true);}});n.addCommand('columnInsertAfter',{exec:function(p){var q=p.getSelection();i(q);}});n.addCommand('cellDelete',{exec:function(p){var q=p.getSelection();l(q);}});n.addCommand('cellInsertBefore',{exec:function(p){var q=p.getSelection();k(q,true);}});n.addCommand('cellInsertAfter',{exec:function(p){var q=p.getSelection();k(q);}});if(n.addMenuItems)n.addMenuItems({tablecell:{label:o.cell.menu,group:'tablecell',order:1,getItems:function(){var p=c(n.getSelection());return{tablecell_insertBefore:CKEDITOR.TRISTATE_OFF,tablecell_insertAfter:CKEDITOR.TRISTATE_OFF,tablecell_delete:CKEDITOR.TRISTATE_OFF,tablecell_properties:p.length>0?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED};}},tablecell_insertBefore:{label:o.cell.insertBefore,group:'tablecell',command:'cellInsertBefore',order:5},tablecell_insertAfter:{label:o.cell.insertAfter,group:'tablecell',command:'cellInsertAfter',order:10},tablecell_delete:{label:o.cell.deleteCell,group:'tablecell',command:'cellDelete',order:15},tablecell_properties:{label:o.cell.title,group:'tablecellproperties',command:'cellProperties',order:20},tablerow:{label:o.row.menu,group:'tablerow',order:1,getItems:function(){return{tablerow_insertBefore:CKEDITOR.TRISTATE_OFF,tablerow_insertAfter:CKEDITOR.TRISTATE_OFF,tablerow_delete:CKEDITOR.TRISTATE_OFF};}},tablerow_insertBefore:{label:o.row.insertBefore,group:'tablerow',command:'rowInsertBefore',order:5},tablerow_insertAfter:{label:o.row.insertAfter,group:'tablerow',command:'rowInsertAfter',order:10},tablerow_delete:{label:o.row.deleteRow,group:'tablerow',command:'rowDelete',order:15},tablecolumn:{label:o.column.menu,group:'tablecolumn',order:1,getItems:function(){return{tablecolumn_insertBefore:CKEDITOR.TRISTATE_OFF,tablecolumn_insertAfter:CKEDITOR.TRISTATE_OFF,tablecolumn_delete:CKEDITOR.TRISTATE_OFF};}},tablecolumn_insertBefore:{label:o.column.insertBefore,group:'tablecolumn',command:'columnInsertBefore',order:5},tablecolumn_insertAfter:{label:o.column.insertAfter,group:'tablecolumn',command:'columnInsertAfter',order:10},tablecolumn_delete:{label:o.column.deleteColumn,group:'tablecolumn',command:'columnDelete',order:15}});if(n.contextMenu)n.contextMenu.addListener(function(p,q){if(!p)return null;while(p){if(p.getName() in m)return{tablecell:CKEDITOR.TRISTATE_OFF,tablerow:CKEDITOR.TRISTATE_OFF,tablecolumn:CKEDITOR.TRISTATE_OFF};p=p.getParent();}return null;});},getSelectedCells:c};CKEDITOR.plugins.add('tabletools',CKEDITOR.plugins.tabletools);
|
9
|
-
})();
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js
DELETED
@@ -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=CKEDITOR.document,b='cke'+CKEDITOR.tools.getNextNumber();function c(f,g){var h=a.getById(b);h.setHtml('');for(var i=0;i<g.length;i++){var j=CKEDITOR.getTemplates(g[i]),k=j.imagesPath,l=j.templates;for(var m=0;m<l.length;m++){var n=l[m];h.append(d(f,n,k));}}};function d(f,g,h){var i=a.createElement('div');i.setAttribute('class','cke_tpl_item');var j='<table style="width:350px;" class="cke_tpl_preview"><tr>';if(g.image&&h)j+='<td class="cke_tpl_preview_img"><img src="'+CKEDITOR.getUrl(h+g.image)+'"></td>';j+='<td style="white-space:normal;"><span class="cke_tpl_title">'+g.title+'</span><br/>';if(g.description)j+='<span>'+g.description+'</span>';j+='</td></tr></table>';i.setHtml(j);i.on('mouseover',function(){i.addClass('cke_tpl_hover');});i.on('mouseout',function(){i.removeClass('cke_tpl_hover');});i.on('click',function(){e(f,g.html);});return i;};function e(f,g){var h=CKEDITOR.dialog.getCurrent(),i=h.getValueOf('selectTpl','chkInsertOpt');if(i)f.setData(g);else f.insertHtml(g);h.hide();};CKEDITOR.dialog.add('templates',function(f){CKEDITOR.skins.load(f,'templates');var g=false;return{title:f.lang.templates.title,minWidth:CKEDITOR.env.ie?440:400,minHeight:340,contents:[{id:'selectTpl',label:f.lang.templates.title,elements:[{type:'vbox',padding:5,children:[{type:'html',html:'<span>'+f.lang.templates.selectPromptMsg+'</span>'},{type:'html',html:'<div id="'+b+'" class="cke_tpl_list">'+'<div class="cke_tpl_loading"><span></span></div>'+'</div>'},{id:'chkInsertOpt',type:'checkbox',label:f.lang.templates.insertOption,'default':f.config.templates_replaceContent}]}]}],buttons:[CKEDITOR.dialog.cancelButton],onShow:function(){CKEDITOR.loadTemplates(f.config.templates_files,function(){var h=f.config.templates.split(',');if(h.length)c(f,h);else{var i=a.getById(b);i.setHtml('<div class="cke_tpl_empty"><span>'+f.lang.templates.emptyListMsg+'</span>'+'</div>');}});}};});})();
|
@@ -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(){CKEDITOR.plugins.add('templates',{requires:['dialog'],init:function(c){CKEDITOR.dialog.add('templates',CKEDITOR.getUrl(this.path+'dialogs/templates.js'));c.addCommand('templates',new CKEDITOR.dialogCommand('templates'));c.ui.addButton('Templates',{label:c.lang.templates.button,command:'templates'});}});var a={},b={};CKEDITOR.addTemplates=function(c,d){a[c]=d;};CKEDITOR.getTemplates=function(c){return a[c];};CKEDITOR.loadTemplates=function(c,d){var e=[];for(var f=0;f<c.length;f++)if(!b[c[f]]){e.push(c[f]);b[c[f]]=1;}if(e.length>0)CKEDITOR.scriptLoader.load(e,d);else setTimeout(d,0);};})();CKEDITOR.config.templates='default';CKEDITOR.config.templates_files=[CKEDITOR.getUrl('plugins/templates/templates/default.js')];CKEDITOR.config.templates_replaceContent=true;
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js
DELETED
@@ -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.addTemplates('default',{imagesPath:CKEDITOR.getUrl(CKEDITOR.plugins.getPath('templates')+'templates/images/'),templates:[{title:'Image and Title',image:'template1.gif',description:'One main image with a title and text that surround the image.',html:'<h3><img style="margin-right: 10px" height="100" alt="" width="100" align="left"/>Type the title here</h3><p>Type the text here</p>'},{title:'Strange Template',image:'template2.gif',description:'A template that defines two colums, each one with a title, and some text.',html:'<table cellspacing="0" cellpadding="0" width="100%" border="0"><tr><td width="50%"><h3>Title 1</h3></td><td></td><td width="50%"><h3>Title 2</h3></td></tr><tr><td>Text 1</td><td></td><td>Text 2</td></tr></table><p>More text goes here.</p>'},{title:'Text and Table',image:'template3.gif',description:'A title with some text and a table.',html:'<div style="width: 80%"><h3>Title goes here</h3><table style="float: right" cellspacing="0" cellpadding="0" width="150" border="1"><caption style="border:solid 1px black"><strong>Table title</strong></caption></tr><tr><td> </td><td> </td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr></table><p>Type the text here</p></div>'}]});
|
Binary file
|
Binary file
|
Binary file
|
@@ -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=function(){this.toolbars=[];this.focusCommandExecuted=false;};a.prototype.focus=function(){for(var c=0,d;d=this.toolbars[c++];)for(var e=0,f;f=d.items[e++];)if(f.focus){f.focus();return;}};var b={toolbarFocus:{modes:{wysiwyg:1,source:1},exec:function(c){if(c.toolbox){c.toolbox.focusCommandExecuted=true;if(CKEDITOR.env.ie)setTimeout(function(){c.toolbox.focus();},100);else c.toolbox.focus();}}}};CKEDITOR.plugins.add('toolbar',{init:function(c){var d=function(e,f){switch(f){case 39:case 9:while((e=e.next||e.toolbar.next&&e.toolbar.next.items[0])&&(!e.focus)){}if(e)e.focus();else c.toolbox.focus();return false;case 37:case CKEDITOR.SHIFT+9:while((e=e.previous||e.toolbar.previous&&e.toolbar.previous.items[e.toolbar.previous.items.length-1])&&(!e.focus)){}if(e)e.focus();else{var g=c.toolbox.toolbars[c.toolbox.toolbars.length-1].items;g[g.length-1].focus();}return false;case 27:c.focus();return false;case 13:case 32:e.execute();return false;}return true;};c.on('themeSpace',function(e){if(e.data.space==c.config.toolbarLocation){c.toolbox=new a();var f=['<div class="cke_toolbox"'],g=c.config.toolbarStartupExpanded,h;f.push(g?'>':' style="display:none">');var i=c.toolbox.toolbars,j=c.config.toolbar instanceof Array?c.config.toolbar:c.config['toolbar_'+c.config.toolbar];for(var k=0;k<j.length;k++){var l=j[k];if(!l)continue;var m='cke_'+CKEDITOR.tools.getNextNumber(),n={id:m,items:[]};if(h){f.push('</div>');h=0;}if(l==='/'){f.push('<div class="cke_break"></div>');continue;}f.push('<span id="',m,'" class="cke_toolbar"><span class="cke_toolbar_start"></span>');var o=i.push(n)-1;if(o>0){n.previous=i[o-1];n.previous.next=n;}for(var p=0;p<l.length;p++){var q,r=l[p];if(r=='-')q=CKEDITOR.ui.separator;else q=c.ui.create(r);if(q){if(q.canGroup){if(!h){f.push('<span class="cke_toolgroup">');h=1;}}else if(h){f.push('</span>');h=0;}var s=q.render(c,f);o=n.items.push(s)-1;if(o>0){s.previous=n.items[o-1];s.previous.next=s;}s.toolbar=n;s.onkey=d;s.onfocus=function(){if(!c.toolbox.focusCommandExecuted)c.focus();};}}if(h){f.push('</span>');h=0;}f.push('<span class="cke_toolbar_end"></span></span>');}f.push('</div>');if(c.config.toolbarCanCollapse){var t=CKEDITOR.tools.addFunction(function(){c.execCommand('toolbarCollapse');}),u='cke_'+CKEDITOR.tools.getNextNumber();c.addCommand('toolbarCollapse',{exec:function(v){var w=CKEDITOR.document.getById(u),x=w.getPrevious(),y=v.getThemeSpace('contents'),z=x.getParent(),A=parseInt(y.$.style.height,10),B=z.$.offsetHeight;if(x.isVisible()){x.hide();
|
7
|
-
w.addClass('cke_toolbox_collapser_min');}else{x.show();w.removeClass('cke_toolbox_collapser_min');}var C=z.$.offsetHeight-B;y.setStyle('height',A-C+'px');},modes:{wysiwyg:1,source:1}});f.push('<a id="'+u+'" class="cke_toolbox_collapser');if(!g)f.push(' cke_toolbox_collapser_min');f.push('" onclick="CKEDITOR.tools.callFunction('+t+')"></a>');}e.data.html+=f.join('');}});c.addCommand('toolbarFocus',b.toolbarFocus);}});})();CKEDITOR.ui.separator={render:function(a,b){b.push('<span class="cke_separator"></span>');return{};}};CKEDITOR.config.toolbarLocation='top';CKEDITOR.config.toolbar_Basic=[['Bold','Italic','-','NumberedList','BulletedList','-','Link','Unlink','-','About']];CKEDITOR.config.toolbar_Full=[['Source','-','Save','NewPage','Preview','-','Templates'],['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker','Scayt'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],'/',['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],['Link','Unlink','Anchor'],['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],'/',['Styles','Format','Font','FontSize'],['TextColor','BGColor'],['Maximize','ShowBlocks','-','About']];CKEDITOR.config.toolbar='Full';CKEDITOR.config.toolbarCanCollapse=true;CKEDITOR.config.toolbarStartupExpanded=true;
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js
DELETED
@@ -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('uicolor',function(a){var b,c,d,e=a.getUiColor();function f(i){if(/^#/.test(i))i=window.YAHOO.util.Color.hex2rgb(i.substr(1));c.setValue(i,true);c.refresh('cke_uicolor_picker');};function g(i,j){if(j||b._.contents.tab1.livePeview.getValue())a.setUiColor(i);b._.contents.tab1.configBox.setValue('config.uiColor = "#'+c.get('hex')+'"');};d={id:'yuiColorPicker',type:'html',html:"<div id='cke_uicolor_picker' style='width: 360px; height: 200px; position: relative;'></div>",onLoad:function(i){var j=CKEDITOR.getUrl('plugins/uicolor/yui/');c=new window.YAHOO.widget.ColorPicker('cke_uicolor_picker',{showhsvcontrols:true,showhexcontrols:true,images:{PICKER_THUMB:j+'assets/picker_thumb.png',HUE_THUMB:j+'assets/hue_thumb.png'}});if(e)f(e);c.on('rgbChange',function(){b._.contents.tab1.predefined.setValue('');g('#'+c.get('hex'));});var k=new CKEDITOR.dom.nodeList(c.getElementsByTagName('input'));for(var l=0;l<k.count();l++)k.getItem(l).addClass('cke_dialog_ui_input_text');}};var h=true;return{title:a.lang.uicolor.title,minWidth:360,minHeight:320,onLoad:function(){b=this;this.setupContent();if(CKEDITOR.env.ie7Compat)b.parts.contents.setStyle('overflow','hidden');},contents:[{id:'tab1',label:'',title:'',expand:true,padding:0,elements:[d,{id:'tab1',type:'vbox',children:[{id:'livePeview',type:'checkbox',label:a.lang.uicolor.preview,'default':1,onLoad:function(){h=true;},onChange:function(){if(h)return;var i=this.getValue(),j=i?'#'+c.get('hex'):e;g(j,true);}},{type:'hbox',children:[{id:'predefined',type:'select','default':'',label:a.lang.uicolor.predefined,items:[[''],['Light blue','#9AB8F3'],['Sand','#D2B48C'],['Metallic','#949AAA'],['Purple','#C2A3C7'],['Olive','#A2C980'],['Happy green','#9BD446'],['Jezebel Blue','#14B8C4'],['Burn','#FF893A'],['Easy red','#FF6969'],['Pisces 3','#48B4F2'],['Aquarius 5','#487ED4'],['Absinthe','#A8CF76'],['Scrambled Egg','#C7A622'],['Hello monday','#8E8D80'],['Lovely sunshine','#F1E8B1'],['Recycled air','#B3C593'],['Down','#BCBCA4'],['Mark Twain','#CFE91D'],['Specks of dust','#D1B596'],['Lollipop','#F6CE23']],onChange:function(){var i=this.getValue();if(i){f(i);g(i);CKEDITOR.document.getById('predefinedPreview').setStyle('background',i);}else CKEDITOR.document.getById('predefinedPreview').setStyle('background','');},onShow:function(){var i=a.getUiColor();if(i)this.setValue(i);}},{id:'predefinedPreview',type:'html',html:'<div id="cke_uicolor_preview" style="border: 1px solid black; padding: 3px; width: 30px;"><div id="predefinedPreview" style="width: 30px; height: 30px;"> </div></div>'}]},{id:'configBox',type:'text',label:a.lang.uicolor.config,onShow:function(){var i=a.getUiColor();
|
7
|
-
if(i)this.setValue('config.uiColor = "'+i+'"');}}]}]}],buttons:[CKEDITOR.dialog.okButton]};});
|
@@ -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.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefined color sets'}});
|
@@ -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('uicolor',{requires:['dialog'],lang:['en'],init:function(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uicolor'));a.ui.addButton('UIColor',{label:a.lang.uicolor.title,command:'uicolor',icon:this.path+'uicolor.gif'});CKEDITOR.dialog.add('uicolor',this.path+'dialogs/uicolor.js');CKEDITOR.scriptLoader.load(CKEDITOR.getUrl('plugins/uicolor/yui/yui.js'));a.element.getDocument().appendStyleSheet(CKEDITOR.getUrl('plugins/uicolor/yui/assets/yui.css'));}});
|
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css
DELETED
@@ -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
|
-
.yui-h-slider,.yui-v-slider{position:relative;}.yui-h-slider .yui-slider-thumb,.yui-v-slider .yui-slider-thumb{position:absolute;cursor:default;}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px;}.yui-skin-sam .yui-h-slider .yui-slider-thumb{top:4px;}.yui-skin-sam .yui-v-slider{background:url(bg-v.gif) no-repeat 12px 0;height:228px;width:48px;}#cke_uicolor_picker .yui-picker-panel{background:#e3e3e3;border-color:#888;}#cke_uicolor_picker .yui-picker-panel .hd{background-color:#ccc;font-size:100%;line-height:100%;border:1px solid #e3e3e3;font-weight:bold;overflow:hidden;padding:6px;color:#000;}#cke_uicolor_picker .yui-picker-panel .bd{background:#e8e8e8;margin:1px;height:200px;}#cke_uicolor_picker .yui-picker-panel .ft{background:#e8e8e8;margin:1px;padding:1px;}#cke_uicolor_picker .yui-picker{position:relative;}#cke_uicolor_picker .yui-picker-hue-thumb{cursor:default;width:18px;height:18px;top:-8px;left:-2px;z-index:9;position:absolute;}#cke_uicolor_picker .yui-picker-hue-bg{-moz-outline:none;outline:0 none;position:absolute;left:200px;height:183px;width:14px;background:url(hue_bg.png) no-repeat;top:4px;}#cke_uicolor_picker .yui-picker-bg{-moz-outline:none;outline:0 none;position:absolute;top:4px;left:4px;height:182px;width:182px;background-color:#F00;background-image:url(picker_mask.png);}*html #cke_uicolor_picker .yui-picker-bg{background-image:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='picker_mask.png',sizingMethod='scale');}#cke_uicolor_picker .yui-picker-mask{position:absolute;z-index:1;top:0;left:0;}#cke_uicolor_picker .yui-picker-thumb{cursor:default;width:11px;height:11px;z-index:9;position:absolute;top:-4px;left:-4px;}#cke_uicolor_picker .yui-picker-swatch{position:absolute;left:240px;top:4px;height:60px;width:55px;border:1px solid #888;}#cke_uicolor_picker .yui-picker-websafe-swatch{position:absolute;left:304px;top:4px;height:24px;width:24px;border:1px solid #888;}#cke_uicolor_picker .yui-picker-controls{position:absolute;top:72px;left:226px;font:1em monospace;}#cke_uicolor_picker .yui-picker-controls .hd{background:transparent;border-width:0!important;}#cke_uicolor_picker .yui-picker-controls .bd{height:100px;border-width:0!important;}#cke_uicolor_picker .yui-picker-controls ul{float:left;padding:0 2px 0 0;margin:0;}#cke_uicolor_picker .yui-picker-controls li{padding:2px;list-style:none;margin:0;}#cke_uicolor_picker .yui-picker-controls input{font-size:.85em;width:2.4em;}#cke_uicolor_picker .yui-picker-hex-controls{clear:both;padding:2px;}#cke_uicolor_picker .yui-picker-hex-controls input{width:4.6em;}#cke_uicolor_picker .yui-picker-controls a{font:1em arial,helvetica,clean,sans-serif;display:block;*display:inline-block;padding:0;color:#000;}
|