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,686 @@
|
|
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
|
+
# This is the File Manager Connector for Perl.
|
22
|
+
#####
|
23
|
+
|
24
|
+
# image data save dir
|
25
|
+
$img_dir = './temp/';
|
26
|
+
|
27
|
+
|
28
|
+
# File size max(unit KB)
|
29
|
+
$MAX_CONTENT_SIZE = 30000;
|
30
|
+
|
31
|
+
# After file is uploaded, sometimes it is required to change its permissions
|
32
|
+
# so that it was possible to access it at the later time.
|
33
|
+
# If possible, it is recommended to set more restrictive permissions, like 0755.
|
34
|
+
# Set to 0 to disable this feature.
|
35
|
+
$CHMOD_ON_UPLOAD = 0777;
|
36
|
+
|
37
|
+
# See comments above.
|
38
|
+
# Used when creating folders that does not exist.
|
39
|
+
$CHMOD_ON_FOLDER_CREATE = 0755;
|
40
|
+
|
41
|
+
# Filelock (1=use,0=not use)
|
42
|
+
$PM{'flock'} = '1';
|
43
|
+
|
44
|
+
|
45
|
+
# upload Content-Type list
|
46
|
+
my %UPLOAD_CONTENT_TYPE_LIST = (
|
47
|
+
'image/(x-)?png' => 'png', # PNG image
|
48
|
+
'image/p?jpe?g' => 'jpg', # JPEG image
|
49
|
+
'image/gif' => 'gif', # GIF image
|
50
|
+
'image/x-xbitmap' => 'xbm', # XBM image
|
51
|
+
|
52
|
+
'image/(x-(MS-)?)?bmp' => 'bmp', # Windows BMP image
|
53
|
+
'image/pict' => 'pict', # Macintosh PICT image
|
54
|
+
'image/tiff' => 'tif', # TIFF image
|
55
|
+
'application/pdf' => 'pdf', # PDF image
|
56
|
+
'application/x-shockwave-flash' => 'swf', # Shockwave Flash
|
57
|
+
|
58
|
+
'video/(x-)?msvideo' => 'avi', # Microsoft Video
|
59
|
+
'video/quicktime' => 'mov', # QuickTime Video
|
60
|
+
'video/mpeg' => 'mpeg', # MPEG Video
|
61
|
+
'video/x-mpeg2' => 'mpv2', # MPEG2 Video
|
62
|
+
|
63
|
+
'audio/(x-)?midi?' => 'mid', # MIDI Audio
|
64
|
+
'audio/(x-)?wav' => 'wav', # WAV Audio
|
65
|
+
'audio/basic' => 'au', # ULAW Audio
|
66
|
+
'audio/mpeg' => 'mpga', # MPEG Audio
|
67
|
+
|
68
|
+
'application/(x-)?zip(-compressed)?' => 'zip', # ZIP Compress
|
69
|
+
|
70
|
+
'text/html' => 'html', # HTML
|
71
|
+
'text/plain' => 'txt', # TEXT
|
72
|
+
'(?:application|text)/(?:rtf|richtext)' => 'rtf', # RichText
|
73
|
+
|
74
|
+
'application/msword' => 'doc', # Microsoft Word
|
75
|
+
'application/vnd.ms-excel' => 'xls', # Microsoft Excel
|
76
|
+
|
77
|
+
''
|
78
|
+
);
|
79
|
+
|
80
|
+
# Upload is permitted.
|
81
|
+
# A regular expression is possible.
|
82
|
+
my %UPLOAD_EXT_LIST = (
|
83
|
+
'png' => 'PNG image',
|
84
|
+
'p?jpe?g|jpe|jfif|pjp' => 'JPEG image',
|
85
|
+
'gif' => 'GIF image',
|
86
|
+
'xbm' => 'XBM image',
|
87
|
+
|
88
|
+
'bmp|dib|rle' => 'Windows BMP image',
|
89
|
+
'pi?ct' => 'Macintosh PICT image',
|
90
|
+
'tiff?' => 'TIFF image',
|
91
|
+
'pdf' => 'PDF image',
|
92
|
+
'swf' => 'Shockwave Flash',
|
93
|
+
|
94
|
+
'avi' => 'Microsoft Video',
|
95
|
+
'moo?v|qt' => 'QuickTime Video',
|
96
|
+
'm(p(e?gv?|e|v)|1v)' => 'MPEG Video',
|
97
|
+
'mp(v2|2v)' => 'MPEG2 Video',
|
98
|
+
|
99
|
+
'midi?|kar|smf|rmi|mff' => 'MIDI Audio',
|
100
|
+
'wav' => 'WAVE Audio',
|
101
|
+
'au|snd' => 'ULAW Audio',
|
102
|
+
'mp(e?ga|2|a|3)|abs' => 'MPEG Audio',
|
103
|
+
|
104
|
+
'zip' => 'ZIP Compress',
|
105
|
+
'lzh' => 'LZH Compress',
|
106
|
+
'cab' => 'CAB Compress',
|
107
|
+
|
108
|
+
'd?html?' => 'HTML',
|
109
|
+
'rtf|rtx' => 'RichText',
|
110
|
+
'txt|text' => 'Text',
|
111
|
+
|
112
|
+
''
|
113
|
+
);
|
114
|
+
|
115
|
+
|
116
|
+
# sjis or euc
|
117
|
+
my $CHARCODE = 'sjis';
|
118
|
+
|
119
|
+
$TRANS_2BYTE_CODE = 0;
|
120
|
+
|
121
|
+
##############################################################################
|
122
|
+
# Summary
|
123
|
+
#
|
124
|
+
# Form Read input
|
125
|
+
#
|
126
|
+
# Parameters
|
127
|
+
# Returns
|
128
|
+
# Memo
|
129
|
+
##############################################################################
|
130
|
+
sub read_input
|
131
|
+
{
|
132
|
+
eval("use File::Copy;");
|
133
|
+
eval("use File::Path;");
|
134
|
+
|
135
|
+
my ($FORM) = @_;
|
136
|
+
|
137
|
+
if (defined $CHMOD_ON_FOLDER_CREATE && !$CHMOD_ON_FOLDER_CREATE) {
|
138
|
+
mkdir("$img_dir");
|
139
|
+
}
|
140
|
+
else {
|
141
|
+
umask(000);
|
142
|
+
if (defined $CHMOD_ON_FOLDER_CREATE) {
|
143
|
+
mkdir("$img_dir",$CHMOD_ON_FOLDER_CREATE);
|
144
|
+
}
|
145
|
+
else {
|
146
|
+
mkdir("$img_dir",0777);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
undef $img_data_exists;
|
151
|
+
undef @NEWFNAMES;
|
152
|
+
undef @NEWFNAME_DATA;
|
153
|
+
|
154
|
+
if($ENV{'CONTENT_LENGTH'} > 10000000 || $ENV{'CONTENT_LENGTH'} > $MAX_CONTENT_SIZE * 1024) {
|
155
|
+
&upload_error(
|
156
|
+
'Size Error',
|
157
|
+
sprintf(
|
158
|
+
"Transmitting size is too large.MAX <strong>%d KB</strong> Now Size <strong>%d KB</strong>(<strong>%d bytes</strong> Over)",
|
159
|
+
$MAX_CONTENT_SIZE,
|
160
|
+
int($ENV{'CONTENT_LENGTH'} / 1024),
|
161
|
+
$ENV{'CONTENT_LENGTH'} - $MAX_CONTENT_SIZE * 1024
|
162
|
+
)
|
163
|
+
);
|
164
|
+
}
|
165
|
+
|
166
|
+
my $Buffer;
|
167
|
+
if($ENV{'CONTENT_TYPE'} =~ /multipart\/form-data/) {
|
168
|
+
# METHOD POST only
|
169
|
+
return unless($ENV{'CONTENT_LENGTH'});
|
170
|
+
|
171
|
+
binmode(STDIN);
|
172
|
+
# STDIN A pause character is detected.'(MacIE3.0 boundary of $ENV{'CONTENT_TYPE'} cannot be trusted.)
|
173
|
+
my $Boundary = <STDIN>;
|
174
|
+
$Boundary =~ s/\x0D\x0A//;
|
175
|
+
$Boundary = quotemeta($Boundary);
|
176
|
+
while(<STDIN>) {
|
177
|
+
if(/^\s*Content-Disposition:/i) {
|
178
|
+
my($name,$ContentType,$FileName);
|
179
|
+
# form data get
|
180
|
+
if(/\bname="([^"]+)"/i || /\bname=([^\s:;]+)/i) {
|
181
|
+
$name = $1;
|
182
|
+
$name =~ tr/+/ /;
|
183
|
+
$name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
184
|
+
&Encode(\$name);
|
185
|
+
}
|
186
|
+
if(/\bfilename="([^"]*)"/i || /\bfilename=([^\s:;]*)/i) {
|
187
|
+
$FileName = $1 || 'unknown';
|
188
|
+
}
|
189
|
+
# head read
|
190
|
+
while(<STDIN>) {
|
191
|
+
last if(! /\w/);
|
192
|
+
if(/^\s*Content-Type:\s*"([^"]+)"/i || /^\s*Content-Type:\s*([^\s:;]+)/i) {
|
193
|
+
$ContentType = $1;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
# body read
|
197
|
+
$value = "";
|
198
|
+
while(<STDIN>) {
|
199
|
+
last if(/^$Boundary/o);
|
200
|
+
$value .= $_;
|
201
|
+
};
|
202
|
+
$lastline = $_;
|
203
|
+
$value =~s /\x0D\x0A$//;
|
204
|
+
if($value ne '') {
|
205
|
+
if($FileName || $ContentType) {
|
206
|
+
$img_data_exists = 1;
|
207
|
+
(
|
208
|
+
$FileName, #
|
209
|
+
$Ext, #
|
210
|
+
$Length, #
|
211
|
+
$ImageWidth, #
|
212
|
+
$ImageHeight, #
|
213
|
+
$ContentName #
|
214
|
+
) = &CheckContentType(\$value,$FileName,$ContentType);
|
215
|
+
|
216
|
+
$FORM{$name} = $FileName;
|
217
|
+
$new_fname = $FileName;
|
218
|
+
push(@NEWFNAME_DATA,"$FileName\t$Ext\t$Length\t$ImageWidth\t$ImageHeight\t$ContentName");
|
219
|
+
|
220
|
+
# Multi-upload correspondence
|
221
|
+
push(@NEWFNAMES,$new_fname);
|
222
|
+
open(OUT,">$img_dir/$new_fname");
|
223
|
+
binmode(OUT);
|
224
|
+
eval "flock(OUT,2);" if($PM{'flock'} == 1);
|
225
|
+
print OUT $value;
|
226
|
+
eval "flock(OUT,8);" if($PM{'flock'} == 1);
|
227
|
+
close(OUT);
|
228
|
+
|
229
|
+
} elsif($name) {
|
230
|
+
$value =~ tr/+/ /;
|
231
|
+
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
232
|
+
&Encode(\$value,'trans');
|
233
|
+
$FORM{$name} .= "\0" if(defined($FORM{$name}));
|
234
|
+
$FORM{$name} .= $value;
|
235
|
+
}
|
236
|
+
}
|
237
|
+
};
|
238
|
+
last if($lastline =~ /^$Boundary\-\-/o);
|
239
|
+
}
|
240
|
+
} elsif($ENV{'CONTENT_LENGTH'}) {
|
241
|
+
read(STDIN,$Buffer,$ENV{'CONTENT_LENGTH'});
|
242
|
+
}
|
243
|
+
foreach(split(/&/,$Buffer),split(/&/,$ENV{'QUERY_STRING'})) {
|
244
|
+
my($name, $value) = split(/=/);
|
245
|
+
$name =~ tr/+/ /;
|
246
|
+
$name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
247
|
+
$value =~ tr/+/ /;
|
248
|
+
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
249
|
+
|
250
|
+
&Encode(\$name);
|
251
|
+
&Encode(\$value,'trans');
|
252
|
+
$FORM{$name} .= "\0" if(defined($FORM{$name}));
|
253
|
+
$FORM{$name} .= $value;
|
254
|
+
|
255
|
+
}
|
256
|
+
|
257
|
+
}
|
258
|
+
|
259
|
+
##############################################################################
|
260
|
+
# Summary
|
261
|
+
#
|
262
|
+
# CheckContentType
|
263
|
+
#
|
264
|
+
# Parameters
|
265
|
+
# Returns
|
266
|
+
# Memo
|
267
|
+
##############################################################################
|
268
|
+
sub CheckContentType
|
269
|
+
{
|
270
|
+
|
271
|
+
my($DATA,$FileName,$ContentType) = @_;
|
272
|
+
my($Ext,$ImageWidth,$ImageHeight,$ContentName,$Infomation);
|
273
|
+
my $DataLength = length($$DATA);
|
274
|
+
|
275
|
+
# An unknown file type
|
276
|
+
|
277
|
+
$_ = $ContentType;
|
278
|
+
my $UnknownType = (
|
279
|
+
!$_
|
280
|
+
|| /^application\/(x-)?macbinary$/i
|
281
|
+
|| /^application\/applefile$/i
|
282
|
+
|| /^application\/octet-stream$/i
|
283
|
+
|| /^text\/plane$/i
|
284
|
+
|| /^x-unknown-content-type/i
|
285
|
+
);
|
286
|
+
|
287
|
+
# MacBinary(Mac Unnecessary data are deleted.)
|
288
|
+
if($UnknownType || $ENV{'HTTP_USER_AGENT'} =~ /Macintosh|Mac_/) {
|
289
|
+
if($DataLength > 128 && !unpack("C",substr($$DATA,0,1)) && !unpack("C",substr($$DATA,74,1)) && !unpack("C",substr($$DATA,82,1)) ) {
|
290
|
+
my $MacBinary_ForkLength = unpack("N", substr($$DATA, 83, 4)); # ForkLength Get
|
291
|
+
my $MacBinary_FileName = quotemeta(substr($$DATA, 2, unpack("C",substr($$DATA, 1, 1))));
|
292
|
+
if($MacBinary_FileName && $MacBinary_ForkLength && $DataLength >= $MacBinary_ForkLength + 128
|
293
|
+
&& ($FileName =~ /$MacBinary_FileName/i || substr($$DATA,102,4) eq 'mBIN')) { # DATA TOP 128byte MacBinary!!
|
294
|
+
$$DATA = substr($$DATA,128,$MacBinary_ForkLength);
|
295
|
+
my $ResourceLength = $DataLength - $MacBinary_ForkLength - 128;
|
296
|
+
$DataLength = $MacBinary_ForkLength;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
300
|
+
|
301
|
+
# A file name is changed into EUC.
|
302
|
+
# &jcode::convert(\$FileName,'euc',$FormCodeDefault);
|
303
|
+
# &jcode::h2z_euc(\$FileName);
|
304
|
+
$FileName =~ s/^.*\\//; # Windows, Mac
|
305
|
+
$FileName =~ s/^.*\///; # UNIX
|
306
|
+
$FileName =~ s/&/&/g;
|
307
|
+
$FileName =~ s/"/"/g;
|
308
|
+
$FileName =~ s/</</g;
|
309
|
+
$FileName =~ s/>/>/g;
|
310
|
+
#
|
311
|
+
# if($CHARCODE ne 'euc') {
|
312
|
+
# &jcode::convert(\$FileName,$CHARCODE,'euc');
|
313
|
+
# }
|
314
|
+
|
315
|
+
# An extension is extracted and it changes into a small letter.
|
316
|
+
my $FileExt;
|
317
|
+
if($FileName =~ /\.(\w+)$/) {
|
318
|
+
$FileExt = $1;
|
319
|
+
$FileExt =~ tr/A-Z/a-z/;
|
320
|
+
}
|
321
|
+
|
322
|
+
# Executable file detection (ban on upload)
|
323
|
+
if($$DATA =~ /^MZ/) {
|
324
|
+
$Ext = 'exe';
|
325
|
+
}
|
326
|
+
# text
|
327
|
+
if(!$Ext && ($UnknownType || $ContentType =~ /^text\//i || $ContentType =~ /^application\/(?:rtf|richtext)$/i || $ContentType =~ /^image\/x-xbitmap$/i)
|
328
|
+
&& ! $$DATA =~ /[\000-\006\177\377]/) {
|
329
|
+
# $$DATA =~ s/\x0D\x0A/\n/g;
|
330
|
+
# $$DATA =~ tr/\x0D\x0A/\n\n/;
|
331
|
+
#
|
332
|
+
# if(
|
333
|
+
# $$DATA =~ /<\s*SCRIPT(?:.|\n)*?>/i
|
334
|
+
# || $$DATA =~ /<\s*(?:.|\n)*?\bONLOAD\s*=(?:.|\n)*?>/i
|
335
|
+
# || $$DATA =~ /<\s*(?:.|\n)*?\bONCLICK\s*=(?:.|\n)*?>/i
|
336
|
+
# ) {
|
337
|
+
# $Infomation = '(JavaScript contains)';
|
338
|
+
# }
|
339
|
+
# if($$DATA =~ /<\s*TABLE(?:.|\n)*?>/i
|
340
|
+
# || $$DATA =~ /<\s*BLINK(?:.|\n)*?>/i
|
341
|
+
# || $$DATA =~ /<\s*MARQUEE(?:.|\n)*?>/i
|
342
|
+
# || $$DATA =~ /<\s*OBJECT(?:.|\n)*?>/i
|
343
|
+
# || $$DATA =~ /<\s*EMBED(?:.|\n)*?>/i
|
344
|
+
# || $$DATA =~ /<\s*FRAME(?:.|\n)*?>/i
|
345
|
+
# || $$DATA =~ /<\s*APPLET(?:.|\n)*?>/i
|
346
|
+
# || $$DATA =~ /<\s*FORM(?:.|\n)*?>/i
|
347
|
+
# || $$DATA =~ /<\s*(?:.|\n)*?\bSRC\s*=(?:.|\n)*?>/i
|
348
|
+
# || $$DATA =~ /<\s*(?:.|\n)*?\bDYNSRC\s*=(?:.|\n)*?>/i
|
349
|
+
# ) {
|
350
|
+
# $Infomation = '(the HTML tag which is not safe is included)';
|
351
|
+
# }
|
352
|
+
|
353
|
+
if($FileExt =~ /^txt$/i || $FileExt =~ /^cgi$/i || $FileExt =~ /^pl$/i) { # Text File
|
354
|
+
$Ext = 'txt';
|
355
|
+
} elsif($ContentType =~ /^text\/html$/i || $FileExt =~ /html?/i || $$DATA =~ /<\s*HTML(?:.|\n)*?>/i) { # HTML File
|
356
|
+
$Ext = 'html';
|
357
|
+
} elsif($ContentType =~ /^image\/x-xbitmap$/i || $FileExt =~ /^xbm$/i) { # XBM(x-BitMap) Image
|
358
|
+
my $XbmName = $1;
|
359
|
+
my ($XbmWidth, $XbmHeight);
|
360
|
+
if($$DATA =~ /\#define\s*$XbmName\_width\s*(\d+)/i) {
|
361
|
+
$XbmWidth = $1;
|
362
|
+
}
|
363
|
+
if($$DATA =~ /\#define\s*$XbmName\_height\s*(\d+)/i) {
|
364
|
+
$XbmHeight = $1;
|
365
|
+
}
|
366
|
+
if($XbmWidth && $XbmHeight) {
|
367
|
+
$Ext = 'xbm';
|
368
|
+
$ImageWidth = $XbmWidth;
|
369
|
+
$ImageHeight = $XbmHeight;
|
370
|
+
}
|
371
|
+
} else { #
|
372
|
+
$Ext = 'txt';
|
373
|
+
}
|
374
|
+
}
|
375
|
+
|
376
|
+
# image
|
377
|
+
if(!$Ext && ($UnknownType || $ContentType =~ /^image\//i)) {
|
378
|
+
# PNG
|
379
|
+
if($$DATA =~ /^\x89PNG\x0D\x0A\x1A\x0A/) {
|
380
|
+
if(substr($$DATA, 12, 4) eq 'IHDR') {
|
381
|
+
$Ext = 'png';
|
382
|
+
($ImageWidth, $ImageHeight) = unpack("N2", substr($$DATA, 16, 8));
|
383
|
+
}
|
384
|
+
} elsif($$DATA =~ /^GIF8(?:9|7)a/) { # GIF89a(modified), GIF89a, GIF87a
|
385
|
+
$Ext = 'gif';
|
386
|
+
($ImageWidth, $ImageHeight) = unpack("v2", substr($$DATA, 6, 4));
|
387
|
+
} elsif($$DATA =~ /^II\x2a\x00\x08\x00\x00\x00/ || $$DATA =~ /^MM\x00\x2a\x00\x00\x00\x08/) { # TIFF
|
388
|
+
$Ext = 'tif';
|
389
|
+
} elsif($$DATA =~ /^BM/) { # BMP
|
390
|
+
$Ext = 'bmp';
|
391
|
+
} elsif($$DATA =~ /^\xFF\xD8\xFF/ || $$DATA =~ /JFIF/) { # JPEG
|
392
|
+
my $HeaderPoint = index($$DATA, "\xFF\xD8\xFF", 0);
|
393
|
+
my $Point = $HeaderPoint + 2;
|
394
|
+
while($Point < $DataLength) {
|
395
|
+
my($Maker, $MakerType, $MakerLength) = unpack("C2n",substr($$DATA,$Point,4));
|
396
|
+
if($Maker != 0xFF || $MakerType == 0xd9 || $MakerType == 0xda) {
|
397
|
+
last;
|
398
|
+
} elsif($MakerType >= 0xC0 && $MakerType <= 0xC3) {
|
399
|
+
$Ext = 'jpg';
|
400
|
+
($ImageHeight, $ImageWidth) = unpack("n2", substr($$DATA, $Point + 5, 4));
|
401
|
+
if($HeaderPoint > 0) {
|
402
|
+
$$DATA = substr($$DATA, $HeaderPoint);
|
403
|
+
$DataLength = length($$DATA);
|
404
|
+
}
|
405
|
+
last;
|
406
|
+
} else {
|
407
|
+
$Point += $MakerLength + 2;
|
408
|
+
}
|
409
|
+
}
|
410
|
+
}
|
411
|
+
}
|
412
|
+
|
413
|
+
# audio
|
414
|
+
if(!$Ext && ($UnknownType || $ContentType =~ /^audio\//i)) {
|
415
|
+
# MIDI Audio
|
416
|
+
if($$DATA =~ /^MThd/) {
|
417
|
+
$Ext = 'mid';
|
418
|
+
} elsif($$DATA =~ /^\x2esnd/) { # ULAW Audio
|
419
|
+
$Ext = 'au';
|
420
|
+
} elsif($$DATA =~ /^RIFF/ || $$DATA =~ /^ID3/ && $$DATA =~ /RIFF/) {
|
421
|
+
my $HeaderPoint = index($$DATA, "RIFF", 0);
|
422
|
+
$_ = substr($$DATA, $HeaderPoint + 8, 8);
|
423
|
+
if(/^WAVEfmt $/) {
|
424
|
+
# WAVE
|
425
|
+
if(unpack("V",substr($$DATA, $HeaderPoint + 16, 4)) == 16) {
|
426
|
+
$Ext = 'wav';
|
427
|
+
} else { # RIFF WAVE MP3
|
428
|
+
$Ext = 'mp3';
|
429
|
+
}
|
430
|
+
} elsif(/^RMIDdata$/) { # RIFF MIDI
|
431
|
+
$Ext = 'rmi';
|
432
|
+
} elsif(/^RMP3data$/) { # RIFF MP3
|
433
|
+
$Ext = 'rmp';
|
434
|
+
}
|
435
|
+
if($ContentType =~ /^audio\//i) {
|
436
|
+
$Infomation .= '(RIFF '. substr($$DATA, $HeaderPoint + 8, 4). ')';
|
437
|
+
}
|
438
|
+
}
|
439
|
+
}
|
440
|
+
|
441
|
+
# a binary file
|
442
|
+
unless ($Ext) {
|
443
|
+
# PDF image
|
444
|
+
if($$DATA =~ /^\%PDF/) {
|
445
|
+
# Picture size is not measured.
|
446
|
+
$Ext = 'pdf';
|
447
|
+
} elsif($$DATA =~ /^FWS/) { # Shockwave Flash
|
448
|
+
$Ext = 'swf';
|
449
|
+
} elsif($$DATA =~ /^RIFF/ || $$DATA =~ /^ID3/ && $$DATA =~ /RIFF/) {
|
450
|
+
my $HeaderPoint = index($$DATA, "RIFF", 0);
|
451
|
+
$_ = substr($$DATA,$HeaderPoint + 8, 8);
|
452
|
+
# AVI
|
453
|
+
if(/^AVI LIST$/) {
|
454
|
+
$Ext = 'avi';
|
455
|
+
}
|
456
|
+
if($ContentType =~ /^video\//i) {
|
457
|
+
$Infomation .= '(RIFF '. substr($$DATA, $HeaderPoint + 8, 4). ')';
|
458
|
+
}
|
459
|
+
} elsif($$DATA =~ /^PK/) { # ZIP Compress File
|
460
|
+
$Ext = 'zip';
|
461
|
+
} elsif($$DATA =~ /^MSCF/) { # CAB Compress File
|
462
|
+
$Ext = 'cab';
|
463
|
+
} elsif($$DATA =~ /^Rar\!/) { # RAR Compress File
|
464
|
+
$Ext = 'rar';
|
465
|
+
} elsif(substr($$DATA, 2, 5) =~ /^\-lh(\d+|d)\-$/) { # LHA Compress File
|
466
|
+
$Infomation .= "(lh$1)";
|
467
|
+
$Ext = 'lzh';
|
468
|
+
} elsif(substr($$DATA, 325, 25) eq "Apple Video Media Handler" || substr($$DATA, 325, 30) eq "Apple \x83\x72\x83\x66\x83\x49\x81\x45\x83\x81\x83\x66\x83\x42\x83\x41\x83\x6E\x83\x93\x83\x68\x83\x89") {
|
469
|
+
# QuickTime
|
470
|
+
$Ext = 'mov';
|
471
|
+
}
|
472
|
+
}
|
473
|
+
|
474
|
+
# Header analysis failure
|
475
|
+
unless ($Ext) {
|
476
|
+
# It will be followed if it applies for the MIME type from the browser.
|
477
|
+
foreach (keys %UPLOAD_CONTENT_TYPE_LIST) {
|
478
|
+
next unless ($_);
|
479
|
+
if($ContentType =~ /^$_$/i) {
|
480
|
+
$Ext = $UPLOAD_CONTENT_TYPE_LIST{$_};
|
481
|
+
$ContentName = &CheckContentExt($Ext);
|
482
|
+
if(
|
483
|
+
grep {$_ eq $Ext;} (
|
484
|
+
'png',
|
485
|
+
'gif',
|
486
|
+
'jpg',
|
487
|
+
'xbm',
|
488
|
+
'tif',
|
489
|
+
'bmp',
|
490
|
+
'pdf',
|
491
|
+
'swf',
|
492
|
+
'mov',
|
493
|
+
'zip',
|
494
|
+
'cab',
|
495
|
+
'lzh',
|
496
|
+
'rar',
|
497
|
+
'mid',
|
498
|
+
'rmi',
|
499
|
+
'au',
|
500
|
+
'wav',
|
501
|
+
'avi',
|
502
|
+
'exe'
|
503
|
+
)
|
504
|
+
) {
|
505
|
+
$Infomation .= ' / Header analysis failure';
|
506
|
+
}
|
507
|
+
if($Ext ne $FileExt && &CheckContentExt($FileExt) eq $ContentName) {
|
508
|
+
$Ext = $FileExt;
|
509
|
+
}
|
510
|
+
last;
|
511
|
+
}
|
512
|
+
}
|
513
|
+
# a MIME type is unknown--It judges from an extension.
|
514
|
+
unless ($Ext) {
|
515
|
+
$ContentName = &CheckContentExt($FileExt);
|
516
|
+
if($ContentName) {
|
517
|
+
$Ext = $FileExt;
|
518
|
+
$Infomation .= ' / MIME type is unknown('. $ContentType. ')';
|
519
|
+
last;
|
520
|
+
}
|
521
|
+
}
|
522
|
+
}
|
523
|
+
|
524
|
+
# $ContentName = &CheckContentExt($Ext) unless($ContentName);
|
525
|
+
# if($Ext && $ContentName) {
|
526
|
+
# $ContentName .= $Infomation;
|
527
|
+
# } else {
|
528
|
+
# &upload_error(
|
529
|
+
# 'Extension Error',
|
530
|
+
# "$FileName A not corresponding extension ($Ext)<BR>The extension which can be responded ". join(',', sort values(%UPLOAD_EXT_LIST))
|
531
|
+
# );
|
532
|
+
# }
|
533
|
+
|
534
|
+
# # SSI Tag Deletion
|
535
|
+
# if($Ext =~ /.?html?/ && $$DATA =~ /<\!/) {
|
536
|
+
# foreach (
|
537
|
+
# 'config',
|
538
|
+
# 'echo',
|
539
|
+
# 'exec',
|
540
|
+
# 'flastmod',
|
541
|
+
# 'fsize',
|
542
|
+
# 'include'
|
543
|
+
# ) {
|
544
|
+
# $$DATA =~ s/\#\s*$_/\&\#35\;$_/ig
|
545
|
+
# }
|
546
|
+
# }
|
547
|
+
|
548
|
+
return (
|
549
|
+
$FileName,
|
550
|
+
$Ext,
|
551
|
+
int($DataLength / 1024 + 1),
|
552
|
+
$ImageWidth,
|
553
|
+
$ImageHeight,
|
554
|
+
$ContentName
|
555
|
+
);
|
556
|
+
}
|
557
|
+
|
558
|
+
##############################################################################
|
559
|
+
# Summary
|
560
|
+
#
|
561
|
+
# Extension discernment
|
562
|
+
#
|
563
|
+
# Parameters
|
564
|
+
# Returns
|
565
|
+
# Memo
|
566
|
+
##############################################################################
|
567
|
+
|
568
|
+
sub CheckContentExt
|
569
|
+
{
|
570
|
+
|
571
|
+
my($Ext) = @_;
|
572
|
+
my $ContentName;
|
573
|
+
foreach (keys %UPLOAD_EXT_LIST) {
|
574
|
+
next unless ($_);
|
575
|
+
if($_ && $Ext =~ /^$_$/) {
|
576
|
+
$ContentName = $UPLOAD_EXT_LIST{$_};
|
577
|
+
last;
|
578
|
+
}
|
579
|
+
}
|
580
|
+
return $ContentName;
|
581
|
+
|
582
|
+
}
|
583
|
+
|
584
|
+
##############################################################################
|
585
|
+
# Summary
|
586
|
+
#
|
587
|
+
# Form decode
|
588
|
+
#
|
589
|
+
# Parameters
|
590
|
+
# Returns
|
591
|
+
# Memo
|
592
|
+
##############################################################################
|
593
|
+
sub Encode
|
594
|
+
{
|
595
|
+
|
596
|
+
my($value,$Trans) = @_;
|
597
|
+
|
598
|
+
# my $FormCode = &jcode::getcode($value) || $FormCodeDefault;
|
599
|
+
# $FormCodeDefault ||= $FormCode;
|
600
|
+
#
|
601
|
+
# if($Trans && $TRANS_2BYTE_CODE) {
|
602
|
+
# if($FormCode ne 'euc') {
|
603
|
+
# &jcode::convert($value, 'euc', $FormCode);
|
604
|
+
# }
|
605
|
+
# &jcode::tr(
|
606
|
+
# $value,
|
607
|
+
# "\xA3\xB0-\xA3\xB9\xA3\xC1-\xA3\xDA\xA3\xE1-\xA3\xFA",
|
608
|
+
# '0-9A-Za-z'
|
609
|
+
# );
|
610
|
+
# if($CHARCODE ne 'euc') {
|
611
|
+
# &jcode::convert($value,$CHARCODE,'euc');
|
612
|
+
# }
|
613
|
+
# } else {
|
614
|
+
# if($CHARCODE ne $FormCode) {
|
615
|
+
# &jcode::convert($value,$CHARCODE,$FormCode);
|
616
|
+
# }
|
617
|
+
# }
|
618
|
+
# if($CHARCODE eq 'euc') {
|
619
|
+
# &jcode::h2z_euc($value);
|
620
|
+
# } elsif($CHARCODE eq 'sjis') {
|
621
|
+
# &jcode::h2z_sjis($value);
|
622
|
+
# }
|
623
|
+
|
624
|
+
}
|
625
|
+
|
626
|
+
##############################################################################
|
627
|
+
# Summary
|
628
|
+
#
|
629
|
+
# Error Msg
|
630
|
+
#
|
631
|
+
# Parameters
|
632
|
+
# Returns
|
633
|
+
# Memo
|
634
|
+
##############################################################################
|
635
|
+
|
636
|
+
sub upload_error
|
637
|
+
{
|
638
|
+
|
639
|
+
local($error_message) = $_[0];
|
640
|
+
local($error_message2) = $_[1];
|
641
|
+
|
642
|
+
print "Content-type: text/html\n\n";
|
643
|
+
print<<EOF;
|
644
|
+
<HTML>
|
645
|
+
<HEAD>
|
646
|
+
<TITLE>Error Message</TITLE></HEAD>
|
647
|
+
<BODY>
|
648
|
+
<table border="1" cellspacing="10" cellpadding="10">
|
649
|
+
<TR bgcolor="#0000B0">
|
650
|
+
<TD bgcolor="#0000B0" NOWRAP><font size="-1" color="white"><B>Error Message</B></font></TD>
|
651
|
+
</TR>
|
652
|
+
</table>
|
653
|
+
<UL>
|
654
|
+
<H4> $error_message </H4>
|
655
|
+
$error_message2 <BR>
|
656
|
+
</UL>
|
657
|
+
</BODY>
|
658
|
+
</HTML>
|
659
|
+
EOF
|
660
|
+
&rm_tmp_uploaded_files; # Image Temporary deletion
|
661
|
+
exit;
|
662
|
+
}
|
663
|
+
|
664
|
+
##############################################################################
|
665
|
+
# Summary
|
666
|
+
#
|
667
|
+
# Image Temporary deletion
|
668
|
+
#
|
669
|
+
# Parameters
|
670
|
+
# Returns
|
671
|
+
# Memo
|
672
|
+
##############################################################################
|
673
|
+
|
674
|
+
sub rm_tmp_uploaded_files
|
675
|
+
{
|
676
|
+
if($img_data_exists == 1){
|
677
|
+
sleep 1;
|
678
|
+
foreach $fname_list(@NEWFNAMES) {
|
679
|
+
if(-e "$img_dir/$fname_list") {
|
680
|
+
unlink("$img_dir/$fname_list");
|
681
|
+
}
|
682
|
+
}
|
683
|
+
}
|
684
|
+
|
685
|
+
}
|
686
|
+
1;
|