typus 3.1.0.rc6 → 3.1.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +10 -0
- data/.gitmodules +6 -0
- data/.yardopts +6 -0
- data/Gemfile +1 -1
- data/README.md +7 -7
- data/Rakefile +14 -1
- data/app/assets/javascripts/typus/jquery.application.js +13 -2
- data/app/assets/stylesheets/typus/screen.css +4 -0
- data/app/controllers/admin/account_controller.rb +2 -3
- data/app/controllers/admin/resources_controller.rb +42 -32
- data/app/controllers/admin/session_controller.rb +1 -1
- data/app/helpers/admin/base_helper.rb +28 -33
- data/app/helpers/admin/dashboard_helper.rb +5 -7
- data/app/helpers/admin/resources/data_types/belongs_to_helper.rb +82 -0
- data/app/helpers/admin/resources/data_types/boolean_helper.rb +28 -0
- data/app/helpers/admin/resources/data_types/date_helper.rb +12 -0
- data/app/helpers/admin/resources/data_types/datetime_helper.rb +17 -0
- data/app/helpers/admin/resources/data_types/dragonfly_helper.rb +37 -0
- data/app/helpers/admin/resources/data_types/float_helper.rb +3 -0
- data/app/helpers/admin/resources/data_types/has_and_belongs_to_many_helper.rb +24 -0
- data/app/helpers/admin/resources/data_types/has_many_helper.rb +43 -0
- data/app/helpers/admin/resources/data_types/has_one_helper.rb +23 -0
- data/app/helpers/admin/resources/data_types/paperclip_helper.rb +38 -0
- data/app/helpers/admin/resources/data_types/position_helper.rb +22 -0
- data/app/helpers/admin/resources/data_types/selector_helper.rb +11 -0
- data/app/helpers/admin/resources/data_types/string_helper.rb +29 -0
- data/app/helpers/admin/resources/data_types/text_helper.rb +7 -0
- data/app/helpers/admin/resources/data_types/transversal_helper.rb +8 -0
- data/app/helpers/admin/resources/data_types/tree_helper.rb +25 -0
- data/app/helpers/admin/resources/display_helper.rb +26 -0
- data/app/helpers/admin/resources/filters_helper.rb +36 -0
- data/app/helpers/admin/resources/form_helper.rb +69 -0
- data/app/helpers/admin/resources/list_helper.rb +27 -0
- data/app/helpers/admin/resources/relationships_helper.rb +55 -0
- data/app/helpers/admin/resources/table_helper.rb +61 -0
- data/app/helpers/admin/resources_helper.rb +33 -34
- data/app/views/admin/resources/_form.html.erb +4 -5
- data/app/views/admin/resources/edit.html.erb +7 -2
- data/app/views/admin/resources/index.html.erb +11 -2
- data/app/views/admin/resources/new.html.erb +2 -7
- data/app/views/admin/templates/_belongs_to_with_autocomplete.html.erb +2 -6
- data/app/views/admin/templates/_dragonfly.html.erb +5 -0
- data/app/views/admin/{helpers/_file_preview.html.erb → templates/_dragonfly_preview.html.erb} +0 -0
- data/app/views/admin/templates/_has_n.html.erb +0 -2
- data/app/views/admin/templates/_paperclip.html.erb +5 -0
- data/app/views/admin/templates/_paperclip_preview.html.erb +3 -0
- data/app/views/admin/templates/_selector.html.erb +2 -2
- data/app/views/admin/templates/{_rich_text.html.erb → _text_with_ckeditor.html.erb} +2 -2
- data/app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb +24 -0
- data/app/views/admin/templates/_tree.html.erb +6 -4
- data/app/views/{admin/helpers → helpers/admin}/base/_apps.html.erb +0 -0
- data/app/views/{admin/helpers → helpers/admin}/base/_flash_message.html.erb +0 -0
- data/app/views/{admin/helpers → helpers/admin}/base/_header.html.erb +0 -0
- data/app/views/{admin/helpers → helpers/admin}/base/_login_info.html.erb +0 -0
- data/app/views/{admin/helpers → helpers/admin}/dashboard/_resources.html.erb +0 -0
- data/app/views/helpers/admin/resources/_actions.html.erb +24 -0
- data/app/views/{admin/helpers → helpers/admin}/resources/_errors.html.erb +0 -0
- data/app/views/{admin/helpers/filters → helpers/admin/resources}/_filters.html.erb +0 -0
- data/app/views/{admin/helpers/search → helpers/admin/resources}/_search.html.erb +0 -0
- data/app/views/{admin/helpers/sidebar → helpers/admin/resources}/_sidebar.html.erb +0 -0
- data/app/views/helpers/admin/resources/_table.html.erb +45 -0
- data/config/routes.rb +1 -1
- data/doc/yard/handlers/configurable_attr_handler.rb +38 -0
- data/doc/yard/setup.rb +9 -0
- data/doc/yard/templates/default/fulldoc/html/css/common.css +109 -0
- data/doc/yard/templates/default/layout/html/layout.erb +126 -0
- data/doc/yard/templates/default/module/html/configuration_summary.erb +31 -0
- data/doc/yard/templates/default/module/setup.rb +17 -0
- data/lib/generators/templates/config/initializers/typus_resources.rb +0 -3
- data/lib/generators/templates/config/typus/README +0 -1
- data/lib/generators/templates/{controller.rb → controller.erb} +0 -0
- data/lib/generators/templates/{migration.rb → migration.erb} +0 -0
- data/lib/generators/typus/controller_generator.rb +1 -1
- data/lib/generators/typus/migration_generator.rb +1 -1
- data/lib/typus/authentication/session.rb +16 -19
- data/lib/typus/controller/actions.rb +14 -5
- data/lib/typus/controller/{acts_as.rb → acts_as_list.rb} +7 -6
- data/lib/typus/controller/associations.rb +11 -13
- data/lib/typus/controller/autocomplete.rb +1 -1
- data/lib/typus/controller/bulk.rb +70 -0
- data/lib/typus/controller/filters.rb +11 -3
- data/lib/typus/controller/headless.rb +22 -1
- data/lib/typus/controller/trash.rb +10 -6
- data/lib/typus/orm/active_record/admin_user_v1.rb +9 -20
- data/lib/typus/orm/active_record/admin_user_v2.rb +9 -13
- data/lib/typus/orm/active_record/class_methods.rb +7 -2
- data/lib/typus/orm/active_record/user/class_methods.rb +29 -0
- data/lib/typus/resources.rb +0 -3
- data/lib/typus/version.rb +1 -1
- data/lib/typus.rb +2 -1
- data/test/app/controllers/admin/account_controller_test.rb +12 -1
- data/test/app/controllers/admin/base_controller_test.rb +2 -2
- data/test/app/controllers/admin/dashboard_controller_test.rb +0 -8
- data/test/app/controllers/admin/{status_controller_test.rb → resource/status_controller_test.rb} +2 -2
- data/test/app/controllers/admin/resources/acts_as_list_test.rb +48 -0
- data/test/app/controllers/admin/{assets_controller_test.rb → resources/assets_controller_test.rb.old} +1 -20
- data/test/app/controllers/admin/resources/associations_test.rb +59 -0
- data/test/app/controllers/admin/{birds_controller_test.rb → resources/birds_controller_test.rb.old} +0 -0
- data/test/app/controllers/admin/resources/bulk_test.rb +36 -0
- data/test/app/controllers/admin/{cases_controller_test.rb → resources/cases_controller_test.rb.old} +0 -0
- data/test/app/controllers/admin/{comments_controller_test.rb → resources/comments_controller_test.rb.old} +9 -6
- data/test/app/controllers/admin/resources/image_holders_controller_test.rb.old +55 -0
- data/test/app/controllers/admin/{invoices_controller_test.rb → resources/invoices_controller_test.rb.old} +8 -14
- data/test/app/controllers/admin/{orders_controller_test.rb → resources/orders_controller_test.rb.old} +0 -0
- data/test/app/controllers/admin/{pages_controller_test.rb → resources/pages_controller_test.rb.old} +0 -5
- data/test/app/controllers/admin/{posts_controller_test.rb → resources/posts_controller_test.rb.old} +7 -122
- data/test/app/controllers/admin/{projects_controller_test.rb → resources/projects_controller_test.rb.old} +0 -0
- data/test/app/controllers/admin/resources/trash_test.rb +41 -0
- data/test/app/controllers/admin/{typus_users_controller_test.rb → resources/typus_users_controller_test.rb} +9 -7
- data/test/app/controllers/admin/{users_controller_test.rb → resources/users_controller_test.rb.old} +0 -0
- data/test/app/controllers/admin/{views_controller_test.rb → resources/views_controller_test.rb.old} +0 -4
- data/test/app/controllers/admin/resources_controller_test.rb +102 -0
- data/test/app/controllers/admin/session_controller_test.rb +9 -7
- data/test/app/helpers/admin/base_helper_test.rb +4 -4
- data/test/app/helpers/admin/dashboard_helper_test.rb +1 -1
- data/test/app/helpers/admin/filters_helper_test.rb +10 -14
- data/test/app/helpers/admin/form_helper_test.rb +1 -1
- data/test/app/helpers/admin/relationships_helper_test.rb +0 -1
- data/test/app/helpers/admin/search_helper_test.rb +7 -7
- data/test/app/models/admin_user_test.rb +8 -5
- data/test/app/models/typus_user_test.rb +8 -5
- data/test/app/models/user_test.rb +8 -5
- data/test/factories.rb +10 -0
- data/test/fixtures/rails_app/app/controllers/admin/assets_controller.rb +0 -49
- data/test/fixtures/rails_app/app/controllers/admin/categories_controller.rb +3 -0
- data/test/fixtures/rails_app/app/controllers/admin/entries_controller.rb +0 -3
- data/test/fixtures/rails_app/app/controllers/admin/entry_bulks_controller.rb +5 -0
- data/test/fixtures/rails_app/app/controllers/admin/entry_trashes_controller.rb +5 -0
- data/test/fixtures/rails_app/app/models/entry.rb +1 -0
- data/test/fixtures/rails_app/app/models/entry_bulk.rb +2 -0
- data/test/fixtures/rails_app/app/models/entry_trash.rb +2 -0
- data/test/fixtures/rails_app/app/views/admin/article/entries/_index.html.erb +3 -0
- data/test/fixtures/rails_app/app/views/admin/assets/_edit.html.erb +26 -0
- data/test/fixtures/rails_app/app/views/admin/cases/_index.html.erb +1 -1
- data/test/fixtures/rails_app/app/views/admin/categories/_index.html.erb +1 -1
- data/test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb +1 -1
- data/test/fixtures/rails_app/app/views/admin/entry_bulks/_index.html.erb +3 -0
- data/test/fixtures/rails_app/app/views/admin/entry_trashes/_index.html.erb +3 -0
- data/test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb +6 -1
- data/test/fixtures/rails_app/config/deploy.rb +1 -1
- data/test/fixtures/rails_app/config/typus/README +0 -1
- data/test/fixtures/rails_app/config/typus/admin.yml +1 -1
- data/test/fixtures/rails_app/config/typus/crud_extended.yml +16 -4
- data/test/fixtures/rails_app/config/typus/crud_extended_roles.yml +2 -3
- data/test/fixtures/rails_app/config/typus/extensions.yml +29 -0
- data/test/fixtures/rails_app/config/typus/extensions_roles.yml +4 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/.htaccess +24 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/CHANGES.html +1295 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/INSTALL.html +92 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/LICENSE.html +1334 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/adobeair/application.xml +32 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/adobeair/run.bat +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/adobeair/run.sh +8 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/adobeair/sample.html +45 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/ajax.html +98 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/api.html +192 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/api_dialog/my_dialog.js +28 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/api_dialog.html +198 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/asp/advanced.asp +105 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/asp/events.asp +136 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/asp/index.html +103 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/asp/replace.asp +72 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/asp/replaceall.asp +77 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/asp/sample_posteddata.asp +46 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/asp/standalone.asp +72 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/assets/_posteddata.php +59 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/assets/output_for_flash.fla +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/assets/output_xhtml.css +204 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/assets/parsesample.css +70 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/assets/swfobject.js +18 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/autogrow.html +103 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/bbcode.html +136 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/devtools.html +94 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/divreplace.html +154 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/enterkey.html +115 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/fullpage.html +82 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/index.html +116 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/jqueryadapter.html +99 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/output_for_flash.html +275 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/output_html.html +285 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/output_xhtml.html +181 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/php/advanced.php +120 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/php/events.php +153 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/php/index.html +47 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/php/replace.php +87 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/php/replaceall.php +88 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/php/standalone.php +83 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/placeholder.html +81 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/readonly.html +91 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/replacebyclass.html +64 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/replacebycode.html +97 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/sample.css +163 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/sample.js +65 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/sample_posteddata.php +21 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/sharedspaces.html +153 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/skins.html +110 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/stylesheetparser.html +93 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/tableresize.html +115 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/ui_color.html +129 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_samples/ui_languages.html +134 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/adapters/jquery.js +306 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/_bootstrap.js +87 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/ckeditor.js +141 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/ckeditor_base.js +227 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/ckeditor_basic.js +238 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/command.js +209 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/commanddefinition.js +129 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/config.js +431 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dataprocessor.js +65 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/comment.js +32 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/document.js +251 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/documentfragment.js +49 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/domobject.js +258 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/element.js +1663 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/elementpath.js +119 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/event.js +142 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/node.js +690 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/nodelist.js +26 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/range.js +2032 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/rangelist.js +213 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/text.js +128 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/walker.js +462 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/window.js +96 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom.js +20 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dtd.js +237 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/editor.js +1041 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/editor_basic.js +186 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/env.js +282 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/event.js +342 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/eventInfo.js +120 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/focusmanager.js +152 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/htmlparser/basicwriter.js +145 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/htmlparser/cdata.js +43 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/htmlparser/comment.js +60 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/htmlparser/element.js +249 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/htmlparser/filter.js +288 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/htmlparser/fragment.js +492 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/htmlparser/text.js +55 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/htmlparser.js +224 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/lang.js +157 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/loader.js +240 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/plugindefinition.js +83 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/plugins.js +103 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/resourcemanager.js +238 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/scriptloader.js +180 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/skins.js +184 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/themes.js +19 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/tools.js +734 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/core/ui.js +128 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/_languages.js +84 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/_translationstatus.txt +61 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/af.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/ar.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/bg.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/bn.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/bs.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/ca.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/cs.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/cy.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/da.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/de.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/el.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/en-au.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/en-ca.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/en-gb.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/en.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/eo.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/es.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/et.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/eu.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/fa.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/fi.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/fo.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/fr-ca.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/fr.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/gl.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/gu.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/he.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/hi.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/hr.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/hu.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/is.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/it.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/ja.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/ka.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/km.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/ko.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/lt.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/lv.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/mn.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/ms.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/nb.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/nl.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/no.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/pl.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/pt-br.js +809 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/pt.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/ro.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/ru.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/sk.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/sl.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/sr-latn.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/sr.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/sv.js +809 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/th.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/tr.js +809 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/uk.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/vi.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/zh-cn.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/lang/zh.js +810 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +222 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/a11yhelp/lang/en.js +108 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/a11yhelp/plugin.js +47 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/about/dialogs/about.js +76 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/about/plugin.js +24 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/adobeair/plugin.js +228 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/ajax/plugin.js +152 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/autogrow/plugin.js +88 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/basicstyles/plugin.js +101 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/bbcode/plugin.js +924 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/bidi/plugin.js +331 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/blockquote/plugin.js +305 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/button/plugin.js +285 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/clipboard/dialogs/paste.js +223 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/clipboard/plugin.js +446 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/colorbutton/plugin.js +295 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +340 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/colordialog/plugin.js +15 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/contextmenu/plugin.js +177 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/devtools/lang/en.js +16 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/devtools/plugin.js +173 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/dialog/dialogDefinition.js +1099 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/dialog/plugin.js +3235 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/dialogadvtab/plugin.js +205 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/dialogui/plugin.js +1537 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/div/dialogs/div.js +535 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/div/plugin.js +121 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/docprops/dialogs/docprops.js +686 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/docprops/plugin.js +22 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/domiterator/plugin.js +361 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/editingblock/plugin.js +269 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/elementspath/plugin.js +218 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/enterkey/plugin.js +399 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/entities/plugin.js +250 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/fakeobjects/plugin.js +126 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/filebrowser/plugin.js +524 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/find/dialogs/find.js +895 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/find/plugin.js +47 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/flash/dialogs/flash.js +698 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/flash/plugin.js +168 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/floatpanel/plugin.js +405 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/font/plugin.js +234 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/format/plugin.js +197 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/dialogs/button.js +118 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/dialogs/checkbox.js +153 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/dialogs/form.js +177 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +100 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/dialogs/radio.js +135 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/dialogs/select.js +562 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/dialogs/textarea.js +114 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/dialogs/textfield.js +199 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/forms/plugin.js +288 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/horizontalrule/plugin.js +36 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/htmldataprocessor/plugin.js +595 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/htmlwriter/plugin.js +319 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/iframe/dialogs/iframe.js +257 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/iframe/plugin.js +106 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/iframedialog/plugin.js +188 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/image/dialogs/image.js +1403 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/image/plugin.js +81 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/indent/plugin.js +461 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/justify/plugin.js +253 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/keystrokes/plugin.js +225 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/link/dialogs/anchor.js +144 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/link/dialogs/link.js +1400 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/link/plugin.js +336 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/list/plugin.js +727 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/listblock/plugin.js +257 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +204 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/liststyle/plugin.js +66 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/maximize/plugin.js +352 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/menu/plugin.js +505 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/menubutton/plugin.js +98 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/newpage/plugin.js +54 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/pagebreak/plugin.js +164 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/panel/plugin.js +402 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/panelbutton/plugin.js +146 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/pastefromword/filter/default.js +1376 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/pastefromword/plugin.js +141 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +67 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/pastetext/plugin.js +98 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +71 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/placeholder/lang/en.js +16 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/placeholder/lang/he.js +16 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/placeholder/plugin.js +171 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/popup/plugin.js +64 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/preview/plugin.js +109 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/print/plugin.js +42 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/removeformat/plugin.js +185 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/resize/plugin.js +168 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/richcombo/plugin.js +378 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/save/plugin.js +56 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/scayt/dialogs/options.js +537 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +71 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/scayt/plugin.js +964 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/selection/plugin.js +1563 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showblocks/plugin.js +160 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/showborders/plugin.js +207 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/dialogs/smiley.js +224 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/smiley/plugin.js +94 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/sourcearea/plugin.js +209 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +350 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/specialchar/lang/en.js +89 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/specialchar/plugin.js +70 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/styles/plugin.js +1678 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/styles/styles/default.js +88 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/stylescombo/plugin.js +219 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/stylesheetparser/plugin.js +143 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/tab/plugin.js +367 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/table/dialogs/table.js +672 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/table/plugin.js +78 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/tableresize/plugin.js +450 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +525 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/tabletools/plugin.js +1191 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/templates/dialogs/templates.js +234 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/templates/plugin.js +99 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/templates/templates/default.js +94 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/toolbar/plugin.js +545 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +205 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/lang/en.js +15 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/lang/he.js +15 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/plugin.js +37 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +15 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/uicolor/yui/yui.js +71 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/undo/plugin.js +580 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +49 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/wsc/dialogs/wsc.css +82 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/wsc/dialogs/wsc.js +192 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/wsc/plugin.js +33 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/wysiwygarea/plugin.js +1351 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/xml/plugin.js +170 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/dialog.css +920 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/editor.css +25 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/elementspath.css +73 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/icons.css +366 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/icons.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/mainui.css +203 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/menu.css +232 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/panel.css +217 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/presets.css +49 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/reset.css +84 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/richcombo.css +287 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/skin.js +236 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/templates.css +88 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/kama/toolbar.css +407 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/dialog.css +826 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/editor.css +25 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/elementspath.css +74 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/icons.css +363 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/mainui.css +153 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/menu.css +229 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/panel.css +212 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/presets.css +49 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/reset.css +84 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/richcombo.css +309 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/skin.js +74 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/templates.css +87 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/office2003/toolbar.css +522 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/dialog.css +842 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/editor.css +25 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/elementspath.css +74 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/icons.css +363 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/icons.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/mainui.css +162 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/menu.css +232 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/panel.css +212 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/presets.css +50 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/reset.css +84 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/richcombo.css +302 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/skin.js +70 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/templates.css +87 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/skins/v2/toolbar.css +465 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/_source/themes/default/theme.js +394 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/adapters/jquery.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor.asp +955 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor.js +145 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor.pack +211 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor.php +29 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor_basic.js +8 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor_basic_source.js +20 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor_php4.php +566 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor_php5.php +556 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/ckeditor_source.js +25 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/config.js +11 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/contents.css +23 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/images/spacer.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/_languages.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/_translationstatus.txt +61 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/af.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/ar.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/bg.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/bn.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/bs.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/ca.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/cs.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/cy.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/da.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/de.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/el.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/en-au.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/en-ca.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/en-gb.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/en.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/eo.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/es.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/et.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/eu.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/fa.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/fi.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/fo.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/fr-ca.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/fr.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/gl.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/gu.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/he.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/hi.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/hr.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/hu.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/is.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/it.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/ja.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/ka.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/km.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/ko.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/lt.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/lv.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/mn.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/ms.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/nb.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/nl.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/no.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/pl.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/pt-br.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/pt.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/ro.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/ru.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/sk.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/sl.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/sr-latn.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/sr.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/sv.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/th.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/tr.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/uk.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/vi.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/zh-cn.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/lang/zh.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/adobeair/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/ajax/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/bbcode/plugin.js +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/devtools/lang/en.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/devtools/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/div/dialogs/div.js +8 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/docprops/dialogs/docprops.js +10 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/docprops/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/liststyle/dialogs/liststyle.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/pastefromword/filter/default.js +11 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/placeholder/lang/en.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/placeholder/lang/he.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/placeholder/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/specialchar/lang/en.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/styles/styles/default.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/stylesheetparser/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/templates/dialogs/templates.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/templates/templates/default.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/plugins/xml/plugin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/dialog.css +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/editor.css +13 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/icons.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/images/mini.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/images/noimage.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/images/sprites.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/skin.js +7 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/kama/templates.css +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/dialog.css +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/editor.css +14 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/icons.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/skin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/office2003/templates.css +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/dialog.css +9 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/editor.css +13 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/icons.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/images/mini.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/images/noimage.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/images/sprites.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/skin.js +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/skins/v2/templates.css +6 -0
- data/test/fixtures/rails_app/public/vendor/ckeditor/themes/default/theme.js +8 -0
- data/test/lib/typus/orm/active_record/class_methods_test.rb +92 -175
- data/test/lib/typus/resources_test.rb +0 -4
- data/test/test_helper.rb +5 -0
- data/typus.gemspec +1 -1
- metadata +1390 -75
- data/app/helpers/admin/display_helper.rb +0 -51
- data/app/helpers/admin/file_preview_helper.rb +0 -80
- data/app/helpers/admin/filters_helper.rb +0 -94
- data/app/helpers/admin/form_helper.rb +0 -78
- data/app/helpers/admin/list_helper.rb +0 -29
- data/app/helpers/admin/relationships_helper.rb +0 -192
- data/app/helpers/admin/search_helper.rb +0 -16
- data/app/helpers/admin/sidebar_helper.rb +0 -36
- data/app/helpers/admin/table_helper.rb +0 -159
- data/app/views/admin/helpers/resources/_display_link_to_previous.html.erb +0 -3
- data/app/views/admin/helpers/table/_table.html.erb +0 -26
- data/app/views/admin/templates/_file.html.erb +0 -5
- data/app/views/admin/templates/_relate_form.html.erb +0 -5
- data/app/views/admin/templates/_relate_form_with_autocomplete.html.erb +0 -26
- data/doc/mongo_db.md +0 -10
- data/test/app/controllers/admin/categories_controller_test.rb +0 -134
- data/test/app/controllers/admin/image_holders_controller_test.rb +0 -74
- data/test/app/helpers/admin/file_preview_helper_test.rb +0 -90
- data/test/app/helpers/admin/resources_helper_test.rb +0 -46
- data/test/fixtures/rails_app/config/typus/crud_namespaced.yml +0 -10
- data/test/fixtures/rails_app/config/typus/crud_namespaced_roles.yml +0 -2
- data/test/fixtures/rails_app/config/typus/sti.yml +0 -5
- data/test/fixtures/rails_app/config/typus/sti_roles.yml +0 -2
data/test/fixtures/rails_app/public/vendor/ckeditor/_source/plugins/dialog/dialogDefinition.js
ADDED
@@ -0,0 +1,1099 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/**
|
7
|
+
* @fileOverview Defines the "virtual" dialog, dialog content and dialog button
|
8
|
+
* definition classes.
|
9
|
+
*/
|
10
|
+
|
11
|
+
/**
|
12
|
+
* The definition of a dialog window.
|
13
|
+
* <div class="notapi">
|
14
|
+
* This class is not really part of the API. It just illustrates the properties
|
15
|
+
* that developers can use to define and create dialogs.
|
16
|
+
* </div>
|
17
|
+
* @name CKEDITOR.dialog.definition
|
18
|
+
* @constructor
|
19
|
+
* @example
|
20
|
+
* // There is no constructor for this class, the user just has to define an
|
21
|
+
* // object with the appropriate properties.
|
22
|
+
*
|
23
|
+
* CKEDITOR.dialog.add( 'testOnly', function( editor )
|
24
|
+
* {
|
25
|
+
* return {
|
26
|
+
* title : 'Test Dialog',
|
27
|
+
* resizable : CKEDITOR.DIALOG_RESIZE_BOTH,
|
28
|
+
* minWidth : 500,
|
29
|
+
* minHeight : 400,
|
30
|
+
* contents : [
|
31
|
+
* {
|
32
|
+
* id : 'tab1',
|
33
|
+
* label : 'First Tab',
|
34
|
+
* title : 'First Tab Title',
|
35
|
+
* accessKey : 'Q',
|
36
|
+
* elements : [
|
37
|
+
* {
|
38
|
+
* type : 'text',
|
39
|
+
* label : 'Test Text 1',
|
40
|
+
* id : 'testText1',
|
41
|
+
* 'default' : 'hello world!'
|
42
|
+
* }
|
43
|
+
* ]
|
44
|
+
* }
|
45
|
+
* ]
|
46
|
+
* };
|
47
|
+
* });
|
48
|
+
*/
|
49
|
+
|
50
|
+
/**
|
51
|
+
* The dialog title, displayed in the dialog's header. Required.
|
52
|
+
* @name CKEDITOR.dialog.definition.prototype.title
|
53
|
+
* @field
|
54
|
+
* @type String
|
55
|
+
* @example
|
56
|
+
*/
|
57
|
+
|
58
|
+
/**
|
59
|
+
* How the dialog can be resized, must be one of the four contents defined below.
|
60
|
+
* <br /><br />
|
61
|
+
* <strong>CKEDITOR.DIALOG_RESIZE_NONE</strong><br />
|
62
|
+
* <strong>CKEDITOR.DIALOG_RESIZE_WIDTH</strong><br />
|
63
|
+
* <strong>CKEDITOR.DIALOG_RESIZE_HEIGHT</strong><br />
|
64
|
+
* <strong>CKEDITOR.DIALOG_RESIZE_BOTH</strong><br />
|
65
|
+
* @name CKEDITOR.dialog.definition.prototype.resizable
|
66
|
+
* @field
|
67
|
+
* @type Number
|
68
|
+
* @default CKEDITOR.DIALOG_RESIZE_NONE
|
69
|
+
* @example
|
70
|
+
*/
|
71
|
+
|
72
|
+
/**
|
73
|
+
* The minimum width of the dialog, in pixels.
|
74
|
+
* @name CKEDITOR.dialog.definition.prototype.minWidth
|
75
|
+
* @field
|
76
|
+
* @type Number
|
77
|
+
* @default 600
|
78
|
+
* @example
|
79
|
+
*/
|
80
|
+
|
81
|
+
/**
|
82
|
+
* The minimum height of the dialog, in pixels.
|
83
|
+
* @name CKEDITOR.dialog.definition.prototype.minHeight
|
84
|
+
* @field
|
85
|
+
* @type Number
|
86
|
+
* @default 400
|
87
|
+
* @example
|
88
|
+
*/
|
89
|
+
|
90
|
+
|
91
|
+
/**
|
92
|
+
* The initial width of the dialog, in pixels.
|
93
|
+
* @name CKEDITOR.dialog.definition.prototype.width
|
94
|
+
* @field
|
95
|
+
* @type Number
|
96
|
+
* @default @CKEDITOR.dialog.definition.prototype.minWidth
|
97
|
+
* @since 3.5.3
|
98
|
+
* @example
|
99
|
+
*/
|
100
|
+
|
101
|
+
/**
|
102
|
+
* The initial height of the dialog, in pixels.
|
103
|
+
* @name CKEDITOR.dialog.definition.prototype.height
|
104
|
+
* @field
|
105
|
+
* @type Number
|
106
|
+
* @default @CKEDITOR.dialog.definition.prototype.minHeight
|
107
|
+
* @since 3.5.3
|
108
|
+
* @example
|
109
|
+
*/
|
110
|
+
|
111
|
+
/**
|
112
|
+
* The buttons in the dialog, defined as an array of
|
113
|
+
* {@link CKEDITOR.dialog.definition.button} objects.
|
114
|
+
* @name CKEDITOR.dialog.definition.prototype.buttons
|
115
|
+
* @field
|
116
|
+
* @type Array
|
117
|
+
* @default [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
|
118
|
+
* @example
|
119
|
+
*/
|
120
|
+
|
121
|
+
/**
|
122
|
+
* The contents in the dialog, defined as an array of
|
123
|
+
* {@link CKEDITOR.dialog.definition.content} objects. Required.
|
124
|
+
* @name CKEDITOR.dialog.definition.prototype.contents
|
125
|
+
* @field
|
126
|
+
* @type Array
|
127
|
+
* @example
|
128
|
+
*/
|
129
|
+
|
130
|
+
/**
|
131
|
+
* The function to execute when OK is pressed.
|
132
|
+
* @name CKEDITOR.dialog.definition.prototype.onOk
|
133
|
+
* @field
|
134
|
+
* @type Function
|
135
|
+
* @example
|
136
|
+
*/
|
137
|
+
|
138
|
+
/**
|
139
|
+
* The function to execute when Cancel is pressed.
|
140
|
+
* @name CKEDITOR.dialog.definition.prototype.onCancel
|
141
|
+
* @field
|
142
|
+
* @type Function
|
143
|
+
* @example
|
144
|
+
*/
|
145
|
+
|
146
|
+
/**
|
147
|
+
* The function to execute when the dialog is displayed for the first time.
|
148
|
+
* @name CKEDITOR.dialog.definition.prototype.onLoad
|
149
|
+
* @field
|
150
|
+
* @type Function
|
151
|
+
* @example
|
152
|
+
*/
|
153
|
+
|
154
|
+
/**
|
155
|
+
* The function to execute when the dialog is loaded (executed every time the dialog is opened).
|
156
|
+
* @name CKEDITOR.dialog.definition.prototype.onShow
|
157
|
+
* @field
|
158
|
+
* @type Function
|
159
|
+
* @example
|
160
|
+
*/
|
161
|
+
|
162
|
+
/**
|
163
|
+
* <div class="notapi">This class is not really part of the API. It just illustrates the properties
|
164
|
+
* that developers can use to define and create dialog content pages.</div>
|
165
|
+
* @name CKEDITOR.dialog.definition.content
|
166
|
+
* @constructor
|
167
|
+
* @example
|
168
|
+
* // There is no constructor for this class, the user just has to define an
|
169
|
+
* // object with the appropriate properties.
|
170
|
+
*/
|
171
|
+
|
172
|
+
/**
|
173
|
+
* The id of the content page.
|
174
|
+
* @name CKEDITOR.dialog.definition.content.prototype.id
|
175
|
+
* @field
|
176
|
+
* @type String
|
177
|
+
* @example
|
178
|
+
*/
|
179
|
+
|
180
|
+
/**
|
181
|
+
* The tab label of the content page.
|
182
|
+
* @name CKEDITOR.dialog.definition.content.prototype.label
|
183
|
+
* @field
|
184
|
+
* @type String
|
185
|
+
* @example
|
186
|
+
*/
|
187
|
+
|
188
|
+
/**
|
189
|
+
* The popup message of the tab label.
|
190
|
+
* @name CKEDITOR.dialog.definition.content.prototype.title
|
191
|
+
* @field
|
192
|
+
* @type String
|
193
|
+
* @example
|
194
|
+
*/
|
195
|
+
|
196
|
+
/**
|
197
|
+
* The CTRL hotkey for switching to the tab.
|
198
|
+
* @name CKEDITOR.dialog.definition.content.prototype.accessKey
|
199
|
+
* @field
|
200
|
+
* @type String
|
201
|
+
* @example
|
202
|
+
* contentDefinition.accessKey = 'Q'; // Switch to this page when CTRL-Q is pressed.
|
203
|
+
*/
|
204
|
+
|
205
|
+
/**
|
206
|
+
* The UI elements contained in this content page, defined as an array of
|
207
|
+
* {@link CKEDITOR.dialog.definition.uiElement} objects.
|
208
|
+
* @name CKEDITOR.dialog.definition.content.prototype.elements
|
209
|
+
* @field
|
210
|
+
* @type Array
|
211
|
+
* @example
|
212
|
+
*/
|
213
|
+
|
214
|
+
/**
|
215
|
+
* The definition of user interface element (textarea, radio etc).
|
216
|
+
* <div class="notapi">This class is not really part of the API. It just illustrates the properties
|
217
|
+
* that developers can use to define and create dialog UI elements.</div>
|
218
|
+
* @name CKEDITOR.dialog.definition.uiElement
|
219
|
+
* @constructor
|
220
|
+
* @see CKEDITOR.ui.dialog.uiElement
|
221
|
+
* @example
|
222
|
+
* // There is no constructor for this class, the user just has to define an
|
223
|
+
* // object with the appropriate properties.
|
224
|
+
*/
|
225
|
+
|
226
|
+
/**
|
227
|
+
* The id of the UI element.
|
228
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.id
|
229
|
+
* @field
|
230
|
+
* @type String
|
231
|
+
* @example
|
232
|
+
*/
|
233
|
+
|
234
|
+
/**
|
235
|
+
* The type of the UI element. Required.
|
236
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.type
|
237
|
+
* @field
|
238
|
+
* @type String
|
239
|
+
* @example
|
240
|
+
*/
|
241
|
+
|
242
|
+
/**
|
243
|
+
* The popup label of the UI element.
|
244
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.title
|
245
|
+
* @field
|
246
|
+
* @type String
|
247
|
+
* @example
|
248
|
+
*/
|
249
|
+
|
250
|
+
/**
|
251
|
+
* CSS class names to append to the UI element.
|
252
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.className
|
253
|
+
* @field
|
254
|
+
* @type String
|
255
|
+
* @example
|
256
|
+
*/
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Inline CSS classes to append to the UI element.
|
260
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.style
|
261
|
+
* @field
|
262
|
+
* @type String
|
263
|
+
* @example
|
264
|
+
*/
|
265
|
+
|
266
|
+
/**
|
267
|
+
* Function to execute the first time the UI element is displayed.
|
268
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.onLoad
|
269
|
+
* @field
|
270
|
+
* @type Function
|
271
|
+
* @example
|
272
|
+
*/
|
273
|
+
|
274
|
+
/**
|
275
|
+
* Function to execute whenever the UI element's parent dialog is displayed.
|
276
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.onShow
|
277
|
+
* @field
|
278
|
+
* @type Function
|
279
|
+
* @example
|
280
|
+
*/
|
281
|
+
|
282
|
+
/**
|
283
|
+
* Function to execute whenever the UI element's parent dialog is closed.
|
284
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.onHide
|
285
|
+
* @field
|
286
|
+
* @type Function
|
287
|
+
* @example
|
288
|
+
*/
|
289
|
+
|
290
|
+
/**
|
291
|
+
* Function to execute whenever the UI element's parent dialog's {@link CKEDITOR.dialog.definition.setupContent} method is executed.
|
292
|
+
* It usually takes care of the respective UI element as a standalone element.
|
293
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.setup
|
294
|
+
* @field
|
295
|
+
* @type Function
|
296
|
+
* @example
|
297
|
+
*/
|
298
|
+
|
299
|
+
/**
|
300
|
+
* Function to execute whenever the UI element's parent dialog's {@link CKEDITOR.dialog.definition.commitContent} method is executed.
|
301
|
+
* It usually takes care of the respective UI element as a standalone element.
|
302
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.commit
|
303
|
+
* @field
|
304
|
+
* @type Function
|
305
|
+
* @example
|
306
|
+
*/
|
307
|
+
|
308
|
+
// ----- hbox -----
|
309
|
+
|
310
|
+
/**
|
311
|
+
* Horizontal layout box for dialog UI elements, auto-expends to available width of container.
|
312
|
+
* <div class="notapi">
|
313
|
+
* This class is not really part of the API. It just illustrates the properties
|
314
|
+
* that developers can use to define and create horizontal layouts.
|
315
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.hbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
316
|
+
* </div>
|
317
|
+
* @name CKEDITOR.dialog.definition.hbox
|
318
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
319
|
+
* @constructor
|
320
|
+
* @example
|
321
|
+
* // There is no constructor for this class, the user just has to define an
|
322
|
+
* // object with the appropriate properties.
|
323
|
+
*
|
324
|
+
* // Example:
|
325
|
+
* {
|
326
|
+
* <b>type : 'hbox',</b>
|
327
|
+
* widths : [ '25%', '25%', '50%' ],
|
328
|
+
* children :
|
329
|
+
* [
|
330
|
+
* {
|
331
|
+
* type : 'text',
|
332
|
+
* id : 'id1',
|
333
|
+
* width : '40px',
|
334
|
+
* },
|
335
|
+
* {
|
336
|
+
* type : 'text',
|
337
|
+
* id : 'id2',
|
338
|
+
* width : '40px',
|
339
|
+
* },
|
340
|
+
* {
|
341
|
+
* type : 'text',
|
342
|
+
* id : 'id3'
|
343
|
+
* }
|
344
|
+
* ]
|
345
|
+
* }
|
346
|
+
*/
|
347
|
+
|
348
|
+
/**
|
349
|
+
* Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container.
|
350
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.children
|
351
|
+
* @field
|
352
|
+
* @type Array
|
353
|
+
* @example
|
354
|
+
*/
|
355
|
+
|
356
|
+
/**
|
357
|
+
* (Optional) The widths of child cells.
|
358
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.widths
|
359
|
+
* @field
|
360
|
+
* @type Array
|
361
|
+
* @example
|
362
|
+
*/
|
363
|
+
|
364
|
+
/**
|
365
|
+
* (Optional) The height of the layout.
|
366
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.height
|
367
|
+
* @field
|
368
|
+
* @type Number
|
369
|
+
* @example
|
370
|
+
*/
|
371
|
+
|
372
|
+
/**
|
373
|
+
* The CSS styles to apply to this element.
|
374
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.styles
|
375
|
+
* @field
|
376
|
+
* @type String
|
377
|
+
* @example
|
378
|
+
*/
|
379
|
+
|
380
|
+
/**
|
381
|
+
* (Optional) The padding width inside child cells. Example: 0, 1.
|
382
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.padding
|
383
|
+
* @field
|
384
|
+
* @type Number
|
385
|
+
* @example
|
386
|
+
*/
|
387
|
+
|
388
|
+
/**
|
389
|
+
* (Optional) The alignment of the whole layout. Example: center, top.
|
390
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.align
|
391
|
+
* @field
|
392
|
+
* @type String
|
393
|
+
* @example
|
394
|
+
*/
|
395
|
+
|
396
|
+
// ----- vbox -----
|
397
|
+
|
398
|
+
/**
|
399
|
+
* Vertical layout box for dialog UI elements.
|
400
|
+
* <div class="notapi">
|
401
|
+
* This class is not really part of the API. It just illustrates the properties
|
402
|
+
* that developers can use to define and create vertical layouts.
|
403
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.vbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
404
|
+
* </div>
|
405
|
+
* <style type="text/css">.details .detailList {display:none;} </style>
|
406
|
+
* @name CKEDITOR.dialog.definition.vbox
|
407
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
408
|
+
* @constructor
|
409
|
+
* @example
|
410
|
+
* // There is no constructor for this class, the user just has to define an
|
411
|
+
* // object with the appropriate properties.
|
412
|
+
*
|
413
|
+
* // Example:
|
414
|
+
* {
|
415
|
+
* <b>type : 'vbox',</b>
|
416
|
+
* align : 'right',
|
417
|
+
* width : '200px',
|
418
|
+
* children :
|
419
|
+
* [
|
420
|
+
* {
|
421
|
+
* type : 'text',
|
422
|
+
* id : 'age',
|
423
|
+
* label : 'Age'
|
424
|
+
* },
|
425
|
+
* {
|
426
|
+
* type : 'text',
|
427
|
+
* id : 'sex',
|
428
|
+
* label : 'Sex'
|
429
|
+
* },
|
430
|
+
* {
|
431
|
+
* type : 'text',
|
432
|
+
* id : 'nationality',
|
433
|
+
* label : 'Nationality'
|
434
|
+
* }
|
435
|
+
* ]
|
436
|
+
* }
|
437
|
+
*/
|
438
|
+
|
439
|
+
/**
|
440
|
+
* Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container.
|
441
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.children
|
442
|
+
* @field
|
443
|
+
* @type Array
|
444
|
+
* @example
|
445
|
+
*/
|
446
|
+
|
447
|
+
/**
|
448
|
+
* (Optional) The width of the layout.
|
449
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.width
|
450
|
+
* @field
|
451
|
+
* @type Array
|
452
|
+
* @example
|
453
|
+
*/
|
454
|
+
|
455
|
+
/**
|
456
|
+
* (Optional) The heights of individual cells.
|
457
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.heights
|
458
|
+
* @field
|
459
|
+
* @type Number
|
460
|
+
* @example
|
461
|
+
*/
|
462
|
+
|
463
|
+
/**
|
464
|
+
* The CSS styles to apply to this element.
|
465
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.styles
|
466
|
+
* @field
|
467
|
+
* @type String
|
468
|
+
* @example
|
469
|
+
*/
|
470
|
+
|
471
|
+
/**
|
472
|
+
* (Optional) The padding width inside child cells. Example: 0, 1.
|
473
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.padding
|
474
|
+
* @field
|
475
|
+
* @type Number
|
476
|
+
* @example
|
477
|
+
*/
|
478
|
+
|
479
|
+
/**
|
480
|
+
* (Optional) The alignment of the whole layout. Example: center, top.
|
481
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.align
|
482
|
+
* @field
|
483
|
+
* @type String
|
484
|
+
* @example
|
485
|
+
*/
|
486
|
+
|
487
|
+
/**
|
488
|
+
* (Optional) Whether the layout should expand vertically to fill its container.
|
489
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.expand
|
490
|
+
* @field
|
491
|
+
* @type Boolean
|
492
|
+
* @example
|
493
|
+
*/
|
494
|
+
|
495
|
+
// ----- button ------
|
496
|
+
|
497
|
+
/**
|
498
|
+
* The definition of a button.
|
499
|
+
* <div class="notapi">
|
500
|
+
* This class is not really part of the API. It just illustrates the properties
|
501
|
+
* that developers can use to define and create buttons.
|
502
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.button} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
503
|
+
* </div>
|
504
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
505
|
+
* @name CKEDITOR.dialog.definition.button
|
506
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
507
|
+
* @constructor
|
508
|
+
* @example
|
509
|
+
* // There is no constructor for this class, the user just has to define an
|
510
|
+
* // object with the appropriate properties.
|
511
|
+
*
|
512
|
+
* // Example:
|
513
|
+
* {
|
514
|
+
* <b>type : 'button',</b>
|
515
|
+
* id : 'buttonId',
|
516
|
+
* label : 'Click me',
|
517
|
+
* title : 'My title',
|
518
|
+
* onClick : function() {
|
519
|
+
* // this = CKEDITOR.ui.dialog.button
|
520
|
+
* alert( 'Clicked: ' + this.id );
|
521
|
+
* }
|
522
|
+
* }
|
523
|
+
*/
|
524
|
+
|
525
|
+
/**
|
526
|
+
* Whether the button is disabled.
|
527
|
+
* @name CKEDITOR.dialog.definition.button.prototype.disabled
|
528
|
+
* @type Boolean
|
529
|
+
* @field
|
530
|
+
* @example
|
531
|
+
*/
|
532
|
+
|
533
|
+
/**
|
534
|
+
* The label of the UI element.
|
535
|
+
* @name CKEDITOR.dialog.definition.button.prototype.label
|
536
|
+
* @type String
|
537
|
+
* @field
|
538
|
+
* @example
|
539
|
+
*/
|
540
|
+
|
541
|
+
// ----- checkbox ------
|
542
|
+
|
543
|
+
/**
|
544
|
+
* The definition of a checkbox element.
|
545
|
+
* <div class="notapi">
|
546
|
+
* This class is not really part of the API. It just illustrates the properties
|
547
|
+
* that developers can use to define and create groups of checkbox buttons.
|
548
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.checkbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
549
|
+
* </div>
|
550
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
551
|
+
* @name CKEDITOR.dialog.definition.checkbox
|
552
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
553
|
+
* @constructor
|
554
|
+
* @example
|
555
|
+
* // There is no constructor for this class, the user just has to define an
|
556
|
+
* // object with the appropriate properties.
|
557
|
+
*
|
558
|
+
* // Example:
|
559
|
+
* {
|
560
|
+
* <b>type : 'checkbox',</b>
|
561
|
+
* id : 'agree',
|
562
|
+
* label : 'I agree',
|
563
|
+
* 'default' : 'checked',
|
564
|
+
* onClick : function() {
|
565
|
+
* // this = CKEDITOR.ui.dialog.checkbox
|
566
|
+
* alert( 'Checked: ' + this.getValue() );
|
567
|
+
* }
|
568
|
+
* }
|
569
|
+
*/
|
570
|
+
|
571
|
+
/**
|
572
|
+
* (Optional) The validation function.
|
573
|
+
* @name CKEDITOR.dialog.definition.checkbox.prototype.validate
|
574
|
+
* @field
|
575
|
+
* @type Function
|
576
|
+
* @example
|
577
|
+
*/
|
578
|
+
|
579
|
+
/**
|
580
|
+
* The label of the UI element.
|
581
|
+
* @name CKEDITOR.dialog.definition.checkbox.prototype.label
|
582
|
+
* @type String
|
583
|
+
* @field
|
584
|
+
* @example
|
585
|
+
*/
|
586
|
+
|
587
|
+
/**
|
588
|
+
* The default state.
|
589
|
+
* @name CKEDITOR.dialog.definition.checkbox.prototype.default
|
590
|
+
* @type String
|
591
|
+
* @field
|
592
|
+
* @default
|
593
|
+
* '' (unchecked)
|
594
|
+
* @example
|
595
|
+
*/
|
596
|
+
|
597
|
+
// ----- file -----
|
598
|
+
|
599
|
+
/**
|
600
|
+
* The definition of a file upload input.
|
601
|
+
* <div class="notapi">
|
602
|
+
* This class is not really part of the API. It just illustrates the properties
|
603
|
+
* that developers can use to define and create file upload elements.
|
604
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.file} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
605
|
+
* </div>
|
606
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
607
|
+
* @name CKEDITOR.dialog.definition.file
|
608
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
609
|
+
* @constructor
|
610
|
+
* @example
|
611
|
+
* // There is no constructor for this class, the user just has to define an
|
612
|
+
* // object with the appropriate properties.
|
613
|
+
*
|
614
|
+
* // Example:
|
615
|
+
* {
|
616
|
+
* <b>type : 'file'</b>,
|
617
|
+
* id : 'upload',
|
618
|
+
* label : 'Select file from your computer',
|
619
|
+
* size : 38
|
620
|
+
* },
|
621
|
+
* {
|
622
|
+
* type : 'fileButton',
|
623
|
+
* id : 'fileId',
|
624
|
+
* label : 'Upload file',
|
625
|
+
* 'for' : [ 'tab1', 'upload' ]
|
626
|
+
* filebrowser : {
|
627
|
+
* onSelect : function( fileUrl, data ) {
|
628
|
+
* alert( 'Successfully uploaded: ' + fileUrl );
|
629
|
+
* }
|
630
|
+
* }
|
631
|
+
* }
|
632
|
+
*/
|
633
|
+
|
634
|
+
/**
|
635
|
+
* (Optional) The validation function.
|
636
|
+
* @name CKEDITOR.dialog.definition.file.prototype.validate
|
637
|
+
* @field
|
638
|
+
* @type Function
|
639
|
+
* @example
|
640
|
+
*/
|
641
|
+
|
642
|
+
/**
|
643
|
+
* The label of the UI element.
|
644
|
+
* @name CKEDITOR.dialog.definition.file.prototype.label
|
645
|
+
* @type String
|
646
|
+
* @field
|
647
|
+
* @example
|
648
|
+
*/
|
649
|
+
|
650
|
+
/**
|
651
|
+
* (Optional) The action attribute of the form element associated with this file upload input.
|
652
|
+
* If empty, CKEditor will use path to server connector for currently opened folder.
|
653
|
+
* @name CKEDITOR.dialog.definition.file.prototype.action
|
654
|
+
* @type String
|
655
|
+
* @field
|
656
|
+
* @example
|
657
|
+
*/
|
658
|
+
|
659
|
+
/**
|
660
|
+
* The size of the UI element.
|
661
|
+
* @name CKEDITOR.dialog.definition.file.prototype.size
|
662
|
+
* @type Number
|
663
|
+
* @field
|
664
|
+
* @example
|
665
|
+
*/
|
666
|
+
|
667
|
+
// ----- fileButton -----
|
668
|
+
|
669
|
+
/**
|
670
|
+
* The definition of a button for submitting the file in a file upload input.
|
671
|
+
* <div class="notapi">
|
672
|
+
* This class is not really part of the API. It just illustrates the properties
|
673
|
+
* that developers can use to define and create a button for submitting the file in a file upload input.
|
674
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.fileButton} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
675
|
+
* </div>
|
676
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
677
|
+
* @name CKEDITOR.dialog.definition.fileButton
|
678
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
679
|
+
* @constructor
|
680
|
+
* @example
|
681
|
+
* // There is no constructor for this class, the user just has to define an
|
682
|
+
* // object with the appropriate properties.
|
683
|
+
*
|
684
|
+
* // Example:
|
685
|
+
* {
|
686
|
+
* type : 'file',
|
687
|
+
* id : 'upload',
|
688
|
+
* label : 'Select file from your computer',
|
689
|
+
* size : 38
|
690
|
+
* },
|
691
|
+
* {
|
692
|
+
* <b>type : 'fileButton'</b>,
|
693
|
+
* id : 'fileId',
|
694
|
+
* label : 'Upload file',
|
695
|
+
* 'for' : [ 'tab1', 'upload' ]
|
696
|
+
* filebrowser : {
|
697
|
+
* onSelect : function( fileUrl, data ) {
|
698
|
+
* alert( 'Successfully uploaded: ' + fileUrl );
|
699
|
+
* }
|
700
|
+
* }
|
701
|
+
* }
|
702
|
+
*/
|
703
|
+
|
704
|
+
/**
|
705
|
+
* (Optional) The validation function.
|
706
|
+
* @name CKEDITOR.dialog.definition.fileButton.prototype.validate
|
707
|
+
* @field
|
708
|
+
* @type Function
|
709
|
+
* @example
|
710
|
+
*/
|
711
|
+
|
712
|
+
/**
|
713
|
+
* The label of the UI element.
|
714
|
+
* @name CKEDITOR.dialog.definition.fileButton.prototype.label
|
715
|
+
* @type String
|
716
|
+
* @field
|
717
|
+
* @example
|
718
|
+
*/
|
719
|
+
|
720
|
+
/**
|
721
|
+
* The instruction for CKEditor how to deal with file upload.
|
722
|
+
* By default, the file and fileButton elements will not work "as expected" if this attribute is not set.
|
723
|
+
* @name CKEDITOR.dialog.definition.fileButton.prototype.filebrowser
|
724
|
+
* @type String|Object
|
725
|
+
* @field
|
726
|
+
* @example
|
727
|
+
* // Update field with id 'txtUrl' in the 'tab1' tab when file is uploaded.
|
728
|
+
* filebrowser : 'tab1:txtUrl'
|
729
|
+
*
|
730
|
+
* // Call custom onSelect function when file is successfully uploaded.
|
731
|
+
* filebrowser : {
|
732
|
+
* onSelect : function( fileUrl, data ) {
|
733
|
+
* alert( 'Successfully uploaded: ' + fileUrl );
|
734
|
+
* }
|
735
|
+
* }
|
736
|
+
*/
|
737
|
+
|
738
|
+
/**
|
739
|
+
* An array that contains pageId and elementId of the file upload input element for which this button is created.
|
740
|
+
* @name CKEDITOR.dialog.definition.fileButton.prototype.for
|
741
|
+
* @type String
|
742
|
+
* @field
|
743
|
+
* @example
|
744
|
+
* [ pageId, elementId ]
|
745
|
+
*/
|
746
|
+
|
747
|
+
// ----- html -----
|
748
|
+
|
749
|
+
/**
|
750
|
+
* The definition of a raw HTML element.
|
751
|
+
* <div class="notapi">
|
752
|
+
* This class is not really part of the API. It just illustrates the properties
|
753
|
+
* that developers can use to define and create elements made from raw HTML code.
|
754
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.html} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
755
|
+
* </div>
|
756
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.<br />
|
757
|
+
* To access HTML elements use {@link CKEDITOR.dom.document#getById}
|
758
|
+
* @name CKEDITOR.dialog.definition.html
|
759
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
760
|
+
* @constructor
|
761
|
+
* @example
|
762
|
+
* // There is no constructor for this class, the user just has to define an
|
763
|
+
* // object with the appropriate properties.
|
764
|
+
*
|
765
|
+
* // Example 1:
|
766
|
+
* {
|
767
|
+
* <b>type : 'html',</b>
|
768
|
+
* html : '<h3>This is some sample HTML content.</h3>'
|
769
|
+
* }
|
770
|
+
* @example
|
771
|
+
* // Example 2:
|
772
|
+
* // Complete sample with document.getById() call when the "Ok" button is clicked.
|
773
|
+
* var dialogDefinition =
|
774
|
+
* {
|
775
|
+
* title : 'Sample dialog',
|
776
|
+
* minWidth : 300,
|
777
|
+
* minHeight : 200,
|
778
|
+
* onOk : function() {
|
779
|
+
* // "this" is now a CKEDITOR.dialog object.
|
780
|
+
* var document = this.getElement().getDocument();
|
781
|
+
* // document = CKEDITOR.dom.document
|
782
|
+
* var element = <b>document.getById( 'myDiv' );</b>
|
783
|
+
* if ( element )
|
784
|
+
* alert( element.getHtml() );
|
785
|
+
* },
|
786
|
+
* contents : [
|
787
|
+
* {
|
788
|
+
* id : 'tab1',
|
789
|
+
* label : '',
|
790
|
+
* title : '',
|
791
|
+
* elements :
|
792
|
+
* [
|
793
|
+
* {
|
794
|
+
* <b>type : 'html',</b>
|
795
|
+
* html : '<b><div id="myDiv">Sample <b>text</b>.</div></b><div id="otherId">Another div.</div>'
|
796
|
+
* },
|
797
|
+
* ]
|
798
|
+
* }
|
799
|
+
* ],
|
800
|
+
* buttons : [ CKEDITOR.dialog.cancelButton, CKEDITOR.dialog.okButton ]
|
801
|
+
* };
|
802
|
+
*/
|
803
|
+
|
804
|
+
/**
|
805
|
+
* (Required) HTML code of this element.
|
806
|
+
* @name CKEDITOR.dialog.definition.html.prototype.html
|
807
|
+
* @type String
|
808
|
+
* @field
|
809
|
+
* @example
|
810
|
+
*/
|
811
|
+
|
812
|
+
// ----- radio ------
|
813
|
+
|
814
|
+
/**
|
815
|
+
* The definition of a radio group.
|
816
|
+
* <div class="notapi">
|
817
|
+
* This class is not really part of the API. It just illustrates the properties
|
818
|
+
* that developers can use to define and create groups of radio buttons.
|
819
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.radio} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
820
|
+
* </div>
|
821
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
822
|
+
* @name CKEDITOR.dialog.definition.radio
|
823
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
824
|
+
* @constructor
|
825
|
+
* @example
|
826
|
+
* // There is no constructor for this class, the user just has to define an
|
827
|
+
* // object with the appropriate properties.
|
828
|
+
*
|
829
|
+
* // Example:
|
830
|
+
* {
|
831
|
+
* <b>type : 'radio',</b>
|
832
|
+
* id : 'country',
|
833
|
+
* label : 'Which country is bigger',
|
834
|
+
* items : [ [ 'France', 'FR' ], [ 'Germany', 'DE' ] ] ,
|
835
|
+
* style : 'color:green',
|
836
|
+
* 'default' : 'DE',
|
837
|
+
* onClick : function() {
|
838
|
+
* // this = CKEDITOR.ui.dialog.radio
|
839
|
+
* alert( 'Current value: ' + this.getValue() );
|
840
|
+
* }
|
841
|
+
* }
|
842
|
+
*/
|
843
|
+
|
844
|
+
/**
|
845
|
+
* The default value.
|
846
|
+
* @name CKEDITOR.dialog.definition.radio.prototype.default
|
847
|
+
* @type String
|
848
|
+
* @field
|
849
|
+
* @example
|
850
|
+
*/
|
851
|
+
|
852
|
+
/**
|
853
|
+
* (Optional) The validation function.
|
854
|
+
* @name CKEDITOR.dialog.definition.radio.prototype.validate
|
855
|
+
* @field
|
856
|
+
* @type Function
|
857
|
+
* @example
|
858
|
+
*/
|
859
|
+
|
860
|
+
/**
|
861
|
+
* An array of options. Each option is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value' is missing, then the value would be assumed to be the same as the description.
|
862
|
+
* @name CKEDITOR.dialog.definition.radio.prototype.items
|
863
|
+
* @field
|
864
|
+
* @type Array
|
865
|
+
* @example
|
866
|
+
*/
|
867
|
+
|
868
|
+
/**
|
869
|
+
* The label of the UI element.
|
870
|
+
* @name CKEDITOR.dialog.definition.radio.prototype.label
|
871
|
+
* @type String
|
872
|
+
* @field
|
873
|
+
* @example
|
874
|
+
*/
|
875
|
+
|
876
|
+
// ----- selectElement ------
|
877
|
+
|
878
|
+
/**
|
879
|
+
* The definition of a select element.
|
880
|
+
* <div class="notapi">
|
881
|
+
* This class is not really part of the API. It just illustrates the properties
|
882
|
+
* that developers can use to define and create select elements.
|
883
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.select} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
884
|
+
* </div>
|
885
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
886
|
+
* @name CKEDITOR.dialog.definition.select
|
887
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
888
|
+
* @constructor
|
889
|
+
* @example
|
890
|
+
* // There is no constructor for this class, the user just has to define an
|
891
|
+
* // object with the appropriate properties.
|
892
|
+
*
|
893
|
+
* // Example:
|
894
|
+
* {
|
895
|
+
* <b>type : 'select',</b>
|
896
|
+
* id : 'sport',
|
897
|
+
* label : 'Select your favourite sport',
|
898
|
+
* items : [ [ 'Basketball' ], [ 'Baseball' ], [ 'Hockey' ], [ 'Football' ] ],
|
899
|
+
* 'default' : 'Football',
|
900
|
+
* onChange : function( api ) {
|
901
|
+
* // this = CKEDITOR.ui.dialog.select
|
902
|
+
* alert( 'Current value: ' + this.getValue() );
|
903
|
+
* }
|
904
|
+
* }
|
905
|
+
*/
|
906
|
+
|
907
|
+
/**
|
908
|
+
* The default value.
|
909
|
+
* @name CKEDITOR.dialog.definition.select.prototype.default
|
910
|
+
* @type String
|
911
|
+
* @field
|
912
|
+
* @example
|
913
|
+
*/
|
914
|
+
|
915
|
+
/**
|
916
|
+
* (Optional) The validation function.
|
917
|
+
* @name CKEDITOR.dialog.definition.select.prototype.validate
|
918
|
+
* @field
|
919
|
+
* @type Function
|
920
|
+
* @example
|
921
|
+
*/
|
922
|
+
|
923
|
+
/**
|
924
|
+
* An array of options. Each option is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value' is missing, then the value would be assumed to be the same as the description.
|
925
|
+
* @name CKEDITOR.dialog.definition.select.prototype.items
|
926
|
+
* @field
|
927
|
+
* @type Array
|
928
|
+
* @example
|
929
|
+
*/
|
930
|
+
|
931
|
+
/**
|
932
|
+
* (Optional) Set this to true if you'd like to have a multiple-choice select box.
|
933
|
+
* @name CKEDITOR.dialog.definition.select.prototype.multiple
|
934
|
+
* @type Boolean
|
935
|
+
* @field
|
936
|
+
* @example
|
937
|
+
* @default false
|
938
|
+
*/
|
939
|
+
|
940
|
+
/**
|
941
|
+
* (Optional) The number of items to display in the select box.
|
942
|
+
* @name CKEDITOR.dialog.definition.select.prototype.size
|
943
|
+
* @type Number
|
944
|
+
* @field
|
945
|
+
* @example
|
946
|
+
*/
|
947
|
+
|
948
|
+
/**
|
949
|
+
* The label of the UI element.
|
950
|
+
* @name CKEDITOR.dialog.definition.select.prototype.label
|
951
|
+
* @type String
|
952
|
+
* @field
|
953
|
+
* @example
|
954
|
+
*/
|
955
|
+
|
956
|
+
// ----- textInput -----
|
957
|
+
|
958
|
+
/**
|
959
|
+
* The definition of a text field (single line).
|
960
|
+
* <div class="notapi">
|
961
|
+
* This class is not really part of the API. It just illustrates the properties
|
962
|
+
* that developers can use to define and create text fields.
|
963
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textInput} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
964
|
+
* </div>
|
965
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
966
|
+
* @name CKEDITOR.dialog.definition.textInput
|
967
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
968
|
+
* @constructor
|
969
|
+
* @example
|
970
|
+
* // There is no constructor for this class, the user just has to define an
|
971
|
+
* // object with the appropriate properties.
|
972
|
+
*
|
973
|
+
* {
|
974
|
+
* <b>type : 'text',</b>
|
975
|
+
* id : 'name',
|
976
|
+
* label : 'Your name',
|
977
|
+
* 'default' : '',
|
978
|
+
* validate : function() {
|
979
|
+
* if ( !this.getValue() )
|
980
|
+
* {
|
981
|
+
* api.openMsgDialog( '', 'Name cannot be empty.' );
|
982
|
+
* return false;
|
983
|
+
* }
|
984
|
+
* }
|
985
|
+
* }
|
986
|
+
*/
|
987
|
+
|
988
|
+
/**
|
989
|
+
* The default value.
|
990
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.default
|
991
|
+
* @type String
|
992
|
+
* @field
|
993
|
+
* @example
|
994
|
+
*/
|
995
|
+
|
996
|
+
/**
|
997
|
+
* (Optional) The maximum length.
|
998
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.maxLength
|
999
|
+
* @type Number
|
1000
|
+
* @field
|
1001
|
+
* @example
|
1002
|
+
*/
|
1003
|
+
|
1004
|
+
/**
|
1005
|
+
* (Optional) The size of the input field.
|
1006
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.size
|
1007
|
+
* @type Number
|
1008
|
+
* @field
|
1009
|
+
* @example
|
1010
|
+
*/
|
1011
|
+
|
1012
|
+
/**
|
1013
|
+
* (Optional) The validation function.
|
1014
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.validate
|
1015
|
+
* @field
|
1016
|
+
* @type Function
|
1017
|
+
* @example
|
1018
|
+
*/
|
1019
|
+
|
1020
|
+
/**
|
1021
|
+
* The label of the UI element.
|
1022
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.label
|
1023
|
+
* @type String
|
1024
|
+
* @field
|
1025
|
+
* @example
|
1026
|
+
*/
|
1027
|
+
|
1028
|
+
// ----- textarea ------
|
1029
|
+
|
1030
|
+
/**
|
1031
|
+
* The definition of a text field (multiple lines).
|
1032
|
+
* <div class="notapi">
|
1033
|
+
* This class is not really part of the API. It just illustrates the properties
|
1034
|
+
* that developers can use to define and create textarea.
|
1035
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textarea} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
1036
|
+
* </div>
|
1037
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
1038
|
+
* @name CKEDITOR.dialog.definition.textarea
|
1039
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
1040
|
+
* @constructor
|
1041
|
+
* @example
|
1042
|
+
* // There is no constructor for this class, the user just has to define an
|
1043
|
+
* // object with the appropriate properties.
|
1044
|
+
*
|
1045
|
+
* // Example:
|
1046
|
+
* {
|
1047
|
+
* <b>type : 'textarea',</b>
|
1048
|
+
* id : 'message',
|
1049
|
+
* label : 'Your comment',
|
1050
|
+
* 'default' : '',
|
1051
|
+
* validate : function() {
|
1052
|
+
* if ( this.getValue().length < 5 )
|
1053
|
+
* {
|
1054
|
+
* api.openMsgDialog( 'The comment is too short.' );
|
1055
|
+
* return false;
|
1056
|
+
* }
|
1057
|
+
* }
|
1058
|
+
* }
|
1059
|
+
*/
|
1060
|
+
|
1061
|
+
/**
|
1062
|
+
* The number of rows.
|
1063
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.rows
|
1064
|
+
* @type Number
|
1065
|
+
* @field
|
1066
|
+
* @example
|
1067
|
+
*/
|
1068
|
+
|
1069
|
+
/**
|
1070
|
+
* The number of columns.
|
1071
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.cols
|
1072
|
+
* @type Number
|
1073
|
+
* @field
|
1074
|
+
* @example
|
1075
|
+
*/
|
1076
|
+
|
1077
|
+
/**
|
1078
|
+
* (Optional) The validation function.
|
1079
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.validate
|
1080
|
+
* @field
|
1081
|
+
* @type Function
|
1082
|
+
* @example
|
1083
|
+
*/
|
1084
|
+
|
1085
|
+
/**
|
1086
|
+
* The default value.
|
1087
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.default
|
1088
|
+
* @type String
|
1089
|
+
* @field
|
1090
|
+
* @example
|
1091
|
+
*/
|
1092
|
+
|
1093
|
+
/**
|
1094
|
+
* The label of the UI element.
|
1095
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.label
|
1096
|
+
* @type String
|
1097
|
+
* @field
|
1098
|
+
* @example
|
1099
|
+
*/
|