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,93 @@
|
|
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
|
+
* FCKXml Class: class to load and manipulate XML files.
|
22
|
+
* (IE specific implementation)
|
23
|
+
*/
|
24
|
+
|
25
|
+
FCKXml.prototype =
|
26
|
+
{
|
27
|
+
LoadUrl : function( urlToCall )
|
28
|
+
{
|
29
|
+
this.Error = false ;
|
30
|
+
|
31
|
+
var oXmlHttp = FCKTools.CreateXmlObject( 'XmlHttp' ) ;
|
32
|
+
|
33
|
+
if ( !oXmlHttp )
|
34
|
+
{
|
35
|
+
this.Error = true ;
|
36
|
+
return ;
|
37
|
+
}
|
38
|
+
|
39
|
+
oXmlHttp.open( "GET", urlToCall, false ) ;
|
40
|
+
|
41
|
+
oXmlHttp.send( null ) ;
|
42
|
+
|
43
|
+
if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 || ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) )
|
44
|
+
{
|
45
|
+
this.DOMDocument = oXmlHttp.responseXML ;
|
46
|
+
|
47
|
+
// #1426: Fallback if responseXML isn't set for some
|
48
|
+
// reason (e.g. improperly configured web server)
|
49
|
+
if ( !this.DOMDocument || this.DOMDocument.firstChild == null )
|
50
|
+
{
|
51
|
+
this.DOMDocument = FCKTools.CreateXmlObject( 'DOMDocument' ) ;
|
52
|
+
this.DOMDocument.async = false ;
|
53
|
+
this.DOMDocument.resolveExternals = false ;
|
54
|
+
this.DOMDocument.loadXML( oXmlHttp.responseText ) ;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
else
|
58
|
+
{
|
59
|
+
this.DOMDocument = null ;
|
60
|
+
}
|
61
|
+
|
62
|
+
if ( this.DOMDocument == null || this.DOMDocument.firstChild == null )
|
63
|
+
{
|
64
|
+
this.Error = true ;
|
65
|
+
if (window.confirm( 'Error loading "' + urlToCall + '"\r\nDo you want to see more info?' ) )
|
66
|
+
alert( 'URL requested: "' + urlToCall + '"\r\n' +
|
67
|
+
'Server response:\r\nStatus: ' + oXmlHttp.status + '\r\n' +
|
68
|
+
'Response text:\r\n' + oXmlHttp.responseText ) ;
|
69
|
+
}
|
70
|
+
},
|
71
|
+
|
72
|
+
SelectNodes : function( xpath, contextNode )
|
73
|
+
{
|
74
|
+
if ( this.Error )
|
75
|
+
return new Array() ;
|
76
|
+
|
77
|
+
if ( contextNode )
|
78
|
+
return contextNode.selectNodes( xpath ) ;
|
79
|
+
else
|
80
|
+
return this.DOMDocument.selectNodes( xpath ) ;
|
81
|
+
},
|
82
|
+
|
83
|
+
SelectSingleNode : function( xpath, contextNode )
|
84
|
+
{
|
85
|
+
if ( this.Error )
|
86
|
+
return null ;
|
87
|
+
|
88
|
+
if ( contextNode )
|
89
|
+
return contextNode.selectSingleNode( xpath ) ;
|
90
|
+
else
|
91
|
+
return this.DOMDocument.selectSingleNode( xpath ) ;
|
92
|
+
}
|
93
|
+
} ;
|
@@ -0,0 +1,634 @@
|
|
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
|
+
* Definition of other commands that are not available internaly in the
|
22
|
+
* browser (see FCKNamedCommand).
|
23
|
+
*/
|
24
|
+
|
25
|
+
// ### General Dialog Box Commands.
|
26
|
+
var FCKDialogCommand = function( name, title, url, width, height, getStateFunction, getStateParam, customValue )
|
27
|
+
{
|
28
|
+
this.Name = name ;
|
29
|
+
this.Title = title ;
|
30
|
+
this.Url = url ;
|
31
|
+
this.Width = width ;
|
32
|
+
this.Height = height ;
|
33
|
+
this.CustomValue = customValue ;
|
34
|
+
|
35
|
+
this.GetStateFunction = getStateFunction ;
|
36
|
+
this.GetStateParam = getStateParam ;
|
37
|
+
|
38
|
+
this.Resizable = false ;
|
39
|
+
}
|
40
|
+
|
41
|
+
FCKDialogCommand.prototype.Execute = function()
|
42
|
+
{
|
43
|
+
FCKDialog.OpenDialog( 'FCKDialog_' + this.Name , this.Title, this.Url, this.Width, this.Height, this.CustomValue, null, this.Resizable ) ;
|
44
|
+
}
|
45
|
+
|
46
|
+
FCKDialogCommand.prototype.GetState = function()
|
47
|
+
{
|
48
|
+
if ( this.GetStateFunction )
|
49
|
+
return this.GetStateFunction( this.GetStateParam ) ;
|
50
|
+
else
|
51
|
+
return FCK.EditMode == FCK_EDITMODE_WYSIWYG ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ;
|
52
|
+
}
|
53
|
+
|
54
|
+
// Generic Undefined command (usually used when a command is under development).
|
55
|
+
var FCKUndefinedCommand = function()
|
56
|
+
{
|
57
|
+
this.Name = 'Undefined' ;
|
58
|
+
}
|
59
|
+
|
60
|
+
FCKUndefinedCommand.prototype.Execute = function()
|
61
|
+
{
|
62
|
+
alert( FCKLang.NotImplemented ) ;
|
63
|
+
}
|
64
|
+
|
65
|
+
FCKUndefinedCommand.prototype.GetState = function()
|
66
|
+
{
|
67
|
+
return FCK_TRISTATE_OFF ;
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
// ### FormatBlock
|
72
|
+
var FCKFormatBlockCommand = function()
|
73
|
+
{}
|
74
|
+
|
75
|
+
FCKFormatBlockCommand.prototype =
|
76
|
+
{
|
77
|
+
Name : 'FormatBlock',
|
78
|
+
|
79
|
+
Execute : FCKStyleCommand.prototype.Execute,
|
80
|
+
|
81
|
+
GetState : function()
|
82
|
+
{
|
83
|
+
return FCK.EditorDocument ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ;
|
84
|
+
}
|
85
|
+
};
|
86
|
+
|
87
|
+
// ### FontName
|
88
|
+
|
89
|
+
var FCKFontNameCommand = function()
|
90
|
+
{}
|
91
|
+
|
92
|
+
FCKFontNameCommand.prototype =
|
93
|
+
{
|
94
|
+
Name : 'FontName',
|
95
|
+
Execute : FCKStyleCommand.prototype.Execute,
|
96
|
+
GetState : FCKFormatBlockCommand.prototype.GetState
|
97
|
+
};
|
98
|
+
|
99
|
+
// ### FontSize
|
100
|
+
var FCKFontSizeCommand = function()
|
101
|
+
{}
|
102
|
+
|
103
|
+
FCKFontSizeCommand.prototype =
|
104
|
+
{
|
105
|
+
Name : 'FontSize',
|
106
|
+
Execute : FCKStyleCommand.prototype.Execute,
|
107
|
+
GetState : FCKFormatBlockCommand.prototype.GetState
|
108
|
+
};
|
109
|
+
|
110
|
+
// ### Preview
|
111
|
+
var FCKPreviewCommand = function()
|
112
|
+
{
|
113
|
+
this.Name = 'Preview' ;
|
114
|
+
}
|
115
|
+
|
116
|
+
FCKPreviewCommand.prototype.Execute = function()
|
117
|
+
{
|
118
|
+
FCK.Preview() ;
|
119
|
+
}
|
120
|
+
|
121
|
+
FCKPreviewCommand.prototype.GetState = function()
|
122
|
+
{
|
123
|
+
return FCK_TRISTATE_OFF ;
|
124
|
+
}
|
125
|
+
|
126
|
+
// ### Save
|
127
|
+
var FCKSaveCommand = function()
|
128
|
+
{
|
129
|
+
this.Name = 'Save' ;
|
130
|
+
}
|
131
|
+
|
132
|
+
FCKSaveCommand.prototype.Execute = function()
|
133
|
+
{
|
134
|
+
// Get the linked field form.
|
135
|
+
var oForm = FCK.GetParentForm() ;
|
136
|
+
|
137
|
+
if ( typeof( oForm.onsubmit ) == 'function' )
|
138
|
+
{
|
139
|
+
var bRet = oForm.onsubmit() ;
|
140
|
+
if ( bRet != null && bRet === false )
|
141
|
+
return ;
|
142
|
+
}
|
143
|
+
|
144
|
+
// Submit the form.
|
145
|
+
// If there's a button named "submit" then the form.submit() function is masked and
|
146
|
+
// can't be called in Mozilla, so we call the click() method of that button.
|
147
|
+
if ( typeof( oForm.submit ) == 'function' )
|
148
|
+
oForm.submit() ;
|
149
|
+
else
|
150
|
+
oForm.submit.click() ;
|
151
|
+
}
|
152
|
+
|
153
|
+
FCKSaveCommand.prototype.GetState = function()
|
154
|
+
{
|
155
|
+
return FCK_TRISTATE_OFF ;
|
156
|
+
}
|
157
|
+
|
158
|
+
// ### NewPage
|
159
|
+
var FCKNewPageCommand = function()
|
160
|
+
{
|
161
|
+
this.Name = 'NewPage' ;
|
162
|
+
}
|
163
|
+
|
164
|
+
FCKNewPageCommand.prototype.Execute = function()
|
165
|
+
{
|
166
|
+
FCKUndo.SaveUndoStep() ;
|
167
|
+
FCK.SetData( '' ) ;
|
168
|
+
FCKUndo.Typing = true ;
|
169
|
+
FCK.Focus() ;
|
170
|
+
}
|
171
|
+
|
172
|
+
FCKNewPageCommand.prototype.GetState = function()
|
173
|
+
{
|
174
|
+
return FCK_TRISTATE_OFF ;
|
175
|
+
}
|
176
|
+
|
177
|
+
// ### Source button
|
178
|
+
var FCKSourceCommand = function()
|
179
|
+
{
|
180
|
+
this.Name = 'Source' ;
|
181
|
+
}
|
182
|
+
|
183
|
+
FCKSourceCommand.prototype.Execute = function()
|
184
|
+
{
|
185
|
+
if ( FCKConfig.SourcePopup ) // Until v2.2, it was mandatory for FCKBrowserInfo.IsGecko.
|
186
|
+
{
|
187
|
+
var iWidth = FCKConfig.ScreenWidth * 0.65 ;
|
188
|
+
var iHeight = FCKConfig.ScreenHeight * 0.65 ;
|
189
|
+
FCKDialog.OpenDialog( 'FCKDialog_Source', FCKLang.Source, 'dialog/fck_source.html', iWidth, iHeight, null, null, true ) ;
|
190
|
+
}
|
191
|
+
else
|
192
|
+
FCK.SwitchEditMode() ;
|
193
|
+
}
|
194
|
+
|
195
|
+
FCKSourceCommand.prototype.GetState = function()
|
196
|
+
{
|
197
|
+
return ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ? FCK_TRISTATE_OFF : FCK_TRISTATE_ON ) ;
|
198
|
+
}
|
199
|
+
|
200
|
+
// ### Undo
|
201
|
+
var FCKUndoCommand = function()
|
202
|
+
{
|
203
|
+
this.Name = 'Undo' ;
|
204
|
+
}
|
205
|
+
|
206
|
+
FCKUndoCommand.prototype.Execute = function()
|
207
|
+
{
|
208
|
+
FCKUndo.Undo() ;
|
209
|
+
}
|
210
|
+
|
211
|
+
FCKUndoCommand.prototype.GetState = function()
|
212
|
+
{
|
213
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
214
|
+
return FCK_TRISTATE_DISABLED ;
|
215
|
+
return ( FCKUndo.CheckUndoState() ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ) ;
|
216
|
+
}
|
217
|
+
|
218
|
+
// ### Redo
|
219
|
+
var FCKRedoCommand = function()
|
220
|
+
{
|
221
|
+
this.Name = 'Redo' ;
|
222
|
+
}
|
223
|
+
|
224
|
+
FCKRedoCommand.prototype.Execute = function()
|
225
|
+
{
|
226
|
+
FCKUndo.Redo() ;
|
227
|
+
}
|
228
|
+
|
229
|
+
FCKRedoCommand.prototype.GetState = function()
|
230
|
+
{
|
231
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
232
|
+
return FCK_TRISTATE_DISABLED ;
|
233
|
+
return ( FCKUndo.CheckRedoState() ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ) ;
|
234
|
+
}
|
235
|
+
|
236
|
+
// ### Page Break
|
237
|
+
var FCKPageBreakCommand = function()
|
238
|
+
{
|
239
|
+
this.Name = 'PageBreak' ;
|
240
|
+
}
|
241
|
+
|
242
|
+
FCKPageBreakCommand.prototype.Execute = function()
|
243
|
+
{
|
244
|
+
// Take an undo snapshot before changing the document
|
245
|
+
FCKUndo.SaveUndoStep() ;
|
246
|
+
|
247
|
+
// var e = FCK.EditorDocument.createElement( 'CENTER' ) ;
|
248
|
+
// e.style.pageBreakAfter = 'always' ;
|
249
|
+
|
250
|
+
// Tidy was removing the empty CENTER tags, so the following solution has
|
251
|
+
// been found. It also validates correctly as XHTML 1.0 Strict.
|
252
|
+
var e = FCK.EditorDocument.createElement( 'DIV' ) ;
|
253
|
+
e.style.pageBreakAfter = 'always' ;
|
254
|
+
e.innerHTML = '<span style="DISPLAY:none"> </span>' ;
|
255
|
+
|
256
|
+
var oFakeImage = FCKDocumentProcessor_CreateFakeImage( 'FCK__PageBreak', e ) ;
|
257
|
+
var oRange = new FCKDomRange( FCK.EditorWindow ) ;
|
258
|
+
oRange.MoveToSelection() ;
|
259
|
+
var oSplitInfo = oRange.SplitBlock() ;
|
260
|
+
oRange.InsertNode( oFakeImage ) ;
|
261
|
+
|
262
|
+
FCK.Events.FireEvent( 'OnSelectionChange' ) ;
|
263
|
+
}
|
264
|
+
|
265
|
+
FCKPageBreakCommand.prototype.GetState = function()
|
266
|
+
{
|
267
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
268
|
+
return FCK_TRISTATE_DISABLED ;
|
269
|
+
return 0 ; // FCK_TRISTATE_OFF
|
270
|
+
}
|
271
|
+
|
272
|
+
// FCKUnlinkCommand - by Johnny Egeland (johnny@coretrek.com)
|
273
|
+
var FCKUnlinkCommand = function()
|
274
|
+
{
|
275
|
+
this.Name = 'Unlink' ;
|
276
|
+
}
|
277
|
+
|
278
|
+
FCKUnlinkCommand.prototype.Execute = function()
|
279
|
+
{
|
280
|
+
// Take an undo snapshot before changing the document
|
281
|
+
FCKUndo.SaveUndoStep() ;
|
282
|
+
|
283
|
+
if ( FCKBrowserInfo.IsGeckoLike )
|
284
|
+
{
|
285
|
+
var oLink = FCK.Selection.MoveToAncestorNode( 'A' ) ;
|
286
|
+
// The unlink command can generate a span in Firefox, so let's do it our way. See #430
|
287
|
+
if ( oLink )
|
288
|
+
FCKTools.RemoveOuterTags( oLink ) ;
|
289
|
+
|
290
|
+
return ;
|
291
|
+
}
|
292
|
+
|
293
|
+
FCK.ExecuteNamedCommand( this.Name ) ;
|
294
|
+
}
|
295
|
+
|
296
|
+
FCKUnlinkCommand.prototype.GetState = function()
|
297
|
+
{
|
298
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
299
|
+
return FCK_TRISTATE_DISABLED ;
|
300
|
+
var state = FCK.GetNamedCommandState( this.Name ) ;
|
301
|
+
|
302
|
+
// Check that it isn't an anchor
|
303
|
+
if ( state == FCK_TRISTATE_OFF && FCK.EditMode == FCK_EDITMODE_WYSIWYG )
|
304
|
+
{
|
305
|
+
var oLink = FCKSelection.MoveToAncestorNode( 'A' ) ;
|
306
|
+
var bIsAnchor = ( oLink && oLink.name.length > 0 && oLink.href.length == 0 ) ;
|
307
|
+
if ( bIsAnchor )
|
308
|
+
state = FCK_TRISTATE_DISABLED ;
|
309
|
+
}
|
310
|
+
|
311
|
+
return state ;
|
312
|
+
}
|
313
|
+
|
314
|
+
var FCKVisitLinkCommand = function()
|
315
|
+
{
|
316
|
+
this.Name = 'VisitLink';
|
317
|
+
}
|
318
|
+
FCKVisitLinkCommand.prototype =
|
319
|
+
{
|
320
|
+
GetState : function()
|
321
|
+
{
|
322
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
323
|
+
return FCK_TRISTATE_DISABLED ;
|
324
|
+
var state = FCK.GetNamedCommandState( 'Unlink' ) ;
|
325
|
+
|
326
|
+
if ( state == FCK_TRISTATE_OFF )
|
327
|
+
{
|
328
|
+
var el = FCKSelection.MoveToAncestorNode( 'A' ) ;
|
329
|
+
if ( !el.href )
|
330
|
+
state = FCK_TRISTATE_DISABLED ;
|
331
|
+
}
|
332
|
+
|
333
|
+
return state ;
|
334
|
+
},
|
335
|
+
|
336
|
+
Execute : function()
|
337
|
+
{
|
338
|
+
var el = FCKSelection.MoveToAncestorNode( 'A' ) ;
|
339
|
+
var url = el.getAttribute( '_fcksavedurl' ) || el.getAttribute( 'href', 2 ) ;
|
340
|
+
|
341
|
+
// Check if it's a full URL.
|
342
|
+
// If not full URL, we'll need to apply the BaseHref setting.
|
343
|
+
if ( ! /:\/\//.test( url ) )
|
344
|
+
{
|
345
|
+
var baseHref = FCKConfig.BaseHref ;
|
346
|
+
var parentWindow = FCK.GetInstanceObject( 'parent' ) ;
|
347
|
+
if ( !baseHref )
|
348
|
+
{
|
349
|
+
baseHref = parentWindow.document.location.href ;
|
350
|
+
baseHref = baseHref.substring( 0, baseHref.lastIndexOf( '/' ) + 1 ) ;
|
351
|
+
}
|
352
|
+
|
353
|
+
if ( /^\//.test( url ) )
|
354
|
+
{
|
355
|
+
try
|
356
|
+
{
|
357
|
+
baseHref = baseHref.match( /^.*:\/\/+[^\/]+/ )[0] ;
|
358
|
+
}
|
359
|
+
catch ( e )
|
360
|
+
{
|
361
|
+
baseHref = parentWindow.document.location.protocol + '://' + parentWindow.parent.document.location.host ;
|
362
|
+
}
|
363
|
+
}
|
364
|
+
|
365
|
+
url = baseHref + url ;
|
366
|
+
}
|
367
|
+
|
368
|
+
if ( !window.open( url, '_blank' ) )
|
369
|
+
alert( FCKLang.VisitLinkBlocked ) ;
|
370
|
+
}
|
371
|
+
} ;
|
372
|
+
|
373
|
+
// FCKSelectAllCommand
|
374
|
+
var FCKSelectAllCommand = function()
|
375
|
+
{
|
376
|
+
this.Name = 'SelectAll' ;
|
377
|
+
}
|
378
|
+
|
379
|
+
FCKSelectAllCommand.prototype.Execute = function()
|
380
|
+
{
|
381
|
+
if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
|
382
|
+
{
|
383
|
+
FCK.ExecuteNamedCommand( 'SelectAll' ) ;
|
384
|
+
}
|
385
|
+
else
|
386
|
+
{
|
387
|
+
// Select the contents of the textarea
|
388
|
+
var textarea = FCK.EditingArea.Textarea ;
|
389
|
+
if ( FCKBrowserInfo.IsIE )
|
390
|
+
{
|
391
|
+
textarea.createTextRange().execCommand( 'SelectAll' ) ;
|
392
|
+
}
|
393
|
+
else
|
394
|
+
{
|
395
|
+
textarea.selectionStart = 0 ;
|
396
|
+
textarea.selectionEnd = textarea.value.length ;
|
397
|
+
}
|
398
|
+
textarea.focus() ;
|
399
|
+
}
|
400
|
+
}
|
401
|
+
|
402
|
+
FCKSelectAllCommand.prototype.GetState = function()
|
403
|
+
{
|
404
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
405
|
+
return FCK_TRISTATE_DISABLED ;
|
406
|
+
return FCK_TRISTATE_OFF ;
|
407
|
+
}
|
408
|
+
|
409
|
+
// FCKPasteCommand
|
410
|
+
var FCKPasteCommand = function()
|
411
|
+
{
|
412
|
+
this.Name = 'Paste' ;
|
413
|
+
}
|
414
|
+
|
415
|
+
FCKPasteCommand.prototype =
|
416
|
+
{
|
417
|
+
Execute : function()
|
418
|
+
{
|
419
|
+
if ( FCKBrowserInfo.IsIE )
|
420
|
+
FCK.Paste() ;
|
421
|
+
else
|
422
|
+
FCK.ExecuteNamedCommand( 'Paste' ) ;
|
423
|
+
},
|
424
|
+
|
425
|
+
GetState : function()
|
426
|
+
{
|
427
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
428
|
+
return FCK_TRISTATE_DISABLED ;
|
429
|
+
return FCK.GetNamedCommandState( 'Paste' ) ;
|
430
|
+
}
|
431
|
+
} ;
|
432
|
+
|
433
|
+
// FCKRuleCommand
|
434
|
+
var FCKRuleCommand = function()
|
435
|
+
{
|
436
|
+
this.Name = 'Rule' ;
|
437
|
+
}
|
438
|
+
|
439
|
+
FCKRuleCommand.prototype =
|
440
|
+
{
|
441
|
+
Execute : function()
|
442
|
+
{
|
443
|
+
FCKUndo.SaveUndoStep() ;
|
444
|
+
FCK.InsertElement( 'hr' ) ;
|
445
|
+
},
|
446
|
+
|
447
|
+
GetState : function()
|
448
|
+
{
|
449
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
450
|
+
return FCK_TRISTATE_DISABLED ;
|
451
|
+
return FCK.GetNamedCommandState( 'InsertHorizontalRule' ) ;
|
452
|
+
}
|
453
|
+
} ;
|
454
|
+
|
455
|
+
// FCKCutCopyCommand
|
456
|
+
var FCKCutCopyCommand = function( isCut )
|
457
|
+
{
|
458
|
+
this.Name = isCut ? 'Cut' : 'Copy' ;
|
459
|
+
}
|
460
|
+
|
461
|
+
FCKCutCopyCommand.prototype =
|
462
|
+
{
|
463
|
+
Execute : function()
|
464
|
+
{
|
465
|
+
var enabled = false ;
|
466
|
+
|
467
|
+
if ( FCKBrowserInfo.IsIE )
|
468
|
+
{
|
469
|
+
// The following seems to be the only reliable way to detect that
|
470
|
+
// cut/copy is enabled in IE. It will fire the oncut/oncopy event
|
471
|
+
// only if the security settings enabled the command to execute.
|
472
|
+
|
473
|
+
var onEvent = function()
|
474
|
+
{
|
475
|
+
enabled = true ;
|
476
|
+
} ;
|
477
|
+
|
478
|
+
var eventName = 'on' + this.Name.toLowerCase() ;
|
479
|
+
|
480
|
+
FCK.EditorDocument.body.attachEvent( eventName, onEvent ) ;
|
481
|
+
FCK.ExecuteNamedCommand( this.Name ) ;
|
482
|
+
FCK.EditorDocument.body.detachEvent( eventName, onEvent ) ;
|
483
|
+
}
|
484
|
+
else
|
485
|
+
{
|
486
|
+
try
|
487
|
+
{
|
488
|
+
// Other browsers throw an error if the command is disabled.
|
489
|
+
FCK.ExecuteNamedCommand( this.Name ) ;
|
490
|
+
enabled = true ;
|
491
|
+
}
|
492
|
+
catch(e){}
|
493
|
+
}
|
494
|
+
|
495
|
+
if ( !enabled )
|
496
|
+
alert( FCKLang[ 'PasteError' + this.Name ] ) ;
|
497
|
+
},
|
498
|
+
|
499
|
+
GetState : function()
|
500
|
+
{
|
501
|
+
// Strangely, the Cut command happens to have the correct states for
|
502
|
+
// both Copy and Cut in all browsers.
|
503
|
+
return FCK.EditMode != FCK_EDITMODE_WYSIWYG ?
|
504
|
+
FCK_TRISTATE_DISABLED :
|
505
|
+
FCK.GetNamedCommandState( 'Cut' ) ;
|
506
|
+
}
|
507
|
+
};
|
508
|
+
|
509
|
+
var FCKAnchorDeleteCommand = function()
|
510
|
+
{
|
511
|
+
this.Name = 'AnchorDelete' ;
|
512
|
+
}
|
513
|
+
|
514
|
+
FCKAnchorDeleteCommand.prototype =
|
515
|
+
{
|
516
|
+
Execute : function()
|
517
|
+
{
|
518
|
+
if (FCK.Selection.GetType() == 'Control')
|
519
|
+
{
|
520
|
+
FCK.Selection.Delete();
|
521
|
+
}
|
522
|
+
else
|
523
|
+
{
|
524
|
+
var oFakeImage = FCK.Selection.GetSelectedElement() ;
|
525
|
+
if ( oFakeImage )
|
526
|
+
{
|
527
|
+
if ( oFakeImage.tagName == 'IMG' && oFakeImage.getAttribute('_fckanchor') )
|
528
|
+
oAnchor = FCK.GetRealElement( oFakeImage ) ;
|
529
|
+
else
|
530
|
+
oFakeImage = null ;
|
531
|
+
}
|
532
|
+
|
533
|
+
//Search for a real anchor
|
534
|
+
if ( !oFakeImage )
|
535
|
+
{
|
536
|
+
oAnchor = FCK.Selection.MoveToAncestorNode( 'A' ) ;
|
537
|
+
if ( oAnchor )
|
538
|
+
FCK.Selection.SelectNode( oAnchor ) ;
|
539
|
+
}
|
540
|
+
|
541
|
+
// If it's also a link, then just remove the name and exit
|
542
|
+
if ( oAnchor.href.length != 0 )
|
543
|
+
{
|
544
|
+
oAnchor.removeAttribute( 'name' ) ;
|
545
|
+
// Remove temporary class for IE
|
546
|
+
if ( FCKBrowserInfo.IsIE )
|
547
|
+
oAnchor.className = oAnchor.className.replace( FCKRegexLib.FCK_Class, '' ) ;
|
548
|
+
return ;
|
549
|
+
}
|
550
|
+
|
551
|
+
// We need to remove the anchor
|
552
|
+
// If we got a fake image, then just remove it and we're done
|
553
|
+
if ( oFakeImage )
|
554
|
+
{
|
555
|
+
oFakeImage.parentNode.removeChild( oFakeImage ) ;
|
556
|
+
return ;
|
557
|
+
}
|
558
|
+
// Empty anchor, so just remove it
|
559
|
+
if ( oAnchor.innerHTML.length == 0 )
|
560
|
+
{
|
561
|
+
oAnchor.parentNode.removeChild( oAnchor ) ;
|
562
|
+
return ;
|
563
|
+
}
|
564
|
+
// Anchor with content, leave the content
|
565
|
+
FCKTools.RemoveOuterTags( oAnchor ) ;
|
566
|
+
}
|
567
|
+
if ( FCKBrowserInfo.IsGecko )
|
568
|
+
FCK.Selection.Collapse( true ) ;
|
569
|
+
},
|
570
|
+
|
571
|
+
GetState : function()
|
572
|
+
{
|
573
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
574
|
+
return FCK_TRISTATE_DISABLED ;
|
575
|
+
return FCK.GetNamedCommandState( 'Unlink') ;
|
576
|
+
}
|
577
|
+
};
|
578
|
+
|
579
|
+
var FCKDeleteDivCommand = function()
|
580
|
+
{
|
581
|
+
}
|
582
|
+
FCKDeleteDivCommand.prototype =
|
583
|
+
{
|
584
|
+
GetState : function()
|
585
|
+
{
|
586
|
+
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
587
|
+
return FCK_TRISTATE_DISABLED ;
|
588
|
+
|
589
|
+
var node = FCKSelection.GetParentElement() ;
|
590
|
+
var path = new FCKElementPath( node ) ;
|
591
|
+
return path.BlockLimit && path.BlockLimit.nodeName.IEquals( 'div' ) ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ;
|
592
|
+
},
|
593
|
+
|
594
|
+
Execute : function()
|
595
|
+
{
|
596
|
+
// Create an undo snapshot before doing anything.
|
597
|
+
FCKUndo.SaveUndoStep() ;
|
598
|
+
|
599
|
+
// Find out the nodes to delete.
|
600
|
+
var nodes = FCKDomTools.GetSelectedDivContainers() ;
|
601
|
+
|
602
|
+
// Remember the current selection position.
|
603
|
+
var range = new FCKDomRange( FCK.EditorWindow ) ;
|
604
|
+
range.MoveToSelection() ;
|
605
|
+
var bookmark = range.CreateBookmark() ;
|
606
|
+
|
607
|
+
// Delete the container DIV node.
|
608
|
+
for ( var i = 0 ; i < nodes.length ; i++)
|
609
|
+
FCKDomTools.RemoveNode( nodes[i], true ) ;
|
610
|
+
|
611
|
+
// Restore selection.
|
612
|
+
range.MoveToBookmark( bookmark ) ;
|
613
|
+
range.Select() ;
|
614
|
+
}
|
615
|
+
} ;
|
616
|
+
|
617
|
+
// FCKRuleCommand
|
618
|
+
var FCKNbsp = function()
|
619
|
+
{
|
620
|
+
this.Name = 'Non Breaking Space' ;
|
621
|
+
}
|
622
|
+
|
623
|
+
FCKNbsp.prototype =
|
624
|
+
{
|
625
|
+
Execute : function()
|
626
|
+
{
|
627
|
+
FCK.InsertHtml( ' ' ) ;
|
628
|
+
},
|
629
|
+
|
630
|
+
GetState : function()
|
631
|
+
{
|
632
|
+
return ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ? FCK_TRISTATE_DISABLED : FCK_TRISTATE_OFF ) ;
|
633
|
+
}
|
634
|
+
} ;
|