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
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckutil.py
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
|
3
|
+
"""
|
4
|
+
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5
|
+
Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6
|
+
|
7
|
+
== BEGIN LICENSE ==
|
8
|
+
|
9
|
+
Licensed under the terms of any of the following licenses at your
|
10
|
+
choice:
|
11
|
+
|
12
|
+
- GNU General Public License Version 2 or later (the "GPL")
|
13
|
+
http://www.gnu.org/licenses/gpl.html
|
14
|
+
|
15
|
+
- GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16
|
+
http://www.gnu.org/licenses/lgpl.html
|
17
|
+
|
18
|
+
- Mozilla Public License Version 1.1 or later (the "MPL")
|
19
|
+
http://www.mozilla.org/MPL/MPL-1.1.html
|
20
|
+
|
21
|
+
== END LICENSE ==
|
22
|
+
|
23
|
+
Utility functions for the File Manager Connector for Python
|
24
|
+
|
25
|
+
"""
|
26
|
+
|
27
|
+
import string, re
|
28
|
+
import os
|
29
|
+
import config as Config
|
30
|
+
|
31
|
+
# Generic manipulation functions
|
32
|
+
|
33
|
+
def removeExtension(fileName):
|
34
|
+
index = fileName.rindex(".")
|
35
|
+
newFileName = fileName[0:index]
|
36
|
+
return newFileName
|
37
|
+
|
38
|
+
def getExtension(fileName):
|
39
|
+
index = fileName.rindex(".") + 1
|
40
|
+
fileExtension = fileName[index:]
|
41
|
+
return fileExtension
|
42
|
+
|
43
|
+
def removeFromStart(string, char):
|
44
|
+
return string.lstrip(char)
|
45
|
+
|
46
|
+
def removeFromEnd(string, char):
|
47
|
+
return string.rstrip(char)
|
48
|
+
|
49
|
+
# Path functions
|
50
|
+
|
51
|
+
def combinePaths( basePath, folder ):
|
52
|
+
return removeFromEnd( basePath, '/' ) + '/' + removeFromStart( folder, '/' )
|
53
|
+
|
54
|
+
def getFileName(filename):
|
55
|
+
" Purpose: helper function to extrapolate the filename "
|
56
|
+
for splitChar in ["/", "\\"]:
|
57
|
+
array = filename.split(splitChar)
|
58
|
+
if (len(array) > 1):
|
59
|
+
filename = array[-1]
|
60
|
+
return filename
|
61
|
+
|
62
|
+
def sanitizeFolderName( newFolderName ):
|
63
|
+
"Do a cleanup of the folder name to avoid possible problems"
|
64
|
+
# Remove . \ / | : ? * " < > and control characters
|
65
|
+
return re.sub( '(?u)\\.|\\\\|\\/|\\||\\:|\\?|\\*|"|<|>|[^\u0000-\u001f\u007f-\u009f]', '_', newFolderName )
|
66
|
+
|
67
|
+
def sanitizeFileName( newFileName ):
|
68
|
+
"Do a cleanup of the file name to avoid possible problems"
|
69
|
+
# Replace dots in the name with underscores (only one dot can be there... security issue).
|
70
|
+
if ( Config.ForceSingleExtension ): # remove dots
|
71
|
+
newFileName = re.sub ( '/\\.(?![^.]*$)/', '_', newFileName ) ;
|
72
|
+
newFileName = newFileName.replace('\\','/') # convert windows to unix path
|
73
|
+
newFileName = os.path.basename (newFileName) # strip directories
|
74
|
+
# Remove \ / | : ? *
|
75
|
+
return re.sub ( '(?u)/\\\\|\\/|\\||\\:|\\?|\\*|"|<|>|[^\u0000-\u001f\u007f-\u009f]/', '_', newFileName )
|
76
|
+
|
77
|
+
def getCurrentFolder(currentFolder):
|
78
|
+
if not currentFolder:
|
79
|
+
currentFolder = '/'
|
80
|
+
|
81
|
+
# Check the current folder syntax (must begin and end with a slash).
|
82
|
+
if (currentFolder[-1] <> "/"):
|
83
|
+
currentFolder += "/"
|
84
|
+
if (currentFolder[0] <> "/"):
|
85
|
+
currentFolder = "/" + currentFolder
|
86
|
+
|
87
|
+
# Ensure the folder path has no double-slashes
|
88
|
+
while '//' in currentFolder:
|
89
|
+
currentFolder = currentFolder.replace('//','/')
|
90
|
+
|
91
|
+
# Check for invalid folder paths (..)
|
92
|
+
if '..' in currentFolder or '\\' in currentFolder:
|
93
|
+
return None
|
94
|
+
|
95
|
+
return currentFolder
|
96
|
+
|
97
|
+
def mapServerPath( environ, url):
|
98
|
+
" Emulate the asp Server.mapPath function. Given an url path return the physical directory that it corresponds to "
|
99
|
+
# This isn't correct but for the moment there's no other solution
|
100
|
+
# If this script is under a virtual directory or symlink it will detect the problem and stop
|
101
|
+
return combinePaths( getRootPath(environ), url )
|
102
|
+
|
103
|
+
def mapServerFolder(resourceTypePath, folderPath):
|
104
|
+
return combinePaths ( resourceTypePath , folderPath )
|
105
|
+
|
106
|
+
def getRootPath(environ):
|
107
|
+
"Purpose: returns the root path on the server"
|
108
|
+
# WARNING: this may not be thread safe, and doesn't work w/ VirtualServer/mod_python
|
109
|
+
# Use Config.UserFilesAbsolutePath instead
|
110
|
+
|
111
|
+
if environ.has_key('DOCUMENT_ROOT'):
|
112
|
+
return environ['DOCUMENT_ROOT']
|
113
|
+
else:
|
114
|
+
realPath = os.path.realpath( './' )
|
115
|
+
selfPath = environ['SCRIPT_FILENAME']
|
116
|
+
selfPath = selfPath [ : selfPath.rfind( '/' ) ]
|
117
|
+
selfPath = selfPath.replace( '/', os.path.sep)
|
118
|
+
|
119
|
+
position = realPath.find(selfPath)
|
120
|
+
|
121
|
+
# This can check only that this script isn't run from a virtual dir
|
122
|
+
# But it avoids the problems that arise if it isn't checked
|
123
|
+
raise realPath
|
124
|
+
if ( position < 0 or position <> len(realPath) - len(selfPath) or realPath[ : position ]==''):
|
125
|
+
raise Exception('Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/py/config.py".')
|
126
|
+
return realPath[ : position ]
|
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/htaccess.txt
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# replace the name of this file to .htaccess (if using apache),
|
2
|
+
# and set the proper options and paths according your enviroment
|
3
|
+
|
4
|
+
Allow from all
|
5
|
+
|
6
|
+
# If using mod_python uncomment this:
|
7
|
+
PythonPath "[r'C:\Archivos de programa\Apache Software Foundation\Apache2.2\htdocs\fckeditor\editor\filemanager\connectors\py'] + sys.path"
|
8
|
+
|
9
|
+
|
10
|
+
# Recomended: WSGI application running with mod_python and modpython_gateway
|
11
|
+
SetHandler python-program
|
12
|
+
PythonHandler modpython_gateway::handler
|
13
|
+
PythonOption wsgi.application wsgi::App
|
14
|
+
|
15
|
+
|
16
|
+
# Emulated CGI with mod_python and cgihandler
|
17
|
+
#AddHandler mod_python .py
|
18
|
+
#PythonHandler mod_python.cgihandler
|
19
|
+
|
20
|
+
|
21
|
+
# Plain old CGI
|
22
|
+
#Options +ExecCGI
|
23
|
+
#AddHandler cgi-script py
|
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/upload.py
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
|
3
|
+
"""
|
4
|
+
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5
|
+
Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6
|
+
|
7
|
+
== BEGIN LICENSE ==
|
8
|
+
|
9
|
+
Licensed under the terms of any of the following licenses at your
|
10
|
+
choice:
|
11
|
+
|
12
|
+
- GNU General Public License Version 2 or later (the "GPL")
|
13
|
+
http://www.gnu.org/licenses/gpl.html
|
14
|
+
|
15
|
+
- GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16
|
+
http://www.gnu.org/licenses/lgpl.html
|
17
|
+
|
18
|
+
- Mozilla Public License Version 1.1 or later (the "MPL")
|
19
|
+
http://www.mozilla.org/MPL/MPL-1.1.html
|
20
|
+
|
21
|
+
== END LICENSE ==
|
22
|
+
|
23
|
+
This is the "File Uploader" for Python
|
24
|
+
|
25
|
+
"""
|
26
|
+
import os
|
27
|
+
|
28
|
+
from fckutil import *
|
29
|
+
from fckcommands import * # default command's implementation
|
30
|
+
from fckconnector import FCKeditorConnectorBase # import base connector
|
31
|
+
import config as Config
|
32
|
+
|
33
|
+
class FCKeditorQuickUpload( FCKeditorConnectorBase,
|
34
|
+
UploadFileCommandMixin,
|
35
|
+
BaseHttpMixin, BaseHtmlMixin):
|
36
|
+
def doResponse(self):
|
37
|
+
"Main function. Process the request, set headers and return a string as response."
|
38
|
+
# Check if this connector is disabled
|
39
|
+
if not(Config.Enabled):
|
40
|
+
return self.sendUploadResults(1, "This file uploader is disabled. Please check the \"editor/filemanager/connectors/py/config.py\"")
|
41
|
+
command = 'QuickUpload'
|
42
|
+
# The file type (from the QueryString, by default 'File').
|
43
|
+
resourceType = self.request.get('Type','File')
|
44
|
+
currentFolder = getCurrentFolder(self.request.get("CurrentFolder",""))
|
45
|
+
# Check for invalid paths
|
46
|
+
if currentFolder is None:
|
47
|
+
return self.sendUploadResults(102, '', '', "")
|
48
|
+
|
49
|
+
# Check if it is an allowed command
|
50
|
+
if ( not command in Config.ConfigAllowedCommands ):
|
51
|
+
return self.sendUploadResults( 1, '', '', 'The %s command isn\'t allowed' % command )
|
52
|
+
|
53
|
+
if ( not resourceType in Config.ConfigAllowedTypes ):
|
54
|
+
return self.sendUploadResults( 1, '', '', 'Invalid type specified' )
|
55
|
+
|
56
|
+
# Setup paths
|
57
|
+
self.userFilesFolder = Config.QuickUploadAbsolutePath[resourceType]
|
58
|
+
self.webUserFilesFolder = Config.QuickUploadPath[resourceType]
|
59
|
+
if not self.userFilesFolder: # no absolute path given (dangerous...)
|
60
|
+
self.userFilesFolder = mapServerPath(self.environ,
|
61
|
+
self.webUserFilesFolder)
|
62
|
+
|
63
|
+
# Ensure that the directory exists.
|
64
|
+
if not os.path.exists(self.userFilesFolder):
|
65
|
+
try:
|
66
|
+
self.createServerFoldercreateServerFolder( self.userFilesFolder )
|
67
|
+
except:
|
68
|
+
return self.sendError(1, "This connector couldn\'t access to local user\'s files directories. Please check the UserFilesAbsolutePath in \"editor/filemanager/connectors/py/config.py\" and try again. ")
|
69
|
+
|
70
|
+
# File upload doesn't have to return XML, so intercept here
|
71
|
+
return self.uploadFile(resourceType, currentFolder)
|
72
|
+
|
73
|
+
# Running from command line (plain old CGI)
|
74
|
+
if __name__ == '__main__':
|
75
|
+
try:
|
76
|
+
# Create a Connector Instance
|
77
|
+
conn = FCKeditorQuickUpload()
|
78
|
+
data = conn.doResponse()
|
79
|
+
for header in conn.headers:
|
80
|
+
if not header is None:
|
81
|
+
print '%s: %s' % header
|
82
|
+
print
|
83
|
+
print data
|
84
|
+
except:
|
85
|
+
print "Content-Type: text/plain"
|
86
|
+
print
|
87
|
+
import cgi
|
88
|
+
cgi.print_exception()
|
@@ -0,0 +1,58 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
|
3
|
+
"""
|
4
|
+
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5
|
+
Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6
|
+
|
7
|
+
== BEGIN LICENSE ==
|
8
|
+
|
9
|
+
Licensed under the terms of any of the following licenses at your
|
10
|
+
choice:
|
11
|
+
|
12
|
+
- GNU General Public License Version 2 or later (the "GPL")
|
13
|
+
http://www.gnu.org/licenses/gpl.html
|
14
|
+
|
15
|
+
- GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16
|
+
http://www.gnu.org/licenses/lgpl.html
|
17
|
+
|
18
|
+
- Mozilla Public License Version 1.1 or later (the "MPL")
|
19
|
+
http://www.mozilla.org/MPL/MPL-1.1.html
|
20
|
+
|
21
|
+
== END LICENSE ==
|
22
|
+
|
23
|
+
Connector/QuickUpload for Python (WSGI wrapper).
|
24
|
+
|
25
|
+
See config.py for configuration settings
|
26
|
+
|
27
|
+
"""
|
28
|
+
|
29
|
+
from connector import FCKeditorConnector
|
30
|
+
from upload import FCKeditorQuickUpload
|
31
|
+
|
32
|
+
import cgitb
|
33
|
+
from cStringIO import StringIO
|
34
|
+
|
35
|
+
# Running from WSGI capable server (recomended)
|
36
|
+
def App(environ, start_response):
|
37
|
+
"WSGI entry point. Run the connector"
|
38
|
+
if environ['SCRIPT_NAME'].endswith("connector.py"):
|
39
|
+
conn = FCKeditorConnector(environ)
|
40
|
+
elif environ['SCRIPT_NAME'].endswith("upload.py"):
|
41
|
+
conn = FCKeditorQuickUpload(environ)
|
42
|
+
else:
|
43
|
+
start_response ("200 Ok", [('Content-Type','text/html')])
|
44
|
+
yield "Unknown page requested: "
|
45
|
+
yield environ['SCRIPT_NAME']
|
46
|
+
return
|
47
|
+
try:
|
48
|
+
# run the connector
|
49
|
+
data = conn.doResponse()
|
50
|
+
# Start WSGI response:
|
51
|
+
start_response ("200 Ok", conn.headers)
|
52
|
+
# Send response text
|
53
|
+
yield data
|
54
|
+
except:
|
55
|
+
start_response("500 Internal Server Error",[("Content-type","text/html")])
|
56
|
+
file = StringIO()
|
57
|
+
cgitb.Hook(file = file).handle()
|
58
|
+
yield file.getvalue()
|
@@ -0,0 +1,188 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
|
3
|
+
"""
|
4
|
+
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5
|
+
Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6
|
+
|
7
|
+
== BEGIN LICENSE ==
|
8
|
+
|
9
|
+
Licensed under the terms of any of the following licenses at your
|
10
|
+
choice:
|
11
|
+
|
12
|
+
- GNU General Public License Version 2 or later (the "GPL")
|
13
|
+
http://www.gnu.org/licenses/gpl.html
|
14
|
+
|
15
|
+
- GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16
|
+
http://www.gnu.org/licenses/lgpl.html
|
17
|
+
|
18
|
+
- Mozilla Public License Version 1.1 or later (the "MPL")
|
19
|
+
http://www.mozilla.org/MPL/MPL-1.1.html
|
20
|
+
|
21
|
+
== END LICENSE ==
|
22
|
+
|
23
|
+
Connector for Python and Zope.
|
24
|
+
|
25
|
+
This code was not tested at all.
|
26
|
+
It just was ported from pre 2.5 release, so for further reference see
|
27
|
+
\editor\filemanager\browser\default\connectors\py\connector.py in previous
|
28
|
+
releases.
|
29
|
+
|
30
|
+
"""
|
31
|
+
|
32
|
+
from fckutil import *
|
33
|
+
from connector import *
|
34
|
+
import config as Config
|
35
|
+
|
36
|
+
class FCKeditorConnectorZope(FCKeditorConnector):
|
37
|
+
"""
|
38
|
+
Zope versiof FCKeditorConnector
|
39
|
+
"""
|
40
|
+
# Allow access (Zope)
|
41
|
+
__allow_access_to_unprotected_subobjects__ = 1
|
42
|
+
|
43
|
+
def __init__(self, context=None):
|
44
|
+
"""
|
45
|
+
Constructor
|
46
|
+
"""
|
47
|
+
FCKeditorConnector.__init__(self, environ=None) # call superclass constructor
|
48
|
+
# Instance Attributes
|
49
|
+
self.context = context
|
50
|
+
self.request = FCKeditorRequest(context)
|
51
|
+
|
52
|
+
def getZopeRootContext(self):
|
53
|
+
if self.zopeRootContext is None:
|
54
|
+
self.zopeRootContext = self.context.getPhysicalRoot()
|
55
|
+
return self.zopeRootContext
|
56
|
+
|
57
|
+
def getZopeUploadContext(self):
|
58
|
+
if self.zopeUploadContext is None:
|
59
|
+
folderNames = self.userFilesFolder.split("/")
|
60
|
+
c = self.getZopeRootContext()
|
61
|
+
for folderName in folderNames:
|
62
|
+
if (folderName <> ""):
|
63
|
+
c = c[folderName]
|
64
|
+
self.zopeUploadContext = c
|
65
|
+
return self.zopeUploadContext
|
66
|
+
|
67
|
+
def setHeader(self, key, value):
|
68
|
+
self.context.REQUEST.RESPONSE.setHeader(key, value)
|
69
|
+
|
70
|
+
def getFolders(self, resourceType, currentFolder):
|
71
|
+
# Open the folders node
|
72
|
+
s = ""
|
73
|
+
s += """<Folders>"""
|
74
|
+
zopeFolder = self.findZopeFolder(resourceType, currentFolder)
|
75
|
+
for (name, o) in zopeFolder.objectItems(["Folder"]):
|
76
|
+
s += """<Folder name="%s" />""" % (
|
77
|
+
convertToXmlAttribute(name)
|
78
|
+
)
|
79
|
+
# Close the folders node
|
80
|
+
s += """</Folders>"""
|
81
|
+
return s
|
82
|
+
|
83
|
+
def getZopeFoldersAndFiles(self, resourceType, currentFolder):
|
84
|
+
folders = self.getZopeFolders(resourceType, currentFolder)
|
85
|
+
files = self.getZopeFiles(resourceType, currentFolder)
|
86
|
+
s = folders + files
|
87
|
+
return s
|
88
|
+
|
89
|
+
def getZopeFiles(self, resourceType, currentFolder):
|
90
|
+
# Open the files node
|
91
|
+
s = ""
|
92
|
+
s += """<Files>"""
|
93
|
+
zopeFolder = self.findZopeFolder(resourceType, currentFolder)
|
94
|
+
for (name, o) in zopeFolder.objectItems(["File","Image"]):
|
95
|
+
s += """<File name="%s" size="%s" />""" % (
|
96
|
+
convertToXmlAttribute(name),
|
97
|
+
((o.get_size() / 1024) + 1)
|
98
|
+
)
|
99
|
+
# Close the files node
|
100
|
+
s += """</Files>"""
|
101
|
+
return s
|
102
|
+
|
103
|
+
def findZopeFolder(self, resourceType, folderName):
|
104
|
+
# returns the context of the resource / folder
|
105
|
+
zopeFolder = self.getZopeUploadContext()
|
106
|
+
folderName = self.removeFromStart(folderName, "/")
|
107
|
+
folderName = self.removeFromEnd(folderName, "/")
|
108
|
+
if (resourceType <> ""):
|
109
|
+
try:
|
110
|
+
zopeFolder = zopeFolder[resourceType]
|
111
|
+
except:
|
112
|
+
zopeFolder.manage_addProduct["OFSP"].manage_addFolder(id=resourceType, title=resourceType)
|
113
|
+
zopeFolder = zopeFolder[resourceType]
|
114
|
+
if (folderName <> ""):
|
115
|
+
folderNames = folderName.split("/")
|
116
|
+
for folderName in folderNames:
|
117
|
+
zopeFolder = zopeFolder[folderName]
|
118
|
+
return zopeFolder
|
119
|
+
|
120
|
+
def createFolder(self, resourceType, currentFolder):
|
121
|
+
# Find out where we are
|
122
|
+
zopeFolder = self.findZopeFolder(resourceType, currentFolder)
|
123
|
+
errorNo = 0
|
124
|
+
errorMsg = ""
|
125
|
+
if self.request.has_key("NewFolderName"):
|
126
|
+
newFolder = self.request.get("NewFolderName", None)
|
127
|
+
zopeFolder.manage_addProduct["OFSP"].manage_addFolder(id=newFolder, title=newFolder)
|
128
|
+
else:
|
129
|
+
errorNo = 102
|
130
|
+
return self.sendErrorNode ( errorNo, errorMsg )
|
131
|
+
|
132
|
+
def uploadFile(self, resourceType, currentFolder, count=None):
|
133
|
+
zopeFolder = self.findZopeFolder(resourceType, currentFolder)
|
134
|
+
file = self.request.get("NewFile", None)
|
135
|
+
fileName = self.getFileName(file.filename)
|
136
|
+
fileNameOnly = self.removeExtension(fileName)
|
137
|
+
fileExtension = self.getExtension(fileName).lower()
|
138
|
+
if (count):
|
139
|
+
nid = "%s.%s.%s" % (fileNameOnly, count, fileExtension)
|
140
|
+
else:
|
141
|
+
nid = fileName
|
142
|
+
title = nid
|
143
|
+
try:
|
144
|
+
zopeFolder.manage_addProduct['OFSP'].manage_addFile(
|
145
|
+
id=nid,
|
146
|
+
title=title,
|
147
|
+
file=file.read()
|
148
|
+
)
|
149
|
+
except:
|
150
|
+
if (count):
|
151
|
+
count += 1
|
152
|
+
else:
|
153
|
+
count = 1
|
154
|
+
return self.zopeFileUpload(resourceType, currentFolder, count)
|
155
|
+
return self.sendUploadResults( 0 )
|
156
|
+
|
157
|
+
class FCKeditorRequest(object):
|
158
|
+
"A wrapper around the request object"
|
159
|
+
def __init__(self, context=None):
|
160
|
+
r = context.REQUEST
|
161
|
+
self.request = r
|
162
|
+
|
163
|
+
def has_key(self, key):
|
164
|
+
return self.request.has_key(key)
|
165
|
+
|
166
|
+
def get(self, key, default=None):
|
167
|
+
return self.request.get(key, default)
|
168
|
+
|
169
|
+
"""
|
170
|
+
Running from zope, you will need to modify this connector.
|
171
|
+
If you have uploaded the FCKeditor into Zope (like me), you need to
|
172
|
+
move this connector out of Zope, and replace the "connector" with an
|
173
|
+
alias as below. The key to it is to pass the Zope context in, as
|
174
|
+
we then have a like to the Zope context.
|
175
|
+
|
176
|
+
## Script (Python) "connector.py"
|
177
|
+
##bind container=container
|
178
|
+
##bind context=context
|
179
|
+
##bind namespace=
|
180
|
+
##bind script=script
|
181
|
+
##bind subpath=traverse_subpath
|
182
|
+
##parameters=*args, **kws
|
183
|
+
##title=ALIAS
|
184
|
+
##
|
185
|
+
|
186
|
+
import Products.zope as connector
|
187
|
+
return connector.FCKeditorConnectorZope(context=context).doResponse()
|
188
|
+
"""
|
@@ -0,0 +1,210 @@
|
|
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
|
+
* Test page for the File Browser connectors.
|
22
|
+
-->
|
23
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
24
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
25
|
+
<head>
|
26
|
+
<title>FCKeditor - Connectors Tests</title>
|
27
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
28
|
+
<script type="text/javascript">
|
29
|
+
|
30
|
+
// Automatically detect the correct document.domain (#1919).
|
31
|
+
(function()
|
32
|
+
{
|
33
|
+
var d = document.domain ;
|
34
|
+
|
35
|
+
while ( true )
|
36
|
+
{
|
37
|
+
// Test if we can access a parent property.
|
38
|
+
try
|
39
|
+
{
|
40
|
+
var test = window.opener.document.domain ;
|
41
|
+
break ;
|
42
|
+
}
|
43
|
+
catch( e ) {}
|
44
|
+
|
45
|
+
// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
|
46
|
+
d = d.replace( /.*?(?:\.|$)/, '' ) ;
|
47
|
+
|
48
|
+
if ( d.length == 0 )
|
49
|
+
break ; // It was not able to detect the domain.
|
50
|
+
|
51
|
+
try
|
52
|
+
{
|
53
|
+
document.domain = d ;
|
54
|
+
}
|
55
|
+
catch (e)
|
56
|
+
{
|
57
|
+
break ;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
})() ;
|
61
|
+
|
62
|
+
function BuildBaseUrl( command )
|
63
|
+
{
|
64
|
+
var sUrl =
|
65
|
+
document.getElementById('cmbConnector').value +
|
66
|
+
'?Command=' + command +
|
67
|
+
'&Type=' + document.getElementById('cmbType').value +
|
68
|
+
'&CurrentFolder=' + encodeURIComponent(document.getElementById('txtFolder').value) ;
|
69
|
+
|
70
|
+
return sUrl ;
|
71
|
+
}
|
72
|
+
|
73
|
+
function SetFrameUrl( url )
|
74
|
+
{
|
75
|
+
document.getElementById('eRunningFrame').src = url ;
|
76
|
+
|
77
|
+
document.getElementById('eUrl').innerHTML = url ;
|
78
|
+
}
|
79
|
+
|
80
|
+
function GetFolders()
|
81
|
+
{
|
82
|
+
SetFrameUrl( BuildBaseUrl( 'GetFolders' ) ) ;
|
83
|
+
return false ;
|
84
|
+
}
|
85
|
+
|
86
|
+
function GetFoldersAndFiles()
|
87
|
+
{
|
88
|
+
SetFrameUrl( BuildBaseUrl( 'GetFoldersAndFiles' ) ) ;
|
89
|
+
return false ;
|
90
|
+
}
|
91
|
+
|
92
|
+
function CreateFolder()
|
93
|
+
{
|
94
|
+
var sFolder = prompt( 'Type the folder name:', 'Test Folder' ) ;
|
95
|
+
|
96
|
+
if ( ! sFolder )
|
97
|
+
return false ;
|
98
|
+
|
99
|
+
var sUrl = BuildBaseUrl( 'CreateFolder' ) ;
|
100
|
+
sUrl += '&NewFolderName=' + encodeURIComponent( sFolder ) ;
|
101
|
+
|
102
|
+
SetFrameUrl( sUrl ) ;
|
103
|
+
return false ;
|
104
|
+
}
|
105
|
+
|
106
|
+
function OnUploadCompleted( errorNumber, fileName )
|
107
|
+
{
|
108
|
+
switch ( errorNumber )
|
109
|
+
{
|
110
|
+
case 0 :
|
111
|
+
alert( 'File uploaded with no errors' ) ;
|
112
|
+
break ;
|
113
|
+
case 201 :
|
114
|
+
GetFoldersAndFiles() ;
|
115
|
+
alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ;
|
116
|
+
break ;
|
117
|
+
case 202 :
|
118
|
+
alert( 'Invalid file' ) ;
|
119
|
+
break ;
|
120
|
+
default :
|
121
|
+
alert( 'Error on file upload. Error number: ' + errorNumber ) ;
|
122
|
+
break ;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
this.frames.frmUpload = this ;
|
127
|
+
|
128
|
+
function SetAction()
|
129
|
+
{
|
130
|
+
var sUrl = BuildBaseUrl( 'FileUpload' ) ;
|
131
|
+
document.getElementById('eUrl').innerHTML = sUrl ;
|
132
|
+
document.getElementById('frmUpload').action = sUrl ;
|
133
|
+
}
|
134
|
+
|
135
|
+
</script>
|
136
|
+
</head>
|
137
|
+
<body>
|
138
|
+
<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
|
139
|
+
<tr>
|
140
|
+
<td>
|
141
|
+
<table cellspacing="0" cellpadding="0" border="0">
|
142
|
+
<tr>
|
143
|
+
<td>
|
144
|
+
Connector:<br />
|
145
|
+
<select id="cmbConnector" name="cmbConnector">
|
146
|
+
<option value="asp/connector.asp" selected="selected">ASP</option>
|
147
|
+
<option value="aspx/connector.aspx">ASP.Net</option>
|
148
|
+
<option value="cfm/connector.cfm">ColdFusion</option>
|
149
|
+
<option value="lasso/connector.lasso">Lasso</option>
|
150
|
+
<option value="perl/connector.cgi">Perl</option>
|
151
|
+
<option value="php/connector.php">PHP</option>
|
152
|
+
<option value="py/connector.py">Python</option>
|
153
|
+
</select>
|
154
|
+
</td>
|
155
|
+
<td>
|
156
|
+
</td>
|
157
|
+
<td>
|
158
|
+
Current Folder<br />
|
159
|
+
<input id="txtFolder" type="text" value="/" name="txtFolder" /></td>
|
160
|
+
<td>
|
161
|
+
</td>
|
162
|
+
<td>
|
163
|
+
Resource Type<br />
|
164
|
+
<select id="cmbType" name="cmbType">
|
165
|
+
<option value="File" selected="selected">File</option>
|
166
|
+
<option value="Image">Image</option>
|
167
|
+
<option value="Flash">Flash</option>
|
168
|
+
<option value="Media">Media</option>
|
169
|
+
<option value="Invalid">Invalid Type (for testing)</option>
|
170
|
+
</select>
|
171
|
+
</td>
|
172
|
+
</tr>
|
173
|
+
</table>
|
174
|
+
<br />
|
175
|
+
<table cellspacing="0" cellpadding="0" border="0">
|
176
|
+
<tr>
|
177
|
+
<td valign="top">
|
178
|
+
<a href="#" onclick="GetFolders();">Get Folders</a></td>
|
179
|
+
<td>
|
180
|
+
</td>
|
181
|
+
<td valign="top">
|
182
|
+
<a href="#" onclick="GetFoldersAndFiles();">Get Folders and Files</a></td>
|
183
|
+
<td>
|
184
|
+
</td>
|
185
|
+
<td valign="top">
|
186
|
+
<a href="#" onclick="CreateFolder();">Create Folder</a></td>
|
187
|
+
<td>
|
188
|
+
</td>
|
189
|
+
<td valign="top">
|
190
|
+
<form id="frmUpload" action="" target="eRunningFrame" method="post" enctype="multipart/form-data">
|
191
|
+
File Upload<br />
|
192
|
+
<input id="txtFileUpload" type="file" name="NewFile" />
|
193
|
+
<input type="submit" value="Upload" onclick="SetAction();" />
|
194
|
+
</form>
|
195
|
+
</td>
|
196
|
+
</tr>
|
197
|
+
</table>
|
198
|
+
<br />
|
199
|
+
URL: <span id="eUrl"></span>
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
<tr>
|
203
|
+
<td height="100%" valign="top">
|
204
|
+
<iframe id="eRunningFrame" src="javascript:void(0)" name="eRunningFrame" width="100%"
|
205
|
+
height="100%"></iframe>
|
206
|
+
</td>
|
207
|
+
</tr>
|
208
|
+
</table>
|
209
|
+
</body>
|
210
|
+
</html>
|