adva_fckeditor 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README +21 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/adva_fckeditor.gemspec +19 -0
- data/app/assets/javascripts/adva_fckeditor/config.js +58 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckcontextmenu.js +223 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdataprocessor.js +119 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +53 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +58 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdomrange.js +935 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdomrange_gecko.js +104 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdomrange_ie.js +199 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdomrangeiterator.js +327 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckeditingarea.js +368 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckelementpath.js +89 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckenterkey.js +708 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckevents.js +71 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckhtmliterator.js +142 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckicon.js +103 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckiecleanup.js +68 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckimagepreloader.js +64 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckkeystrokehandler.js +141 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckmenublock.js +153 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckmenublockpanel.js +54 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckmenuitem.js +161 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckpanel.js +463 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckplugin.js +56 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckspecialcombo.js +376 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckstyle.js +1500 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbar.js +103 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +36 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +38 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarbutton.js +81 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +198 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +139 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +98 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +76 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +103 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +146 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +200 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckw3crange.js +451 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckxml.js +108 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckxml_gecko.js +106 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckxml_ie.js +93 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fck_othercommands.js +634 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +281 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +61 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckfitwindow.js +213 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckindentcommands.js +282 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +173 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fcklistcommands.js +382 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +39 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +40 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +40 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +45 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckshowblocks.js +94 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +49 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +72 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckstylecommand.js +60 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fcktablecommand.js +106 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +201 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/fckconstants.js +56 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/fckeditorapi.js +179 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/fckjscoreextensions.js +159 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/fckscriptloader.js +122 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fck.js +1256 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fck_contextmenu.js +345 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fck_gecko.js +497 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fck_ie.js +456 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckbrowserinfo.js +61 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckcodeformatter.js +100 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckcommands.js +172 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckconfig.js +237 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdebug.js +59 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdebug_empty.js +31 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdialog.js +239 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdocumentprocessor.js +270 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdomtools.js +1057 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcklanguagemanager.js +165 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcklisthandler.js +152 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcklistslib.js +63 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckplugins.js +46 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckregexlib.js +100 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckselection.js +42 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckselection_gecko.js +228 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckselection_ie.js +287 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckstyles.js +381 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktablehandler.js +863 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +56 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktablehandler_ie.js +64 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktoolbaritems.js +124 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktoolbarset.js +399 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktools.js +749 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktools_gecko.js +282 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktools_ie.js +234 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckundo.js +223 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckurlparams.js +39 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckxhtml.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckxhtml_gecko.js +114 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckxhtml_ie.js +213 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckxhtmlentities.js +357 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/behaviors/disablehandles.htc +15 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/behaviors/showtableborders.htc +36 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/fck_editorarea.css +110 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/fck_internal.css +199 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/fck_showtableborders_gecko.css +49 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_address.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_div.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h1.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h2.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h3.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h4.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h5.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h6.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_p.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_pre.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_anchor.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_pagebreak.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_plugin.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/fck_dialog_common.css +85 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/fck_dialog_common.js +347 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/images/locked.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/images/reset.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_about.html +161 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_anchor.html +220 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_button.html +104 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_checkbox.html +104 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_colorselector.html +172 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_div.html +396 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +113 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_docprops.html +600 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_flash/fck_flash.js +300 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +50 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_flash.html +152 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_form.html +109 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_hiddenfield.html +115 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js +512 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_image/fck_image_preview.html +72 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_image.html +258 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_link/fck_link.js +893 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_link.html +295 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_listprop.html +120 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_paste.html +347 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_radiobutton.html +104 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_replace.html +650 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_select/fck_select.js +194 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_select.html +180 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_smiley.html +111 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_source.html +68 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_specialchar.html +121 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +87 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +153 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +148 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +199 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +181 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +461 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +71 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +49 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +272 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages.html +70 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_table.html +439 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_tablecell.html +293 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_template/images/template1.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_template/images/template2.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_template/images/template3.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_template.html +242 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_textarea.html +94 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_textfield.html +136 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dtd/fck_dtd_test.html +41 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dtd/fck_xhtml10strict.js +116 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dtd/fck_xhtml10transitional.js +140 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/fckdebug.html +153 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/fckdialog.html +819 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/fckeditor.html +317 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/fckeditor.original.html +424 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/browser.css +87 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/browser.html +200 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +95 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +114 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmfolders.html +198 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +185 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +69 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmupload.html +115 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/js/common.js +88 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/js/fckxml.js +147 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/basexml.asp +63 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/class_upload.asp +353 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/commands.asp +198 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/config.asp +128 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/connector.asp +88 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/io.asp +237 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/upload.asp +65 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/util.asp +55 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/aspx/config.ascx +98 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +32 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +32 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/ImageObject.cfc +273 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf5_connector.cfm +315 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf5_upload.cfm +299 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_basexml.cfm +68 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_commands.cfm +230 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_connector.cfm +89 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_io.cfm +291 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_upload.cfm +72 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_util.cfm +131 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/config.cfm +189 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/connector.cfm +32 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/image.cfc +1324 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/upload.cfm +31 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/lasso/config.lasso +65 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/lasso/connector.lasso +322 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/lasso/upload.lasso +168 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/basexml.pl +63 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/commands.pl +187 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/connector.cgi +136 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/io.pl +141 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/upload.cgi +117 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +686 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/util.pl +68 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/basexml.php +93 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/commands.php +302 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/config.php +151 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/connector.php +90 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/io.php +296 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/phpcompat.php +17 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/upload.php +59 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/util.php +220 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/config.py +146 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/connector.py +118 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckcommands.py +198 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckconnector.py +90 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckoutput.py +116 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckutil.py +126 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/htaccess.txt +23 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/upload.py +88 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/wsgi.py +58 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/zope.py +188 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/test.html +210 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/uploadtest.html +192 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/anchor.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/arrow_ltr.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/arrow_rtl.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/spacer.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/js/fckadobeair.js +176 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/js/fckeditorcode_gecko.js +108 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/js/fckeditorcode_ie.js +109 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/_translationstatus.txt +79 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/af.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ar.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/bg.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/bn.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/bs.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ca.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/cs.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/da.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/de.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/el.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/en-au.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/en-ca.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/en-uk.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/en.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/eo.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/es.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/et.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/eu.js +535 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fa.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fi.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fo.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fr-ca.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fr.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/gl.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/gu.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/he.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/hi.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/hr.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/hu.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/is.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/it.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ja.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/km.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ko.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/lt.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/lv.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/mn.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ms.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/nb.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/nl.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/no.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/pl.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/pt-br.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/pt.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ro.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ru.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sk.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sl.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sr-latn.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sr.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sv.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/th.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/tr.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/uk.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/vi.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/zh-cn.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/zh.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/autogrow/fckplugin.js +111 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +26 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/bbcode/_sample/sample.html +67 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/bbcode/fckplugin.js +123 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/dragresizetable/fckplugin.js +529 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/fck_placeholder.html +105 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/fckplugin.js +187 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/de.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/en.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/es.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/fr.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/it.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/pl.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/simplecommands/fckplugin.js +29 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/tablecommands/fckplugin.js +33 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/_fckviewstrips.html +121 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/fck_dialog.css +402 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/fck_dialog_ie6.js +110 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/fck_editor.css +464 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/fck_strip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/dialog.sides.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/dialog.sides.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/dialog.sides.rtl.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/sprites.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/sprites.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.arrowright.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.buttonarrow.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.collapse.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.end.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.expand.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.separator.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.start.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/toolbar/configurecell.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/fck_dialog.css +402 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/fck_dialog_ie6.js +110 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/fck_editor.css +476 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/fck_strip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/dialog.sides.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/dialog.sides.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/dialog.sides.rtl.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/sprites.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/sprites.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.arrowright.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.bg.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.buttonarrow.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.collapse.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.end.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.expand.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.separator.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.start.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/fck_dialog.css +402 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/fck_dialog_ie6.js +110 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/fck_editor.css +473 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/dialog.sides.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/dialog.sides.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/dialog.sides.rtl.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/sprites.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/sprites.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.end.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.start.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/wsc/ciframe.html +65 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/wsc/tmpFrameset.html +67 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/wsc/w.html +227 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fckconfig.js +325 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fckeditor.js +330 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fckpackager.xml +262 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fckstyles.xml +111 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fcktemplates.xml +103 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/license.txt +1246 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/cells/cell.html +259 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/cells/fckplugin.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/cells/lang/de.js +4 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/cells/lang/en.js +4 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/fckplugin.js +8 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/de.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/en.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/it.js +22 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/ja.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/lt.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/no.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/pt.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/zh-cn.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/zh.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/license.txt +286 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/readme.txt +54 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/youtube.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/youtube.html +47 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/youtube.js +121 -0
- data/app/assets/javascripts/adva_fckeditor/setup_fckeditor.js +49 -0
- data/app/assets/javascripts/adva_fckeditor/setup_fckeditor.prototype.js +38 -0
- data/lib/adva_fckeditor/version.rb +3 -0
- data/lib/adva_fckeditor.rb +13 -0
- data/lib/fckeditor.rb +6 -0
- metadata +556 -0
@@ -0,0 +1,56 @@
|
|
1
|
+
/*
|
2
|
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3
|
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4
|
+
*
|
5
|
+
* == BEGIN LICENSE ==
|
6
|
+
*
|
7
|
+
* Licensed under the terms of any of the following licenses at your
|
8
|
+
* choice:
|
9
|
+
*
|
10
|
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11
|
+
* http://www.gnu.org/licenses/gpl.html
|
12
|
+
*
|
13
|
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14
|
+
* http://www.gnu.org/licenses/lgpl.html
|
15
|
+
*
|
16
|
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17
|
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18
|
+
*
|
19
|
+
* == END LICENSE ==
|
20
|
+
*
|
21
|
+
* Manage table operations (non-IE).
|
22
|
+
*/
|
23
|
+
|
24
|
+
FCKTableHandler.GetSelectedCells = function()
|
25
|
+
{
|
26
|
+
var aCells = new Array() ;
|
27
|
+
|
28
|
+
var oSelection = FCKSelection.GetSelection() ;
|
29
|
+
|
30
|
+
// If the selection is a text.
|
31
|
+
if ( oSelection.rangeCount == 1 && oSelection.anchorNode.nodeType == 3 )
|
32
|
+
{
|
33
|
+
var oParent = FCKTools.GetElementAscensor( oSelection.anchorNode, 'TD,TH' ) ;
|
34
|
+
|
35
|
+
if ( oParent )
|
36
|
+
aCells[0] = oParent ;
|
37
|
+
|
38
|
+
return aCells ;
|
39
|
+
}
|
40
|
+
|
41
|
+
for ( var i = 0 ; i < oSelection.rangeCount ; i++ )
|
42
|
+
{
|
43
|
+
var oRange = oSelection.getRangeAt(i) ;
|
44
|
+
var oCell ;
|
45
|
+
|
46
|
+
if ( oRange.startContainer.tagName.Equals( 'TD', 'TH' ) )
|
47
|
+
oCell = oRange.startContainer ;
|
48
|
+
else
|
49
|
+
oCell = oRange.startContainer.childNodes[ oRange.startOffset ] ;
|
50
|
+
|
51
|
+
if ( oCell.nodeName.Equals( 'TD', 'TH' ) )
|
52
|
+
aCells[aCells.length] = oCell ;
|
53
|
+
}
|
54
|
+
|
55
|
+
return aCells ;
|
56
|
+
}
|
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktablehandler_ie.js
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
/*
|
2
|
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3
|
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4
|
+
*
|
5
|
+
* == BEGIN LICENSE ==
|
6
|
+
*
|
7
|
+
* Licensed under the terms of any of the following licenses at your
|
8
|
+
* choice:
|
9
|
+
*
|
10
|
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11
|
+
* http://www.gnu.org/licenses/gpl.html
|
12
|
+
*
|
13
|
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14
|
+
* http://www.gnu.org/licenses/lgpl.html
|
15
|
+
*
|
16
|
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17
|
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18
|
+
*
|
19
|
+
* == END LICENSE ==
|
20
|
+
*
|
21
|
+
* Manage table operations (IE specific).
|
22
|
+
*/
|
23
|
+
|
24
|
+
FCKTableHandler.GetSelectedCells = function()
|
25
|
+
{
|
26
|
+
if ( FCKSelection.GetType() == 'Control' )
|
27
|
+
{
|
28
|
+
var td = FCKSelection.MoveToAncestorNode( ['TD', 'TH'] ) ;
|
29
|
+
return td ? [ td ] : [] ;
|
30
|
+
}
|
31
|
+
|
32
|
+
var aCells = new Array() ;
|
33
|
+
|
34
|
+
var oRange = FCKSelection.GetSelection().createRange() ;
|
35
|
+
// var oParent = oRange.parentElement() ;
|
36
|
+
var oParent = FCKSelection.GetParentElement() ;
|
37
|
+
|
38
|
+
if ( oParent && oParent.tagName.Equals( 'TD', 'TH' ) )
|
39
|
+
aCells[0] = oParent ;
|
40
|
+
else
|
41
|
+
{
|
42
|
+
oParent = FCKSelection.MoveToAncestorNode( 'TABLE' ) ;
|
43
|
+
|
44
|
+
if ( oParent )
|
45
|
+
{
|
46
|
+
// Loops throw all cells checking if the cell is, or part of it, is inside the selection
|
47
|
+
// and then add it to the selected cells collection.
|
48
|
+
for ( var i = 0 ; i < oParent.cells.length ; i++ )
|
49
|
+
{
|
50
|
+
var oCellRange = FCK.EditorDocument.body.createTextRange() ;
|
51
|
+
oCellRange.moveToElementText( oParent.cells[i] ) ;
|
52
|
+
|
53
|
+
if ( oRange.inRange( oCellRange )
|
54
|
+
|| ( oRange.compareEndPoints('StartToStart',oCellRange) >= 0 && oRange.compareEndPoints('StartToEnd',oCellRange) <= 0 )
|
55
|
+
|| ( oRange.compareEndPoints('EndToStart',oCellRange) >= 0 && oRange.compareEndPoints('EndToEnd',oCellRange) <= 0 ) )
|
56
|
+
{
|
57
|
+
aCells[aCells.length] = oParent.cells[i] ;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
return aCells ;
|
64
|
+
}
|
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktoolbaritems.js
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
/*
|
2
|
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3
|
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4
|
+
*
|
5
|
+
* == BEGIN LICENSE ==
|
6
|
+
*
|
7
|
+
* Licensed under the terms of any of the following licenses at your
|
8
|
+
* choice:
|
9
|
+
*
|
10
|
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11
|
+
* http://www.gnu.org/licenses/gpl.html
|
12
|
+
*
|
13
|
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14
|
+
* http://www.gnu.org/licenses/lgpl.html
|
15
|
+
*
|
16
|
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17
|
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18
|
+
*
|
19
|
+
* == END LICENSE ==
|
20
|
+
*
|
21
|
+
* Toolbar items definitions.
|
22
|
+
*/
|
23
|
+
|
24
|
+
var FCKToolbarItems = new Object() ;
|
25
|
+
FCKToolbarItems.LoadedItems = new Object() ;
|
26
|
+
|
27
|
+
FCKToolbarItems.RegisterItem = function( itemName, item )
|
28
|
+
{
|
29
|
+
this.LoadedItems[ itemName ] = item ;
|
30
|
+
}
|
31
|
+
|
32
|
+
FCKToolbarItems.GetItem = function( itemName )
|
33
|
+
{
|
34
|
+
var oItem = FCKToolbarItems.LoadedItems[ itemName ] ;
|
35
|
+
|
36
|
+
if ( oItem )
|
37
|
+
return oItem ;
|
38
|
+
|
39
|
+
switch ( itemName )
|
40
|
+
{
|
41
|
+
case 'Source' : oItem = new FCKToolbarButton( 'Source' , FCKLang.Source, null, FCK_TOOLBARITEM_ICONTEXT, true, true, 1 ) ; break ;
|
42
|
+
case 'DocProps' : oItem = new FCKToolbarButton( 'DocProps' , FCKLang.DocProps, null, null, null, null, 2 ) ; break ;
|
43
|
+
case 'Save' : oItem = new FCKToolbarButton( 'Save' , FCKLang.Save, null, null, true, null, 3 ) ; break ;
|
44
|
+
case 'NewPage' : oItem = new FCKToolbarButton( 'NewPage' , FCKLang.NewPage, null, null, true, null, 4 ) ; break ;
|
45
|
+
case 'Preview' : oItem = new FCKToolbarButton( 'Preview' , FCKLang.Preview, null, null, true, null, 5 ) ; break ;
|
46
|
+
case 'Templates' : oItem = new FCKToolbarButton( 'Templates' , FCKLang.Templates, null, null, null, null, 6 ) ; break ;
|
47
|
+
case 'About' : oItem = new FCKToolbarButton( 'About' , FCKLang.About, null, null, true, null, 47 ) ; break ;
|
48
|
+
|
49
|
+
case 'Cut' : oItem = new FCKToolbarButton( 'Cut' , FCKLang.Cut, null, null, false, true, 7 ) ; break ;
|
50
|
+
case 'Copy' : oItem = new FCKToolbarButton( 'Copy' , FCKLang.Copy, null, null, false, true, 8 ) ; break ;
|
51
|
+
case 'Paste' : oItem = new FCKToolbarButton( 'Paste' , FCKLang.Paste, null, null, false, true, 9 ) ; break ;
|
52
|
+
case 'PasteText' : oItem = new FCKToolbarButton( 'PasteText' , FCKLang.PasteText, null, null, false, true, 10 ) ; break ;
|
53
|
+
case 'PasteWord' : oItem = new FCKToolbarButton( 'PasteWord' , FCKLang.PasteWord, null, null, false, true, 11 ) ; break ;
|
54
|
+
case 'Print' : oItem = new FCKToolbarButton( 'Print' , FCKLang.Print, null, null, false, true, 12 ) ; break ;
|
55
|
+
case 'SpellCheck' : oItem = new FCKToolbarButton( 'SpellCheck', FCKLang.SpellCheck, null, null, null, null, 13 ) ; break ;
|
56
|
+
case 'Undo' : oItem = new FCKToolbarButton( 'Undo' , FCKLang.Undo, null, null, false, true, 14 ) ; break ;
|
57
|
+
case 'Redo' : oItem = new FCKToolbarButton( 'Redo' , FCKLang.Redo, null, null, false, true, 15 ) ; break ;
|
58
|
+
case 'SelectAll' : oItem = new FCKToolbarButton( 'SelectAll' , FCKLang.SelectAll, null, null, true, null, 18 ) ; break ;
|
59
|
+
case 'RemoveFormat' : oItem = new FCKToolbarButton( 'RemoveFormat', FCKLang.RemoveFormat, null, null, false, true, 19 ) ; break ;
|
60
|
+
case 'FitWindow' : oItem = new FCKToolbarButton( 'FitWindow' , FCKLang.FitWindow, null, null, true, true, 66 ) ; break ;
|
61
|
+
|
62
|
+
case 'Bold' : oItem = new FCKToolbarButton( 'Bold' , FCKLang.Bold, null, null, false, true, 20 ) ; break ;
|
63
|
+
case 'Italic' : oItem = new FCKToolbarButton( 'Italic' , FCKLang.Italic, null, null, false, true, 21 ) ; break ;
|
64
|
+
case 'Underline' : oItem = new FCKToolbarButton( 'Underline' , FCKLang.Underline, null, null, false, true, 22 ) ; break ;
|
65
|
+
case 'StrikeThrough' : oItem = new FCKToolbarButton( 'StrikeThrough' , FCKLang.StrikeThrough, null, null, false, true, 23 ) ; break ;
|
66
|
+
case 'Subscript' : oItem = new FCKToolbarButton( 'Subscript' , FCKLang.Subscript, null, null, false, true, 24 ) ; break ;
|
67
|
+
case 'Superscript' : oItem = new FCKToolbarButton( 'Superscript' , FCKLang.Superscript, null, null, false, true, 25 ) ; break ;
|
68
|
+
|
69
|
+
case 'OrderedList' : oItem = new FCKToolbarButton( 'InsertOrderedList' , FCKLang.NumberedListLbl, FCKLang.NumberedList, null, false, true, 26 ) ; break ;
|
70
|
+
case 'UnorderedList' : oItem = new FCKToolbarButton( 'InsertUnorderedList' , FCKLang.BulletedListLbl, FCKLang.BulletedList, null, false, true, 27 ) ; break ;
|
71
|
+
case 'Outdent' : oItem = new FCKToolbarButton( 'Outdent' , FCKLang.DecreaseIndent, null, null, false, true, 28 ) ; break ;
|
72
|
+
case 'Indent' : oItem = new FCKToolbarButton( 'Indent' , FCKLang.IncreaseIndent, null, null, false, true, 29 ) ; break ;
|
73
|
+
case 'Blockquote' : oItem = new FCKToolbarButton( 'Blockquote' , FCKLang.Blockquote, null, null, false, true, 73 ) ; break ;
|
74
|
+
case 'CreateDiv' : oItem = new FCKToolbarButton( 'CreateDiv' , FCKLang.CreateDiv, null, null, false, true, 74 ) ; break ;
|
75
|
+
|
76
|
+
case 'Link' : oItem = new FCKToolbarButton( 'Link' , FCKLang.InsertLinkLbl, FCKLang.InsertLink, null, false, true, 34 ) ; break ;
|
77
|
+
case 'Unlink' : oItem = new FCKToolbarButton( 'Unlink' , FCKLang.RemoveLink, null, null, false, true, 35 ) ; break ;
|
78
|
+
case 'Anchor' : oItem = new FCKToolbarButton( 'Anchor' , FCKLang.Anchor, null, null, null, null, 36 ) ; break ;
|
79
|
+
|
80
|
+
case 'Image' : oItem = new FCKToolbarButton( 'Image' , FCKLang.InsertImageLbl, FCKLang.InsertImage, null, false, true, 37 ) ; break ;
|
81
|
+
case 'Flash' : oItem = new FCKToolbarButton( 'Flash' , FCKLang.InsertFlashLbl, FCKLang.InsertFlash, null, false, true, 38 ) ; break ;
|
82
|
+
case 'Table' : oItem = new FCKToolbarButton( 'Table' , FCKLang.InsertTableLbl, FCKLang.InsertTable, null, false, true, 39 ) ; break ;
|
83
|
+
case 'SpecialChar' : oItem = new FCKToolbarButton( 'SpecialChar' , FCKLang.InsertSpecialCharLbl, FCKLang.InsertSpecialChar, null, false, true, 42 ) ; break ;
|
84
|
+
case 'Smiley' : oItem = new FCKToolbarButton( 'Smiley' , FCKLang.InsertSmileyLbl, FCKLang.InsertSmiley, null, false, true, 41 ) ; break ;
|
85
|
+
case 'PageBreak' : oItem = new FCKToolbarButton( 'PageBreak' , FCKLang.PageBreakLbl, FCKLang.PageBreak, null, false, true, 43 ) ; break ;
|
86
|
+
|
87
|
+
case 'Rule' : oItem = new FCKToolbarButton( 'Rule' , FCKLang.InsertLineLbl, FCKLang.InsertLine, null, false, true, 40 ) ; break ;
|
88
|
+
|
89
|
+
case 'JustifyLeft' : oItem = new FCKToolbarButton( 'JustifyLeft' , FCKLang.LeftJustify, null, null, false, true, 30 ) ; break ;
|
90
|
+
case 'JustifyCenter' : oItem = new FCKToolbarButton( 'JustifyCenter' , FCKLang.CenterJustify, null, null, false, true, 31 ) ; break ;
|
91
|
+
case 'JustifyRight' : oItem = new FCKToolbarButton( 'JustifyRight' , FCKLang.RightJustify, null, null, false, true, 32 ) ; break ;
|
92
|
+
case 'JustifyFull' : oItem = new FCKToolbarButton( 'JustifyFull' , FCKLang.BlockJustify, null, null, false, true, 33 ) ; break ;
|
93
|
+
|
94
|
+
case 'Style' : oItem = new FCKToolbarStyleCombo() ; break ;
|
95
|
+
case 'FontName' : oItem = new FCKToolbarFontsCombo() ; break ;
|
96
|
+
case 'FontSize' : oItem = new FCKToolbarFontSizeCombo() ; break ;
|
97
|
+
case 'FontFormat' : oItem = new FCKToolbarFontFormatCombo() ; break ;
|
98
|
+
|
99
|
+
case 'TextColor' : oItem = new FCKToolbarPanelButton( 'TextColor', FCKLang.TextColor, null, null, 45 ) ; break ;
|
100
|
+
case 'BGColor' : oItem = new FCKToolbarPanelButton( 'BGColor' , FCKLang.BGColor, null, null, 46 ) ; break ;
|
101
|
+
|
102
|
+
case 'Find' : oItem = new FCKToolbarButton( 'Find' , FCKLang.Find, null, null, null, null, 16 ) ; break ;
|
103
|
+
case 'Replace' : oItem = new FCKToolbarButton( 'Replace' , FCKLang.Replace, null, null, null, null, 17 ) ; break ;
|
104
|
+
|
105
|
+
case 'Form' : oItem = new FCKToolbarButton( 'Form' , FCKLang.Form, null, null, null, null, 48 ) ; break ;
|
106
|
+
case 'Checkbox' : oItem = new FCKToolbarButton( 'Checkbox' , FCKLang.Checkbox, null, null, null, null, 49 ) ; break ;
|
107
|
+
case 'Radio' : oItem = new FCKToolbarButton( 'Radio' , FCKLang.RadioButton, null, null, null, null, 50 ) ; break ;
|
108
|
+
case 'TextField' : oItem = new FCKToolbarButton( 'TextField' , FCKLang.TextField, null, null, null, null, 51 ) ; break ;
|
109
|
+
case 'Textarea' : oItem = new FCKToolbarButton( 'Textarea' , FCKLang.Textarea, null, null, null, null, 52 ) ; break ;
|
110
|
+
case 'HiddenField' : oItem = new FCKToolbarButton( 'HiddenField' , FCKLang.HiddenField, null, null, null, null, 56 ) ; break ;
|
111
|
+
case 'Button' : oItem = new FCKToolbarButton( 'Button' , FCKLang.Button, null, null, null, null, 54 ) ; break ;
|
112
|
+
case 'Select' : oItem = new FCKToolbarButton( 'Select' , FCKLang.SelectionField, null, null, null, null, 53 ) ; break ;
|
113
|
+
case 'ImageButton' : oItem = new FCKToolbarButton( 'ImageButton' , FCKLang.ImageButton, null, null, null, null, 55 ) ; break ;
|
114
|
+
case 'ShowBlocks' : oItem = new FCKToolbarButton( 'ShowBlocks' , FCKLang.ShowBlocks, null, null, null, true, 72 ) ; break ;
|
115
|
+
|
116
|
+
default:
|
117
|
+
alert( FCKLang.UnknownToolbarItem.replace( /%1/g, itemName ) ) ;
|
118
|
+
return null ;
|
119
|
+
}
|
120
|
+
|
121
|
+
FCKToolbarItems.LoadedItems[ itemName ] = oItem ;
|
122
|
+
|
123
|
+
return oItem ;
|
124
|
+
}
|
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktoolbarset.js
ADDED
@@ -0,0 +1,399 @@
|
|
1
|
+
/*
|
2
|
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3
|
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4
|
+
*
|
5
|
+
* == BEGIN LICENSE ==
|
6
|
+
*
|
7
|
+
* Licensed under the terms of any of the following licenses at your
|
8
|
+
* choice:
|
9
|
+
*
|
10
|
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11
|
+
* http://www.gnu.org/licenses/gpl.html
|
12
|
+
*
|
13
|
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14
|
+
* http://www.gnu.org/licenses/lgpl.html
|
15
|
+
*
|
16
|
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17
|
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18
|
+
*
|
19
|
+
* == END LICENSE ==
|
20
|
+
*
|
21
|
+
* Defines the FCKToolbarSet object that is used to load and draw the
|
22
|
+
* toolbar.
|
23
|
+
*/
|
24
|
+
|
25
|
+
function FCKToolbarSet_Create( overhideLocation )
|
26
|
+
{
|
27
|
+
var oToolbarSet ;
|
28
|
+
|
29
|
+
var sLocation = overhideLocation || FCKConfig.ToolbarLocation ;
|
30
|
+
switch ( sLocation )
|
31
|
+
{
|
32
|
+
case 'In' :
|
33
|
+
document.getElementById( 'xToolbarRow' ).style.display = '' ;
|
34
|
+
oToolbarSet = new FCKToolbarSet( document ) ;
|
35
|
+
break ;
|
36
|
+
case 'None' :
|
37
|
+
oToolbarSet = new FCKToolbarSet( document ) ;
|
38
|
+
break ;
|
39
|
+
|
40
|
+
// case 'OutTop' :
|
41
|
+
// Not supported.
|
42
|
+
|
43
|
+
default :
|
44
|
+
FCK.Events.AttachEvent( 'OnBlur', FCK_OnBlur ) ;
|
45
|
+
FCK.Events.AttachEvent( 'OnFocus', FCK_OnFocus ) ;
|
46
|
+
|
47
|
+
var eToolbarTarget ;
|
48
|
+
|
49
|
+
// Out:[TargetWindow]([TargetId])
|
50
|
+
var oOutMatch = sLocation.match( /^Out:(.+)\((\w+)\)$/ ) ;
|
51
|
+
if ( oOutMatch )
|
52
|
+
{
|
53
|
+
if ( FCKBrowserInfo.IsAIR )
|
54
|
+
FCKAdobeAIR.ToolbarSet_GetOutElement( window, oOutMatch ) ;
|
55
|
+
else
|
56
|
+
eToolbarTarget = eval( 'parent.' + oOutMatch[1] ).document.getElementById( oOutMatch[2] ) ;
|
57
|
+
}
|
58
|
+
else
|
59
|
+
{
|
60
|
+
// Out:[TargetId]
|
61
|
+
oOutMatch = sLocation.match( /^Out:(\w+)$/ ) ;
|
62
|
+
if ( oOutMatch )
|
63
|
+
eToolbarTarget = parent.document.getElementById( oOutMatch[1] ) ;
|
64
|
+
}
|
65
|
+
|
66
|
+
if ( !eToolbarTarget )
|
67
|
+
{
|
68
|
+
alert( 'Invalid value for "ToolbarLocation"' ) ;
|
69
|
+
return arguments.callee( 'In' );
|
70
|
+
}
|
71
|
+
|
72
|
+
// If it is a shared toolbar, it may be already available in the target element.
|
73
|
+
oToolbarSet = eToolbarTarget.__FCKToolbarSet ;
|
74
|
+
if ( oToolbarSet )
|
75
|
+
break ;
|
76
|
+
|
77
|
+
// Create the IFRAME that will hold the toolbar inside the target element.
|
78
|
+
var eToolbarIFrame = FCKTools.GetElementDocument( eToolbarTarget ).createElement( 'iframe' ) ;
|
79
|
+
eToolbarIFrame.src = 'javascript:void(0)' ;
|
80
|
+
eToolbarIFrame.frameBorder = 0 ;
|
81
|
+
eToolbarIFrame.width = '100%' ;
|
82
|
+
eToolbarIFrame.height = '10' ;
|
83
|
+
eToolbarTarget.appendChild( eToolbarIFrame ) ;
|
84
|
+
eToolbarIFrame.unselectable = 'on' ;
|
85
|
+
|
86
|
+
// Write the basic HTML for the toolbar (copy from the editor main page).
|
87
|
+
var eTargetDocument = eToolbarIFrame.contentWindow.document ;
|
88
|
+
|
89
|
+
// Workaround for Safari 12256. Ticket #63
|
90
|
+
var sBase = '' ;
|
91
|
+
if ( FCKBrowserInfo.IsSafari )
|
92
|
+
sBase = '<base href="' + window.document.location + '">' ;
|
93
|
+
|
94
|
+
// Initialize the IFRAME document body.
|
95
|
+
eTargetDocument.open() ;
|
96
|
+
eTargetDocument.write( '<html><head>' + sBase + '<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; '
|
97
|
+
+ 'window.onresize = window.onload = '
|
98
|
+
+ 'function(){' // poll scrollHeight until it no longer changes for 1 sec.
|
99
|
+
+ 'var timer = null;'
|
100
|
+
+ 'var lastHeight = -1;'
|
101
|
+
+ 'var lastChange = 0;'
|
102
|
+
+ 'var poller = function(){'
|
103
|
+
+ 'var currentHeight = document.body.scrollHeight || 0;'
|
104
|
+
+ 'var currentTime = (new Date()).getTime();'
|
105
|
+
+ 'if (currentHeight != lastHeight){'
|
106
|
+
+ 'lastChange = currentTime;'
|
107
|
+
+ 'adjust();'
|
108
|
+
+ 'lastHeight = document.body.scrollHeight;'
|
109
|
+
+ '}'
|
110
|
+
+ 'if (lastChange < currentTime - 1000) clearInterval(timer);'
|
111
|
+
+ '};'
|
112
|
+
+ 'timer = setInterval(poller, 100);'
|
113
|
+
+ '}'
|
114
|
+
+ '</script></head><body style="overflow: hidden">' + document.getElementById( 'xToolbarSpace' ).innerHTML + '</body></html>' ) ;
|
115
|
+
eTargetDocument.close() ;
|
116
|
+
|
117
|
+
if( FCKBrowserInfo.IsAIR )
|
118
|
+
FCKAdobeAIR.ToolbarSet_InitOutFrame( eTargetDocument ) ;
|
119
|
+
|
120
|
+
FCKTools.AddEventListener( eTargetDocument, 'contextmenu', FCKTools.CancelEvent ) ;
|
121
|
+
|
122
|
+
// Load external resources (must be done here, otherwise Firefox will not
|
123
|
+
// have the document DOM ready to be used right away.
|
124
|
+
FCKTools.AppendStyleSheet( eTargetDocument, FCKConfig.SkinEditorCSS ) ;
|
125
|
+
|
126
|
+
oToolbarSet = eToolbarTarget.__FCKToolbarSet = new FCKToolbarSet( eTargetDocument ) ;
|
127
|
+
oToolbarSet._IFrame = eToolbarIFrame ;
|
128
|
+
|
129
|
+
if ( FCK.IECleanup )
|
130
|
+
FCK.IECleanup.AddItem( eToolbarTarget, FCKToolbarSet_Target_Cleanup ) ;
|
131
|
+
}
|
132
|
+
|
133
|
+
oToolbarSet.CurrentInstance = FCK ;
|
134
|
+
if ( !oToolbarSet.ToolbarItems )
|
135
|
+
oToolbarSet.ToolbarItems = FCKToolbarItems ;
|
136
|
+
|
137
|
+
FCK.AttachToOnSelectionChange( oToolbarSet.RefreshItemsState ) ;
|
138
|
+
|
139
|
+
return oToolbarSet ;
|
140
|
+
}
|
141
|
+
|
142
|
+
function FCK_OnBlur( editorInstance )
|
143
|
+
{
|
144
|
+
var eToolbarSet = editorInstance.ToolbarSet ;
|
145
|
+
|
146
|
+
if ( eToolbarSet.CurrentInstance == editorInstance )
|
147
|
+
eToolbarSet.Disable() ;
|
148
|
+
}
|
149
|
+
|
150
|
+
function FCK_OnFocus( editorInstance )
|
151
|
+
{
|
152
|
+
var oToolbarset = editorInstance.ToolbarSet ;
|
153
|
+
var oInstance = editorInstance || FCK ;
|
154
|
+
|
155
|
+
// Unregister the toolbar window from the current instance.
|
156
|
+
oToolbarset.CurrentInstance.FocusManager.RemoveWindow( oToolbarset._IFrame.contentWindow ) ;
|
157
|
+
|
158
|
+
// Set the new current instance.
|
159
|
+
oToolbarset.CurrentInstance = oInstance ;
|
160
|
+
|
161
|
+
// Register the toolbar window in the current instance.
|
162
|
+
oInstance.FocusManager.AddWindow( oToolbarset._IFrame.contentWindow, true ) ;
|
163
|
+
|
164
|
+
oToolbarset.Enable() ;
|
165
|
+
}
|
166
|
+
|
167
|
+
function FCKToolbarSet_Cleanup()
|
168
|
+
{
|
169
|
+
this._TargetElement = null ;
|
170
|
+
this._IFrame = null ;
|
171
|
+
}
|
172
|
+
|
173
|
+
function FCKToolbarSet_Target_Cleanup()
|
174
|
+
{
|
175
|
+
this.__FCKToolbarSet = null ;
|
176
|
+
}
|
177
|
+
|
178
|
+
var FCKToolbarSet = function( targetDocument )
|
179
|
+
{
|
180
|
+
this._Document = targetDocument ;
|
181
|
+
|
182
|
+
// Get the element that will hold the elements structure.
|
183
|
+
this._TargetElement = targetDocument.getElementById( 'xToolbar' ) ;
|
184
|
+
|
185
|
+
// Setup the expand and collapse handlers.
|
186
|
+
var eExpandHandle = targetDocument.getElementById( 'xExpandHandle' ) ;
|
187
|
+
var eCollapseHandle = targetDocument.getElementById( 'xCollapseHandle' ) ;
|
188
|
+
|
189
|
+
eExpandHandle.title = FCKLang.ToolbarExpand ;
|
190
|
+
FCKTools.AddEventListener( eExpandHandle, 'click', FCKToolbarSet_Expand_OnClick ) ;
|
191
|
+
|
192
|
+
eCollapseHandle.title = FCKLang.ToolbarCollapse ;
|
193
|
+
FCKTools.AddEventListener( eCollapseHandle, 'click', FCKToolbarSet_Collapse_OnClick ) ;
|
194
|
+
|
195
|
+
// Set the toolbar state at startup.
|
196
|
+
if ( !FCKConfig.ToolbarCanCollapse || FCKConfig.ToolbarStartExpanded )
|
197
|
+
this.Expand() ;
|
198
|
+
else
|
199
|
+
this.Collapse() ;
|
200
|
+
|
201
|
+
// Enable/disable the collapse handler
|
202
|
+
eCollapseHandle.style.display = FCKConfig.ToolbarCanCollapse ? '' : 'none' ;
|
203
|
+
|
204
|
+
if ( FCKConfig.ToolbarCanCollapse )
|
205
|
+
eCollapseHandle.style.display = '' ;
|
206
|
+
else
|
207
|
+
targetDocument.getElementById( 'xTBLeftBorder' ).style.display = '' ;
|
208
|
+
|
209
|
+
// Set the default properties.
|
210
|
+
this.Toolbars = new Array() ;
|
211
|
+
this.IsLoaded = false ;
|
212
|
+
|
213
|
+
if ( FCK.IECleanup )
|
214
|
+
FCK.IECleanup.AddItem( this, FCKToolbarSet_Cleanup ) ;
|
215
|
+
}
|
216
|
+
|
217
|
+
function FCKToolbarSet_Expand_OnClick()
|
218
|
+
{
|
219
|
+
FCK.ToolbarSet.Expand() ;
|
220
|
+
}
|
221
|
+
|
222
|
+
function FCKToolbarSet_Collapse_OnClick()
|
223
|
+
{
|
224
|
+
FCK.ToolbarSet.Collapse() ;
|
225
|
+
}
|
226
|
+
|
227
|
+
FCKToolbarSet.prototype.Expand = function()
|
228
|
+
{
|
229
|
+
this._ChangeVisibility( false ) ;
|
230
|
+
}
|
231
|
+
|
232
|
+
FCKToolbarSet.prototype.Collapse = function()
|
233
|
+
{
|
234
|
+
this._ChangeVisibility( true ) ;
|
235
|
+
}
|
236
|
+
|
237
|
+
FCKToolbarSet.prototype._ChangeVisibility = function( collapse )
|
238
|
+
{
|
239
|
+
this._Document.getElementById( 'xCollapsed' ).style.display = collapse ? '' : 'none' ;
|
240
|
+
this._Document.getElementById( 'xExpanded' ).style.display = collapse ? 'none' : '' ;
|
241
|
+
|
242
|
+
if ( FCKBrowserInfo.IsGecko )
|
243
|
+
{
|
244
|
+
// I had to use "setTimeout" because Gecko was not responding in a right
|
245
|
+
// way when calling window.onresize() directly.
|
246
|
+
FCKTools.RunFunction( window.onresize ) ;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
|
250
|
+
FCKToolbarSet.prototype.Load = function( toolbarSetName )
|
251
|
+
{
|
252
|
+
this.Name = toolbarSetName ;
|
253
|
+
|
254
|
+
this.Items = new Array() ;
|
255
|
+
|
256
|
+
// Reset the array of toolbar items that are active only on WYSIWYG mode.
|
257
|
+
this.ItemsWysiwygOnly = new Array() ;
|
258
|
+
|
259
|
+
// Reset the array of toolbar items that are sensitive to the cursor position.
|
260
|
+
this.ItemsContextSensitive = new Array() ;
|
261
|
+
|
262
|
+
// Cleanup the target element.
|
263
|
+
this._TargetElement.innerHTML = '' ;
|
264
|
+
|
265
|
+
var ToolbarSet = FCKConfig.ToolbarSets[toolbarSetName] ;
|
266
|
+
|
267
|
+
if ( !ToolbarSet )
|
268
|
+
{
|
269
|
+
alert( FCKLang.UnknownToolbarSet.replace( /%1/g, toolbarSetName ) ) ;
|
270
|
+
return ;
|
271
|
+
}
|
272
|
+
|
273
|
+
this.Toolbars = new Array() ;
|
274
|
+
|
275
|
+
for ( var x = 0 ; x < ToolbarSet.length ; x++ )
|
276
|
+
{
|
277
|
+
var oToolbarItems = ToolbarSet[x] ;
|
278
|
+
|
279
|
+
// If the configuration for the toolbar is missing some element or has any extra comma
|
280
|
+
// this item won't be valid, so skip it and keep on processing.
|
281
|
+
if ( !oToolbarItems )
|
282
|
+
continue ;
|
283
|
+
|
284
|
+
var oToolbar ;
|
285
|
+
|
286
|
+
if ( typeof( oToolbarItems ) == 'string' )
|
287
|
+
{
|
288
|
+
if ( oToolbarItems == '/' )
|
289
|
+
oToolbar = new FCKToolbarBreak() ;
|
290
|
+
}
|
291
|
+
else
|
292
|
+
{
|
293
|
+
oToolbar = new FCKToolbar() ;
|
294
|
+
|
295
|
+
for ( var j = 0 ; j < oToolbarItems.length ; j++ )
|
296
|
+
{
|
297
|
+
var sItem = oToolbarItems[j] ;
|
298
|
+
|
299
|
+
if ( sItem == '-')
|
300
|
+
oToolbar.AddSeparator() ;
|
301
|
+
else
|
302
|
+
{
|
303
|
+
var oItem = FCKToolbarItems.GetItem( sItem ) ;
|
304
|
+
if ( oItem )
|
305
|
+
{
|
306
|
+
oToolbar.AddItem( oItem ) ;
|
307
|
+
|
308
|
+
this.Items.push( oItem ) ;
|
309
|
+
|
310
|
+
if ( !oItem.SourceView )
|
311
|
+
this.ItemsWysiwygOnly.push( oItem ) ;
|
312
|
+
|
313
|
+
if ( oItem.ContextSensitive )
|
314
|
+
this.ItemsContextSensitive.push( oItem ) ;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
}
|
318
|
+
|
319
|
+
// oToolbar.AddTerminator() ;
|
320
|
+
}
|
321
|
+
|
322
|
+
oToolbar.Create( this._TargetElement ) ;
|
323
|
+
|
324
|
+
this.Toolbars[ this.Toolbars.length ] = oToolbar ;
|
325
|
+
}
|
326
|
+
|
327
|
+
FCKTools.DisableSelection( this._Document.getElementById( 'xCollapseHandle' ).parentNode ) ;
|
328
|
+
|
329
|
+
if ( FCK.Status != FCK_STATUS_COMPLETE )
|
330
|
+
FCK.Events.AttachEvent( 'OnStatusChange', this.RefreshModeState ) ;
|
331
|
+
else
|
332
|
+
this.RefreshModeState() ;
|
333
|
+
|
334
|
+
this.IsLoaded = true ;
|
335
|
+
this.IsEnabled = true ;
|
336
|
+
|
337
|
+
FCKTools.RunFunction( this.OnLoad ) ;
|
338
|
+
}
|
339
|
+
|
340
|
+
FCKToolbarSet.prototype.Enable = function()
|
341
|
+
{
|
342
|
+
if ( this.IsEnabled )
|
343
|
+
return ;
|
344
|
+
|
345
|
+
this.IsEnabled = true ;
|
346
|
+
|
347
|
+
var aItems = this.Items ;
|
348
|
+
for ( var i = 0 ; i < aItems.length ; i++ )
|
349
|
+
aItems[i].RefreshState() ;
|
350
|
+
}
|
351
|
+
|
352
|
+
FCKToolbarSet.prototype.Disable = function()
|
353
|
+
{
|
354
|
+
if ( !this.IsEnabled )
|
355
|
+
return ;
|
356
|
+
|
357
|
+
this.IsEnabled = false ;
|
358
|
+
|
359
|
+
var aItems = this.Items ;
|
360
|
+
for ( var i = 0 ; i < aItems.length ; i++ )
|
361
|
+
aItems[i].Disable() ;
|
362
|
+
}
|
363
|
+
|
364
|
+
FCKToolbarSet.prototype.RefreshModeState = function( editorInstance )
|
365
|
+
{
|
366
|
+
if ( FCK.Status != FCK_STATUS_COMPLETE )
|
367
|
+
return ;
|
368
|
+
|
369
|
+
var oToolbarSet = editorInstance ? editorInstance.ToolbarSet : this ;
|
370
|
+
var aItems = oToolbarSet.ItemsWysiwygOnly ;
|
371
|
+
|
372
|
+
if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
|
373
|
+
{
|
374
|
+
// Enable all buttons that are available on WYSIWYG mode only.
|
375
|
+
for ( var i = 0 ; i < aItems.length ; i++ )
|
376
|
+
aItems[i].Enable() ;
|
377
|
+
|
378
|
+
// Refresh the buttons state.
|
379
|
+
oToolbarSet.RefreshItemsState( editorInstance ) ;
|
380
|
+
}
|
381
|
+
else
|
382
|
+
{
|
383
|
+
// Refresh the buttons state.
|
384
|
+
oToolbarSet.RefreshItemsState( editorInstance ) ;
|
385
|
+
|
386
|
+
// Disable all buttons that are available on WYSIWYG mode only.
|
387
|
+
for ( var j = 0 ; j < aItems.length ; j++ )
|
388
|
+
aItems[j].Disable() ;
|
389
|
+
}
|
390
|
+
}
|
391
|
+
|
392
|
+
FCKToolbarSet.prototype.RefreshItemsState = function( editorInstance )
|
393
|
+
{
|
394
|
+
|
395
|
+
var aItems = ( editorInstance ? editorInstance.ToolbarSet : this ).ItemsContextSensitive ;
|
396
|
+
|
397
|
+
for ( var i = 0 ; i < aItems.length ; i++ )
|
398
|
+
aItems[i].RefreshState() ;
|
399
|
+
}
|