qwerty 0.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +16 -0
- data/Rakefile +39 -0
- data/app/assets/images/qwerty/admin/icons/down.png +0 -0
- data/app/assets/images/qwerty/admin/icons/up.png +0 -0
- data/app/assets/javascripts/application.js +8 -0
- data/app/assets/javascripts/ckeditor/CHANGES.html +1433 -0
- data/app/assets/javascripts/ckeditor/INSTALL.html +92 -0
- data/app/assets/javascripts/ckeditor/LICENSE.html +1327 -0
- data/app/assets/javascripts/ckeditor/adapters/jquery.js +6 -0
- data/app/assets/javascripts/ckeditor/ckeditor.js +149 -0
- data/app/assets/javascripts/ckeditor/ckeditor.pack +211 -0
- data/app/assets/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/app/assets/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/app/assets/javascripts/ckeditor/ckeditor_source.js +35 -0
- data/app/assets/javascripts/ckeditor/config.js +78 -0
- data/app/assets/javascripts/ckeditor/contents.css +25 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/gal_add.jpg +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/gal_add.png +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/gal_del.png +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/gal_more.gif +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/preloader.gif +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/ckfnothumb.gif +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/mp3.gif +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/pdf.gif +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/rar.gif +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/swf.gif +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/xls.gif +0 -0
- data/app/assets/javascripts/ckeditor/filebrowser/javascripts/application.js +222 -0
- data/app/assets/javascripts/ckeditor/filebrowser/javascripts/fileuploader.js +1301 -0
- data/app/assets/javascripts/ckeditor/filebrowser/javascripts/jquery.js +18 -0
- data/app/assets/javascripts/ckeditor/filebrowser/javascripts/jquery.tmpl.js +10 -0
- data/app/assets/javascripts/ckeditor/filebrowser/javascripts/rails.js +363 -0
- data/app/assets/javascripts/ckeditor/filebrowser/stylesheets/uploader.css +117 -0
- data/app/assets/javascripts/ckeditor/images/spacer.gif +0 -0
- data/app/assets/javascripts/ckeditor/lang/_languages.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/_translationstatus.txt +61 -0
- data/app/assets/javascripts/ckeditor/lang/af.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/ar.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/bg.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/bn.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/bs.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/ca.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/cs.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/cy.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/da.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/de.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/el.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/en-au.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/en-gb.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/en.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/eo.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/es.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/et.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/eu.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/fa.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/fi.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/fo.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/fr.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/gl.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/gu.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/he.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/hi.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/hr.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/hu.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/is.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/it.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/ja.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/ka.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/km.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/ko.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/lt.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/lv.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/mn.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/ms.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/nb.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/nl.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/no.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/pl.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/pt.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/ro.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/ru.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/sk.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/sl.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/sr.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/sv.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/th.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/tr.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/uk.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/vi.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/zh.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/ajax/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/attachment/dialogs/attachment.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/attachment/lang/en.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/attachment/lang/ru.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/attachment/lang/uk.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/attachment/plugin.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/docprops/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/dialogs/embed.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/images/embed.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/lang/en.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/lang/ru.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/lang/uk.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/plugin.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/en.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/styles/styles/default.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/xml/plugin.js +6 -0
- data/app/assets/javascripts/ckeditor/skins/kama/dialog.css +10 -0
- data/app/assets/javascripts/ckeditor/skins/kama/editor.css +13 -0
- data/app/assets/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/app/assets/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/dialog.css +9 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/editor.css +14 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/app/assets/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/app/assets/javascripts/ckeditor/skins/v2/dialog.css +9 -0
- data/app/assets/javascripts/ckeditor/skins/v2/editor.css +13 -0
- data/app/assets/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/app/assets/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/app/assets/javascripts/ckeditor/themes/default/theme.js +8 -0
- data/app/assets/javascripts/documents.js +2 -0
- data/app/assets/javascripts/qwerty_admin/documents.js +2 -0
- data/app/assets/javascripts/qwerty_admin/nodes.js +2 -0
- data/app/assets/stylesheets/application.css +6 -0
- data/app/assets/stylesheets/qwerty_admin/base.css +5 -0
- data/app/assets/stylesheets/qwerty_admin/documents.css +0 -0
- data/app/assets/stylesheets/qwerty_admin/nodes.css +4 -0
- data/app/controllers/documents_controller.rb +50 -0
- data/app/controllers/qwerty_admin/base_controller.rb +8 -0
- data/app/controllers/qwerty_admin/documents_controller.rb +35 -0
- data/app/controllers/qwerty_admin/nodes_controller.rb +34 -0
- data/app/controllers/qwerty_base_controller.rb +6 -0
- data/app/helpers/documents_helper.rb +11 -0
- data/app/helpers/qwerty_admin/base_helper.rb +2 -0
- data/app/helpers/qwerty_admin/documents_helper.rb +2 -0
- data/app/helpers/qwerty_admin/nodes_helper.rb +2 -0
- data/app/helpers/qwerty_base_helper.rb +2 -0
- data/app/models/ckeditor/asset.rb +4 -0
- data/app/models/ckeditor/attachment_file.rb +15 -0
- data/app/models/ckeditor/picture.rb +13 -0
- data/app/models/document.rb +50 -0
- data/app/models/node/sugar.rb +30 -0
- data/app/models/node.rb +71 -0
- data/app/models/node_setting.rb +48 -0
- data/app/models/sitemap.rb +36 -0
- data/app/views/cms/show.html.erb +32 -0
- data/app/views/layouts/application.html.erb +72 -0
- data/app/views/layouts/qwerty_admin.html.erb +51 -0
- data/app/views/qwerty_admin/documents/_document.html.erb +45 -0
- data/app/views/qwerty_admin/documents/_form.html.erb +42 -0
- data/app/views/qwerty_admin/documents/edit.html.erb +5 -0
- data/app/views/qwerty_admin/documents/index.html.erb +34 -0
- data/app/views/qwerty_admin/documents/new.html.erb +5 -0
- data/app/views/qwerty_admin/documents/show.html.erb +35 -0
- data/app/views/qwerty_admin/nodes/_form.html.erb +28 -0
- data/app/views/qwerty_admin/nodes/_node.html.erb +15 -0
- data/app/views/qwerty_admin/nodes/edit.html.erb +5 -0
- data/app/views/qwerty_admin/nodes/index.html.erb +10 -0
- data/app/views/qwerty_admin/nodes/new.html.erb +5 -0
- data/config/environment.rb +0 -0
- data/config/initializers/ckeditor.rb +18 -0
- data/config/initializers/dragonfly.rb +1 -0
- data/config/initializers/simple_form.rb +15 -0
- data/config/routes.rb +26 -0
- data/db/migrate/20110909144240_create_nodes.rb +13 -0
- data/db/migrate/20110909144300_create_documents.rb +16 -0
- data/db/migrate/20110909144805_create_node_settings.rb +14 -0
- data/db/migrate/20110915174533_node_setting_typecasting.rb +9 -0
- data/db/migrate/20110915190140_node_ancestry.rb +9 -0
- data/db/migrate/20110919130646_document_extra_fields.rb +17 -0
- data/db/migrate/20110919175405_document_meta_fields.rb +15 -0
- data/db/migrate/20110919190859_create_ckeditor_assets.rb +26 -0
- data/db/migrate/20110922113655_document_image_alt.rb +9 -0
- data/db/migrate/20110922185424_document_template.rb +9 -0
- data/db/seed.rb +2 -0
- data/lib/qwerty/allow_auth.rb +7 -0
- data/lib/qwerty/deny_auth.rb +7 -0
- data/lib/qwerty/engine.rb +5 -0
- data/lib/qwerty/lipsum.rb +35 -0
- data/lib/qwerty/version.rb +3 -0
- data/lib/qwerty.rb +28 -0
- data/lib/tasks/qwerty_tasks.rake +5 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +24 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config/sitemap.rb +51 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +80 -0
- data/test/dummy/log/development.log +66134 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/ckeditor_assets/attachments/2/p1010062.jpg +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/1/content_member_9440972.jpeg +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/1/original_member_9440972.jpeg +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/1/thumb_member_9440972.jpeg +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/3/content_p1010062.jpg +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/3/original_p1010062.jpg +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/3/thumb_p1010062.jpg +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/tmp/cache/assets/BDE/4D0/sprockets%2F311d16556d4f920021d040093c966028 +0 -0
- data/test/dummy/tmp/cache/assets/BEE/610/sprockets%2F9ca401c4946787b484734547031c5103 +0 -0
- data/test/dummy/tmp/cache/assets/C0C/410/sprockets%2F0458549c378353630d8464656e676ef6 +0 -0
- data/test/dummy/tmp/cache/assets/C10/0E0/sprockets%2F9e54dc493752b111413337f23033360d +0 -0
- data/test/dummy/tmp/cache/assets/C21/EC0/sprockets%2F1398d076e5760f608e00361c7b937033 +0 -0
- data/test/dummy/tmp/cache/assets/C4C/A20/sprockets%2F68214d7c6d2710159b107718743d1e4d +0 -0
- data/test/dummy/tmp/cache/assets/C56/370/sprockets%2F44e516819a1265e09ce775c124f31739 +0 -0
- data/test/dummy/tmp/cache/assets/C59/B40/sprockets%2Fc84747db707d581e4263412b7a395790 +0 -0
- data/test/dummy/tmp/cache/assets/C67/810/sprockets%2F922fd3026b350641aa1538f652b3f120 +0 -0
- data/test/dummy/tmp/cache/assets/C6B/670/sprockets%2F0183084bcf7e5125202ba334159382cc +0 -0
- data/test/dummy/tmp/cache/assets/C75/A20/sprockets%2Fb494025290020aeb38c56e8f17b44147 +0 -0
- data/test/dummy/tmp/cache/assets/C7A/010/sprockets%2F286345c22bee252f4c144a43977c9113 +0 -0
- data/test/dummy/tmp/cache/assets/C7E/380/sprockets%2F67e35841692a097ec02be71a162138f4 +0 -0
- data/test/dummy/tmp/cache/assets/C7F/A80/sprockets%2F88ff149f8505a00960e9c215d80035d0 +0 -0
- data/test/dummy/tmp/cache/assets/C84/110/sprockets%2F607cb3bb8d12865a79940464a048f239 +0 -0
- data/test/dummy/tmp/cache/assets/C87/400/sprockets%2F330b0ed89724739f6e40e29f53005d76 +0 -0
- data/test/dummy/tmp/cache/assets/C88/040/sprockets%2F9c83928a34bc422081c784992ef131f4 +0 -0
- data/test/dummy/tmp/cache/assets/C89/2F0/sprockets%2F94dba97434f3147a95c57f118058a940 +0 -0
- data/test/dummy/tmp/cache/assets/C8A/A70/sprockets%2F1cac4566e97f982516545e402607ae83 +0 -0
- data/test/dummy/tmp/cache/assets/C8B/580/sprockets%2F68543590e73c9934289a122dd65c36bb +0 -0
- data/test/dummy/tmp/cache/assets/C8D/400/sprockets%2Fc30656a43a37db4d10fb450243b06312 +0 -0
- data/test/dummy/tmp/cache/assets/C9C/CE0/sprockets%2F7461b7410d4ec3105d71f4e42b50308d +0 -0
- data/test/dummy/tmp/cache/assets/C9E/BA0/sprockets%2F8d90fe613410226318bb7b050ae25a76 +0 -0
- data/test/dummy/tmp/cache/assets/CA8/AA0/sprockets%2F439a2b1b28b105e731fd58712e256f45 +0 -0
- data/test/dummy/tmp/cache/assets/CAB/AE0/sprockets%2F028fb517982c7010d201fcd88934c5a5 +0 -0
- data/test/dummy/tmp/cache/assets/CAC/580/sprockets%2F35e06ad8c8087d002c808a608933f41d +0 -0
- data/test/dummy/tmp/cache/assets/CAE/310/sprockets%2F014ed726e92570c181a618db4b039c98 +0 -0
- data/test/dummy/tmp/cache/assets/CB0/6A0/sprockets%2F9c579b207d73833720c2a096ae025e9c +0 -0
- data/test/dummy/tmp/cache/assets/CB8/680/sprockets%2F5abaa5243061a513d5a0456b1f108d04 +0 -0
- data/test/dummy/tmp/cache/assets/CBE/420/sprockets%2F169ec906f26ff645078942ee431b168a +0 -0
- data/test/dummy/tmp/cache/assets/CBE/D60/sprockets%2F001ccd7449d98279b377b8d168e1274e +0 -0
- data/test/dummy/tmp/cache/assets/CC9/8D0/sprockets%2F1917e845e733759a8e3635c4ea3b97e8 +0 -0
- data/test/dummy/tmp/cache/assets/CCD/AA0/sprockets%2F9764a41d0730101411d9bda28ddb4a59 +0 -0
- data/test/dummy/tmp/cache/assets/CD1/DE0/sprockets%2F866e64f9268a26b808f585d9794aa81d +0 -0
- data/test/dummy/tmp/cache/assets/CD2/6E0/sprockets%2F49709b8010a17ad8ce04a3683ac6306d +0 -0
- data/test/dummy/tmp/cache/assets/CD3/740/sprockets%2F2c7745404c11f4e2b8e8591043a8bad0 +0 -0
- data/test/dummy/tmp/cache/assets/CD5/0F0/sprockets%2F38203a3abdd568f50ff08426315e80a5 +0 -0
- data/test/dummy/tmp/cache/assets/CD5/240/sprockets%2F8d783b81ac804a06d2171a75d2b4653c +0 -0
- data/test/dummy/tmp/cache/assets/CD5/610/sprockets%2Fb27392311c7db818d8c1fa08e30055c6 +0 -0
- data/test/dummy/tmp/cache/assets/CD6/C20/sprockets%2Fb8340ca5274524b0057417fe4d6f51cf +0 -0
- data/test/dummy/tmp/cache/assets/CD7/DE0/sprockets%2F4720f20e2b75f217ee197e7c50211b7e +0 -0
- data/test/dummy/tmp/cache/assets/CDF/3E0/sprockets%2F2fc85a2f075e63902a10640d968f5e2d +0 -0
- data/test/dummy/tmp/cache/assets/CE0/540/sprockets%2Fc355333ce37ace3a93e33b777c508608 +0 -0
- data/test/dummy/tmp/cache/assets/CE4/500/sprockets%2F16f65934b8aba4865072d41b267f3df5 +0 -0
- data/test/dummy/tmp/cache/assets/CE4/F80/sprockets%2Fc20b73a65ec677bf944467e29e01815a +0 -0
- data/test/dummy/tmp/cache/assets/CE6/670/sprockets%2F552338bdd216cf38c296665da29b6c72 +0 -0
- data/test/dummy/tmp/cache/assets/CE7/250/sprockets%2F365ffc773f538508666e32f201adb7a6 +0 -0
- data/test/dummy/tmp/cache/assets/CE9/E20/sprockets%2Fa60330f52bfa7476d7e79890c83e0e09 +0 -0
- data/test/dummy/tmp/cache/assets/CEB/B50/sprockets%2F25de688e596bf489043eaa01e949323a +0 -0
- data/test/dummy/tmp/cache/assets/CEC/760/sprockets%2F7e948c4f7d40843f90fb9cc1a1582057 +0 -0
- data/test/dummy/tmp/cache/assets/CF5/D10/sprockets%2Fed4f070a60c671b413546930a0bb2ce3 +0 -0
- data/test/dummy/tmp/cache/assets/CF7/360/sprockets%2F0d709f9c69de297f27b94c9f122d6831 +0 -0
- data/test/dummy/tmp/cache/assets/CFA/BC0/sprockets%2F5d2090a6bfa80d525522e8301c152edd +0 -0
- data/test/dummy/tmp/cache/assets/CFE/7B0/sprockets%2F62ee8b041b2d600cd601774e02ec53d8 +0 -0
- data/test/dummy/tmp/cache/assets/CFF/930/sprockets%2F09983bf571e99e8eff86325de42b1675 +0 -0
- data/test/dummy/tmp/cache/assets/D01/040/sprockets%2Fea215190e12741a67f81ae56c1dea337 +0 -0
- data/test/dummy/tmp/cache/assets/D03/F30/sprockets%2F41234b771cd781f506a2a0cf86ba08e5 +0 -0
- data/test/dummy/tmp/cache/assets/D05/A20/sprockets%2F8ea654085dec00b630f25102f89a1c7e +0 -0
- data/test/dummy/tmp/cache/assets/D0D/420/sprockets%2F36e003dc889f6f3f1242c6e9d1d0317a +0 -0
- data/test/dummy/tmp/cache/assets/D0D/660/sprockets%2Fb92af6b373409b8a2ac47cb29766f222 +0 -0
- data/test/dummy/tmp/cache/assets/D0D/FA0/sprockets%2Ffbd47d3b5405c8861169b5520fbc083e +0 -0
- data/test/dummy/tmp/cache/assets/D11/150/sprockets%2F2720b8f492d06b6d6b1724bc9cd941c9 +0 -0
- data/test/dummy/tmp/cache/assets/D11/1B0/sprockets%2Fb99c3678b42e004148d0868cedbe026c +0 -0
- data/test/dummy/tmp/cache/assets/D11/ED0/sprockets%2Ff7a8ed05241fef8b135024d51b94945e +0 -0
- data/test/dummy/tmp/cache/assets/D12/4F0/sprockets%2F7a26fb379fadbc24f94c345b30535287 +0 -0
- data/test/dummy/tmp/cache/assets/D15/8A0/sprockets%2F9b1ffb38905305577fcd88fc00c802b6 +0 -0
- data/test/dummy/tmp/cache/assets/D16/B10/sprockets%2Ff7f68a65b09f33f4561a4a3950eb32e8 +0 -0
- data/test/dummy/tmp/cache/assets/D17/130/sprockets%2F21b812e14954cfecf0cc7c64863b8829 +0 -0
- data/test/dummy/tmp/cache/assets/D18/010/sprockets%2F9a67ed918a54c52374df7097405cb4bc +0 -0
- data/test/dummy/tmp/cache/assets/D18/440/sprockets%2F45b53a8779090b1fea7e934296f7bc1a +0 -0
- data/test/dummy/tmp/cache/assets/D18/EB0/sprockets%2F9d5f5d6c6950d28b4df7c625190811da +0 -0
- data/test/dummy/tmp/cache/assets/D1B/BE0/sprockets%2Fab5f94041a5bd95b912e8839d86b736b +0 -0
- data/test/dummy/tmp/cache/assets/D1C/560/sprockets%2F00201c441ba9a9563b174185caa0bdea +0 -0
- data/test/dummy/tmp/cache/assets/D1C/DB0/sprockets%2Ffd38d829bdf04f189d1d55ec69209340 +0 -0
- data/test/dummy/tmp/cache/assets/D1D/2A0/sprockets%2Fe168814999aedd80caf58d82323a0f74 +0 -0
- data/test/dummy/tmp/cache/assets/D1D/A70/sprockets%2Ffd060d6fea64355d7e8438565a90ab79 +0 -0
- data/test/dummy/tmp/cache/assets/D1E/6D0/sprockets%2F4c9abb81479c230cdc309966f9cc9834 +0 -0
- data/test/dummy/tmp/cache/assets/D21/6C0/sprockets%2F634a6cf1fd591b98c81ca4f66b652994 +0 -0
- data/test/dummy/tmp/cache/assets/D24/150/sprockets%2Fd58600176d5cb1eeb26024be20a40c7b +0 -0
- data/test/dummy/tmp/cache/assets/D26/840/sprockets%2Fc76bba255c7bd803b4e027313e6ad021 +0 -0
- data/test/dummy/tmp/cache/assets/D2C/830/sprockets%2F9cc457340b3a52c2fe7a0c75b01a27a8 +0 -0
- data/test/dummy/tmp/cache/assets/D2C/EE0/sprockets%2F562208e38f8ac1f9762cc94f4ef89c66 +0 -0
- data/test/dummy/tmp/cache/assets/D2E/160/sprockets%2F1dae7e48d3c1c24b3ac21e6930a51755 +0 -0
- data/test/dummy/tmp/cache/assets/D2F/890/sprockets%2Ff7505e99736cf7d6bd254b28b8974d7e +0 -0
- data/test/dummy/tmp/cache/assets/D30/D90/sprockets%2Fb8f58f84f7f906a29cf39760854c1ec8 +0 -0
- data/test/dummy/tmp/cache/assets/D32/6E0/sprockets%2Fe0bcc2425fab37d22290d720d8ef8415 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D33/4C0/sprockets%2Fcb9a7d05043e30311d5f3e7fb81194eb +0 -0
- data/test/dummy/tmp/cache/assets/D33/EB0/sprockets%2F1446b0b73eb60c1bfb78f4360513ddf6 +0 -0
- data/test/dummy/tmp/cache/assets/D35/800/sprockets%2F6eb4a3dacdd7542329494a7403cf4c04 +0 -0
- data/test/dummy/tmp/cache/assets/D35/950/sprockets%2F4c67cda11e05b84b2fff1271368b810f +0 -0
- data/test/dummy/tmp/cache/assets/D36/280/sprockets%2F6bd1f83e30273b110d8ac69038f1e7fa +0 -0
- data/test/dummy/tmp/cache/assets/D36/2E0/sprockets%2F41224a1b9e52c2b3d964f0a8dc6e09a8 +0 -0
- data/test/dummy/tmp/cache/assets/D37/EF0/sprockets%2F80b76c20dee353677b8da0ae803f33e1 +0 -0
- data/test/dummy/tmp/cache/assets/D38/9D0/sprockets%2F87b12063ea5fc0a254088ce1c892c7db +0 -0
- data/test/dummy/tmp/cache/assets/D39/5A0/sprockets%2Ff5d437ae42ef7df4b02d603f3692a413 +0 -0
- data/test/dummy/tmp/cache/assets/D3B/870/sprockets%2Fbc3648fb40b4085ee6b5afd479c22342 +0 -0
- data/test/dummy/tmp/cache/assets/D3C/8B0/sprockets%2F16408de6b85cc18b54edca73276dc143 +0 -0
- data/test/dummy/tmp/cache/assets/D3C/C60/sprockets%2F9ad34c607b32e90c43d3e7aebb576571 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/030/sprockets%2Fd440c4b05ed0e12af58669f0c46c579d +0 -0
- data/test/dummy/tmp/cache/assets/D41/7F0/sprockets%2Fb236a9f4da15f7e9309e61d64c4e0f06 +0 -0
- data/test/dummy/tmp/cache/assets/D43/570/sprockets%2Fb490975b508fa73db3c0df9210fa39f8 +0 -0
- data/test/dummy/tmp/cache/assets/D45/3A0/sprockets%2Fd3a8b586f381ac437c3673d2ab0fe886 +0 -0
- data/test/dummy/tmp/cache/assets/D47/4A0/sprockets%2Fc9e62f7d0fb7f20004a8f08ed9d65725 +0 -0
- data/test/dummy/tmp/cache/assets/D49/810/sprockets%2F58e93e8065b1d7ebb281e2651962fbfc +0 -0
- data/test/dummy/tmp/cache/assets/D49/ED0/sprockets%2Ff4d29a55977c0e5ae3484ea6c2ad4657 +0 -0
- data/test/dummy/tmp/cache/assets/D4B/D40/sprockets%2F5fae926de30c648264e4c5fb9d09492b +0 -0
- data/test/dummy/tmp/cache/assets/D50/900/sprockets%2F6c8e56f2d88ee948dbd9b5365124b1b4 +0 -0
- data/test/dummy/tmp/cache/assets/D50/B10/sprockets%2F9758a22f2df38dae88c25246d1fd6f73 +0 -0
- data/test/dummy/tmp/cache/assets/D50/EC0/sprockets%2Fb6190193bb523598adba6894899fecea +0 -0
- data/test/dummy/tmp/cache/assets/D52/0D0/sprockets%2F1e9871b6efe36e72795998502daab0fd +0 -0
- data/test/dummy/tmp/cache/assets/D53/4A0/sprockets%2F4d4e07b2c68be65d62efc4728f478e38 +0 -0
- data/test/dummy/tmp/cache/assets/D54/3F0/sprockets%2F1ddc697da6d01003513c3eddb2230b6f +0 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/test/dummy/tmp/cache/assets/D56/7F0/sprockets%2F82c200adea1fd64ca48b7280c1c5172b +0 -0
- data/test/dummy/tmp/cache/assets/D58/BB0/sprockets%2F3962e2936f79b20e77cf14ed8cf8ff51 +0 -0
- data/test/dummy/tmp/cache/assets/D59/520/sprockets%2F83d4ec4e5f2ac1c2b0b7353d50320f5c +0 -0
- data/test/dummy/tmp/cache/assets/D5A/AB0/sprockets%2F372189f24bd2fa7c98e9b87b9fa178a8 +0 -0
- data/test/dummy/tmp/cache/assets/D5B/D20/sprockets%2F1910a944e3a4b4aab20f1f7ddb36527d +0 -0
- data/test/dummy/tmp/cache/assets/D5C/0B0/sprockets%2F67f5b0fa70009fce3a2ab0ec47d43730 +0 -0
- data/test/dummy/tmp/cache/assets/D5C/660/sprockets%2Fc8ce9c92534d5b688cb78873ab3f7f28 +0 -0
- data/test/dummy/tmp/cache/assets/D5C/E70/sprockets%2Fbe7fe4a67e5cb7897818836d4506efc4 +0 -0
- data/test/dummy/tmp/cache/assets/D5F/E50/sprockets%2Fe0c1efda752b0a4bf1a9d96234b22943 +0 -0
- data/test/dummy/tmp/cache/assets/D63/D60/sprockets%2F5be58d292d69530da023d07ede4aa33c +0 -0
- data/test/dummy/tmp/cache/assets/D6A/AE0/sprockets%2F53d6cfe0033a01e79e8b0edff282d382 +0 -0
- data/test/dummy/tmp/cache/assets/D6C/DE0/sprockets%2F0f44fde84ce5e309312bc6c4ff10728c +0 -0
- data/test/dummy/tmp/cache/assets/D6D/6D0/sprockets%2F580810d4c6e48f4ea8aa92ba9aaa3828 +0 -0
- data/test/dummy/tmp/cache/assets/D75/730/sprockets%2F9552cd68a860be264158d61eedaa66bf +0 -0
- data/test/dummy/tmp/cache/assets/D75/890/sprockets%2F0b391ab1d7496516ec38b8ff4f8d33be +0 -0
- data/test/dummy/tmp/cache/assets/D76/1D0/sprockets%2F81ee83473f2dc8f215bc19b2de37e3b9 +0 -0
- data/test/dummy/tmp/cache/assets/D77/CC0/sprockets%2F2f3c6a31d7e596f39e74751cccbf21f5 +0 -0
- data/test/dummy/tmp/cache/assets/D78/FC0/sprockets%2Feea9f4eb87db37fc1f4852b91302817d +0 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/test/dummy/tmp/cache/assets/D84/740/sprockets%2F91d64ad24d49c65bb8fd59fb5776d70f +0 -0
- data/test/dummy/tmp/cache/assets/D87/900/sprockets%2Ffe2af6a88486755788ef36046fadba5e +0 -0
- data/test/dummy/tmp/cache/assets/D89/700/sprockets%2F99213cf7c36ff7c75dfeb875f1d0588b +0 -0
- data/test/dummy/tmp/cache/assets/D8B/710/sprockets%2F18688d5b9ad2e9ee3c99f1fd7f03c872 +0 -0
- data/test/dummy/tmp/cache/assets/D8E/1E0/sprockets%2Fbf3d1fe102ec44134f5cd4427bd3e8b1 +0 -0
- data/test/dummy/tmp/cache/assets/D92/8E0/sprockets%2Fb0e2b0c077a83b9f21c59bde03d44ef4 +0 -0
- data/test/dummy/tmp/cache/assets/D92/F60/sprockets%2Fbc58389eadd867e5b57b89c92bc8963e +0 -0
- data/test/dummy/tmp/cache/assets/D96/DE0/sprockets%2F51c47cc6ec633ad52c52e57182fdecb0 +0 -0
- data/test/dummy/tmp/cache/assets/D9A/CB0/sprockets%2F91ab4aaa9e772164ba8a744c65ecab76 +0 -0
- data/test/dummy/tmp/cache/assets/D9C/410/sprockets%2F8b2d367c1b8dc92c17bcac7c36af1971 +0 -0
- data/test/dummy/tmp/cache/assets/D9C/D80/sprockets%2F8b11a8fd930b5eadd58b9e2dc2523f17 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/1F0/sprockets%2F1da9f517db0b6b474c57f7c74c5d2ab7 +0 -0
- data/test/dummy/tmp/cache/assets/DA0/630/sprockets%2Ff59a4ccd0896af3cec2179f0b2817cc2 +0 -0
- data/test/dummy/tmp/cache/assets/DA0/A90/sprockets%2F38ccaad5b5ca95079568aaabf9157b72 +0 -0
- data/test/dummy/tmp/cache/assets/DA0/BF0/sprockets%2Fba8192bb45ac9f5668ed47dfdc1d2512 +0 -0
- data/test/dummy/tmp/cache/assets/DA0/F80/sprockets%2F2855b4dfd7f7154ae74ac4ed85bb433a +0 -0
- data/test/dummy/tmp/cache/assets/DA2/CC0/sprockets%2F9cc592e1e03a480f97b7f36e2be70cdb +0 -0
- data/test/dummy/tmp/cache/assets/DA3/450/sprockets%2Fadbd33c8699d2fd56903b1cf66de207b +0 -0
- data/test/dummy/tmp/cache/assets/DA3/C00/sprockets%2Fd8bf48f3482c1f1917b6e007ffb8cc0d +0 -0
- data/test/dummy/tmp/cache/assets/DA4/C00/sprockets%2Ff792a72a4b0cfcb23a49927e298fb5cd +0 -0
- data/test/dummy/tmp/cache/assets/DA5/660/sprockets%2F4fc47a92c03dfa1768fda7b8e4ef2822 +0 -0
- data/test/dummy/tmp/cache/assets/DAB/720/sprockets%2Ffde1e8b346c4513c94e7d94fbd8c67b0 +0 -0
- data/test/dummy/tmp/cache/assets/DAC/ED0/sprockets%2Fe5426f71dffe4762c8faad05f890c65c +0 -0
- data/test/dummy/tmp/cache/assets/DB2/130/sprockets%2F646dea1c956d67dbfed9c8656f2670bb +0 -0
- data/test/dummy/tmp/cache/assets/DB2/3A0/sprockets%2F1d88ecba6d031d6ee29ffb5ef9874906 +0 -0
- data/test/dummy/tmp/cache/assets/DB2/900/sprockets%2F2f0372a25fdede516d5a2afbd4b3c100 +0 -0
- data/test/dummy/tmp/cache/assets/DB5/D30/sprockets%2Fa14a0cc51baa7132ab9c8f0b99a912cd +0 -0
- data/test/dummy/tmp/cache/assets/DB6/260/sprockets%2F472beffc68fb9e59623f21f91edfc546 +0 -0
- data/test/dummy/tmp/cache/assets/DB7/4C0/sprockets%2F0e9f81e64a27e86fbb7969f2a4ff4cb7 +0 -0
- data/test/dummy/tmp/cache/assets/DC2/D00/sprockets%2F1e633d7de336bd8bf5fea00e101d61fe +0 -0
- data/test/dummy/tmp/cache/assets/DC5/BF0/sprockets%2Fc0de69af1ee5606ceaf01dc6c46c1850 +0 -0
- data/test/dummy/tmp/cache/assets/DC7/7F0/sprockets%2Fd07dad14b06b063b7288e9bf68eb1dbb +0 -0
- data/test/dummy/tmp/cache/assets/DCE/2F0/sprockets%2F79d9c914093bfa09fd0d312f1cfdccf2 +0 -0
- data/test/dummy/tmp/cache/assets/DCF/6B0/sprockets%2F7a7ee808b774fa10dbacb6dbf79404e3 +0 -0
- data/test/dummy/tmp/cache/assets/DD1/B20/sprockets%2F53b5cdebe10ee9593ac070ee36f8f1d7 +0 -0
- data/test/dummy/tmp/cache/assets/DD2/1E0/sprockets%2F8db8160d9519ffa45c4cfa60cce87cb1 +0 -0
- data/test/dummy/tmp/cache/assets/DD4/710/sprockets%2F5496d239a661dcfcbac8f1ea993f3a0f +0 -0
- data/test/dummy/tmp/cache/assets/DD4/E40/sprockets%2Fec35368ec5e2dcbb814891bfbf94b51d +0 -0
- data/test/dummy/tmp/cache/assets/DD5/110/sprockets%2Fffc56a910d1cfefb2872c1379f91ac5f +0 -0
- data/test/dummy/tmp/cache/assets/DD6/260/sprockets%2F9eb469e2ec6d1ea639be1a5dfd3990b2 +0 -0
- data/test/dummy/tmp/cache/assets/DDD/710/sprockets%2F3cccf767b189d7e7f1e13f13790cdfed +0 -0
- data/test/dummy/tmp/cache/assets/DE0/490/sprockets%2Ff0fc479a83e9539db2d65edaf96df32a +0 -0
- data/test/dummy/tmp/cache/assets/DEB/0E0/sprockets%2F0ca4738d4bc33f23fcac201d38cbbfc8 +0 -0
- data/test/dummy/tmp/cache/assets/DEB/170/sprockets%2Fdea4e31c9262d2b70ebe32d6d0f22ecb +0 -0
- data/test/dummy/tmp/cache/assets/DED/9E0/sprockets%2Fdaccdeeaa07426dea5dde08b57512234 +0 -0
- data/test/dummy/tmp/cache/assets/DF1/4E0/sprockets%2Ff862c60d998967cc9eec5ababb69e98d +0 -0
- data/test/dummy/tmp/cache/assets/DF8/430/sprockets%2Fc2b9a5d3ce6c2dbfc0e2719bed22477d +0 -0
- data/test/dummy/tmp/cache/assets/DFC/880/sprockets%2Faeb6bac75bb3a8ff2aa5dd29007778c8 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E09/DF0/sprockets%2F36ef9cfea609a926571ddc3f7b06fcaf +0 -0
- data/test/dummy/tmp/cache/assets/E1B/750/sprockets%2Fda4a4b2cd44e31ee2cc3f9ec1fb1940b +0 -0
- data/test/dummy/tmp/cache/assets/E25/100/sprockets%2Faabf8c2cfd993050bdbeee5350c59b2b +0 -0
- data/test/dummy/tmp/cache/assets/E29/DA0/sprockets%2F085e2ef3fa66a0811b9ebc56d3beeceb +0 -0
- data/test/dummy/tmp/cache/assets/E35/A00/sprockets%2F3b6df3346f6fc5b9bbea28eae84fbe52 +0 -0
- data/test/dummy/tmp/cache/assets/E38/BA0/sprockets%2F0766d39ddcac557ed7bb1cfc6db69ef2 +0 -0
- data/test/dummy/tmp/cache/assets/E3B/980/sprockets%2Fd5a26ef3fd0755e8bbac9fe05fe7e4d7 +0 -0
- data/test/dummy/tmp/cache/assets/E3C/B30/sprockets%2Fcd4f66618ff5feb98ac3ce0bb26da9c9 +0 -0
- data/test/dummy/tmp/cache/assets/E53/590/sprockets%2Fcbefebb7e0390fbb1116a666cdeffa07 +0 -0
- data/test/dummy/tmp/cache/assets/E82/EB0/sprockets%2Fae4e8fc2dcd3a15f5b0a0ed945abd5ee +0 -0
- data/test/dummy/tmp/cache/assets/E8A/760/sprockets%2Ff70dde2a9e5ce6faaf045b9ae1c37dcc +0 -0
- data/test/dummy/tmp/cache/assets/E8C/070/sprockets%2F0cf1e93bfbd1c7afde52ffd72e0b66de +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/03/eb3b0b849bb3e4bfeccacb05a55c6390cda15c +42 -0
- data/test/dummy/tmp/dragonfly/cache/body/07/8165f0f6b32937fddce91b5243a25cc39c75ad +150 -0
- data/test/dummy/tmp/dragonfly/cache/body/0d/3c95d8ceec588177a8c7e316ef01525f73d24d +14 -0
- data/test/dummy/tmp/dragonfly/cache/body/10/4ba2e7b7368c124e23143ab9648288368c78c5 +10 -0
- data/test/dummy/tmp/dragonfly/cache/body/10/82b7c75ddade9dce4df7b6d3787e94fd7c3272 +7 -0
- data/test/dummy/tmp/dragonfly/cache/body/12/139478cdc8419701c49d64aaa4acc724acae48 +12 -0
- data/test/dummy/tmp/dragonfly/cache/body/13/b758f2813676b52fb469b302599f18382368fd +7 -0
- data/test/dummy/tmp/dragonfly/cache/body/1c/88ec9e82fc2e0ef8a8179d60c77257d42aff74 +14 -0
- data/test/dummy/tmp/dragonfly/cache/body/20/701ae50a0ef8711e59bf9a156c100a1b7638d2 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/22/cd6d21c677a1cff079c5654bed58927239cacf +79 -0
- data/test/dummy/tmp/dragonfly/cache/body/36/1dd588cb23da637742baed804ccf4c59f8465f +14 -0
- data/test/dummy/tmp/dragonfly/cache/body/3c/1bb177cade2d463575b2795c5e57f7c4dbd696 +9353 -0
- data/test/dummy/tmp/dragonfly/cache/body/3c/ac4eb011fe38be14b2f75f3c5e4b702c021daa +7 -0
- data/test/dummy/tmp/dragonfly/cache/body/3e/f63b348d8ad48be7f3d8869f255af8d5d8b19f +8982 -0
- data/test/dummy/tmp/dragonfly/cache/body/42/05c52ebce4d502612c4b2f58818b1db0fec23b +7 -0
- data/test/dummy/tmp/dragonfly/cache/body/42/0c43d2d5b965a64dd3bf88454edc90d15ec636 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/48/253a67c3277035c2e01b70c2c3eb13762c6ff5 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/54/064bc3ca8d19cc634620d102713820646c9966 +10 -0
- data/test/dummy/tmp/dragonfly/cache/body/58/604de8cd96eab50d5bd4f2e095439c92cc1ab4 +66 -0
- data/test/dummy/tmp/dragonfly/cache/body/5c/4bb95bbbe3b68f6c67591a601e29524f33bd67 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/5f/d9282e72652fc95ea52dcc22f0efca123e4301 +1 -0
- data/test/dummy/tmp/dragonfly/cache/body/61/97eb13b4254f77f16833e1a9a8640e939d574c +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/65/2c69de0c859d6215239dd06cc4fd54c5a0e632 +5 -0
- data/test/dummy/tmp/dragonfly/cache/body/66/53f8900fd565805cad6fd4fbcdc037b83fa938 +14 -0
- data/test/dummy/tmp/dragonfly/cache/body/6e/0b2440383d4bb4165efa618c5475470d43ab6e +8 -0
- data/test/dummy/tmp/dragonfly/cache/body/71/37f667e905abafb79868df92647c49af5552d3 +7 -0
- data/test/dummy/tmp/dragonfly/cache/body/74/a915f04ea303b6b1488fedcc3095a1dc216319 +46 -0
- data/test/dummy/tmp/dragonfly/cache/body/76/116d7ed02e8dab5c22e3b872559e5f351c4711 +10 -0
- data/test/dummy/tmp/dragonfly/cache/body/79/31af4ea1434ad6dba1c6a04315b23a2d0179c2 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/95/1fda6329351be36f185c1b7a5c1fcb6104ac26 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/95/f49275feb57d8ff1d87081d61ab707c9e23e1e +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/99/b4dd5966c85ab90c361f3c129e4815f2282930 +1 -0
- data/test/dummy/tmp/dragonfly/cache/body/9a/01cd24640b519c2010cbf049bc6ccae4df3435 +26 -0
- data/test/dummy/tmp/dragonfly/cache/body/a1/16a69d513fb5d0b7530af579cab48c168536aa +9 -0
- data/test/dummy/tmp/dragonfly/cache/body/a1/d3d5a6ed952ccf4816b4a96d4767ce9bae8164 +5 -0
- data/test/dummy/tmp/dragonfly/cache/body/a3/6b28298dfba53475f7380d97ff873cf1248b97 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/a8/ea7f8211495d554e031941d005c8f7216fd68d +6 -0
- data/test/dummy/tmp/dragonfly/cache/body/aa/76cb03685d000103614b53fcdec6abd3312d78 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/ab/0ba7805258dfaffd12d7b27d2c72007bc85faf +42 -0
- data/test/dummy/tmp/dragonfly/cache/body/ad/382f97923c8dde85f5aad622c5f5c97d5b27d6 +1 -0
- data/test/dummy/tmp/dragonfly/cache/body/af/a8ef1a031e27a61d44c342608f287bafd54883 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/b1/6b131f227893150771f7d9af11475b680aebc9 +0 -0
- data/test/dummy/tmp/dragonfly/cache/body/b5/ca9f4350c61d1d1d2b23b3928cc54bf09999c5 +13 -0
- data/test/dummy/tmp/dragonfly/cache/body/b8/9f78c0a6db0f90cc13c5a358470f15d21b0f0e +79 -0
- data/test/dummy/tmp/dragonfly/cache/body/b9/eb3403996af30a4498a7d6b773266509ad8ad6 +10 -0
- data/test/dummy/tmp/dragonfly/cache/body/c2/d1fe276d6e527c155855e99dc19d239b6d71f3 +7 -0
- data/test/dummy/tmp/dragonfly/cache/body/c3/eac7335df76a2becf45783dc21a8d626453554 +42 -0
- data/test/dummy/tmp/dragonfly/cache/body/c9/c706a9b9d061158816815765de368764242445 +11 -0
- data/test/dummy/tmp/dragonfly/cache/body/cc/2b40f0a2ef5eb22d777d81575a9020898bc459 +10 -0
- data/test/dummy/tmp/dragonfly/cache/body/d4/2659abf79929384348c3dc39a7a6c150d5939d +41 -0
- data/test/dummy/tmp/dragonfly/cache/body/d5/73b73186cdf4007c9714beafccdf0862b87c18 +7 -0
- data/test/dummy/tmp/dragonfly/cache/body/d8/30591de37575f1d8fa38f84b3060269db5a549 +42 -0
- data/test/dummy/tmp/dragonfly/cache/body/ea/8830a670f9a4513c7c67d8b577072ac01afc93 +12 -0
- data/test/dummy/tmp/dragonfly/cache/body/fc/93e44494bc4b2a53ecf1d3e95aa2d8a01339ed +364 -0
- data/test/dummy/tmp/dragonfly/cache/body/fd/ab0053425ba609387dffb0e2529a8feacc3906 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/04/cfe66775dd062d8e8ed54c63d7d7578156fcd9 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/07/91fb614e455267f3a19da4218688c3d05b0cab +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/08/583d3580bdba862155e60de9a00668e59daf9a +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/09/828a2e2227c8ee400355ae1a23ad2bd790141d +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/0d/3d65cfd83d3144d664a407c58772a9af580f2c +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/1f/f07ad344a1cb0b8ec31186f4dc9db0839ad627 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/26/1464d915347774c08b1ddf6d305783e3acfadb +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/26/73bb640eaad736de2ea11327abb3567f79c9fd +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/29/9a9ad069bc6d828e0d5f55644877ce9b62cb23 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/33/fd8b6a50207f556064a867cd45a5a913fc39e6 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/35/89edfe429efa98a23e7f9add3cfa1ef33a8b71 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/3f/f1f94c6b5c03ff4cf81cb23bfc60912c894b6f +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/51/d20274bbbbb01e6fa7dcdd39776bfb0a001dda +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/54/49e130b5f21a7d1fb0bf87bdccf473caa28fb4 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/5e/f7d5756119e2b71e82ea878824891efc8d4e98 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/64/41ffd938beeeae87f4cb84ed8cc2dc89d7ebc0 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/66/4c2f6718656261fba53eae83feecda49a4fe27 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/66/f44aba1428593600ff0e47ea6aa54362e39a59 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/75/868cd14b8d420dcd4ef44afcd20722ad7a1c3f +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/77/08cd91d09e6cc0e0393e02a0fb2e0205cf34af +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/78/5c03964addee8fda74d871c638fef44ca37a1a +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/7c/14b32e4e029b0200d54b210b4148be0349e72c +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/7f/0b8b6f8f34b458916f99a528f4cab40107490d +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/80/5841ac20acdd8dd41460c8346294abc5c4dd8f +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/87/6f1ac29d9a3be64d8ec07d988ee2f7e9210a8c +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/98/09f92ae5a13229558457833b859d1fc4073a75 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/9b/1e5d2a62e4e1c014350ded8b89e08731e51e12 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/a0/ca7d61a5e5763e257e13dcbc2b0f11abfd607c +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/a6/415b21bb312e94f5386bebaf0b9dd96f102a4c +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/ae/67c778b4cac5a750af11726e141b1c44969772 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/bb/64ca9507b7fbb26b5b3085afb8e23beb15dd58 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/bc/3d6a023e30186fa647759d74acd8538ec159d9 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/c1/7387f13692af4744efe3e2c05fb5839092ec45 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/dc/bf7c1fa5b5862d792109822d457a6be23e2fd5 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/ee/fe74949a8c2a0bbc077385a12944d9f98a12e0 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/f9/67ac04386c59253bd80f4034d18af166cc5691 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/fa/a85df3e67eaadf710176efbe0c3b1807db0824 +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/fe/97fd48b64023fee9cc7d8a12f0f1e9097058da +0 -0
- data/test/dummy/tmp/dragonfly/cache/meta/ff/d5f8f0d3f33df0282fc5c47f8761d3f328806c +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- data/test/fixtures/documents.yml +11 -0
- data/test/fixtures/node_settings.yml +11 -0
- data/test/fixtures/nodes.yml +11 -0
- data/test/functional/documents_controller_test.rb +7 -0
- data/test/functional/qwerty_admin/base_controller_test.rb +7 -0
- data/test/functional/qwerty_admin/documents_controller_test.rb +7 -0
- data/test/functional/qwerty_admin/nodes_controller_test.rb +7 -0
- data/test/functional/qwerty_base_controller_test.rb +7 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/qwerty_test.rb +7 -0
- data/test/test_helper.rb +10 -0
- data/test/unit/document_test.rb +7 -0
- data/test/unit/helpers/documents_helper_test.rb +4 -0
- data/test/unit/helpers/qwerty_admin/base_helper_test.rb +4 -0
- data/test/unit/helpers/qwerty_admin/documents_helper_test.rb +4 -0
- data/test/unit/helpers/qwerty_admin/nodes_helper_test.rb +4 -0
- data/test/unit/helpers/qwerty_base_helper_test.rb +4 -0
- data/test/unit/node_setting_test.rb +7 -0
- data/test/unit/node_test.rb +7 -0
- metadata +1195 -0
@@ -0,0 +1,7 @@
|
|
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
|
+
CKEDITOR.stylesSet.add('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{name:'Marker: Yellow',element:'span',styles:{'background-color':'Yellow'}},{name:'Marker: Green',element:'span',styles:{'background-color':'Lime'}},{name:'Big',element:'big'},{name:'Small',element:'small'},{name:'Typewriter',element:'tt'},{name:'Computer Code',element:'code'},{name:'Keyboard Phrase',element:'kbd'},{name:'Sample Text',element:'samp'},{name:'Variable',element:'var'},{name:'Deleted Text',element:'del'},{name:'Inserted Text',element:'ins'},{name:'Cited Work',element:'cite'},{name:'Inline Quotation',element:'q'},{name:'Language: RTL',element:'span',attributes:{dir:'rtl'}},{name:'Language: LTR',element:'span',attributes:{dir:'ltr'}},{name:'Image on Left',element:'img',attributes:{style:'padding: 5px; margin-right: 5px',border:'2',align:'left'}},{name:'Image on Right',element:'img',attributes:{style:'padding: 5px; margin-left: 5px',border:'2',align:'right'}},{name:'Borderless Table',element:'table',styles:{'border-style':'hidden','background-color':'#E6E6FA'}},{name:'Square Bulleted List',element:'ul',styles:{'list-style-type':'square'}}]);
|
Binary file
|
Binary file
|
@@ -0,0 +1,10 @@
|
|
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
|
+
(function(){var a=CKEDITOR.tools.cssLength,b=function(e){var f=this.id;if(!e.info)e.info={};e.info[f]=this.getValue();};function c(e){var f=0,g=0;for(var h=0,i,j=e.$.rows.length;h<j;h++){i=e.$.rows[h],f=0;for(var k=0,l,m=i.cells.length;k<m;k++){l=i.cells[k];f+=l.colSpan;}f>g&&(g=f);}return g;};function d(e,f){var g=function(i){return new CKEDITOR.dom.element(i,e.document);},h=e.plugins.dialogadvtab;return{title:e.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?310:280,onLoad:function(){var i=this,j=i.getContentElement('advanced','advStyles');if(j)j.on('change',function(k){var l=this.getStyle('width',''),m=i.getContentElement('info','txtWidth');m&&m.setValue(l,true);var n=this.getStyle('height',''),o=i.getContentElement('info','txtHeight');o&&o.setValue(n,true);});},onShow:function(){var q=this;var i=e.getSelection(),j=i.getRanges(),k=null,l=q.getContentElement('info','txtRows'),m=q.getContentElement('info','txtCols'),n=q.getContentElement('info','txtWidth'),o=q.getContentElement('info','txtHeight');if(f=='tableProperties'){if(k=i.getSelectedElement())k=k.getAscendant('table',true);else if(j.length>0){if(CKEDITOR.env.webkit)j[0].shrink(CKEDITOR.NODE_ELEMENT);var p=j[0].getCommonAncestor(true);k=p.getAscendant('table',true);}q._.selectedElement=k;}if(k){q.setupContent(k);l&&l.disable();m&&m.disable();}else{l&&l.enable();m&&m.enable();}n&&n.onChange();o&&o.onChange();},onOk:function(){var i=e.getSelection(),j=this._.selectedElement&&i.createBookmarks(),k=this._.selectedElement||g('table'),l=this,m={};this.commitContent(m,k);if(m.info){var n=m.info;if(!this._.selectedElement){var o=k.append(g('tbody')),p=parseInt(n.txtRows,10)||0,q=parseInt(n.txtCols,10)||0;for(var r=0;r<p;r++){var s=o.append(g('tr'));for(var t=0;t<q;t++){var u=s.append(g('td'));if(!CKEDITOR.env.ie)u.append(g('br'));}}}var v=n.selHeaders;if(!k.$.tHead&&(v=='row'||v=='both')){var w=new CKEDITOR.dom.element(k.$.createTHead());o=k.getElementsByTag('tbody').getItem(0);var x=o.getElementsByTag('tr').getItem(0);for(r=0;r<x.getChildCount();r++){var y=x.getChild(r);if(y.type==CKEDITOR.NODE_ELEMENT&&!y.data('cke-bookmark')){y.renameNode('th');y.setAttribute('scope','col');}}w.append(x.remove());}if(k.$.tHead!==null&&!(v=='row'||v=='both')){w=new CKEDITOR.dom.element(k.$.tHead);o=k.getElementsByTag('tbody').getItem(0);var z=o.getFirst();while(w.getChildCount()>0){x=w.getFirst();for(r=0;r<x.getChildCount();r++){var A=x.getChild(r);if(A.type==CKEDITOR.NODE_ELEMENT){A.renameNode('td');A.removeAttribute('scope');
|
8
|
+
}}x.insertBefore(z);}w.remove();}if(!this.hasColumnHeaders&&(v=='col'||v=='both'))for(s=0;s<k.$.rows.length;s++){A=new CKEDITOR.dom.element(k.$.rows[s].cells[0]);A.renameNode('th');A.setAttribute('scope','row');}if(this.hasColumnHeaders&&!(v=='col'||v=='both'))for(r=0;r<k.$.rows.length;r++){s=new CKEDITOR.dom.element(k.$.rows[r]);if(s.getParent().getName()=='tbody'){A=new CKEDITOR.dom.element(s.$.cells[0]);A.renameNode('td');A.removeAttribute('scope');}}n.txtHeight?k.setStyle('height',n.txtHeight):k.removeStyle('height');n.txtWidth?k.setStyle('width',n.txtWidth):k.removeStyle('width');if(!k.getAttribute('style'))k.removeAttribute('style');}if(!this._.selectedElement){e.insertElement(k);setTimeout(function(){var B=new CKEDITOR.dom.element(k.$.rows[0].cells[0]),C=new CKEDITOR.dom.range(e.document);C.moveToPosition(B,CKEDITOR.POSITION_AFTER_START);C.select(1);},0);}else try{i.selectBookmarks(j);}catch(B){}},contents:[{id:'info',label:e.lang.table.title,elements:[{type:'hbox',widths:[null,null],styles:['vertical-align:top'],children:[{type:'vbox',padding:0,children:[{type:'text',id:'txtRows','default':3,label:e.lang.table.rows,required:true,controlStyle:'width:5em',validate:function(){var i=true,j=this.getValue();i=i&&CKEDITOR.dialog.validate.integer()(j)&&j>0;if(!i){alert(e.lang.table.invalidRows);this.select();}return i;},setup:function(i){this.setValue(i.$.rows.length);},commit:b},{type:'text',id:'txtCols','default':2,label:e.lang.table.columns,required:true,controlStyle:'width:5em',validate:function(){var i=true,j=this.getValue();i=i&&CKEDITOR.dialog.validate.integer()(j)&&j>0;if(!i){alert(e.lang.table.invalidCols);this.select();}return i;},setup:function(i){this.setValue(c(i));},commit:b},{type:'html',html:' '},{type:'select',id:'selHeaders','default':'',label:e.lang.table.headers,items:[[e.lang.table.headersNone,''],[e.lang.table.headersRow,'row'],[e.lang.table.headersColumn,'col'],[e.lang.table.headersBoth,'both']],setup:function(i){var j=this.getDialog();j.hasColumnHeaders=true;for(var k=0;k<i.$.rows.length;k++){var l=i.$.rows[k].cells[0];if(l&&l.nodeName.toLowerCase()!='th'){j.hasColumnHeaders=false;break;}}if(i.$.tHead!==null)this.setValue(j.hasColumnHeaders?'both':'row');else this.setValue(j.hasColumnHeaders?'col':'');},commit:b},{type:'text',id:'txtBorder','default':1,label:e.lang.table.border,controlStyle:'width:3em',validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidBorder),setup:function(i){this.setValue(i.getAttribute('border')||'');
|
9
|
+
},commit:function(i,j){if(this.getValue())j.setAttribute('border',this.getValue());else j.removeAttribute('border');}},{id:'cmbAlign',type:'select','default':'',label:e.lang.common.align,items:[[e.lang.common.notSet,''],[e.lang.common.alignLeft,'left'],[e.lang.common.alignCenter,'center'],[e.lang.common.alignRight,'right']],setup:function(i){this.setValue(i.getAttribute('align')||'');},commit:function(i,j){if(this.getValue())j.setAttribute('align',this.getValue());else j.removeAttribute('align');}}]},{type:'vbox',padding:0,children:[{type:'hbox',widths:['5em'],children:[{type:'text',id:'txtWidth',controlStyle:'width:5em',label:e.lang.common.width,title:e.lang.common.cssLengthTooltip,'default':500,getValue:a,validate:CKEDITOR.dialog.validate.cssLength(e.lang.common.invalidCssLength.replace('%1',e.lang.common.width)),onChange:function(){var i=this.getDialog().getContentElement('advanced','advStyles');i&&i.updateStyle('width',this.getValue());},setup:function(i){var j=i.getStyle('width');j&&this.setValue(j);},commit:b}]},{type:'hbox',widths:['5em'],children:[{type:'text',id:'txtHeight',controlStyle:'width:5em',label:e.lang.common.height,title:e.lang.common.cssLengthTooltip,'default':'',getValue:a,validate:CKEDITOR.dialog.validate.cssLength(e.lang.common.invalidCssLength.replace('%1',e.lang.common.height)),onChange:function(){var i=this.getDialog().getContentElement('advanced','advStyles');i&&i.updateStyle('height',this.getValue());},setup:function(i){var j=i.getStyle('width');j&&this.setValue(j);},commit:b}]},{type:'html',html:' '},{type:'text',id:'txtCellSpace',controlStyle:'width:3em',label:e.lang.table.cellSpace,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellSpacing),setup:function(i){this.setValue(i.getAttribute('cellSpacing')||'');},commit:function(i,j){if(this.getValue())j.setAttribute('cellSpacing',this.getValue());else j.removeAttribute('cellSpacing');}},{type:'text',id:'txtCellPad',controlStyle:'width:3em',label:e.lang.table.cellPad,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellPadding),setup:function(i){this.setValue(i.getAttribute('cellPadding')||'');},commit:function(i,j){if(this.getValue())j.setAttribute('cellPadding',this.getValue());else j.removeAttribute('cellPadding');}}]}]},{type:'html',align:'right',html:''},{type:'vbox',padding:0,children:[{type:'text',id:'txtCaption',label:e.lang.table.caption,setup:function(i){var m=this;m.enable();var j=i.getElementsByTag('caption');if(j.count()>0){var k=j.getItem(0),l=k.getFirst(CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT));
|
10
|
+
if(l&&!l.equals(k.getBogus())){m.disable();m.setValue(k.getText());return;}k=CKEDITOR.tools.trim(k.getText());m.setValue(k);}},commit:function(i,j){if(!this.isEnabled())return;var k=this.getValue(),l=j.getElementsByTag('caption');if(k){if(l.count()>0){l=l.getItem(0);l.setHtml('');}else{l=new CKEDITOR.dom.element('caption',e.document);if(j.getChildCount())l.insertBefore(j.getFirst());else l.appendTo(j);}l.append(new CKEDITOR.dom.text(k,e.document));}else if(l.count()>0)for(var m=l.count()-1;m>=0;m--)l.getItem(m).remove();}},{type:'text',id:'txtSummary',label:e.lang.table.summary,setup:function(i){this.setValue(i.getAttribute('summary')||'');},commit:function(i,j){if(this.getValue())j.setAttribute('summary',this.getValue());else j.removeAttribute('summary');}}]}]},h&&h.createAdvancedTab(e)]};};CKEDITOR.dialog.add('table',function(e){return d(e,'table');});CKEDITOR.dialog.add('tableProperties',function(e){return d(e,'tableProperties');});})();
|
@@ -0,0 +1,66 @@
|
|
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
|
+
CKEDITOR.editorConfig = function( config )
|
8
|
+
{
|
9
|
+
// Define changes to default configuration here. For example:
|
10
|
+
// config.language = 'fr';
|
11
|
+
// config.uiColor = '#AADC6E';
|
12
|
+
|
13
|
+
/* Filebrowser routes */
|
14
|
+
// The location of an external file browser, that should be launched when "Browse Server" button is pressed.
|
15
|
+
config.filebrowserBrowseUrl = "/ckeditor/attachment_files";
|
16
|
+
|
17
|
+
// The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Flash dialog.
|
18
|
+
config.filebrowserFlashBrowseUrl = "/ckeditor/attachment_files";
|
19
|
+
|
20
|
+
// The location of a script that handles file uploads in the Flash dialog.
|
21
|
+
config.filebrowserFlashUploadUrl = "/ckeditor/attachment_files";
|
22
|
+
|
23
|
+
// The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link tab of Image dialog.
|
24
|
+
config.filebrowserImageBrowseLinkUrl = "/ckeditor/pictures";
|
25
|
+
|
26
|
+
// The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Image dialog.
|
27
|
+
config.filebrowserImageBrowseUrl = "/ckeditor/pictures";
|
28
|
+
|
29
|
+
// The location of a script that handles file uploads in the Image dialog.
|
30
|
+
config.filebrowserImageUploadUrl = "/ckeditor/pictures";
|
31
|
+
|
32
|
+
// The location of a script that handles file uploads.
|
33
|
+
config.filebrowserUploadUrl = "/ckeditor/attachment_files";
|
34
|
+
|
35
|
+
// Rails CSRF token
|
36
|
+
config.filebrowserParams = function(){
|
37
|
+
var csrf_token = $('meta[name=csrf-token]').attr('content'),
|
38
|
+
csrf_param = $('meta[name=csrf-param]').attr('content'),
|
39
|
+
params = new Object();
|
40
|
+
|
41
|
+
if (csrf_param !== undefined && csrf_token !== undefined) {
|
42
|
+
params[csrf_param] = csrf_token;
|
43
|
+
}
|
44
|
+
|
45
|
+
return params;
|
46
|
+
};
|
47
|
+
|
48
|
+
/* Extra plugins */
|
49
|
+
// works only with en, ru, uk locales
|
50
|
+
config.extraPlugins = "embed,attachment";
|
51
|
+
|
52
|
+
/* Toolbars */
|
53
|
+
config.toolbar = 'Easy';
|
54
|
+
|
55
|
+
config.toolbar_Easy =
|
56
|
+
[
|
57
|
+
['Source','-','Preview'],
|
58
|
+
['Cut','Copy','Paste','PasteText','PasteFromWord',],
|
59
|
+
['Undo','Redo','-','SelectAll','RemoveFormat'],
|
60
|
+
['Styles','Format'], ['Subscript', 'Superscript', 'TextColor'], ['Maximize','-','About'], '/',
|
61
|
+
['Bold','Italic','Underline','Strike'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
|
62
|
+
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
63
|
+
['Link','Unlink','Anchor'], ['Image', 'Attachment', 'Flash', 'Embed'],
|
64
|
+
['Table','HorizontalRule','Smiley','SpecialChar','PageBreak']
|
65
|
+
];
|
66
|
+
};
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){var embedCmd={exec:function(editor){editor.openDialog('embed');return}};CKEDITOR.plugins.add('embed',{lang:['en','ru','uk'],requires:['dialog'],init:function(editor){var commandName='embed';editor.addCommand(commandName,embedCmd);editor.ui.addButton('Embed',{label:editor.lang.embed.button,command:commandName,icon:this.path+"images/embed.png"});CKEDITOR.dialog.add(commandName,CKEDITOR.getUrl(this.path+'dialogs/embed.js'))}})})();
|
Binary file
|
@@ -0,0 +1,14 @@
|
|
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
|
+
.cke_skin_kama *,.cke_skin_kama a:hover,.cke_skin_kama a:link,.cke_skin_kama a:visited,.cke_skin_kama a:active{margin:0;padding:0;border:0;background:transparent;text-decoration:none;font:normal normal normal 100% Sans-Serif;width:auto;height:auto;border-collapse:collapse;text-align:left;vertical-align:baseline;white-space:nowrap;cursor:auto;color:#000;font-size:12px;font-family:Arial,Helvetica,Tahoma,Verdana,Sans-Serif;}.cke_skin_kama .cke_rtl *,.cke_skin_kama .cke_rtl a:hover,.cke_skin_kama .cke_rtl a:link,.cke_skin_kama .cke_rtl a:visited,.cke_skin_kama .cke_rtl a:active,.cke_rtl .cke_skin_kama *,.cke_rtl .cke_skin_kama a:hover,.cke_rtl .cke_skin_kama a:link,.cke_rtl .cke_skin_kama a:visited,.cke_rtl .cke_skin_kama a:active{text-align:right;}.cke_skin_kama iframe{vertical-align:inherit;}.cke_skin_kama textarea{white-space:pre;}.cke_skin_kama .cke_browser_gecko textarea{cursor:text;}.cke_skin_kama .cke_browser_gecko textarea[disabled]{cursor:default;}.cke_skin_kama input[type="text"],.cke_skin_kama input[type="password"]{cursor:text;}.cke_skin_kama input[type="text"][disabled],.cke_skin_kama input[type="password"][disabled]{cursor:default;}.cke_skin_kama fieldset{padding:10px;border:2px groove #E0DFE3;}.cke_skin_kama{display:block;}span.cke_skin_kama{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border:1px solid #D3D3D3;padding:5px;}.cke_skin_kama span.cke_browser_webkit,.cke_skin_kama span.cke_browser_gecko18{display:block;}.cke_skin_kama .cke_wrapper{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;background-color:#d3d3d3;background-image:url(images/sprites.png);background-repeat:repeat-x;background-position:0 -1950px;display:block;_display:inline-block;padding:5px;}.cke_shared .cke_skin_kama .cke_wrapper{padding-bottom:0;}.cke_skin_kama .cke_browser_ie6 .cke_wrapper,.cke_skin_kama .cke_browser_iequirks .cke_wrapper{background-image:none;}.cke_skin_kama .cke_editor{display:inline-table;width:100%;}.cke_skin_kama .cke_browser_webkit .cke_editor{display:table;}.cke_skin_kama .ltr .cke_browser_ie iframe{margin-right:-10px;}.cke_skin_kama .rtl .cke_browser_ie iframe{margin-left:-10px;}.cke_skin_kama .cke_browser_opera .cke_editor.cke_skin_kama .cke_resizer{display:table;}.cke_skin_kama .cke_contents{margin:5px;}.cke_skin_kama .cke_hc .cke_contents{border:1px solid black;}.cke_skin_kama .cke_contents iframe{background-color:#fff;}.cke_skin_kama .cke_focus{outline:auto 5px -webkit-focus-ring-color;}.cke_skin_kama textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre;}.cke_skin_kama .cke_browser_iequirks textarea.cke_source{_white-space:normal;}.cke_skin_kama .cke_resizer{width:12px;height:12px;margin-top:9px;display:block;float:right;background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-position:0 -1428px;background-repeat:no-repeat;cursor:se-resize;}.cke_skin_kama .cke_browser_air .cke_resizer,.cke_skin_kama .cke_browser_air .cke_rtl .cke_resizer{cursor:move;}.cke_skin_kama .cke_rtl .cke_resizer{cursor:sw-resize;background-position:0 -1455px;float:left;}.cke_skin_kama .cke_resizer_horizontal,.cke_skin_kama .cke_rtl .cke_resizer_horizontal{cursor:e-resize;}.cke_skin_kama .cke_resizer_vertical,.cke_skin_kama .cke_rtl .cke_resizer_vertical{cursor:n-resize;}.cke_skin_kama .cke_maximized .cke_resizer{display:none;}.cke_skin_kama .cke_browser_ie6 .cke_contents textarea,.cke_skin_kama .cke_browser_ie7 .cke_contents textarea{position:absolute;}.cke_skin_kama .cke_browser_ie.cke_browser_quirks .cke_contents iframe{position:absolute;top:0;}.cke_skin_kama .cke_browser_ie6 .cke_editor,.cke_skin_kama .cke_browser_ie7 .cke_editor{display:inline-block;}.cke_skin_kama .cke_browser_ie6 .cke_editor,.cke_shared .cke_skin_kama .cke_browser_ie7 .cke_wrapper{padding-bottom:5px;}.cke_skin_kama .cke_voice_label{display:none;}.cke_skin_kama legend.cke_voice_label{display:none;}.cke_skin_kama .cke_browser_ie legend.cke_voice_label{position:absolute;display:block;width:0;height:0;overflow:hidden;}.cke_skin_kama .cke_panel{border:1px solid #8f8f73;background-color:#fff;width:120px;height:100px;overflow:hidden;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}
|
8
|
+
.cke_skin_kama .cke_contextmenu{margin:0;}.cke_skin_kama .cke_panel iframe{width:100%;height:100%;}html.cke_skin_kama_container{overflow:auto;overflow-x:hidden;}body.cke_panel_frame{overflow:auto;}.cke_panel_frame .cke_label{display:none;}ul.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap;}li.cke_panel_listItem{margin:0;}.cke_panel_listItem a{padding:2px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;}* html .cke_panel_listItem a{width:100%;color:#000;}*:first-child+html .cke_panel_listItem a{color:#000;}.cke_panel_listItem.cke_selected a{border:1px solid #ccc;background-color:#e9f5ff;}.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{border-color:#316ac5;background-color:#dff1ff;}.cke_hc .cke_panel_listItem.cke_selected a,.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border-width:3px;padding:0;}.cke_panel_grouptitle{font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif;font-weight:bold;white-space:nowrap;background-color:#dcdcdc;color:#000;margin:0;padding:3px;}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:3px;margin-bottom:3px;}.cke_skin_kama .cke_button_textcolor_panel,.cke_skin_kama .cke_button_bgcolor_panel{width:150px;height:135px;}.cke_colorblock{padding:3px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif;}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000;}span.cke_colorbox{width:10px;height:10px;border:#808080 1px solid;float:left;}.cke_rtl span.cke_colorbox{float:right;}a.cke_colorbox{border:#fff 1px solid;padding:2px;float:left;}.cke_rtl a.cke_colorbox{float:right;}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{border:#316ac5 1px solid;background-color:#dff1ff;}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:2px;display:block;cursor:pointer;}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{border:#316ac5 1px solid;background-color:#dff1ff;}@media print{.cke_skin_kama .cke_toolbox{display:none;}}.cke_skin_kama .cke_browser_webkit .cke_toolbox,.cke_skin_kama .cke_browser_webkit .cke_toolbox>span{white-space:normal;}.cke_skin_kama .cke_toolbox{clear:both;padding-bottom:1px;}.cke_skin_kama a.cke_toolbox_collapser,.cke_skin_kama a:hover.cke_toolbox_collapser{background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-position:3px -1366px;background-repeat:no-repeat;width:11px;height:11px;float:right;border:1px outset #D3D3D3;margin:11px 0 2px;cursor:pointer;}.cke_skin_kama .cke_rtl a.cke_toolbox_collapser,.cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser{float:left;}.cke_skin_kama a.cke_toolbox_collapser span{display:none;}.cke_skin_kama .cke_hc a.cke_toolbox_collapser span{font-size:10px;font-weight:bold;font-family:Arial;display:inline;}.cke_skin_kama a.cke_toolbox_collapser_min,.cke_skin_kama a:hover.cke_toolbox_collapser_min{background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-position:4px -1387px;background-repeat:no-repeat;margin:2px 4px;}.cke_skin_kama .cke_rtl a.cke_toolbox_collapser_min,.cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser_min{background-position:4px -1408px;}.cke_skin_kama .cke_toolbar{display:inline;}.cke_skin_kama .cke_separator{display:none;}.cke_skin_kama .cke_break{font-size:0;clear:left;}.cke_skin_kama .cke_rtl .cke_break{clear:right;}.cke_skin_kama .cke_toolbar_start{display:none;}.cke_skin_kama .cke_toolgroup{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-repeat:repeat-x;background-position:0 -500px;float:left;margin-right:6px;margin-bottom:5px;padding:2px;display:inline;}
|
9
|
+
.cke_skin_kama .cke_rtl .cke_toolgroup{float:right;margin-right:0;margin-left:6px;}.cke_skin_kama .cke_toolgroup{display:block;height:22px;}.cke_skin_kama .cke_button a,.cke_skin_kama .cke_button a:hover,.cke_skin_kama .cke_button a:focus,.cke_skin_kama .cke_button a:active,.cke_skin_kama .cke_button a.cke_off{border-radius:3px;outline:none;padding:2px 4px;height:18px;display:inline-block;cursor:default;}.cke_skin_kama .cke_button a,.cke_skin_kama .cke_button a.cke_off{filter:alpha(opacity=70);opacity:.70;-moz-border-radius:3px;-webkit-border-radius:3px;}.cke_skin_kama .cke_hc .cke_button a,.cke_skin_kama .cke_hc .cke_button a.cke_off{opacity:1.0;filter:alpha(opacity=100);border:1px solid white;}.cke_skin_kama .cke_button a.cke_on{background-color:#a3d7ff;filter:alpha(opacity=100);opacity:1;padding:2px 4px;}.cke_skin_kama .cke_hc .cke_button a.cke_on{padding:0 2px!important;border-width:3px;}.cke_skin_kama .cke_button a.cke_disabled *{filter:alpha(opacity=30);opacity:.3;}.cke_skin_kama .cke_browser_ie .cke_button a.cke_disabled *,.cke_skin_kama .cke_browser_ie a:hover.cke_button .cke_disabled *{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'), alpha(opacity=30);}.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button a.cke_disabled *,.cke_skin_kama .cke_browser_ie .cke_rtl a:hover.cke_button .cke_disabled *{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'), alpha(opacity=30);}.cke_skin_kama .cke_browser_ie6 .cke_button a.cke_disabled *,.cke_skin_kama .cke_browser_ie6 a:hover.cke_button .cke_disabled *,.cke_skin_kama .cke_browser_ie .cke_button.cke_noalphafix a.cke_disabled *{filter:alpha(opacity=30);}.cke_skin_kama .cke_hc .cke_button a.cke_disabled *,.cke_skin_kama .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled *{filter:alpha(opacity=60);opacity:.6;}.cke_skin_kama .cke_button a:hover.cke_on,.cke_skin_kama .cke_button a:focus.cke_on,.cke_skin_kama .cke_button a:active.cke_on,.cke_skin_kama .cke_button a:hover.cke_off,.cke_skin_kama .cke_button a:focus.cke_off,.cke_skin_kama .cke_button a:active.cke_off{filter:alpha(opacity=100);opacity:1;padding:2px 4px;}.cke_skin_kama .cke_button a:hover,.cke_skin_kama .cke_button a:focus,.cke_skin_kama .cke_button a:active{background-color:#dff1ff;}.cke_skin_kama .cke_button a:hover.cke_on,.cke_skin_kama .cke_button a:focus.cke_on,.cke_skin_kama .cke_button a:active.cke_on{background-color:#86caff;}.cke_skin_kama .cke_hc .cke_button a:hover,.cke_skin_kama .cke_hc .cke_button a:focus,.cke_skin_kama .cke_hc .cke_button a:active{padding:0 2px!important;border-width:3px;}.cke_skin_kama .cke_button .cke_icon{background-image:url(icons.png);background-position:100px;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;display:inline-block;float:left;cursor:default;}.cke_skin_kama .cke_rtl .cke_button .cke_icon{background-image:url(icons_rtl.png);}.cke_skin_kama .cke_browser_ie .cke_button .cke_icon{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');}.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_icon{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');}.cke_skin_kama .cke_browser_ie6 .cke_button .cke_icon,.cke_skin_kama .cke_browser_ie6 .cke_rtl .cke_button .cke_icon,.cke_skin_kama .cke_browser_ie .cke_button.cke_noalphafix .cke_icon,.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button.cke_noalphafix .cke_icon{filter:;}.cke_skin_kama .cke_rtl .cke_button .cke_icon{float:right;}.cke_skin_kama .cke_button .cke_label{cursor:default;display:none;padding-left:3px;line-height:18px;vertical-align:middle;float:left;}.cke_skin_kama .cke_rtl .cke_button .cke_label{padding-left:0;padding-right:3px;float:right;}.cke_skin_kama .cke_hc .cke_button .cke_label{padding:0;display:inline-block;}.cke_skin_kama .cke_hc .cke_button .cke_icon{display:none;}.cke_skin_kama .cke_accessibility{position:absolute;display:block;width:0;height:0;overflow:hidden;}.cke_skin_kama .cke_button .cke_buttonarrow{display:inline-block;height:17px;width:8px;background-position:2px -1469px;background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-repeat:no-repeat;float:left;cursor:default;}
|
10
|
+
.cke_skin_kama .cke_browser_ie .cke_button .cke_buttonarrow{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');}.cke_skin_kama .cke_browser_ie6 .cke_button .cke_buttonarrow{filter:;}.cke_skin_kama .cke_rtl .cke_button .cke_buttonarrow{background-position:0 -1469px;float:right;}.cke_skin_kama .cke_browser_gecko .cke_toolbar,.cke_skin_kama .cke_browser_gecko .cke_button a,.cke_skin_kama .cke_browser_gecko .cke_button a.cke_off,.cke_skin_kama .cke_browser_gecko .cke_button .cke_icon,.cke_skin_kama .cke_browser_gecko .cke_button .cke_buttonarrow,.cke_skin_kama .cke_browser_gecko .cke_separator,.cke_skin_kama .cke_browser_gecko .cke_toolbar_start{display:block;float:left;}.cke_skin_kama .cke_browser_gecko.cke_hc .cke_button .cke_icon{display:none;}.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_toolbar,.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button a,.cke_skin_kama .cke_browser_gecko .cke_rtl.cke_button a.cke_off,.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_icon,.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_buttonarrow,.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_toolbar_start{float:right;}.cke_skin_kama .cke_browser_gecko .cke_button .cke_label,.cke_skin_kama .cke_browser_gecko .cke_break{float:left;}.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_label,.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_break{float:right;}.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_icon,.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_label,.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_buttonarrow{float:none;}.cke_skin_kama .cke_browser_webkit .cke_toolbar{float:left;}.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_toolbar{float:right;}.cke_skin_kama .cke_browser_ie8 .cke_button .cke_label,.cke_skin_kama .cke_browser_opera .cke_button .cke_label,.cke_skin_kama .cke_browser_webkit .cke_button .cke_label{line-height:20px;}.cke_skin_kama .cke_browser_opera.cke_browser_quirks .cke_button .cke_label,.cke_skin_kama .cke_browser_iequirks .cke_button .cke_label{line-height:17px;}.cke_skin_kama .cke_browser_ie .cke_rcombo,.cke_skin_kama .cke_browser_ie .cke_rcombo *{cursor:default;}.cke_skin_kama .cke_browser_ie .cke_toolbox{padding-bottom:5px;_padding-bottom:6px;}.cke_shared .cke_skin_kama .cke_browser_ie .cke_toolbox{padding-bottom:0;}.cke_skin_kama .cke_contextmenu{padding:2px;}.cke_skin_kama .cke_menuitem a{display:block;}.cke_skin_kama .cke_menuitem span{cursor:default;}.cke_skin_kama .cke_menuitem a:hover,.cke_skin_kama .cke_menuitem a:focus,.cke_skin_kama .cke_menuitem a:active{background-color:#D3D3D3;display:block;}.cke_hc .cke_menuitem a:hover,.cke_hc .cke_menuitem a:focus,.cke_hc .cke_menuitem a:active{border:2px solid;}.cke_skin_kama .cke_menuitem .cke_icon{background-image:url(icons.png);background-position:100px;background-repeat:no-repeat;background-color:transparent;width:16px;height:16px;float:left;}.cke_rtl .cke_skin_kama .cke_menuitem .cke_icon{background-image:url(icons_rtl.png);}.cke_browser_ie .cke_skin_kama .cke_menuitem .cke_icon{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');}.cke_browser_ie.cke_rtl .cke_skin_kama .cke_menuitem .cke_icon{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');}.cke_browser_ie6 .cke_skin_kama .cke_menuitem .cke_icon,.cke_browser_ie .cke_skin_kama .cke_menuitem.cke_noalphafix .cke_icon{filter:;}.cke_skin_kama .cke_menuitem .cke_disabled .cke_icon{filter:alpha(opacity=70);opacity:.70;}.cke_browser_ie .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');}.cke_browser_ie.cke_rtl .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');}.cke_browser_ie6 .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon,.cke_browser_ie .cke_skin_kama .cke_menuitem.cke_noalphafix .cke_disabled .cke_icon{filter:;}.cke_skin_kama .cke_menuitem .cke_icon_wrapper{background-color:#D3D3D3;border:solid 4px #D3D3D3;width:16px;height:16px;float:left;filter:alpha(opacity=70);opacity:.70;clear:both;}
|
11
|
+
.cke_rtl .cke_skin_kama .cke_menuitem .cke_icon_wrapper{float:right;}.cke_skin_kama .cke_menuitem a:hover .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a:focus .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a:active .cke_icon_wrapper{background-color:#9d9d9d;border:solid 4px #9d9d9d;filter:alpha(opacity=70);opacity:.70;}.cke_skin_kama .cke_menuitem a:hover.cke_disabled .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a:focus.cke_disabled .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a:active.cke_disabled .cke_icon_wrapper{background-color:#D3D3D3;border:solid 4px #D3D3D3;}.cke_skin_kama .cke_menuitem .cke_label{display:block;padding-right:3px;padding-top:5px;padding-left:4px;height:19px;margin-left:24px;background-color:#fff;}.cke_skin_kama .cke_frameLoaded .cke_menuitem .cke_label{filter:alpha(opacity=70);opacity:.70;}.cke_rtl .cke_skin_kama .cke_menuitem .cke_label{padding-right:0;margin-left:0;padding-left:3px;margin-right:28px;}.cke_skin_kama .cke_menuitem a.cke_disabled .cke_label{filter:alpha(opacity=30);opacity:.30;}.cke_skin_kama .cke_menuitem a:hover .cke_label,.cke_skin_kama .cke_menuitem a:focus .cke_label,.cke_skin_kama .cke_menuitem a:active .cke_label{background-color:#D3D3D3;}.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_label,.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_label,.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_label{background-color:transparent;}.cke_skin_kama .cke_menuseparator{background-color:#D3D3D3;height:2px;filter:alpha(opacity=70);opacity:.70;_font-size:0;}.cke_skin_kama .cke_menuarrow{background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-position:0 -1411px;background-repeat:no-repeat;height:5px;width:3px;float:right;margin-right:2px;margin-top:3px;}.cke_rtl .cke_skin_kama .cke_menuarrow{float:left;margin-right:0;margin-left:2px;background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-position:0 -1390px;background-repeat:no-repeat;}.cke_skin_kama .cke_menuarrow span{display:none;}.cke_hc .cke_skin_kama .cke_menuarrow{width:auto;margin-top:0;}.cke_hc .cke_skin_kama .cke_menuarrow span{display:inline;}.cke_browser_ie.cke_ltr .cke_skin_kama .cke_menuarrow{position:absolute;right:2px;}.cke_browser_ie.cke_rtl .cke_skin_kama .cke_menuarrow{position:absolute;left:2px;}.cke_skin_kama .cke_rcombo{display:inline;}.cke_skin_kama .cke_rcombopanel{border:1px solid #8F8F73;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;border-top-left-radius:0;height:auto;_height:100px;}.cke_skin_kama .cke_rcombo a,.cke_skin_kama .cke_rcombo a:active,.cke_skin_kama .cke_rcombo a:hover{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-repeat:repeat-x;background-position:0 -100px;border-bottom:1px solid #DAD9D9;border-right:1px solid #DAD9D9;float:left;padding:2px;height:21px;margin-right:6px;}.cke_skin_kama .cke_rtl .cke_rcombo a,.cke_skin_kama .cke_rtl .cke_rcombo a:active,.cke_skin_kama .cke_rtl .cke_rcombo a:hover{float:right;margin-right:0;margin-left:6px;}.cke_skin_kama .cke_hc .cke_rcombo a{filter:alpha(opacity=100);opacity:1.0;}.cke_skin_kama .cke_rcombo .cke_label{display:none;line-height:26px;vertical-align:top;margin-right:5px;filter:alpha(opacity=70);opacity:.70;}.cke_skin_kama .cke_rtl .cke_rcombo .cke_label{margin-right:0;margin-left:5px;}.cke_skin_kama .cke_rcombo .cke_inline_label{line-height:21px;font-style:italic;color:#666;}.cke_skin_kama .cke_hc .cke_rcombo .cke_openbutton{vertical-align:top;}.cke_skin_kama .cke_hc .cke_rcombo .cke_label{filter:alpha(opacity=100);opacity:1.0;}.cke_skin_kama .cke_rcombo .cke_text{filter:alpha(opacity=70);opacity:.70;height:21px;line-height:21px;width:60px;text-overflow:ellipsis;overflow:hidden;display:inline-block;margin:0 2px 0 4px;cursor:default;}.cke_skin_kama .cke_rtl .cke_rcombo .cke_text{margin:0 4px 0 2px;}.cke_skin_kama .cke_rcombo .cke_openbutton{background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-position:0 -68px;background-repeat:no-repeat;display:inline-block;width:17px;height:19px;margin:1px 2px;background-repeat:no-repeat;}
|
12
|
+
.cke_skin_kama .cke_rcombo .cke_openbutton span{display:none;}.cke_skin_kama .cke_hc .cke_rcombo .cke_openbutton span{display:inline;}.cke_skin_kama .cke_browser_iequirks .cke_rcombo .cke_openbutton{margin-bottom:0;}.cke_skin_kama .cke_rcombo .cke_off a:hover .cke_text,.cke_skin_kama .cke_rcombo .cke_off a:focus .cke_text,.cke_skin_kama .cke_rcombo .cke_off a:active .cke_text,.cke_skin_kama .cke_rcombo .cke_on .cke_text{border-color:#316ac5;filter:alpha(opacity=100);opacity:1;}.cke_skin_kama .cke_rcombo .cke_off a:hover .cke_openbutton,.cke_skin_kama .cke_rcombo .cke_off a:focus .cke_openbutton,.cke_skin_kama .cke_rcombo .cke_off a:active .cke_openbutton,.cke_skin_kama .cke_rcombo .cke_on .cke_openbutton{border-color:#316ac5;background-color:#dff1ff;}.cke_skin_kama .cke_rcombo .cke_on .cke_text{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;}.cke_skin_kama .cke_rcombo .cke_on .cke_openbutton{-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;}.cke_skin_kama .cke_rcombo .cke_disabled .cke_label{filter:alpha(opacity=30);opacity:.3;}.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_label{filter:alpha(opacity=70);opacity:.7;}.cke_skin_kama .cke_rcombo .cke_disabled .cke_text,.cke_skin_kama .cke_rcombo .cke_disabled .cke_openbutton{filter:alpha(opacity=50);opacity:.5;}.cke_skin_kama .cke_browser_ie .cke_rcombo .cke_disabled .cke_openbutton{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'), alpha(opacity=50);}.cke_skin_kama .cke_browser_ie6 .cke_rcombo .cke_disabled .cke_openbutton{filter:alpha(opacity=50);}.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_text,.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_openbutton{filter:alpha(opacity=80);opacity:.8;}.cke_skin_kama .cke_rcombo .cke_disabled .cke_text{color:#fff;}.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_text,.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_openbutton,.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_text,.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_openbutton{display:block;float:left;}.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_label,.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_label{float:left;}.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_label,.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_text,.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_openbutton,.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_label,.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text,.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_openbutton{float:right;}.cke_skin_kama .cke_browser_ie7 .cke_rcombo .cke_text{line-height:18px;}.cke_skin_kama .cke_browser_ie6 .cke_rcombo .cke_text,.cke_skin_kama .cke_browser_iequirks .cke_rcombo .cke_text{height:auto;line-height:17px;}.cke_skin_kama .cke_rtl .cke_rcombo .cke_font .cke_text,.cke_skin_kama .cke_rtl .cke_rcombo .cke_fontSize .cke_text{direction:ltr;}@media print{.cke_path{display:none;}}.cke_skin_kama .cke_path{display:inline-block;float:left;margin-top:5px;}.cke_skin_kama .cke_rtl .cke_path{float:right;}.cke_shared .cke_skin_kama .cke_path{_width:100%;margin:0 0 5px;}.cke_skin_kama .cke_path a,.cke_skin_kama .cke_path .cke_empty{display:inline-block;float:left;padding:1px 4px 0;color:#60676a;cursor:default;}.cke_skin_kama .cke_path .cke_empty{visibility:hidden;}.cke_skin_kama .cke_rtl .cke_path a,.cke_skin_kama .cke_rtl .cke_path cke_empty{float:right;}.cke_skin_kama .cke_path a:hover,.cke_skin_kama .cke_path a:focus,.cke_skin_kama .cke_path a:active{background-color:#dff1ff;padding:1px 4px 0;outline:none;color:#000;}.cke_skin_kama .cke_browser_ie .cke_rtl .cke_path a,.cke_skin_kama .cke_browser_ie .cke_rtl .cke_path .cke_empty{float:none;}.cke_skin_kama .cke_path .cke_label{display:none;}.cke_skin_kama .cke_button_source .cke_icon{background-position:0 0;}.cke_skin_kama .cke_button_newpage .cke_icon{background-position:0 -48px;}.cke_skin_kama .cke_button_preview .cke_icon{background-position:0 -64px;}
|
13
|
+
.cke_skin_kama .cke_button_cut .cke_icon{background-position:0 -96px;}.cke_skin_kama .cke_button_copy .cke_icon{background-position:0 -112px;}.cke_skin_kama .cke_button_paste .cke_icon{background-position:0 -128px;}.cke_skin_kama .cke_button_pastetext .cke_icon{background-position:0 -144px;}.cke_skin_kama .cke_button_find .cke_icon{background-position:0 -240px;}.cke_skin_kama .cke_button_replace .cke_icon{background-position:0 -256px;}.cke_skin_kama .cke_button_selectAll .cke_icon{background-position:0 -272px;}.cke_skin_kama .cke_button_removeFormat .cke_icon{background-position:0 -288px;}.cke_skin_kama .cke_button_bold .cke_icon{background-position:0 -304px;}.cke_skin_kama .cke_button_italic .cke_icon{background-position:0 -320px;}.cke_skin_kama .cke_button_underline .cke_icon{background-position:0 -336px;}.cke_skin_kama .cke_button_strike .cke_icon{background-position:0 -352px;}.cke_skin_kama .cke_button_subscript .cke_icon{background-position:0 -368px;}.cke_skin_kama .cke_button_superscript .cke_icon{background-position:0 -384px;}.cke_skin_kama .cke_button_table .cke_icon{background-position:0 -608px;}.cke_skin_kama .cke_button_horizontalrule .cke_icon{background-position:0 -624px;}.cke_skin_kama .cke_button_smiley .cke_icon{background-position:0 -640px;}.cke_skin_kama .cke_button_link .cke_icon{background-position:0 -528px;}.cke_skin_kama .cke_button_unlink .cke_icon{background-position:0 -544px;}.cke_skin_kama .cke_button_anchor .cke_icon{background-position:0 -560px;}.cke_skin_kama .cke_button_image .cke_icon{background-position:0 -576px;}.cke_skin_kama .cke_button_flash .cke_icon{background-position:0 -592px;}.cke_skin_kama .cke_button_specialchar .cke_icon{background-position:0 -656px;}.cke_skin_kama .cke_button_pagebreak .cke_icon{background-position:0 -672px;}.cke_skin_kama .cke_button_print .cke_icon{background-position:0 -176px;}.cke_skin_kama .cke_button_checkspell .cke_icon,.cke_skin_kama .cke_button_scayt .cke_icon{background-position:0 -192px;}.cke_skin_kama .cke_button_pagebreak .cke_icon{background-position:0 -672px;}.cke_skin_kama .cke_button_textcolor .cke_icon{background-position:0 -704px;}.cke_skin_kama .cke_button_bgcolor .cke_icon{background-position:0 -720px;}.cke_skin_kama .cke_button_form .cke_icon{background-position:0 -752px;}.cke_skin_kama .cke_button_checkbox .cke_icon{background-position:0 -768px;}.cke_skin_kama .cke_button_radio .cke_icon{background-position:0 -784px;}.cke_skin_kama .cke_button_textfield .cke_icon{background-position:0 -800px;}.cke_skin_kama .cke_button_textarea .cke_icon{background-position:0 -816px;}.cke_skin_kama .cke_button_showblocks .cke_icon{background-position:0 -1136px;}.cke_skin_kama .cke_button_select .cke_icon{background-position:0 -832px;}.cke_skin_kama .cke_button_button .cke_icon{background-position:0 -848px;}.cke_skin_kama .cke_button_imagebutton .cke_icon{background-position:0 -864px;}.cke_skin_kama .cke_button_hiddenfield .cke_icon{background-position:0 -880px;}.cke_skin_kama .cke_button_undo .cke_icon{background-position:0 -208px;}.cke_skin_kama .cke_rtl .cke_button_undo .cke_icon{background-position:0 -224px;}.cke_skin_kama .cke_button_redo .cke_icon{background-position:0 -224px;}.cke_skin_kama .cke_rtl .cke_button_redo .cke_icon{background-position:0 -208px;}.cke_skin_kama .cke_button_templates .cke_icon{background-position:0 -80px;}.cke_skin_kama .cke_button_numberedlist .cke_icon{background-position:0 -400px;}.cke_skin_kama .cke_button_bulletedlist .cke_icon{background-position:0 -416px;}.cke_skin_kama .cke_mixed_dir_content .cke_button_numberedlist .cke_icon{background-position:0 -1217px;}.cke_skin_kama .cke_mixed_dir_content .cke_button_bulletedlist .cke_icon{background-position:0 -1233px;}.cke_skin_kama .cke_button_outdent .cke_icon{background-position:0 -432px;}.cke_skin_kama .cke_button_indent .cke_icon{background-position:0 -448px;}.cke_skin_kama .cke_mixed_dir_content .cke_button_indent .cke_icon{background-position:0 -1265px;}.cke_skin_kama .cke_mixed_dir_content .cke_button_outdent .cke_icon{background-position:0 -1249px;}.cke_skin_kama .cke_button_justifyleft .cke_icon{background-position:0 -464px;}
|
14
|
+
.cke_skin_kama .cke_button_justifycenter .cke_icon{background-position:0 -480px;}.cke_skin_kama .cke_button_justifyright .cke_icon{background-position:0 -496px;}.cke_skin_kama .cke_button_justifyblock .cke_icon{background-position:0 -512px;}.cke_skin_kama .cke_button_blockquote .cke_icon{background-position:0 -1152px;}.cke_skin_kama .cke_button_creatediv .cke_icon{background-position:0 -1168px;}.cke_skin_kama .cke_button_editdiv .cke_icon{background-position:0 -1184px;}.cke_skin_kama .cke_button_removediv .cke_icon{background-position:0 -1200px;}.cke_skin_kama .cke_button_flash .cke_icon{background-position:0 -592px;}.cke_skin_kama .cke_button_pastefromword .cke_icon{background-position:0 -160px;}.cke_skin_kama .cke_button_save .cke_icon{background-position:0 -32px;}.cke_skin_kama .cke_button_about .cke_icon{background-position:0 -736px;}.cke_skin_kama .cke_button_maximize .cke_icon{background-position:0 -1040px;}.cke_skin_kama .cke_button_editdiv .cke_icon{background-position:0 -1184px;}.cke_skin_kama .cke_button_bidirtl .cke_icon{background-position:0 -1072px;}.cke_skin_kama .cke_button_bidiltr .cke_icon{background-position:0 -1056px;}.cke_skin_kama .cke_button_iframe .cke_icon{background-position:0 -1279px;}.cke_skin_kama .cke_button_source .cke_label{display:inline;}.cke_skin_kama .cke_styles_panel{width:150px;height:170px;}.cke_skin_kama .cke_format_panel{width:150px;height:170px;}.cke_skin_kama .cke_font_panel{width:150px;height:170px;}.cke_skin_kama .cke_fontSize_panel{height:170px;}.cke_skin_kama .cke_fontSize .cke_text{width:25px;}.cke_skin_kama .cke_browser_iequirks .cke_fontSize .cke_text{width:32px;}html .cke_skin_kama{visibility:inherit;}html.cke_skin_kama_container{visibility:visible;}
|
@@ -0,0 +1,8 @@
|
|
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
|
+
CKEDITOR.dialog.add('specialchar',function(a){var b,c=a.lang.specialChar,d=function(j){var k,l;if(j.data)k=j.data.getTarget();else k=new CKEDITOR.dom.element(j);if(k.getName()=='a'&&(l=k.getChild(0).getHtml())){k.removeClass('cke_light_background');b.hide();var m=a.document.createElement('span');m.setHtml(l);a.insertText(m.getText());}},e=CKEDITOR.tools.addFunction(d),f,g=function(j,k){var l;k=k||j.data.getTarget();if(k.getName()=='span')k=k.getParent();if(k.getName()=='a'&&(l=k.getChild(0).getHtml())){if(f)h(null,f);var m=b.getContentElement('info','htmlPreview').getElement();b.getContentElement('info','charPreview').getElement().setHtml(l);m.setHtml(CKEDITOR.tools.htmlEncode(l));k.getParent().addClass('cke_light_background');f=k;}},h=function(j,k){k=k||j.data.getTarget();if(k.getName()=='span')k=k.getParent();if(k.getName()=='a'){b.getContentElement('info','charPreview').getElement().setHtml(' ');b.getContentElement('info','htmlPreview').getElement().setHtml(' ');k.getParent().removeClass('cke_light_background');f=undefined;}},i=CKEDITOR.tools.addFunction(function(j){j=new CKEDITOR.dom.event(j);var k=j.getTarget(),l,m,n=j.getKeystroke(),o=a.lang.dir=='rtl';switch(n){case 38:if(l=k.getParent().getParent().getPrevious()){m=l.getChild([k.getParent().getIndex(),0]);m.focus();h(null,k);g(null,m);}j.preventDefault();break;case 40:if(l=k.getParent().getParent().getNext()){m=l.getChild([k.getParent().getIndex(),0]);if(m&&m.type==1){m.focus();h(null,k);g(null,m);}}j.preventDefault();break;case 32:d({data:j});j.preventDefault();break;case o?37:39:case 9:if(l=k.getParent().getNext()){m=l.getChild(0);if(m.type==1){m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);}else if(l=k.getParent().getParent().getNext()){m=l.getChild([0,0]);if(m&&m.type==1){m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);}break;case o?39:37:case CKEDITOR.SHIFT+9:if(l=k.getParent().getPrevious()){m=l.getChild(0);m.focus();h(null,k);g(null,m);j.preventDefault(true);}else if(l=k.getParent().getParent().getPrevious()){m=l.getLast().getChild(0);m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);break;default:return;}});return{title:c.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,onLoad:function(){var j=this.definition.charColumns,k=a.config.extraSpecialChars,l=a.config.specialChars,m=CKEDITOR.tools.getNextId()+'_specialchar_table_label',n=['<table role="listbox" aria-labelledby="'+m+'"'+' style="width: 320px; height: 100%; border-collapse: separate;"'+' align="center" cellspacing="2" cellpadding="2" border="0">'],o=0,p=l.length,q,r;
|
8
|
+
while(o<p){n.push('<tr>');for(var s=0;s<j;s++,o++){if(q=l[o]){r='';if(q instanceof Array){r=q[1];q=q[0];}else{var t=q.replace('&','').replace(';','').replace('#','');r=c[t]||q;}var u='cke_specialchar_label_'+o+'_'+CKEDITOR.tools.getNextNumber();n.push('<td class="cke_dark_background" style="cursor: default" role="presentation"><a href="javascript: void(0);" role="option" aria-posinset="'+(o+1)+'"',' aria-setsize="'+p+'"',' aria-labelledby="'+u+'"',' style="cursor: inherit; display: block; height: 1.25em; margin-top: 0.25em; text-align: center;" title="',CKEDITOR.tools.htmlEncode(r),'" onkeydown="CKEDITOR.tools.callFunction( '+i+', event, this )"'+' onclick="CKEDITOR.tools.callFunction('+e+', this); return false;"'+' tabindex="-1">'+'<span style="margin: 0 auto;cursor: inherit">'+q+'</span>'+'<span class="cke_voice_label" id="'+u+'">'+r+'</span></a>');}else n.push('<td class="cke_dark_background"> ');n.push('</td>');}n.push('</tr>');}n.push('</tbody></table>','<span id="'+m+'" class="cke_voice_label">'+c.options+'</span>');this.getContentElement('info','charContainer').getElement().setHtml(n.join(''));},contents:[{id:'info',label:a.lang.common.generalTab,title:a.lang.common.generalTab,padding:0,align:'top',elements:[{type:'hbox',align:'top',widths:['320px','90px'],children:[{type:'html',id:'charContainer',html:'',onMouseover:g,onMouseout:h,focus:function(){var j=this.getElement().getElementsByTag('a').getItem(0);setTimeout(function(){j.focus();g(null,j);},0);},onShow:function(){var j=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){j.focus();g(null,j);},0);},onLoad:function(j){b=j.sender;}},{type:'hbox',align:'top',widths:['100%'],children:[{type:'vbox',align:'top',children:[{type:'html',html:'<div></div>'},{type:'html',id:'charPreview',className:'cke_dark_background',style:"border:1px solid #eeeeee;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:'<div> </div>'},{type:'html',id:'htmlPreview',className:'cke_dark_background',style:"border:1px solid #eeeeee;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:'<div> </div>'}]}]}]}]}]};});
|
@@ -0,0 +1,7 @@
|
|
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
|
+
CKEDITOR.lang.en={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbars:'Editor toolbars',editor:'Rich Text Editor',source:'Source',newPage:'New Page',save:'Save',preview:'Preview',cut:'Cut',copy:'Copy',paste:'Paste',print:'Print',underline:'Underline',bold:'Bold',italic:'Italic',selectAll:'Select All',removeFormat:'Remove Format',strike:'Strike Through',subscript:'Subscript',superscript:'Superscript',horizontalrule:'Insert Horizontal Line',pagebreak:'Insert Page Break for Printing',pagebreakAlt:'Page Break',unlink:'Unlink',undo:'Undo',redo:'Redo',common:{browseServer:'Browse Server',url:'URL',protocol:'Protocol',upload:'Upload',uploadSubmit:'Send it to the Server',image:'Image',flash:'Flash',form:'Form',checkbox:'Checkbox',radio:'Radio Button',textField:'Text Field',textarea:'Textarea',hiddenField:'Hidden Field',button:'Button',select:'Selection Field',imageButton:'Image Button',notSet:'<not set>',id:'Id',name:'Name',langDir:'Language Direction',langDirLtr:'Left to Right (LTR)',langDirRtl:'Right to Left (RTL)',langCode:'Language Code',longDescr:'Long Description URL',cssClass:'Stylesheet Classes',advisoryTitle:'Advisory Title',cssStyle:'Style',ok:'OK',cancel:'Cancel',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'Advanced',validateNumberFailed:'This value is not a number.',confirmNewPage:'Any unsaved changes to this content will be lost. Are you sure you want to load new page?',confirmCancel:'Some of the options have been changed. Are you sure to close the dialog?',options:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Width',height:'Height',align:'Alignment',alignLeft:'Left',alignRight:'Right',alignCenter:'Center',alignTop:'Top',alignMiddle:'Middle',alignBottom:'Bottom',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',invalidCssLength:'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).',invalidHtmlLength:'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).',invalidInlineStyle:'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.',cssLengthTooltip:'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Insert Special Character',title:'Select Special Character',options:'Special Character Options'},link:{toolbar:'Link',other:'<other>',menu:'Edit Link',title:'Link',info:'Link Info',target:'Target',upload:'Upload',advanced:'Advanced',type:'Link Type',toUrl:'URL',toAnchor:'Link to anchor in the text',toEmail:'E-mail',targetFrame:'<frame>',targetPopup:'<popup window>',targetFrameName:'Target Frame Name',targetPopupName:'Popup Window Name',popupFeatures:'Popup Window Features',popupResizable:'Resizable',popupStatusBar:'Status Bar',popupLocationBar:'Location Bar',popupToolbar:'Toolbar',popupMenuBar:'Menu Bar',popupFullScreen:'Full Screen (IE)',popupScrollBars:'Scroll Bars',popupDependent:'Dependent (Netscape)',popupLeft:'Left Position',popupTop:'Top Position',id:'Id',langDir:'Language Direction',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',acccessKey:'Access Key',name:'Name',langCode:'Language Code',tabIndex:'Tab Index',advisoryTitle:'Advisory Title',advisoryContentType:'Advisory Content Type',cssClasses:'Stylesheet Classes',charset:'Linked Resource Charset',styles:'Style',rel:'Relationship',selectAnchor:'Select an Anchor',anchorName:'By Anchor Name',anchorId:'By Element Id',emailAddress:'E-Mail Address',emailSubject:'Message Subject',emailBody:'Message Body',noAnchors:'(No anchors available in the document)',noUrl:'Please type the link URL',noEmail:'Please type the e-mail address'},anchor:{toolbar:'Anchor',menu:'Edit Anchor',title:'Anchor Properties',name:'Anchor Name',errorName:'Please type the anchor name',remove:'Remove Anchor'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Find',replace:'Replace',findWhat:'Find what:',replaceWith:'Replace with:',notFoundMsg:'The specified text was not found.',findOptions:'Find Options',matchCase:'Match case',matchWord:'Match whole word',matchCyclic:'Match cyclic',replaceAll:'Replace All',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Table',title:'Table Properties',menu:'Table Properties',deleteTable:'Delete Table',rows:'Rows',columns:'Columns',border:'Border size',widthPx:'pixels',widthPc:'percent',widthUnit:'width unit',cellSpace:'Cell spacing',cellPad:'Cell padding',caption:'Caption',summary:'Summary',headers:'Headers',headersNone:'None',headersColumn:'First column',headersRow:'First Row',headersBoth:'Both',invalidRows:'Number of rows must be a number greater than 0.',invalidCols:'Number of columns must be a number greater than 0.',invalidBorder:'Border size must be a number.',invalidWidth:'Table width must be a number.',invalidHeight:'Table height must be a number.',invalidCellSpacing:'Cell spacing must be a positive number.',invalidCellPadding:'Cell padding must be a positive number.',cell:{menu:'Cell',insertBefore:'Insert Cell Before',insertAfter:'Insert Cell After',deleteCell:'Delete Cells',merge:'Merge Cells',mergeRight:'Merge Right',mergeDown:'Merge Down',splitHorizontal:'Split Cell Horizontally',splitVertical:'Split Cell Vertically',title:'Cell Properties',cellType:'Cell Type',rowSpan:'Rows Span',colSpan:'Columns Span',wordWrap:'Word Wrap',hAlign:'Horizontal Alignment',vAlign:'Vertical Alignment',alignBaseline:'Baseline',bgColor:'Background Color',borderColor:'Border Color',data:'Data',header:'Header',yes:'Yes',no:'No',invalidWidth:'Cell width must be a number.',invalidHeight:'Cell height must be a number.',invalidRowSpan:'Rows span must be a whole number.',invalidColSpan:'Columns span must be a whole number.',chooseColor:'Choose'},row:{menu:'Row',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'Delete Rows'},column:{menu:'Column',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'Delete Columns'}},button:{title:'Button Properties',text:'Text (Value)',type:'Type',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Checkbox Properties',radioTitle:'Radio Button Properties',value:'Value',selected:'Selected'},form:{title:'Form Properties',menu:'Form Properties',action:'Action',method:'Method',encoding:'Encoding'},select:{title:'Selection Field Properties',selectInfo:'Select Info',opAvail:'Available Options',value:'Value',size:'Size',lines:'lines',chkMulti:'Allow multiple selections',opText:'Text',opValue:'Value',btnAdd:'Add',btnModify:'Modify',btnUp:'Up',btnDown:'Down',btnSetValue:'Set as selected value',btnDelete:'Delete'},textarea:{title:'Textarea Properties',cols:'Columns',rows:'Rows'},textfield:{title:'Text Field Properties',name:'Name',value:'Value',charWidth:'Character Width',maxChars:'Maximum Characters',type:'Type',typeText:'Text',typePass:'Password'},hidden:{title:'Hidden Field Properties',name:'Name',value:'Value'},image:{title:'Image Properties',titleButton:'Image Button Properties',menu:'Image Properties',infoTab:'Image Info',btnUpload:'Send it to the Server',upload:'Upload',alt:'Alternative Text',lockRatio:'Lock Ratio',resetSize:'Reset Size',border:'Border',hSpace:'HSpace',vSpace:'VSpace',alertUrl:'Please type the image URL',linkTab:'Link',button2Img:'Do you want to transform the selected image button on a simple image?',img2Button:'Do you want to transform the selected image on a image button?',urlMissing:'Image source URL is missing.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Flash Properties',propertiesTab:'Properties',title:'Flash Properties',chkPlay:'Auto Play',chkLoop:'Loop',chkMenu:'Enable Flash Menu',chkFull:'Allow Fullscreen',scale:'Scale',scaleAll:'Show all',scaleNoBorder:'No Border',scaleFit:'Exact Fit',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs Bottom',alignAbsMiddle:'Abs Middle',alignBaseline:'Baseline',alignTextTop:'Text Top',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Background color',hSpace:'HSpace',vSpace:'VSpace',validateSrc:'URL must not be empty.',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Check Spelling',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'Not in dictionary',changeTo:'Change to',btnIgnore:'Ignore',btnIgnoreAll:'Ignore All',btnReplace:'Replace',btnReplaceAll:'Replace All',btnUndo:'Undo',noSuggestions:'- No suggestions -',progress:'Spell check in progress...',noMispell:'Spell check complete: No misspellings found',noChanges:'Spell check complete: No words changed',oneChange:'Spell check complete: One word changed',manyChanges:'Spell check complete: %1 words changed',ieSpellDownload:'Spell checker not installed. Do you want to download it now?'},smiley:{toolbar:'Smiley',title:'Insert a Smiley',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Insert/Remove Numbered List',bulletedlist:'Insert/Remove Bulleted List',indent:'Increase Indent',outdent:'Decrease Indent',justify:{left:'Align Left',center:'Center',right:'Align Right',block:'Justify'},blockquote:'Block Quote',clipboard:{title:'Paste',cutError:"Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).",copyError:"Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).",pasteMsg:'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK',securityMsg:'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Paste from Word',title:'Paste from Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Paste as plain text',title:'Paste as Plain Text'},templates:{button:'Templates',title:'Content Templates',options:'Template Options',insertOption:'Replace actual contents',selectPromptMsg:'Please select the template to open in the editor',emptyListMsg:'(No templates defined)'},showBlocks:'Show Blocks',stylesCombo:{label:'Styles',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},format:{label:'Format',panelTitle:'Paragraph Format',tag_p:'Normal',tag_pre:'Formatted',tag_address:'Address',tag_h1:'Heading 1',tag_h2:'Heading 2',tag_h3:'Heading 3',tag_h4:'Heading 4',tag_h5:'Heading 5',tag_h6:'Heading 6',tag_div:'Normal (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Font',voiceLabel:'Font',panelTitle:'Font Name'},fontSize:{label:'Size',voiceLabel:'Font Size',panelTitle:'Font Size'},colorButton:{textColorTitle:'Text Color',bgColorTitle:'Background Color',panelTitle:'Colors',auto:'Automatic',more:'More Colors...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',dic_info:'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',help:'Check $1 for help.',userGuide:"CKEditor User's Guide",moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',toolbarGroups:{document:'Document',clipboard:'Clipboard/Undo',editing:'Editing',forms:'Forms',basicstyles:'Basic Styles',paragraph:'Paragraph',links:'Links',insert:'Insert',styles:'Styles',colors:'Colors',tools:'Tools'},bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'},docprops:{label:'Document Properties',title:'Document Properties',design:'Design',meta:'Meta Tags',chooseColor:'Choose',other:'Other...',docTitle:'Page Title',charset:'Character Set Encoding',charsetOther:'Other Character Set Encoding',charsetASCII:'ASCII',charsetCE:'Central European',charsetCT:'Chinese Traditional (Big5)',charsetCR:'Cyrillic',charsetGR:'Greek',charsetJP:'Japanese',charsetKR:'Korean',charsetTR:'Turkish',charsetUN:'Unicode (UTF-8)',charsetWE:'Western European',docType:'Document Type Heading',docTypeOther:'Other Document Type Heading',xhtmlDec:'Include XHTML Declarations',bgColor:'Background Color',bgImage:'Background Image URL',bgFixed:'Non-scrolling (Fixed) Background',txtColor:'Text Color',margin:'Page Margins',marginTop:'Top',marginLeft:'Left',marginRight:'Right',marginBottom:'Bottom',metaKeywords:'Document Indexing Keywords (comma separated)',metaDescription:'Document Description',metaAuthor:'Author',metaCopyright:'Copyright',previewHtml:'<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>'}};
|
@@ -0,0 +1,46 @@
|
|
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
|
+
body
|
8
|
+
{
|
9
|
+
/* Font */
|
10
|
+
font-family: Arial, Verdana, sans-serif;
|
11
|
+
font-size: 12px;
|
12
|
+
|
13
|
+
/* Text color */
|
14
|
+
color: #222;
|
15
|
+
|
16
|
+
/* Remove the background color to make it transparent */
|
17
|
+
background-color: #fff;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* preserved spaces for rtl list item bullets. (#6249)*/
|
21
|
+
ol,ul,dl
|
22
|
+
{
|
23
|
+
padding-right:40px;
|
24
|
+
}
|
25
|
+
|
26
|
+
html
|
27
|
+
{
|
28
|
+
/* #3658: [IE6] Editor document has horizontal scrollbar on long lines
|
29
|
+
To prevent this misbehavior, we show the scrollbar always */
|
30
|
+
_overflow-y: scroll;
|
31
|
+
/* #6341: The text cursor must be set on the editor area. */
|
32
|
+
cursor: text;
|
33
|
+
/* #6632: Avoid having "text" shape of cursor in IE7 scrollbars.*/
|
34
|
+
*cursor:auto;
|
35
|
+
}
|
36
|
+
|
37
|
+
img:-moz-broken
|
38
|
+
{
|
39
|
+
-moz-force-broken-image-icon : 1;
|
40
|
+
width : 24px;
|
41
|
+
height : 24px;
|
42
|
+
}
|
43
|
+
img, input, textarea
|
44
|
+
{
|
45
|
+
cursor: default;
|
46
|
+
}
|
@@ -0,0 +1,10 @@
|
|
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
|
+
(function(){var a=1,b=2,c=4,d={id:[{type:a,name:'id'}],classid:[{type:a,name:'classid'}],codebase:[{type:a,name:'codebase'}],pluginspage:[{type:c,name:'pluginspage'}],src:[{type:b,name:'movie'},{type:c,name:'src'},{type:a,name:'data'}],name:[{type:c,name:'name'}],align:[{type:a,name:'align'}],title:[{type:a,name:'title'},{type:c,name:'title'}],'class':[{type:a,name:'class'},{type:c,name:'class'}],width:[{type:a,name:'width'},{type:c,name:'width'}],height:[{type:a,name:'height'},{type:c,name:'height'}],hSpace:[{type:a,name:'hSpace'},{type:c,name:'hSpace'}],vSpace:[{type:a,name:'vSpace'},{type:c,name:'vSpace'}],style:[{type:a,name:'style'},{type:c,name:'style'}],type:[{type:c,name:'type'}]},e=['play','loop','menu','quality','scale','salign','wmode','bgcolor','base','flashvars','allowScriptAccess','allowFullScreen'];for(var f=0;f<e.length;f++)d[e[f]]=[{type:c,name:e[f]},{type:b,name:e[f]}];e=['allowFullScreen','play','loop','menu'];for(f=0;f<e.length;f++)d[e[f]][0]['default']=d[e[f]][1]['default']=true;var g=CKEDITOR.tools.cssLength;function h(j,k,l){var r=this;var m=d[r.id];if(!m)return;var n=r instanceof CKEDITOR.ui.dialog.checkbox;for(var o=0;o<m.length;o++){var p=m[o];switch(p.type){case a:if(!j)continue;if(j.getAttribute(p.name)!==null){var q=j.getAttribute(p.name);if(n)r.setValue(q.toLowerCase()=='true');else r.setValue(q);return;}else if(n)r.setValue(!!p['default']);break;case b:if(!j)continue;if(p.name in l){q=l[p.name];if(n)r.setValue(q.toLowerCase()=='true');else r.setValue(q);return;}else if(n)r.setValue(!!p['default']);break;case c:if(!k)continue;if(k.getAttribute(p.name)){q=k.getAttribute(p.name);if(n)r.setValue(q.toLowerCase()=='true');else r.setValue(q);return;}else if(n)r.setValue(!!p['default']);}}};function i(j,k,l){var t=this;var m=d[t.id];if(!m)return;var n=t.getValue()==='',o=t instanceof CKEDITOR.ui.dialog.checkbox;for(var p=0;p<m.length;p++){var q=m[p];switch(q.type){case a:if(!j||q.name=='data'&&k&&!j.hasAttribute('data'))continue;var r=t.getValue();if(n||o&&r===q['default'])j.removeAttribute(q.name);else j.setAttribute(q.name,r);break;case b:if(!j)continue;r=t.getValue();if(n||o&&r===q['default']){if(q.name in l)l[q.name].remove();}else if(q.name in l)l[q.name].setAttribute('value',r);else{var s=CKEDITOR.dom.element.createFromHtml('<cke:param></cke:param>',j.getDocument());s.setAttributes({name:q.name,value:r});if(j.getChildCount()<1)s.appendTo(j);else s.insertBefore(j.getFirst());}break;case c:if(!k)continue;r=t.getValue();if(n||o&&r===q['default'])k.removeAttribute(q.name);
|
8
|
+
else k.setAttribute(q.name,r);}}};CKEDITOR.dialog.add('flash',function(j){var k=!j.config.flashEmbedTagOnly,l=j.config.flashAddEmbedTag||j.config.flashEmbedTagOnly,m,n='<div>'+CKEDITOR.tools.htmlEncode(j.lang.common.preview)+'<br>'+'<div id="cke_FlashPreviewLoader'+CKEDITOR.tools.getNextNumber()+'" style="display:none"><div class="loading"> </div></div>'+'<div id="cke_FlashPreviewBox'+CKEDITOR.tools.getNextNumber()+'" class="FlashPreviewBox"></div></div>';return{title:j.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){var A=this;A.fakeImage=A.objectNode=A.embedNode=null;m=new CKEDITOR.dom.element('embed',j.document);var o=A.getSelectedElement();if(o&&o.data('cke-real-element-type')&&o.data('cke-real-element-type')=='flash'){A.fakeImage=o;var p=j.restoreRealElement(o),q=null,r=null,s={};if(p.getName()=='cke:object'){q=p;var t=q.getElementsByTag('embed','cke');if(t.count()>0)r=t.getItem(0);var u=q.getElementsByTag('param','cke');for(var v=0,w=u.count();v<w;v++){var x=u.getItem(v),y=x.getAttribute('name'),z=x.getAttribute('value');s[y]=z;}}else if(p.getName()=='cke:embed')r=p;A.objectNode=q;A.embedNode=r;A.setupContent(q,r,s,o);}},onOk:function(){var y=this;var o=null,p=null,q=null;if(!y.fakeImage){if(k){o=CKEDITOR.dom.element.createFromHtml('<cke:object></cke:object>',j.document);var r={classid:'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',codebase:'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'};o.setAttributes(r);}if(l){p=CKEDITOR.dom.element.createFromHtml('<cke:embed></cke:embed>',j.document);p.setAttributes({type:'application/x-shockwave-flash',pluginspage:'http://www.macromedia.com/go/getflashplayer'});if(o)p.appendTo(o);}}else{o=y.objectNode;p=y.embedNode;}if(o){q={};var s=o.getElementsByTag('param','cke');for(var t=0,u=s.count();t<u;t++)q[s.getItem(t).getAttribute('name')]=s.getItem(t);}var v={},w={};y.commitContent(o,p,q,v,w);var x=j.createFakeElement(o||p,'cke_flash','flash',true);x.setAttributes(w);x.setStyles(v);if(y.fakeImage){x.replace(y.fakeImage);j.getSelection().selectElement(x);}else j.insertElement(x);},onHide:function(){if(this.preview)this.preview.setHtml('');},contents:[{id:'info',label:j.lang.common.generalTab,accessKey:'I',elements:[{type:'vbox',padding:0,children:[{type:'hbox',widths:['280px','110px'],align:'right',children:[{id:'src',type:'text',label:j.lang.common.url,required:true,validate:CKEDITOR.dialog.validate.notEmpty(j.lang.flash.validateSrc),setup:h,commit:i,onLoad:function(){var o=this.getDialog(),p=function(q){m.setAttribute('src',q);
|
9
|
+
o.preview.setHtml('<embed height="100%" width="100%" src="'+CKEDITOR.tools.htmlEncode(m.getAttribute('src'))+'" type="application/x-shockwave-flash"></embed>');};o.preview=o.getContentElement('info','preview').getElement().getChild(3);this.on('change',function(q){if(q.data&&q.data.value)p(q.data.value);});this.getInputElement().on('change',function(q){p(this.getValue());},this);}},{type:'button',id:'browse',filebrowser:'info:src',hidden:true,style:'display:inline-block;margin-top:10px;',label:j.lang.common.browseServer}]}]},{type:'hbox',widths:['25%','25%','25%','25%','25%'],children:[{type:'text',id:'width',style:'width:95px',label:j.lang.common.width,validate:CKEDITOR.dialog.validate.htmlLength(j.lang.common.invalidHtmlLength.replace('%1',j.lang.common.width)),setup:h,commit:i},{type:'text',id:'height',style:'width:95px',label:j.lang.common.height,validate:CKEDITOR.dialog.validate.htmlLength(j.lang.common.invalidHtmlLength.replace('%1',j.lang.common.height)),setup:h,commit:i},{type:'text',id:'hSpace',style:'width:95px',label:j.lang.flash.hSpace,validate:CKEDITOR.dialog.validate.integer(j.lang.flash.validateHSpace),setup:h,commit:i},{type:'text',id:'vSpace',style:'width:95px',label:j.lang.flash.vSpace,validate:CKEDITOR.dialog.validate.integer(j.lang.flash.validateVSpace),setup:h,commit:i}]},{type:'vbox',children:[{type:'html',id:'preview',style:'width:95%;',html:n}]}]},{id:'Upload',hidden:true,filebrowser:'uploadButton',label:j.lang.common.upload,elements:[{type:'file',id:'upload',label:j.lang.common.upload,size:38},{type:'fileButton',id:'uploadButton',label:j.lang.common.uploadSubmit,filebrowser:'info:src','for':['Upload','upload']}]},{id:'properties',label:j.lang.flash.propertiesTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'scale',type:'select',label:j.lang.flash.scale,'default':'',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.flash.scaleAll,'showall'],[j.lang.flash.scaleNoBorder,'noborder'],[j.lang.flash.scaleFit,'exactfit']],setup:h,commit:i},{id:'allowScriptAccess',type:'select',label:j.lang.flash.access,'default':'',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.flash.accessAlways,'always'],[j.lang.flash.accessSameDomain,'samedomain'],[j.lang.flash.accessNever,'never']],setup:h,commit:i}]},{type:'hbox',widths:['50%','50%'],children:[{id:'wmode',type:'select',label:j.lang.flash.windowMode,'default':'',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.flash.windowModeWindow,'window'],[j.lang.flash.windowModeOpaque,'opaque'],[j.lang.flash.windowModeTransparent,'transparent']],setup:h,commit:i},{id:'quality',type:'select',label:j.lang.flash.quality,'default':'high',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.flash.qualityBest,'best'],[j.lang.flash.qualityHigh,'high'],[j.lang.flash.qualityAutoHigh,'autohigh'],[j.lang.flash.qualityMedium,'medium'],[j.lang.flash.qualityAutoLow,'autolow'],[j.lang.flash.qualityLow,'low']],setup:h,commit:i}]},{type:'hbox',widths:['50%','50%'],children:[{id:'align',type:'select',label:j.lang.common.align,'default':'',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.common.alignLeft,'left'],[j.lang.flash.alignAbsBottom,'absBottom'],[j.lang.flash.alignAbsMiddle,'absMiddle'],[j.lang.flash.alignBaseline,'baseline'],[j.lang.common.alignBottom,'bottom'],[j.lang.common.alignMiddle,'middle'],[j.lang.common.alignRight,'right'],[j.lang.flash.alignTextTop,'textTop'],[j.lang.common.alignTop,'top']],setup:h,commit:function(o,p,q,r,s){var t=this.getValue();
|
10
|
+
i.apply(this,arguments);t&&(s.align=t);}},{type:'html',html:'<div></div>'}]},{type:'fieldset',label:CKEDITOR.tools.htmlEncode(j.lang.flash.flashvars),children:[{type:'vbox',padding:0,children:[{type:'checkbox',id:'menu',label:j.lang.flash.chkMenu,'default':true,setup:h,commit:i},{type:'checkbox',id:'play',label:j.lang.flash.chkPlay,'default':true,setup:h,commit:i},{type:'checkbox',id:'loop',label:j.lang.flash.chkLoop,'default':true,setup:h,commit:i},{type:'checkbox',id:'allowFullScreen',label:j.lang.flash.chkFull,'default':true,setup:h,commit:i}]}]}]},{id:'advanced',label:j.lang.common.advancedTab,elements:[{type:'hbox',widths:['45%','55%'],children:[{type:'text',id:'id',label:j.lang.common.id,setup:h,commit:i},{type:'text',id:'title',label:j.lang.common.advisoryTitle,setup:h,commit:i}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',id:'bgcolor',label:j.lang.flash.bgcolor,setup:h,commit:i},{type:'text',id:'class',label:j.lang.common.cssClass,setup:h,commit:i}]},{type:'text',id:'style',validate:CKEDITOR.dialog.validate.inlineStyle(j.lang.common.invalidInlineStyle),label:j.lang.common.cssStyle,setup:h,commit:i}]}]};});})();
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){CKEDITOR.dialog.add('attachment',function(editor){var selectableTargets=/^(_(?:self|top|parent|blank))$/;var parseLink=function(editor,element){var href=element?(element.getAttribute('_cke_saved_href')||element.getAttribute('href')):'',emailMatch,anchorMatch,urlMatch,retval={};retval.type='url';retval.url=href;if(element){var target=element.getAttribute('target');retval.target={};if(target){var targetMatch=target.match(selectableTargets);if(targetMatch)retval.target.type=retval.target.name=target;else{retval.target.type='frame';retval.target.name=target}}var me=this;retval.title=element.getAttribute('title')}var elements=editor.document.getElementsByTag('img'),realAnchors=new CKEDITOR.dom.nodeList(editor.document.$.anchors),anchors=retval.anchors=[];for(var i=0;i<elements.count();i++){var item=elements.getItem(i);if(item.getAttribute('_cke_realelement')&&item.getAttribute('_cke_real_element_type')=='anchor'){anchors.push(editor.restoreRealElement(item))}}for(i=0;i<realAnchors.count();i++)anchors.push(realAnchors.getItem(i));for(i=0;i<anchors.length;i++){item=anchors[i];anchors[i]={name:item.getAttribute('name'),id:item.getAttribute('id')}}this._.selectedElement=element;return retval};var targetChanged=function(){var dialog=this.getDialog(),targetName=dialog.getContentElement('general','linkTargetName'),value=this.getValue();if(!targetName)return;targetName.setLabel(editor.lang.link.targetFrameName);this.getDialog().setValueOf('general','linkTargetName',value.charAt(0)=='_'?value:'')};function parseUrl(url){var filename=url.split('/').pop();var extname=filename.split('.').pop();return{filename:filename,className:"attach_"+extname}}return{title:editor.lang.attachment.title,minWidth:420,minHeight:200,onShow:function(){this.fakeObj=false;var editor=this.getParentEditor(),selection=editor.getSelection(),ranges=selection.getRanges(),element=null,me=this;if(ranges.length==1){var rangeRoot=ranges[0].getCommonAncestor(true);element=rangeRoot.getAscendant('a',true);if(element&&element.getAttribute('href')){selection.selectElement(element)}else if((element=rangeRoot.getAscendant('img',true))&&element.getAttribute('_cke_real_element_type')&&element.getAttribute('_cke_real_element_type')=='anchor'){this.fakeObj=element;element=editor.restoreRealElement(this.fakeObj);selection.selectElement(this.fakeObj)}else element=null}this.setupContent(parseLink.apply(this,[editor,element]))},onOk:function(){var attributes={href:'javascript:void(0)/*'+CKEDITOR.tools.getNextNumber()+'*/'},removeAttributes=[],data={href:attributes.href},me=this,editor=this.getParentEditor();this.commitContent(data);var url=data.url||'';attributes._cke_saved_href=(url.indexOf('/')===0)?url:"http://"+url;var file=parseUrl(url);var title=data.title||'';attributes.title=(data.title.length==0)?file.filename:data.title;attributes.class=file.className;if(data.target){if(data.target.type!='notSet'&&data.target.name)attributes.target=data.target.name;else removeAttributes.push('target');removeAttributes.push('_cke_pa_onclick','onclick')}if(!this._.selectedElement){var selection=editor.getSelection(),ranges=selection.getRanges();if(ranges.length==1&&ranges[0].collapsed){var text=new CKEDITOR.dom.text(attributes.title,editor.document);ranges[0].insertNode(text);ranges[0].selectNodeContents(text);selection.selectRanges(ranges)}var style=new CKEDITOR.style({element:'a',attributes:attributes});style.type=CKEDITOR.STYLE_INLINE;style.apply(editor.document)}else{var element=this._.selectedElement;if(CKEDITOR.env.ie&&attributes.name!=element.getAttribute('name')){var newElement=new CKEDITOR.dom.element('<a name="'+CKEDITOR.tools.htmlEncode(attributes.name)+'">',editor.document);selection=editor.getSelection();element.moveChildren(newElement);element.copyAttributes(newElement,{name:1});newElement.replace(element);element=newElement;selection.selectElement(element)}element.setAttributes(attributes);element.removeAttributes(removeAttributes);if(element.getAttribute('title'))element.setHtml(element.getAttribute('title'));if(element.getAttribute('name'))element.addClass('cke_anchor');else element.removeClass('cke_anchor');if(this.fakeObj)editor.createFakeElement(element,'cke_anchor','anchor').replace(this.fakeObj);delete this._.selectedElement}},contents:[{label:editor.lang.common.generalTab,id:'general',accessKey:'I',elements:[{type:'vbox',padding:0,children:[{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(editor.lang.attachment.url)+'</span>'},{type:'hbox',widths:['280px','110px'],align:'right',children:[{id:'src',type:'text',label:'',validate:CKEDITOR.dialog.validate.notEmpty(editor.lang.flash.validateSrc),setup:function(data){if(data.url)this.setValue(data.url);this.select()},commit:function(data){data.url=this.getValue()}},{type:'button',id:'browse',filebrowser:'general:src',hidden:true,align:'center',label:editor.lang.common.browseServer}]}]},{type:'vbox',padding:0,children:[{id:'name',type:'text',label:editor.lang.attachment.name,setup:function(data){if(data.title)this.setValue(data.title)},commit:function(data){data.title=this.getValue()}}]},{type:'hbox',widths:['50%','50%'],children:[{type:'select',id:'linkTargetType',label:editor.lang.link.target,'default':'notSet',style:'width : 100%;','items':[[editor.lang.link.targetNotSet,'notSet'],[editor.lang.link.targetFrame,'frame'],[editor.lang.link.targetNew,'_blank'],[editor.lang.link.targetTop,'_top'],[editor.lang.link.targetSelf,'_self'],[editor.lang.link.targetParent,'_parent']],onChange:targetChanged,setup:function(data){if(data.target)this.setValue(data.target.type)},commit:function(data){if(!data.target)data.target={};data.target.type=this.getValue()}},{type:'text',id:'linkTargetName',label:editor.lang.link.targetFrameName,'default':'',setup:function(data){if(data.target)this.setValue(data.target.name)},commit:function(data){if(!data.target)data.target={};data.target.name=this.getValue()}}]}]},{id:'Upload',hidden:true,filebrowser:'uploadButton',label:editor.lang.common.upload,elements:[{type:'file',id:'upload',label:editor.lang.common.upload,size:38},{type:'fileButton',id:'uploadButton',label:editor.lang.common.uploadSubmit,filebrowser:'general:src','for':['Upload','upload']}]},]}})})();
|
@@ -0,0 +1,26 @@
|
|
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
|
+
body
|
8
|
+
{
|
9
|
+
/* Font */
|
10
|
+
font-family: Arial, Verdana, sans-serif;
|
11
|
+
font-size: 12px;
|
12
|
+
|
13
|
+
/* Text color */
|
14
|
+
color: #222;
|
15
|
+
|
16
|
+
/* Remove the background color to make it transparent */
|
17
|
+
background-color: #fff;
|
18
|
+
}
|
19
|
+
|
20
|
+
ol,ul,dl
|
21
|
+
{
|
22
|
+
/* IE7: reset rtl list margin. (#7334) */
|
23
|
+
*margin-right:0px;
|
24
|
+
/* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
|
25
|
+
padding:0 40px;
|
26
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
CKEDITOR.plugins.setLang('embed', 'en',
|
2
|
+
{
|
3
|
+
embed :
|
4
|
+
{
|
5
|
+
title : "Paste embed",
|
6
|
+
button : "Paste embed",
|
7
|
+
pasteMsg : "Please, paste embed-code from Youtube, Myspace, Flickr and others sources into rectangle, using the keyboard (Ctrl + V), and click OK."
|
8
|
+
}
|
9
|
+
});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
+
*/
|
Binary file
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
+
*/
|
6
|
+
|
Binary file
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
|
7
|
+
CKEDITOR.editorConfig = function( config )
|
8
|
+
{
|
9
|
+
config.PreserveSessionOnFileBrowser = true;
|
10
|
+
// Define changes to default configuration here. For example:
|
11
|
+
config.language = 'en';
|
12
|
+
// config.uiColor = '#AADC6E';
|
13
|
+
|
14
|
+
//config.ContextMenu = ['Generic','Anchor','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
|
15
|
+
|
16
|
+
config.height = '400px';
|
17
|
+
config.width = '600px';
|
18
|
+
|
19
|
+
//config.resize_enabled = false;
|
20
|
+
//config.resize_maxHeight = 2000;
|
21
|
+
config.resize_maxWidth = 200;
|
22
|
+
|
23
|
+
//config.startupFocus = true;
|
24
|
+
|
25
|
+
// works only with en, ru, uk languages
|
26
|
+
// config.extraPlugins = "embed,attachment";
|
27
|
+
config.extraPlugins = "autogrow";
|
28
|
+
|
29
|
+
config.toolbar = 'Easy';
|
30
|
+
|
31
|
+
config.toolbar_Easy =
|
32
|
+
[
|
33
|
+
['Maximize','-','PasteFromWord'],
|
34
|
+
// ['Undo','Redo','-','Find','Replace','RemoveFormat'],
|
35
|
+
['Bold','Italic','TextColor'],
|
36
|
+
['NumberedList','BulletedList']
|
37
|
+
// ,'-','Outdent','Indent','Blockquote'],
|
38
|
+
['Link','Unlink'],
|
39
|
+
['Table','SpecialChar']
|
40
|
+
];
|
41
|
+
};
|
42
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){var attachmentCmd={exec:function(editor){editor.openDialog('attachment');return}};CKEDITOR.plugins.add('attachment',{lang:['en','ru','uk'],requires:['dialog'],init:function(editor){var commandName='attachment';editor.addCommand(commandName,attachmentCmd);editor.ui.addButton('Attachment',{label:editor.lang.attachment.button,command:commandName,icon:this.path+"images/attachment.png"});CKEDITOR.dialog.add(commandName,CKEDITOR.getUrl(this.path+'dialogs/attachment.js'))}})})();
|
Binary file
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
= require_self
|
9
|
+
= require_tree .
|
10
|
+
|
11
|
+
strong {
|
12
|
+
color: yellow;
|
13
|
+
}
|
@@ -0,0 +1,79 @@
|
|
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
|
+
CKEDITOR.editorConfig = function( config )
|
8
|
+
{
|
9
|
+
// Define changes to default configuration here. For example:
|
10
|
+
// config.language = 'fr';
|
11
|
+
// config.uiColor = '#AADC6E';
|
12
|
+
|
13
|
+
/* Filebrowser routes */
|
14
|
+
// The location of an external file browser, that should be launched when "Browse Server" button is pressed.
|
15
|
+
config.filebrowserBrowseUrl = "/ckeditor/attachment_files";
|
16
|
+
|
17
|
+
// The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Flash dialog.
|
18
|
+
config.filebrowserFlashBrowseUrl = "/ckeditor/attachment_files";
|
19
|
+
|
20
|
+
// The location of a script that handles file uploads in the Flash dialog.
|
21
|
+
config.filebrowserFlashUploadUrl = "/ckeditor/attachment_files";
|
22
|
+
|
23
|
+
// The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link tab of Image dialog.
|
24
|
+
config.filebrowserImageBrowseLinkUrl = "/ckeditor/pictures";
|
25
|
+
|
26
|
+
// The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Image dialog.
|
27
|
+
config.filebrowserImageBrowseUrl = "/ckeditor/pictures";
|
28
|
+
|
29
|
+
// The location of a script that handles file uploads in the Image dialog.
|
30
|
+
config.filebrowserImageUploadUrl = "/ckeditor/pictures";
|
31
|
+
|
32
|
+
// The location of a script that handles file uploads.
|
33
|
+
config.filebrowserUploadUrl = "/ckeditor/attachment_files";
|
34
|
+
|
35
|
+
// Rails CSRF token
|
36
|
+
config.filebrowserParams = function(){
|
37
|
+
var csrf_token = $('meta[name=csrf-token]').attr('content'),
|
38
|
+
csrf_param = $('meta[name=csrf-param]').attr('content'),
|
39
|
+
params = new Object();
|
40
|
+
|
41
|
+
if (csrf_param !== undefined && csrf_token !== undefined) {
|
42
|
+
params[csrf_param] = csrf_token;
|
43
|
+
}
|
44
|
+
|
45
|
+
return params;
|
46
|
+
};
|
47
|
+
|
48
|
+
/* Extra plugins */
|
49
|
+
// works only with en, ru, uk locales
|
50
|
+
config.extraPlugins = "embed,attachment";
|
51
|
+
|
52
|
+
/* Toolbars */
|
53
|
+
config.toolbar = 'Easy';
|
54
|
+
|
55
|
+
config.toolbar_Easy =
|
56
|
+
[
|
57
|
+
// ['Source','-','Preview'],
|
58
|
+
['PasteFromWord'],
|
59
|
+
// ['Undo','Redo','-','SelectAll','RemoveFormat'],
|
60
|
+
['Styles','Format']
|
61
|
+
// , ['Subscript', 'Superscript', 'TextColor'], ['Maximize','-','About'], '/',
|
62
|
+
['Bold','Italic','Underline','Strike'], ['NumberedList','BulletedList'],
|
63
|
+
// ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
64
|
+
['Link','Unlink'], ['Image', 'Attachment', 'Flash', 'Embed'],
|
65
|
+
['Table','SpecialChar']
|
66
|
+
];
|
67
|
+
|
68
|
+
// config.toolbar_Easy =
|
69
|
+
// [
|
70
|
+
// ['Source','-','Preview'],
|
71
|
+
// ['Cut','Copy','Paste','PasteText','PasteFromWord',],
|
72
|
+
// ['Undo','Redo','-','SelectAll','RemoveFormat'],
|
73
|
+
// ['Styles','Format'], ['Subscript', 'Superscript', 'TextColor'], ['Maximize','-','About'], '/',
|
74
|
+
// ['Bold','Italic','Underline','Strike'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
|
75
|
+
// ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
76
|
+
// ['Link','Unlink','Anchor'], ['Image', 'Attachment', 'Flash', 'Embed'],
|
77
|
+
// ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak']
|
78
|
+
// ];
|
79
|
+
};
|