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,115 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
|
2
|
+
<!--
|
3
|
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4
|
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5
|
+
*
|
6
|
+
* == BEGIN LICENSE ==
|
7
|
+
*
|
8
|
+
* Licensed under the terms of any of the following licenses at your
|
9
|
+
* choice:
|
10
|
+
*
|
11
|
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12
|
+
* http://www.gnu.org/licenses/gpl.html
|
13
|
+
*
|
14
|
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15
|
+
* http://www.gnu.org/licenses/lgpl.html
|
16
|
+
*
|
17
|
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18
|
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19
|
+
*
|
20
|
+
* == END LICENSE ==
|
21
|
+
*
|
22
|
+
* Hidden Field dialog window.
|
23
|
+
-->
|
24
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
25
|
+
<head>
|
26
|
+
<title>Hidden Field Properties</title>
|
27
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28
|
+
<meta content="noindex, nofollow" name="robots" />
|
29
|
+
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
|
30
|
+
<script type="text/javascript">
|
31
|
+
|
32
|
+
var dialog = window.parent ;
|
33
|
+
var oEditor = dialog.InnerDialogLoaded() ;
|
34
|
+
|
35
|
+
var FCK = oEditor.FCK ;
|
36
|
+
|
37
|
+
// Gets the document DOM
|
38
|
+
var oDOM = FCK.EditorDocument ;
|
39
|
+
|
40
|
+
// Get the selected flash embed (if available).
|
41
|
+
var oFakeImage = dialog.Selection.GetSelectedElement() ;
|
42
|
+
var oActiveEl ;
|
43
|
+
|
44
|
+
if ( oFakeImage )
|
45
|
+
{
|
46
|
+
if ( oFakeImage.tagName == 'IMG' && oFakeImage.getAttribute('_fckinputhidden') )
|
47
|
+
oActiveEl = FCK.GetRealElement( oFakeImage ) ;
|
48
|
+
else
|
49
|
+
oFakeImage = null ;
|
50
|
+
}
|
51
|
+
|
52
|
+
window.onload = function()
|
53
|
+
{
|
54
|
+
// First of all, translate the dialog box texts
|
55
|
+
oEditor.FCKLanguageManager.TranslatePage(document) ;
|
56
|
+
|
57
|
+
if ( oActiveEl )
|
58
|
+
{
|
59
|
+
GetE('txtName').value = oActiveEl.name ;
|
60
|
+
GetE('txtValue').value = oActiveEl.value ;
|
61
|
+
}
|
62
|
+
|
63
|
+
dialog.SetOkButton( true ) ;
|
64
|
+
dialog.SetAutoSize( true ) ;
|
65
|
+
SelectField( 'txtName' ) ;
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
function Ok()
|
70
|
+
{
|
71
|
+
oEditor.FCKUndo.SaveUndoStep() ;
|
72
|
+
|
73
|
+
oActiveEl = CreateNamedElement( oEditor, oActiveEl, 'INPUT', {name: GetE('txtName').value, type: 'hidden' } ) ;
|
74
|
+
|
75
|
+
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
|
76
|
+
|
77
|
+
if ( !oFakeImage )
|
78
|
+
{
|
79
|
+
oFakeImage = oEditor.FCKDocumentProcessor_CreateFakeImage( 'FCK__InputHidden', oActiveEl ) ;
|
80
|
+
oFakeImage.setAttribute( '_fckinputhidden', 'true', 0 ) ;
|
81
|
+
|
82
|
+
oActiveEl.parentNode.insertBefore( oFakeImage, oActiveEl ) ;
|
83
|
+
oActiveEl.parentNode.removeChild( oActiveEl ) ;
|
84
|
+
}
|
85
|
+
else
|
86
|
+
oEditor.FCKUndo.SaveUndoStep() ;
|
87
|
+
|
88
|
+
return true ;
|
89
|
+
}
|
90
|
+
|
91
|
+
</script>
|
92
|
+
</head>
|
93
|
+
<body style="overflow: hidden" scroll="no">
|
94
|
+
<table height="100%" width="100%">
|
95
|
+
<tr>
|
96
|
+
<td align="center">
|
97
|
+
<table border="0" class="inhoud" cellpadding="0" cellspacing="0" width="80%">
|
98
|
+
<tr>
|
99
|
+
<td>
|
100
|
+
<span fcklang="DlgHiddenName">Name</span><br />
|
101
|
+
<input type="text" size="20" id="txtName" style="width: 100%" />
|
102
|
+
</td>
|
103
|
+
</tr>
|
104
|
+
<tr>
|
105
|
+
<td>
|
106
|
+
<span fcklang="DlgHiddenValue">Value</span><br />
|
107
|
+
<input type="text" size="30" id="txtValue" style="width: 100%" />
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
</table>
|
111
|
+
</td>
|
112
|
+
</tr>
|
113
|
+
</table>
|
114
|
+
</body>
|
115
|
+
</html>
|
@@ -0,0 +1,512 @@
|
|
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
|
+
* Scripts related to the Image dialog window (see fck_image.html).
|
22
|
+
*/
|
23
|
+
|
24
|
+
var dialog = window.parent ;
|
25
|
+
var oEditor = dialog.InnerDialogLoaded() ;
|
26
|
+
var FCK = oEditor.FCK ;
|
27
|
+
var FCKLang = oEditor.FCKLang ;
|
28
|
+
var FCKConfig = oEditor.FCKConfig ;
|
29
|
+
var FCKDebug = oEditor.FCKDebug ;
|
30
|
+
var FCKTools = oEditor.FCKTools ;
|
31
|
+
|
32
|
+
var bImageButton = ( document.location.search.length > 0 && document.location.search.substr(1) == 'ImageButton' ) ;
|
33
|
+
|
34
|
+
//#### Dialog Tabs
|
35
|
+
|
36
|
+
// Set the dialog tabs.
|
37
|
+
dialog.AddTab( 'Info', FCKLang.DlgImgInfoTab ) ;
|
38
|
+
|
39
|
+
if ( !bImageButton && !FCKConfig.ImageDlgHideLink )
|
40
|
+
dialog.AddTab( 'Link', FCKLang.DlgImgLinkTab ) ;
|
41
|
+
|
42
|
+
if ( FCKConfig.ImageUpload )
|
43
|
+
// dialog.AddTab( 'Upload', FCKLang.DlgLnkUpload ) ;
|
44
|
+
|
45
|
+
if ( !FCKConfig.ImageDlgHideAdvanced )
|
46
|
+
dialog.AddTab( 'Advanced', FCKLang.DlgAdvancedTag ) ;
|
47
|
+
|
48
|
+
// Function called when a dialog tag is selected.
|
49
|
+
function OnDialogTabChange( tabCode )
|
50
|
+
{
|
51
|
+
ShowE('divInfo' , ( tabCode == 'Info' ) ) ;
|
52
|
+
ShowE('divLink' , ( tabCode == 'Link' ) ) ;
|
53
|
+
// ShowE('divUpload' , ( tabCode == 'Upload' ) ) ;
|
54
|
+
ShowE('divAdvanced' , ( tabCode == 'Advanced' ) ) ;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Get the selected image (if available).
|
58
|
+
var oImage = dialog.Selection.GetSelectedElement() ;
|
59
|
+
|
60
|
+
if ( oImage && oImage.tagName != 'IMG' && !( oImage.tagName == 'INPUT' && oImage.type == 'image' ) )
|
61
|
+
oImage = null ;
|
62
|
+
|
63
|
+
// Get the active link.
|
64
|
+
var oLink = dialog.Selection.GetSelection().MoveToAncestorNode( 'A' ) ;
|
65
|
+
|
66
|
+
var oImageOriginal ;
|
67
|
+
|
68
|
+
function UpdateOriginal( resetSize )
|
69
|
+
{
|
70
|
+
if ( !eImgPreview )
|
71
|
+
return ;
|
72
|
+
|
73
|
+
if ( GetE('txtUrl').value.length == 0 )
|
74
|
+
{
|
75
|
+
oImageOriginal = null ;
|
76
|
+
return ;
|
77
|
+
}
|
78
|
+
|
79
|
+
oImageOriginal = document.createElement( 'IMG' ) ; // new Image() ;
|
80
|
+
|
81
|
+
if ( resetSize )
|
82
|
+
{
|
83
|
+
oImageOriginal.onload = function()
|
84
|
+
{
|
85
|
+
this.onload = null ;
|
86
|
+
ResetSizes() ;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
oImageOriginal.src = eImgPreview.src ;
|
91
|
+
}
|
92
|
+
|
93
|
+
var bPreviewInitialized ;
|
94
|
+
|
95
|
+
window.onload = function()
|
96
|
+
{
|
97
|
+
// Translate the dialog box texts.
|
98
|
+
oEditor.FCKLanguageManager.TranslatePage(document) ;
|
99
|
+
|
100
|
+
GetE('btnLockSizes').title = FCKLang.DlgImgLockRatio ;
|
101
|
+
GetE('btnResetSize').title = FCKLang.DlgBtnResetSize ;
|
102
|
+
|
103
|
+
// Load the selected element information (if any).
|
104
|
+
LoadSelection() ;
|
105
|
+
|
106
|
+
// Show/Hide the "Browse Server" button.
|
107
|
+
GetE('tdBrowse').style.display = FCKConfig.ImageBrowser ? '' : 'none' ;
|
108
|
+
GetE('divLnkBrowseServer').style.display = FCKConfig.LinkBrowser ? '' : 'none' ;
|
109
|
+
|
110
|
+
UpdateOriginal() ;
|
111
|
+
|
112
|
+
// Set the actual uploader URL.
|
113
|
+
if ( FCKConfig.ImageUpload )
|
114
|
+
GetE('frmUpload').action = FCKConfig.ImageUploadURL ;
|
115
|
+
|
116
|
+
dialog.SetAutoSize( true ) ;
|
117
|
+
|
118
|
+
// Activate the "OK" button.
|
119
|
+
dialog.SetOkButton( true ) ;
|
120
|
+
|
121
|
+
SelectField( 'txtUrl' ) ;
|
122
|
+
}
|
123
|
+
|
124
|
+
function LoadSelection()
|
125
|
+
{
|
126
|
+
if ( ! oImage ) return ;
|
127
|
+
|
128
|
+
var sUrl = oImage.getAttribute( '_fcksavedurl' ) ;
|
129
|
+
if ( sUrl == null )
|
130
|
+
sUrl = GetAttribute( oImage, 'src', '' ) ;
|
131
|
+
|
132
|
+
GetE('txtUrl').value = sUrl ;
|
133
|
+
GetE('txtAlt').value = GetAttribute( oImage, 'alt', '' ) ;
|
134
|
+
GetE('txtVSpace').value = GetAttribute( oImage, 'vspace', '' ) ;
|
135
|
+
GetE('txtHSpace').value = GetAttribute( oImage, 'hspace', '' ) ;
|
136
|
+
GetE('txtBorder').value = GetAttribute( oImage, 'border', '' ) ;
|
137
|
+
GetE('cmbAlign').value = GetAttribute( oImage, 'align', '' ) ;
|
138
|
+
|
139
|
+
var iWidth, iHeight ;
|
140
|
+
|
141
|
+
var regexSize = /^\s*(\d+)px\s*$/i ;
|
142
|
+
|
143
|
+
if ( oImage.style.width )
|
144
|
+
{
|
145
|
+
var aMatchW = oImage.style.width.match( regexSize ) ;
|
146
|
+
if ( aMatchW )
|
147
|
+
{
|
148
|
+
iWidth = aMatchW[1] ;
|
149
|
+
oImage.style.width = '' ;
|
150
|
+
SetAttribute( oImage, 'width' , iWidth ) ;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
if ( oImage.style.height )
|
155
|
+
{
|
156
|
+
var aMatchH = oImage.style.height.match( regexSize ) ;
|
157
|
+
if ( aMatchH )
|
158
|
+
{
|
159
|
+
iHeight = aMatchH[1] ;
|
160
|
+
oImage.style.height = '' ;
|
161
|
+
SetAttribute( oImage, 'height', iHeight ) ;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
GetE('txtWidth').value = iWidth ? iWidth : GetAttribute( oImage, "width", '' ) ;
|
166
|
+
GetE('txtHeight').value = iHeight ? iHeight : GetAttribute( oImage, "height", '' ) ;
|
167
|
+
|
168
|
+
// Get Advances Attributes
|
169
|
+
GetE('txtAttId').value = oImage.id ;
|
170
|
+
GetE('cmbAttLangDir').value = oImage.dir ;
|
171
|
+
GetE('txtAttLangCode').value = oImage.lang ;
|
172
|
+
GetE('txtAttTitle').value = oImage.title ;
|
173
|
+
GetE('txtLongDesc').value = oImage.longDesc ;
|
174
|
+
|
175
|
+
if ( oEditor.FCKBrowserInfo.IsIE )
|
176
|
+
{
|
177
|
+
GetE('txtAttClasses').value = oImage.className || '' ;
|
178
|
+
GetE('txtAttStyle').value = oImage.style.cssText ;
|
179
|
+
}
|
180
|
+
else
|
181
|
+
{
|
182
|
+
GetE('txtAttClasses').value = oImage.getAttribute('class',2) || '' ;
|
183
|
+
GetE('txtAttStyle').value = oImage.getAttribute('style',2) ;
|
184
|
+
}
|
185
|
+
|
186
|
+
if ( oLink )
|
187
|
+
{
|
188
|
+
var sLinkUrl = oLink.getAttribute( '_fcksavedurl' ) ;
|
189
|
+
if ( sLinkUrl == null )
|
190
|
+
sLinkUrl = oLink.getAttribute('href',2) ;
|
191
|
+
|
192
|
+
GetE('txtLnkUrl').value = sLinkUrl ;
|
193
|
+
GetE('cmbLnkTarget').value = oLink.target ;
|
194
|
+
}
|
195
|
+
|
196
|
+
UpdatePreview() ;
|
197
|
+
}
|
198
|
+
|
199
|
+
//#### The OK button was hit.
|
200
|
+
function Ok()
|
201
|
+
{
|
202
|
+
if ( GetE('txtUrl').value.length == 0 )
|
203
|
+
{
|
204
|
+
dialog.SetSelectedTab( 'Info' ) ;
|
205
|
+
GetE('txtUrl').focus() ;
|
206
|
+
|
207
|
+
alert( FCKLang.DlgImgAlertUrl ) ;
|
208
|
+
|
209
|
+
return false ;
|
210
|
+
}
|
211
|
+
|
212
|
+
var bHasImage = ( oImage != null ) ;
|
213
|
+
|
214
|
+
if ( bHasImage && bImageButton && oImage.tagName == 'IMG' )
|
215
|
+
{
|
216
|
+
if ( confirm( 'Do you want to transform the selected image on a image button?' ) )
|
217
|
+
oImage = null ;
|
218
|
+
}
|
219
|
+
else if ( bHasImage && !bImageButton && oImage.tagName == 'INPUT' )
|
220
|
+
{
|
221
|
+
if ( confirm( 'Do you want to transform the selected image button on a simple image?' ) )
|
222
|
+
oImage = null ;
|
223
|
+
}
|
224
|
+
|
225
|
+
oEditor.FCKUndo.SaveUndoStep() ;
|
226
|
+
if ( !bHasImage )
|
227
|
+
{
|
228
|
+
if ( bImageButton )
|
229
|
+
{
|
230
|
+
oImage = FCK.EditorDocument.createElement( 'input' ) ;
|
231
|
+
oImage.type = 'image' ;
|
232
|
+
oImage = FCK.InsertElement( oImage ) ;
|
233
|
+
}
|
234
|
+
else
|
235
|
+
oImage = FCK.InsertElement( 'img' ) ;
|
236
|
+
}
|
237
|
+
|
238
|
+
UpdateImage( oImage ) ;
|
239
|
+
|
240
|
+
var sLnkUrl = GetE('txtLnkUrl').value.Trim() ;
|
241
|
+
|
242
|
+
if ( sLnkUrl.length == 0 )
|
243
|
+
{
|
244
|
+
if ( oLink )
|
245
|
+
FCK.ExecuteNamedCommand( 'Unlink' ) ;
|
246
|
+
}
|
247
|
+
else
|
248
|
+
{
|
249
|
+
if ( oLink ) // Modifying an existent link.
|
250
|
+
oLink.href = sLnkUrl ;
|
251
|
+
else // Creating a new link.
|
252
|
+
{
|
253
|
+
if ( !bHasImage )
|
254
|
+
oEditor.FCKSelection.SelectNode( oImage ) ;
|
255
|
+
|
256
|
+
oLink = oEditor.FCK.CreateLink( sLnkUrl )[0] ;
|
257
|
+
|
258
|
+
if ( !bHasImage )
|
259
|
+
{
|
260
|
+
oEditor.FCKSelection.SelectNode( oLink ) ;
|
261
|
+
oEditor.FCKSelection.Collapse( false ) ;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
SetAttribute( oLink, '_fcksavedurl', sLnkUrl ) ;
|
266
|
+
SetAttribute( oLink, 'target', GetE('cmbLnkTarget').value ) ;
|
267
|
+
}
|
268
|
+
|
269
|
+
return true ;
|
270
|
+
}
|
271
|
+
|
272
|
+
function UpdateImage( e, skipId )
|
273
|
+
{
|
274
|
+
e.src = GetE('txtUrl').value ;
|
275
|
+
SetAttribute( e, "_fcksavedurl", GetE('txtUrl').value ) ;
|
276
|
+
SetAttribute( e, "alt" , GetE('txtAlt').value ) ;
|
277
|
+
SetAttribute( e, "width" , GetE('txtWidth').value ) ;
|
278
|
+
SetAttribute( e, "height", GetE('txtHeight').value ) ;
|
279
|
+
SetAttribute( e, "vspace", GetE('txtVSpace').value ) ;
|
280
|
+
SetAttribute( e, "hspace", GetE('txtHSpace').value ) ;
|
281
|
+
SetAttribute( e, "border", GetE('txtBorder').value ) ;
|
282
|
+
SetAttribute( e, "align" , GetE('cmbAlign').value ) ;
|
283
|
+
|
284
|
+
// Advances Attributes
|
285
|
+
|
286
|
+
if ( ! skipId )
|
287
|
+
SetAttribute( e, 'id', GetE('txtAttId').value ) ;
|
288
|
+
|
289
|
+
SetAttribute( e, 'dir' , GetE('cmbAttLangDir').value ) ;
|
290
|
+
SetAttribute( e, 'lang' , GetE('txtAttLangCode').value ) ;
|
291
|
+
SetAttribute( e, 'title' , GetE('txtAttTitle').value ) ;
|
292
|
+
SetAttribute( e, 'longDesc' , GetE('txtLongDesc').value ) ;
|
293
|
+
|
294
|
+
if ( oEditor.FCKBrowserInfo.IsIE )
|
295
|
+
{
|
296
|
+
e.className = GetE('txtAttClasses').value ;
|
297
|
+
e.style.cssText = GetE('txtAttStyle').value ;
|
298
|
+
}
|
299
|
+
else
|
300
|
+
{
|
301
|
+
SetAttribute( e, 'class' , GetE('txtAttClasses').value ) ;
|
302
|
+
SetAttribute( e, 'style', GetE('txtAttStyle').value ) ;
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
var eImgPreview ;
|
307
|
+
var eImgPreviewLink ;
|
308
|
+
|
309
|
+
function SetPreviewElements( imageElement, linkElement )
|
310
|
+
{
|
311
|
+
eImgPreview = imageElement ;
|
312
|
+
eImgPreviewLink = linkElement ;
|
313
|
+
|
314
|
+
UpdatePreview() ;
|
315
|
+
UpdateOriginal() ;
|
316
|
+
|
317
|
+
bPreviewInitialized = true ;
|
318
|
+
}
|
319
|
+
|
320
|
+
function UpdatePreview()
|
321
|
+
{
|
322
|
+
if ( !eImgPreview || !eImgPreviewLink )
|
323
|
+
return ;
|
324
|
+
|
325
|
+
if ( GetE('txtUrl').value.length == 0 )
|
326
|
+
eImgPreviewLink.style.display = 'none' ;
|
327
|
+
else
|
328
|
+
{
|
329
|
+
UpdateImage( eImgPreview, true ) ;
|
330
|
+
|
331
|
+
if ( GetE('txtLnkUrl').value.Trim().length > 0 )
|
332
|
+
eImgPreviewLink.href = 'javascript:void(null);' ;
|
333
|
+
else
|
334
|
+
SetAttribute( eImgPreviewLink, 'href', '' ) ;
|
335
|
+
|
336
|
+
eImgPreviewLink.style.display = '' ;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
var bLockRatio = true ;
|
341
|
+
|
342
|
+
function SwitchLock( lockButton )
|
343
|
+
{
|
344
|
+
bLockRatio = !bLockRatio ;
|
345
|
+
lockButton.className = bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ;
|
346
|
+
lockButton.title = bLockRatio ? 'Lock sizes' : 'Unlock sizes' ;
|
347
|
+
|
348
|
+
if ( bLockRatio )
|
349
|
+
{
|
350
|
+
if ( GetE('txtWidth').value.length > 0 )
|
351
|
+
OnSizeChanged( 'Width', GetE('txtWidth').value ) ;
|
352
|
+
else
|
353
|
+
OnSizeChanged( 'Height', GetE('txtHeight').value ) ;
|
354
|
+
}
|
355
|
+
}
|
356
|
+
|
357
|
+
// Fired when the width or height input texts change
|
358
|
+
function OnSizeChanged( dimension, value )
|
359
|
+
{
|
360
|
+
// Verifies if the aspect ration has to be maintained
|
361
|
+
if ( oImageOriginal && bLockRatio )
|
362
|
+
{
|
363
|
+
var e = dimension == 'Width' ? GetE('txtHeight') : GetE('txtWidth') ;
|
364
|
+
|
365
|
+
if ( value.length == 0 || isNaN( value ) )
|
366
|
+
{
|
367
|
+
e.value = '' ;
|
368
|
+
return ;
|
369
|
+
}
|
370
|
+
|
371
|
+
if ( dimension == 'Width' )
|
372
|
+
value = value == 0 ? 0 : Math.round( oImageOriginal.height * ( value / oImageOriginal.width ) ) ;
|
373
|
+
else
|
374
|
+
value = value == 0 ? 0 : Math.round( oImageOriginal.width * ( value / oImageOriginal.height ) ) ;
|
375
|
+
|
376
|
+
if ( !isNaN( value ) )
|
377
|
+
e.value = value ;
|
378
|
+
}
|
379
|
+
|
380
|
+
UpdatePreview() ;
|
381
|
+
}
|
382
|
+
|
383
|
+
// Fired when the Reset Size button is clicked
|
384
|
+
function ResetSizes()
|
385
|
+
{
|
386
|
+
if ( ! oImageOriginal ) return ;
|
387
|
+
if ( oEditor.FCKBrowserInfo.IsGecko && !oImageOriginal.complete )
|
388
|
+
{
|
389
|
+
setTimeout( ResetSizes, 50 ) ;
|
390
|
+
return ;
|
391
|
+
}
|
392
|
+
|
393
|
+
GetE('txtWidth').value = oImageOriginal.width ;
|
394
|
+
GetE('txtHeight').value = oImageOriginal.height ;
|
395
|
+
|
396
|
+
UpdatePreview() ;
|
397
|
+
}
|
398
|
+
|
399
|
+
function BrowseServer()
|
400
|
+
{
|
401
|
+
OpenServerBrowser(
|
402
|
+
'Image',
|
403
|
+
FCKConfig.ImageBrowserURL,
|
404
|
+
FCKConfig.ImageBrowserWindowWidth,
|
405
|
+
FCKConfig.ImageBrowserWindowHeight ) ;
|
406
|
+
}
|
407
|
+
|
408
|
+
function LnkBrowseServer()
|
409
|
+
{
|
410
|
+
OpenServerBrowser(
|
411
|
+
'Link',
|
412
|
+
FCKConfig.LinkBrowserURL,
|
413
|
+
FCKConfig.LinkBrowserWindowWidth,
|
414
|
+
FCKConfig.LinkBrowserWindowHeight ) ;
|
415
|
+
}
|
416
|
+
|
417
|
+
function OpenServerBrowser( type, url, width, height )
|
418
|
+
{
|
419
|
+
sActualBrowser = type ;
|
420
|
+
OpenFileBrowser( url, width, height ) ;
|
421
|
+
}
|
422
|
+
|
423
|
+
var sActualBrowser ;
|
424
|
+
|
425
|
+
function SetUrl( url, width, height, alt )
|
426
|
+
{
|
427
|
+
if ( sActualBrowser == 'Link' )
|
428
|
+
{
|
429
|
+
GetE('txtLnkUrl').value = url ;
|
430
|
+
UpdatePreview() ;
|
431
|
+
}
|
432
|
+
else
|
433
|
+
{
|
434
|
+
GetE('txtUrl').value = url ;
|
435
|
+
GetE('txtWidth').value = width ? width : '' ;
|
436
|
+
GetE('txtHeight').value = height ? height : '' ;
|
437
|
+
|
438
|
+
if ( alt )
|
439
|
+
GetE('txtAlt').value = alt;
|
440
|
+
|
441
|
+
UpdatePreview() ;
|
442
|
+
UpdateOriginal( true ) ;
|
443
|
+
}
|
444
|
+
|
445
|
+
dialog.SetSelectedTab( 'Info' ) ;
|
446
|
+
}
|
447
|
+
|
448
|
+
function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg )
|
449
|
+
{
|
450
|
+
// Remove animation
|
451
|
+
window.parent.Throbber.Hide() ;
|
452
|
+
GetE( 'divUpload' ).style.display = '' ;
|
453
|
+
|
454
|
+
switch ( errorNumber )
|
455
|
+
{
|
456
|
+
case 0 : // No errors
|
457
|
+
alert( 'Your file has been successfully uploaded' ) ;
|
458
|
+
break ;
|
459
|
+
case 1 : // Custom error
|
460
|
+
alert( customMsg ) ;
|
461
|
+
return ;
|
462
|
+
case 101 : // Custom warning
|
463
|
+
alert( customMsg ) ;
|
464
|
+
break ;
|
465
|
+
case 201 :
|
466
|
+
alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ;
|
467
|
+
break ;
|
468
|
+
case 202 :
|
469
|
+
alert( 'Invalid file type' ) ;
|
470
|
+
return ;
|
471
|
+
case 203 :
|
472
|
+
alert( "Security error. You probably don't have enough permissions to upload. Please check your server." ) ;
|
473
|
+
return ;
|
474
|
+
case 500 :
|
475
|
+
alert( 'The connector is disabled' ) ;
|
476
|
+
break ;
|
477
|
+
default :
|
478
|
+
alert( 'Error on file upload. Error number: ' + errorNumber ) ;
|
479
|
+
return ;
|
480
|
+
}
|
481
|
+
|
482
|
+
sActualBrowser = '' ;
|
483
|
+
SetUrl( fileUrl ) ;
|
484
|
+
GetE('frmUpload').reset() ;
|
485
|
+
}
|
486
|
+
|
487
|
+
var oUploadAllowedExtRegex = new RegExp( FCKConfig.ImageUploadAllowedExtensions, 'i' ) ;
|
488
|
+
var oUploadDeniedExtRegex = new RegExp( FCKConfig.ImageUploadDeniedExtensions, 'i' ) ;
|
489
|
+
|
490
|
+
function CheckUpload()
|
491
|
+
{
|
492
|
+
var sFile = GetE('txtUploadFile').value ;
|
493
|
+
|
494
|
+
if ( sFile.length == 0 )
|
495
|
+
{
|
496
|
+
alert( 'Please select a file to upload' ) ;
|
497
|
+
return false ;
|
498
|
+
}
|
499
|
+
|
500
|
+
if ( ( FCKConfig.ImageUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) ||
|
501
|
+
( FCKConfig.ImageUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) )
|
502
|
+
{
|
503
|
+
OnUploadCompleted( 202 ) ;
|
504
|
+
return false ;
|
505
|
+
}
|
506
|
+
|
507
|
+
// Show animation
|
508
|
+
window.parent.Throbber.Show( 100 ) ;
|
509
|
+
GetE( 'divUpload' ).style.display = 'none' ;
|
510
|
+
|
511
|
+
return true ;
|
512
|
+
}
|
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_image/fck_image_preview.html
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
2
|
+
<!--
|
3
|
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4
|
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5
|
+
*
|
6
|
+
* == BEGIN LICENSE ==
|
7
|
+
*
|
8
|
+
* Licensed under the terms of any of the following licenses at your
|
9
|
+
* choice:
|
10
|
+
*
|
11
|
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12
|
+
* http://www.gnu.org/licenses/gpl.html
|
13
|
+
*
|
14
|
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15
|
+
* http://www.gnu.org/licenses/lgpl.html
|
16
|
+
*
|
17
|
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18
|
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19
|
+
*
|
20
|
+
* == END LICENSE ==
|
21
|
+
*
|
22
|
+
* Preview page for the Image dialog window.
|
23
|
+
*
|
24
|
+
* Curiosity: http://en.wikipedia.org/wiki/Lorem_ipsum
|
25
|
+
-->
|
26
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
27
|
+
<head>
|
28
|
+
<title></title>
|
29
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
30
|
+
<meta name="robots" content="noindex, nofollow" />
|
31
|
+
<script src="../common/fck_dialog_common.js" type="text/javascript"></script>
|
32
|
+
<script type="text/javascript">
|
33
|
+
|
34
|
+
var FCKTools = window.parent.FCKTools ;
|
35
|
+
var FCKConfig = window.parent.FCKConfig ;
|
36
|
+
|
37
|
+
// Set the preview CSS
|
38
|
+
document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaCSS ) ) ;
|
39
|
+
document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaStyles ) ) ;
|
40
|
+
|
41
|
+
if ( window.parent.FCKConfig.BaseHref.length > 0 )
|
42
|
+
document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ;
|
43
|
+
|
44
|
+
window.onload = function()
|
45
|
+
{
|
46
|
+
window.parent.SetPreviewElements(
|
47
|
+
document.getElementById( 'imgPreview' ),
|
48
|
+
document.getElementById( 'lnkPreview' ) ) ;
|
49
|
+
}
|
50
|
+
|
51
|
+
</script>
|
52
|
+
</head>
|
53
|
+
<body>
|
54
|
+
<div>
|
55
|
+
<a id="lnkPreview" onclick="return false;" style="cursor: default">
|
56
|
+
<img id="imgPreview" onload="window.parent.UpdateOriginal();"
|
57
|
+
style="display: none" alt="" /></a>Lorem ipsum dolor sit amet, consectetuer adipiscing
|
58
|
+
elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus
|
59
|
+
a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis,
|
60
|
+
nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed
|
61
|
+
velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper
|
62
|
+
nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices
|
63
|
+
a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus
|
64
|
+
faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget
|
65
|
+
tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit,
|
66
|
+
tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis
|
67
|
+
id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus,
|
68
|
+
eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur
|
69
|
+
ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.
|
70
|
+
</div>
|
71
|
+
</body>
|
72
|
+
</html>
|