adva_fckeditor 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README +21 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/adva_fckeditor.gemspec +19 -0
- data/app/assets/javascripts/adva_fckeditor/config.js +58 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckcontextmenu.js +223 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdataprocessor.js +119 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +53 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +58 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdomrange.js +935 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdomrange_gecko.js +104 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdomrange_ie.js +199 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckdomrangeiterator.js +327 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckeditingarea.js +368 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckelementpath.js +89 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckenterkey.js +708 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckevents.js +71 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckhtmliterator.js +142 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckicon.js +103 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckiecleanup.js +68 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckimagepreloader.js +64 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckkeystrokehandler.js +141 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckmenublock.js +153 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckmenublockpanel.js +54 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckmenuitem.js +161 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckpanel.js +463 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckplugin.js +56 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckspecialcombo.js +376 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckstyle.js +1500 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbar.js +103 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +36 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +38 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarbutton.js +81 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +198 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +139 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +98 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +76 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +103 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +146 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +200 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckw3crange.js +451 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckxml.js +108 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckxml_gecko.js +106 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/classes/fckxml_ie.js +93 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fck_othercommands.js +634 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +281 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +61 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckfitwindow.js +213 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckindentcommands.js +282 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +173 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fcklistcommands.js +382 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +39 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +40 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +40 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +45 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckshowblocks.js +94 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +49 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +72 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fckstylecommand.js +60 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fcktablecommand.js +106 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +201 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/fckconstants.js +56 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/fckeditorapi.js +179 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/fckjscoreextensions.js +159 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/fckscriptloader.js +122 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fck.js +1256 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fck_contextmenu.js +345 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fck_gecko.js +497 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fck_ie.js +456 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckbrowserinfo.js +61 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckcodeformatter.js +100 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckcommands.js +172 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckconfig.js +237 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdebug.js +59 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdebug_empty.js +31 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdialog.js +239 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdocumentprocessor.js +270 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckdomtools.js +1057 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcklanguagemanager.js +165 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcklisthandler.js +152 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcklistslib.js +63 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckplugins.js +46 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckregexlib.js +100 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckselection.js +42 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckselection_gecko.js +228 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckselection_ie.js +287 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckstyles.js +381 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktablehandler.js +863 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +56 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktablehandler_ie.js +64 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktoolbaritems.js +124 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktoolbarset.js +399 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktools.js +749 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktools_gecko.js +282 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fcktools_ie.js +234 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckundo.js +223 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckurlparams.js +39 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckxhtml.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckxhtml_gecko.js +114 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckxhtml_ie.js +213 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/_source/internals/fckxhtmlentities.js +357 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/behaviors/disablehandles.htc +15 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/behaviors/showtableborders.htc +36 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/fck_editorarea.css +110 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/fck_internal.css +199 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/fck_showtableborders_gecko.css +49 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_address.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_div.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h1.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h2.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h3.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h4.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h5.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_h6.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_p.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/block_pre.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_anchor.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_pagebreak.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/css/images/fck_plugin.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/fck_dialog_common.css +85 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/fck_dialog_common.js +347 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/images/locked.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/images/reset.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_about.html +161 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_anchor.html +220 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_button.html +104 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_checkbox.html +104 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_colorselector.html +172 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_div.html +396 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +113 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_docprops.html +600 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_flash/fck_flash.js +300 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +50 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_flash.html +152 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_form.html +109 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_hiddenfield.html +115 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js +512 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_image/fck_image_preview.html +72 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_image.html +258 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_link/fck_link.js +893 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_link.html +295 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_listprop.html +120 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_paste.html +347 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_radiobutton.html +104 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_replace.html +650 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_select/fck_select.js +194 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_select.html +180 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_smiley.html +111 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_source.html +68 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_specialchar.html +121 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +87 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +153 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +148 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +199 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +181 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +461 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +71 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +49 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +272 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_spellerpages.html +70 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_table.html +439 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_tablecell.html +293 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_template/images/template1.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_template/images/template2.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_template/images/template3.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_template.html +242 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_textarea.html +94 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dialog/fck_textfield.html +136 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dtd/fck_dtd_test.html +41 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dtd/fck_xhtml10strict.js +116 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/dtd/fck_xhtml10transitional.js +140 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/fckdebug.html +153 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/fckdialog.html +819 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/fckeditor.html +317 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/fckeditor.original.html +424 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/browser.css +87 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/browser.html +200 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +95 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +114 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmfolders.html +198 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +185 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +69 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/frmupload.html +115 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/js/common.js +88 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/browser/default/js/fckxml.js +147 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/basexml.asp +63 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/class_upload.asp +353 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/commands.asp +198 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/config.asp +128 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/connector.asp +88 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/io.asp +237 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/upload.asp +65 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/asp/util.asp +55 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/aspx/config.ascx +98 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +32 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +32 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/ImageObject.cfc +273 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf5_connector.cfm +315 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf5_upload.cfm +299 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_basexml.cfm +68 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_commands.cfm +230 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_connector.cfm +89 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_io.cfm +291 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_upload.cfm +72 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/cf_util.cfm +131 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/config.cfm +189 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/connector.cfm +32 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/image.cfc +1324 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/cfm/upload.cfm +31 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/lasso/config.lasso +65 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/lasso/connector.lasso +322 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/lasso/upload.lasso +168 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/basexml.pl +63 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/commands.pl +187 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/connector.cgi +136 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/io.pl +141 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/upload.cgi +117 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +686 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/perl/util.pl +68 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/basexml.php +93 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/commands.php +302 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/config.php +151 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/connector.php +90 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/io.php +296 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/phpcompat.php +17 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/upload.php +59 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/php/util.php +220 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/config.py +146 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/connector.py +118 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckcommands.py +198 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckconnector.py +90 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckoutput.py +116 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/fckutil.py +126 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/htaccess.txt +23 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/upload.py +88 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/wsgi.py +58 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/py/zope.py +188 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/test.html +210 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/filemanager/connectors/uploadtest.html +192 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/anchor.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/arrow_ltr.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/arrow_rtl.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/images/spacer.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/js/fckadobeair.js +176 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/js/fckeditorcode_gecko.js +108 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/js/fckeditorcode_ie.js +109 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/_translationstatus.txt +79 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/af.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ar.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/bg.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/bn.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/bs.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ca.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/cs.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/da.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/de.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/el.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/en-au.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/en-ca.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/en-uk.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/en.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/eo.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/es.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/et.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/eu.js +535 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fa.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fi.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fo.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fr-ca.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/fr.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/gl.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/gu.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/he.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/hi.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/hr.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/hu.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/is.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/it.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ja.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/km.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ko.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/lt.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/lv.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/mn.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ms.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/nb.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/nl.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/no.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/pl.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/pt-br.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/pt.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ro.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/ru.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sk.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sl.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sr-latn.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sr.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/sv.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/th.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/tr.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/uk.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/vi.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/zh-cn.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/lang/zh.js +534 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/autogrow/fckplugin.js +111 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +26 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/bbcode/_sample/sample.html +67 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/bbcode/fckplugin.js +123 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/dragresizetable/fckplugin.js +529 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/fck_placeholder.html +105 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/fckplugin.js +187 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/de.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/en.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/es.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/fr.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/it.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/lang/pl.js +27 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/simplecommands/fckplugin.js +29 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/tablecommands/fckplugin.js +33 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/_fckviewstrips.html +121 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/fck_dialog.css +402 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/fck_dialog_ie6.js +110 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/fck_editor.css +464 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/fck_strip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/dialog.sides.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/dialog.sides.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/dialog.sides.rtl.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/sprites.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/sprites.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.arrowright.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.buttonarrow.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.collapse.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.end.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.expand.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.separator.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/images/toolbar.start.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/default/toolbar/configurecell.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/fck_dialog.css +402 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/fck_dialog_ie6.js +110 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/fck_editor.css +476 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/fck_strip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/dialog.sides.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/dialog.sides.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/dialog.sides.rtl.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/sprites.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/sprites.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.arrowright.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.bg.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.buttonarrow.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.collapse.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.end.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.expand.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.separator.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/office2003/images/toolbar.start.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/fck_dialog.css +402 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/fck_dialog_ie6.js +110 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/fck_editor.css +473 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/dialog.sides.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/dialog.sides.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/dialog.sides.rtl.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/sprites.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/sprites.png +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.end.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/skins/silver/images/toolbar.start.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/wsc/ciframe.html +65 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/wsc/tmpFrameset.html +67 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/wsc/w.html +227 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fckconfig.js +325 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fckeditor.js +330 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fckpackager.xml +262 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fckstyles.xml +111 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/fcktemplates.xml +103 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor/license.txt +1246 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/cells/cell.html +259 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/cells/fckplugin.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/cells/lang/de.js +4 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/cells/lang/en.js +4 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/fckplugin.js +8 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/de.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/en.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/it.js +22 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/ja.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/lt.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/no.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/pt.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/zh-cn.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/lang/zh.js +21 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/license.txt +286 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/readme.txt +54 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/youtube.gif +0 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/youtube.html +47 -0
- data/app/assets/javascripts/adva_fckeditor/fckeditor_plugins/youtube/youtube.js +121 -0
- data/app/assets/javascripts/adva_fckeditor/setup_fckeditor.js +49 -0
- data/app/assets/javascripts/adva_fckeditor/setup_fckeditor.prototype.js +38 -0
- data/lib/adva_fckeditor/version.rb +3 -0
- data/lib/adva_fckeditor.rb +13 -0
- data/lib/fckeditor.rb +6 -0
- metadata +556 -0
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/dragresizetable/fckplugin.js
ADDED
@@ -0,0 +1,529 @@
|
|
1
|
+
var FCKDragTableHandler =
|
2
|
+
{
|
3
|
+
"_DragState" : 0,
|
4
|
+
"_LeftCell" : null,
|
5
|
+
"_RightCell" : null,
|
6
|
+
"_MouseMoveMode" : 0, // 0 - find candidate cells for resizing, 1 - drag to resize
|
7
|
+
"_ResizeBar" : null,
|
8
|
+
"_OriginalX" : null,
|
9
|
+
"_MinimumX" : null,
|
10
|
+
"_MaximumX" : null,
|
11
|
+
"_LastX" : null,
|
12
|
+
"_TableMap" : null,
|
13
|
+
"_doc" : document,
|
14
|
+
"_IsInsideNode" : function( w, domNode, pos )
|
15
|
+
{
|
16
|
+
var myCoords = FCKTools.GetWindowPosition( w, domNode ) ;
|
17
|
+
var xMin = myCoords.x ;
|
18
|
+
var yMin = myCoords.y ;
|
19
|
+
var xMax = parseInt( xMin, 10 ) + parseInt( domNode.offsetWidth, 10 ) ;
|
20
|
+
var yMax = parseInt( yMin, 10 ) + parseInt( domNode.offsetHeight, 10 ) ;
|
21
|
+
if ( pos.x >= xMin && pos.x <= xMax && pos.y >= yMin && pos.y <= yMax )
|
22
|
+
return true;
|
23
|
+
return false;
|
24
|
+
},
|
25
|
+
"_GetBorderCells" : function( w, tableNode, tableMap, mouse )
|
26
|
+
{
|
27
|
+
// Enumerate all the cells in the table.
|
28
|
+
var cells = [] ;
|
29
|
+
for ( var i = 0 ; i < tableNode.rows.length ; i++ )
|
30
|
+
{
|
31
|
+
var r = tableNode.rows[i] ;
|
32
|
+
for ( var j = 0 ; j < r.cells.length ; j++ )
|
33
|
+
cells.push( r.cells[j] ) ;
|
34
|
+
}
|
35
|
+
|
36
|
+
if ( cells.length < 1 )
|
37
|
+
return null ;
|
38
|
+
|
39
|
+
// Get the cells whose right or left border is nearest to the mouse cursor's x coordinate.
|
40
|
+
var minRxDist = null ;
|
41
|
+
var lxDist = null ;
|
42
|
+
var minYDist = null ;
|
43
|
+
var rbCell = null ;
|
44
|
+
var lbCell = null ;
|
45
|
+
for ( var i = 0 ; i < cells.length ; i++ )
|
46
|
+
{
|
47
|
+
var pos = FCKTools.GetWindowPosition( w, cells[i] ) ;
|
48
|
+
var rightX = pos.x + parseInt( cells[i].clientWidth, 10 ) ;
|
49
|
+
var rxDist = mouse.x - rightX ;
|
50
|
+
var yDist = mouse.y - ( pos.y + ( cells[i].clientHeight / 2 ) ) ;
|
51
|
+
if ( minRxDist == null ||
|
52
|
+
( Math.abs( rxDist ) <= Math.abs( minRxDist ) &&
|
53
|
+
( minYDist == null || Math.abs( yDist ) <= Math.abs( minYDist ) ) ) )
|
54
|
+
{
|
55
|
+
minRxDist = rxDist ;
|
56
|
+
minYDist = yDist ;
|
57
|
+
rbCell = cells[i] ;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
/*
|
61
|
+
var rowNode = FCKTools.GetElementAscensor( rbCell, "tr" ) ;
|
62
|
+
var cellIndex = rbCell.cellIndex + 1 ;
|
63
|
+
if ( cellIndex >= rowNode.cells.length )
|
64
|
+
return null ;
|
65
|
+
lbCell = rowNode.cells.item( cellIndex ) ;
|
66
|
+
*/
|
67
|
+
var rowIdx = rbCell.parentNode.rowIndex ;
|
68
|
+
var colIdx = FCKTableHandler._GetCellIndexSpan( tableMap, rowIdx, rbCell ) ;
|
69
|
+
var colSpan = isNaN( rbCell.colSpan ) ? 1 : rbCell.colSpan ;
|
70
|
+
lbCell = tableMap[rowIdx][colIdx + colSpan] ;
|
71
|
+
|
72
|
+
if ( ! lbCell )
|
73
|
+
return null ;
|
74
|
+
|
75
|
+
// Abort if too far from the border.
|
76
|
+
lxDist = mouse.x - FCKTools.GetWindowPosition( w, lbCell ).x ;
|
77
|
+
if ( lxDist < 0 && minRxDist < 0 && minRxDist < -2 )
|
78
|
+
return null ;
|
79
|
+
if ( lxDist > 0 && minRxDist > 0 && lxDist > 3 )
|
80
|
+
return null ;
|
81
|
+
|
82
|
+
return { "leftCell" : rbCell, "rightCell" : lbCell } ;
|
83
|
+
},
|
84
|
+
"_GetResizeBarPosition" : function()
|
85
|
+
{
|
86
|
+
var row = FCKTools.GetElementAscensor( this._RightCell, "tr" ) ;
|
87
|
+
return FCKTableHandler._GetCellIndexSpan( this._TableMap, row.rowIndex, this._RightCell ) ;
|
88
|
+
},
|
89
|
+
"_ResizeBarMouseDownListener" : function( evt )
|
90
|
+
{
|
91
|
+
if ( FCKDragTableHandler._LeftCell )
|
92
|
+
FCKDragTableHandler._MouseMoveMode = 1 ;
|
93
|
+
if ( FCKBrowserInfo.IsIE )
|
94
|
+
FCKDragTableHandler._ResizeBar.filters.item("DXImageTransform.Microsoft.Alpha").opacity = 50 ;
|
95
|
+
else
|
96
|
+
FCKDragTableHandler._ResizeBar.style.opacity = 0.5 ;
|
97
|
+
FCKDragTableHandler._OriginalX = evt.clientX ;
|
98
|
+
|
99
|
+
// Calculate maximum and minimum x-coordinate delta.
|
100
|
+
var borderIndex = FCKDragTableHandler._GetResizeBarPosition() ;
|
101
|
+
var offset = FCKDragTableHandler._GetIframeOffset();
|
102
|
+
var table = FCKTools.GetElementAscensor( FCKDragTableHandler._LeftCell, "table" );
|
103
|
+
var minX = null ;
|
104
|
+
var maxX = null ;
|
105
|
+
for ( var r = 0 ; r < FCKDragTableHandler._TableMap.length ; r++ )
|
106
|
+
{
|
107
|
+
var leftCell = FCKDragTableHandler._TableMap[r][borderIndex - 1] ;
|
108
|
+
var rightCell = FCKDragTableHandler._TableMap[r][borderIndex] ;
|
109
|
+
var leftPosition = FCKTools.GetWindowPosition( FCK.EditorWindow, leftCell ) ;
|
110
|
+
var rightPosition = FCKTools.GetWindowPosition( FCK.EditorWindow, rightCell ) ;
|
111
|
+
var leftPadding = FCKDragTableHandler._GetCellPadding( table, leftCell ) ;
|
112
|
+
var rightPadding = FCKDragTableHandler._GetCellPadding( table, rightCell ) ;
|
113
|
+
if ( minX == null || leftPosition.x + leftPadding > minX )
|
114
|
+
minX = leftPosition.x + leftPadding ;
|
115
|
+
if ( maxX == null || rightPosition.x + rightCell.clientWidth - rightPadding < maxX )
|
116
|
+
maxX = rightPosition.x + rightCell.clientWidth - rightPadding ;
|
117
|
+
}
|
118
|
+
|
119
|
+
FCKDragTableHandler._MinimumX = minX + offset.x ;
|
120
|
+
FCKDragTableHandler._MaximumX = maxX + offset.x ;
|
121
|
+
FCKDragTableHandler._LastX = null ;
|
122
|
+
|
123
|
+
if (evt.preventDefault)
|
124
|
+
evt.preventDefault();
|
125
|
+
else
|
126
|
+
evt.returnValue = false;
|
127
|
+
},
|
128
|
+
"_ResizeBarMouseUpListener" : function( evt )
|
129
|
+
{
|
130
|
+
FCKDragTableHandler._MouseMoveMode = 0 ;
|
131
|
+
FCKDragTableHandler._HideResizeBar() ;
|
132
|
+
|
133
|
+
if ( FCKDragTableHandler._LastX == null )
|
134
|
+
return ;
|
135
|
+
|
136
|
+
// Calculate the delta value.
|
137
|
+
var deltaX = FCKDragTableHandler._LastX - FCKDragTableHandler._OriginalX ;
|
138
|
+
|
139
|
+
// Then, build an array of current column width values.
|
140
|
+
// This algorithm can be very slow if the cells have insane colSpan values. (e.g. colSpan=1000).
|
141
|
+
var table = FCKTools.GetElementAscensor( FCKDragTableHandler._LeftCell, "table" ) ;
|
142
|
+
var colArray = [] ;
|
143
|
+
var tableMap = FCKDragTableHandler._TableMap ;
|
144
|
+
for ( var i = 0 ; i < tableMap.length ; i++ )
|
145
|
+
{
|
146
|
+
for ( var j = 0 ; j < tableMap[i].length ; j++ )
|
147
|
+
{
|
148
|
+
var cell = tableMap[i][j] ;
|
149
|
+
var width = FCKDragTableHandler._GetCellWidth( table, cell ) ;
|
150
|
+
var colSpan = isNaN( cell.colSpan) ? 1 : cell.colSpan ;
|
151
|
+
if ( colArray.length <= j )
|
152
|
+
colArray.push( { width : width / colSpan, colSpan : colSpan } ) ;
|
153
|
+
else
|
154
|
+
{
|
155
|
+
var guessItem = colArray[j] ;
|
156
|
+
if ( guessItem.colSpan > colSpan )
|
157
|
+
{
|
158
|
+
guessItem.width = width / colSpan ;
|
159
|
+
guessItem.colSpan = colSpan ;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
// Find out the equivalent column index of the two cells selected for resizing.
|
166
|
+
colIndex = FCKDragTableHandler._GetResizeBarPosition() ;
|
167
|
+
|
168
|
+
// Note that colIndex must be at least 1 here, so it's safe to subtract 1 from it.
|
169
|
+
colIndex-- ;
|
170
|
+
|
171
|
+
// Modify the widths in the colArray according to the mouse coordinate delta value.
|
172
|
+
colArray[colIndex].width += deltaX ;
|
173
|
+
colArray[colIndex + 1].width -= deltaX ;
|
174
|
+
|
175
|
+
// Clear all cell widths, delete all <col> elements from the table.
|
176
|
+
for ( var r = 0 ; r < table.rows.length ; r++ )
|
177
|
+
{
|
178
|
+
var row = table.rows.item( r ) ;
|
179
|
+
for ( var c = 0 ; c < row.cells.length ; c++ )
|
180
|
+
{
|
181
|
+
var cell = row.cells.item( c ) ;
|
182
|
+
cell.width = "" ;
|
183
|
+
cell.style.width = "" ;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
var colElements = table.getElementsByTagName( "col" ) ;
|
187
|
+
for ( var i = colElements.length - 1 ; i >= 0 ; i-- )
|
188
|
+
colElements[i].parentNode.removeChild( colElements[i] ) ;
|
189
|
+
|
190
|
+
// Set new cell widths.
|
191
|
+
var processedCells = [] ;
|
192
|
+
for ( var i = 0 ; i < tableMap.length ; i++ )
|
193
|
+
{
|
194
|
+
for ( var j = 0 ; j < tableMap[i].length ; j++ )
|
195
|
+
{
|
196
|
+
var cell = tableMap[i][j] ;
|
197
|
+
if ( cell._Processed )
|
198
|
+
continue ;
|
199
|
+
if ( tableMap[i][j-1] != cell )
|
200
|
+
cell.width = colArray[j].width ;
|
201
|
+
else
|
202
|
+
cell.width = parseInt( cell.width, 10 ) + parseInt( colArray[j].width, 10 ) ;
|
203
|
+
if ( tableMap[i][j+1] != cell )
|
204
|
+
{
|
205
|
+
processedCells.push( cell ) ;
|
206
|
+
cell._Processed = true ;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
for ( var i = 0 ; i < processedCells.length ; i++ )
|
211
|
+
{
|
212
|
+
if ( FCKBrowserInfo.IsIE )
|
213
|
+
processedCells[i].removeAttribute( '_Processed' ) ;
|
214
|
+
else
|
215
|
+
delete processedCells[i]._Processed ;
|
216
|
+
}
|
217
|
+
|
218
|
+
FCKDragTableHandler._LastX = null ;
|
219
|
+
},
|
220
|
+
"_ResizeBarMouseMoveListener" : function( evt )
|
221
|
+
{
|
222
|
+
if ( FCKDragTableHandler._MouseMoveMode == 0 )
|
223
|
+
return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ;
|
224
|
+
else
|
225
|
+
return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ;
|
226
|
+
},
|
227
|
+
// Calculate the padding of a table cell.
|
228
|
+
// It returns the value of paddingLeft + paddingRight of a table cell.
|
229
|
+
// This function is used, in part, to calculate the width parameter that should be used for setting cell widths.
|
230
|
+
// The equation in question is clientWidth = paddingLeft + paddingRight + width.
|
231
|
+
// So that width = clientWidth - paddingLeft - paddingRight.
|
232
|
+
// The return value of this function must be pixel accurate acorss all supported browsers, so be careful if you need to modify it.
|
233
|
+
"_GetCellPadding" : function( table, cell )
|
234
|
+
{
|
235
|
+
var attrGuess = parseInt( table.cellPadding, 10 ) * 2 ;
|
236
|
+
var cssGuess = null ;
|
237
|
+
if ( typeof( window.getComputedStyle ) == "function" )
|
238
|
+
{
|
239
|
+
var styleObj = window.getComputedStyle( cell, null ) ;
|
240
|
+
cssGuess = parseInt( styleObj.getPropertyValue( "padding-left" ), 10 ) +
|
241
|
+
parseInt( styleObj.getPropertyValue( "padding-right" ), 10 ) ;
|
242
|
+
}
|
243
|
+
else
|
244
|
+
cssGuess = parseInt( cell.currentStyle.paddingLeft, 10 ) + parseInt (cell.currentStyle.paddingRight, 10 ) ;
|
245
|
+
|
246
|
+
var cssRuntime = cell.style.padding ;
|
247
|
+
if ( isFinite( cssRuntime ) )
|
248
|
+
cssGuess = parseInt( cssRuntime, 10 ) * 2 ;
|
249
|
+
else
|
250
|
+
{
|
251
|
+
cssRuntime = cell.style.paddingLeft ;
|
252
|
+
if ( isFinite( cssRuntime ) )
|
253
|
+
cssGuess = parseInt( cssRuntime, 10 ) ;
|
254
|
+
cssRuntime = cell.style.paddingRight ;
|
255
|
+
if ( isFinite( cssRuntime ) )
|
256
|
+
cssGuess += parseInt( cssRuntime, 10 ) ;
|
257
|
+
}
|
258
|
+
|
259
|
+
attrGuess = parseInt( attrGuess, 10 ) ;
|
260
|
+
cssGuess = parseInt( cssGuess, 10 ) ;
|
261
|
+
if ( isNaN( attrGuess ) )
|
262
|
+
attrGuess = 0 ;
|
263
|
+
if ( isNaN( cssGuess ) )
|
264
|
+
cssGuess = 0 ;
|
265
|
+
return Math.max( attrGuess, cssGuess ) ;
|
266
|
+
},
|
267
|
+
// Calculate the real width of the table cell.
|
268
|
+
// The real width of the table cell is the pixel width that you can set to the width attribute of the table cell and after
|
269
|
+
// that, the table cell should be of exactly the same width as before.
|
270
|
+
// The real width of a table cell can be calculated as:
|
271
|
+
// width = clientWidth - paddingLeft - paddingRight.
|
272
|
+
"_GetCellWidth" : function( table, cell )
|
273
|
+
{
|
274
|
+
var clientWidth = cell.clientWidth ;
|
275
|
+
if ( isNaN( clientWidth ) )
|
276
|
+
clientWidth = 0 ;
|
277
|
+
return clientWidth - this._GetCellPadding( table, cell ) ;
|
278
|
+
},
|
279
|
+
"MouseMoveListener" : function( FCK, evt )
|
280
|
+
{
|
281
|
+
if ( FCKDragTableHandler._MouseMoveMode == 0 )
|
282
|
+
return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ;
|
283
|
+
else
|
284
|
+
return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ;
|
285
|
+
},
|
286
|
+
"_MouseFindHandler" : function( FCK, evt )
|
287
|
+
{
|
288
|
+
if ( FCK.MouseDownFlag )
|
289
|
+
return ;
|
290
|
+
var node = evt.srcElement || evt.target ;
|
291
|
+
try
|
292
|
+
{
|
293
|
+
if ( ! node || node.nodeType != 1 )
|
294
|
+
{
|
295
|
+
this._HideResizeBar() ;
|
296
|
+
return ;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
catch ( e )
|
300
|
+
{
|
301
|
+
this._HideResizeBar() ;
|
302
|
+
return ;
|
303
|
+
}
|
304
|
+
|
305
|
+
// Since this function might be called from the editing area iframe or the outer fckeditor iframe,
|
306
|
+
// the mouse point coordinates from evt.clientX/Y can have different reference points.
|
307
|
+
// We need to resolve the mouse pointer position relative to the editing area iframe.
|
308
|
+
var mouseX = evt.clientX ;
|
309
|
+
var mouseY = evt.clientY ;
|
310
|
+
if ( FCKTools.GetElementDocument( node ) == document )
|
311
|
+
{
|
312
|
+
var offset = this._GetIframeOffset() ;
|
313
|
+
mouseX -= offset.x ;
|
314
|
+
mouseY -= offset.y ;
|
315
|
+
}
|
316
|
+
|
317
|
+
|
318
|
+
if ( this._ResizeBar && this._LeftCell )
|
319
|
+
{
|
320
|
+
var leftPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._LeftCell ) ;
|
321
|
+
var rightPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._RightCell ) ;
|
322
|
+
var rxDist = mouseX - ( leftPos.x + this._LeftCell.clientWidth ) ;
|
323
|
+
var lxDist = mouseX - rightPos.x ;
|
324
|
+
var inRangeFlag = false ;
|
325
|
+
if ( lxDist >= 0 && rxDist <= 0 )
|
326
|
+
inRangeFlag = true ;
|
327
|
+
else if ( rxDist > 0 && lxDist <= 3 )
|
328
|
+
inRangeFlag = true ;
|
329
|
+
else if ( lxDist < 0 && rxDist >= -2 )
|
330
|
+
inRangeFlag = true ;
|
331
|
+
if ( inRangeFlag )
|
332
|
+
{
|
333
|
+
this._ShowResizeBar( FCK.EditorWindow,
|
334
|
+
FCKTools.GetElementAscensor( this._LeftCell, "table" ),
|
335
|
+
{ "x" : mouseX, "y" : mouseY } ) ;
|
336
|
+
return ;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
var tagName = node.tagName.toLowerCase() ;
|
341
|
+
if ( tagName != "table" && tagName != "td" && tagName != "th" )
|
342
|
+
{
|
343
|
+
if ( this._LeftCell )
|
344
|
+
this._LeftCell = this._RightCell = this._TableMap = null ;
|
345
|
+
this._HideResizeBar() ;
|
346
|
+
return ;
|
347
|
+
}
|
348
|
+
node = FCKTools.GetElementAscensor( node, "table" ) ;
|
349
|
+
var tableMap = FCKTableHandler._CreateTableMap( node ) ;
|
350
|
+
var cellTuple = this._GetBorderCells( FCK.EditorWindow, node, tableMap, { "x" : mouseX, "y" : mouseY } ) ;
|
351
|
+
|
352
|
+
if ( cellTuple == null )
|
353
|
+
{
|
354
|
+
if ( this._LeftCell )
|
355
|
+
this._LeftCell = this._RightCell = this._TableMap = null ;
|
356
|
+
this._HideResizeBar() ;
|
357
|
+
}
|
358
|
+
else
|
359
|
+
{
|
360
|
+
this._LeftCell = cellTuple["leftCell"] ;
|
361
|
+
this._RightCell = cellTuple["rightCell"] ;
|
362
|
+
this._TableMap = tableMap ;
|
363
|
+
this._ShowResizeBar( FCK.EditorWindow,
|
364
|
+
FCKTools.GetElementAscensor( this._LeftCell, "table" ),
|
365
|
+
{ "x" : mouseX, "y" : mouseY } ) ;
|
366
|
+
}
|
367
|
+
},
|
368
|
+
"_MouseDragHandler" : function( FCK, evt )
|
369
|
+
{
|
370
|
+
var mouse = { "x" : evt.clientX, "y" : evt.clientY } ;
|
371
|
+
|
372
|
+
// Convert mouse coordinates in reference to the outer iframe.
|
373
|
+
var node = evt.srcElement || evt.target ;
|
374
|
+
if ( FCKTools.GetElementDocument( node ) == FCK.EditorDocument )
|
375
|
+
{
|
376
|
+
var offset = this._GetIframeOffset() ;
|
377
|
+
mouse.x += offset.x ;
|
378
|
+
mouse.y += offset.y ;
|
379
|
+
}
|
380
|
+
|
381
|
+
// Calculate the mouse position delta and see if we've gone out of range.
|
382
|
+
if ( mouse.x >= this._MaximumX - 5 )
|
383
|
+
mouse.x = this._MaximumX - 5 ;
|
384
|
+
if ( mouse.x <= this._MinimumX + 5 )
|
385
|
+
mouse.x = this._MinimumX + 5 ;
|
386
|
+
|
387
|
+
var docX = mouse.x + FCKTools.GetScrollPosition( window ).X ;
|
388
|
+
this._ResizeBar.style.left = ( docX - this._ResizeBar.offsetWidth / 2 ) + "px" ;
|
389
|
+
this._LastX = mouse.x ;
|
390
|
+
},
|
391
|
+
"_ShowResizeBar" : function( w, table, mouse )
|
392
|
+
{
|
393
|
+
if ( this._ResizeBar == null )
|
394
|
+
{
|
395
|
+
this._ResizeBar = this._doc.createElement( "div" ) ;
|
396
|
+
var paddingBar = this._ResizeBar ;
|
397
|
+
var paddingStyles = { 'position' : 'absolute', 'cursor' : 'e-resize' } ;
|
398
|
+
if ( FCKBrowserInfo.IsIE )
|
399
|
+
paddingStyles.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=10,enabled=true)" ;
|
400
|
+
else
|
401
|
+
paddingStyles.opacity = 0.10 ;
|
402
|
+
FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ;
|
403
|
+
this._avoidStyles( paddingBar );
|
404
|
+
paddingBar.setAttribute('_fcktemp', true);
|
405
|
+
this._doc.body.appendChild( paddingBar ) ;
|
406
|
+
FCKTools.AddEventListener( paddingBar, "mousemove", this._ResizeBarMouseMoveListener ) ;
|
407
|
+
FCKTools.AddEventListener( paddingBar, "mousedown", this._ResizeBarMouseDownListener ) ;
|
408
|
+
FCKTools.AddEventListener( document, "mouseup", this._ResizeBarMouseUpListener ) ;
|
409
|
+
FCKTools.AddEventListener( FCK.EditorDocument, "mouseup", this._ResizeBarMouseUpListener ) ;
|
410
|
+
|
411
|
+
// IE doesn't let the tranparent part of the padding block to receive mouse events unless there's something inside.
|
412
|
+
// So we need to create a spacer image to fill the block up.
|
413
|
+
var filler = this._doc.createElement( "img" ) ;
|
414
|
+
filler.setAttribute('_fcktemp', true);
|
415
|
+
filler.border = 0 ;
|
416
|
+
filler.src = FCKConfig.BasePath + "images/spacer.gif" ;
|
417
|
+
filler.style.position = "absolute" ;
|
418
|
+
paddingBar.appendChild( filler ) ;
|
419
|
+
|
420
|
+
// Disable drag and drop, and selection for the filler image.
|
421
|
+
var disabledListener = function( evt )
|
422
|
+
{
|
423
|
+
if ( evt.preventDefault )
|
424
|
+
evt.preventDefault() ;
|
425
|
+
else
|
426
|
+
evt.returnValue = false ;
|
427
|
+
}
|
428
|
+
FCKTools.AddEventListener( filler, "dragstart", disabledListener ) ;
|
429
|
+
FCKTools.AddEventListener( filler, "selectstart", disabledListener ) ;
|
430
|
+
}
|
431
|
+
|
432
|
+
var paddingBar = this._ResizeBar ;
|
433
|
+
var offset = this._GetIframeOffset() ;
|
434
|
+
var tablePos = this._GetTablePosition( w, table ) ;
|
435
|
+
var barHeight = table.offsetHeight ;
|
436
|
+
var barTop = offset.y + tablePos.y ;
|
437
|
+
// Do not let the resize bar intrude into the toolbar area.
|
438
|
+
if ( tablePos.y < 0 )
|
439
|
+
{
|
440
|
+
barHeight += tablePos.y ;
|
441
|
+
barTop -= tablePos.y ;
|
442
|
+
}
|
443
|
+
var bw = parseInt( table.border, 10 ) ;
|
444
|
+
if ( isNaN( bw ) )
|
445
|
+
bw = 0 ;
|
446
|
+
var cs = parseInt( table.cellSpacing, 10 ) ;
|
447
|
+
if ( isNaN( cs ) )
|
448
|
+
cs = 0 ;
|
449
|
+
var barWidth = Math.max( bw+100, cs+100 ) ;
|
450
|
+
var paddingStyles =
|
451
|
+
{
|
452
|
+
'top' : barTop + 'px',
|
453
|
+
'height' : barHeight + 'px',
|
454
|
+
'width' : barWidth + 'px',
|
455
|
+
'left' : ( offset.x + mouse.x + FCKTools.GetScrollPosition( w ).X - barWidth / 2 ) + 'px'
|
456
|
+
} ;
|
457
|
+
if ( FCKBrowserInfo.IsIE )
|
458
|
+
paddingBar.filters.item("DXImageTransform.Microsoft.Alpha").opacity = 10 ;
|
459
|
+
else
|
460
|
+
paddingStyles.opacity = 0.1 ;
|
461
|
+
|
462
|
+
FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ;
|
463
|
+
var filler = paddingBar.getElementsByTagName( "img" )[0] ;
|
464
|
+
|
465
|
+
FCKDomTools.SetElementStyles( filler,
|
466
|
+
{
|
467
|
+
width : paddingBar.offsetWidth + 'px',
|
468
|
+
height : barHeight + 'px'
|
469
|
+
} ) ;
|
470
|
+
|
471
|
+
barWidth = Math.max( bw, cs, 3 ) ;
|
472
|
+
var visibleBar = null ;
|
473
|
+
if ( paddingBar.getElementsByTagName( "div" ).length < 1 )
|
474
|
+
{
|
475
|
+
visibleBar = this._doc.createElement( "div" ) ;
|
476
|
+
this._avoidStyles( visibleBar );
|
477
|
+
visibleBar.setAttribute('_fcktemp', true);
|
478
|
+
paddingBar.appendChild( visibleBar ) ;
|
479
|
+
}
|
480
|
+
else
|
481
|
+
visibleBar = paddingBar.getElementsByTagName( "div" )[0] ;
|
482
|
+
|
483
|
+
FCKDomTools.SetElementStyles( visibleBar,
|
484
|
+
{
|
485
|
+
position : 'absolute',
|
486
|
+
backgroundColor : 'blue',
|
487
|
+
width : barWidth + 'px',
|
488
|
+
height : barHeight + 'px',
|
489
|
+
left : '50px',
|
490
|
+
top : '0px'
|
491
|
+
} ) ;
|
492
|
+
},
|
493
|
+
"_HideResizeBar" : function()
|
494
|
+
{
|
495
|
+
if ( this._ResizeBar )
|
496
|
+
// IE bug: display : none does not hide the resize bar for some reason.
|
497
|
+
// so set the position to somewhere invisible.
|
498
|
+
FCKDomTools.SetElementStyles( this._ResizeBar,
|
499
|
+
{
|
500
|
+
top : '-100000px',
|
501
|
+
left : '-100000px'
|
502
|
+
} ) ;
|
503
|
+
},
|
504
|
+
"_GetIframeOffset" : function ()
|
505
|
+
{
|
506
|
+
return FCKTools.GetDocumentPosition( window, FCK.EditingArea.IFrame ) ;
|
507
|
+
},
|
508
|
+
"_GetTablePosition" : function ( w, table )
|
509
|
+
{
|
510
|
+
return FCKTools.GetWindowPosition( w, table ) ;
|
511
|
+
},
|
512
|
+
"_avoidStyles" : function( element )
|
513
|
+
{
|
514
|
+
FCKDomTools.SetElementStyles( element,
|
515
|
+
{
|
516
|
+
padding : '0',
|
517
|
+
backgroundImage : 'none',
|
518
|
+
border : '0'
|
519
|
+
} ) ;
|
520
|
+
},
|
521
|
+
"Reset" : function()
|
522
|
+
{
|
523
|
+
FCKDragTableHandler._LeftCell = FCKDragTableHandler._RightCell = FCKDragTableHandler._TableMap = null ;
|
524
|
+
}
|
525
|
+
|
526
|
+
};
|
527
|
+
|
528
|
+
FCK.Events.AttachEvent( "OnMouseMove", FCKDragTableHandler.MouseMoveListener ) ;
|
529
|
+
FCK.Events.AttachEvent( "OnAfterSetHTML", FCKDragTableHandler.Reset ) ;
|
data/app/assets/javascripts/adva_fckeditor/fckeditor/editor/plugins/placeholder/fck_placeholder.html
ADDED
@@ -0,0 +1,105 @@
|
|
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
|
+
* Placeholder Plugin.
|
23
|
+
-->
|
24
|
+
<html>
|
25
|
+
<head>
|
26
|
+
<title>Placeholder Properties</title>
|
27
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
28
|
+
<meta content="noindex, nofollow" name="robots">
|
29
|
+
<script src="../../dialog/common/fck_dialog_common.js" type="text/javascript"></script>
|
30
|
+
<script language="javascript">
|
31
|
+
|
32
|
+
var dialog = window.parent ;
|
33
|
+
var oEditor = dialog.InnerDialogLoaded() ;
|
34
|
+
var FCKLang = oEditor.FCKLang ;
|
35
|
+
var FCKPlaceholders = oEditor.FCKPlaceholders ;
|
36
|
+
|
37
|
+
window.onload = function ()
|
38
|
+
{
|
39
|
+
// First of all, translate the dialog box texts
|
40
|
+
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
41
|
+
|
42
|
+
LoadSelected() ;
|
43
|
+
|
44
|
+
// Show the "Ok" button.
|
45
|
+
dialog.SetOkButton( true ) ;
|
46
|
+
|
47
|
+
// Select text field on load.
|
48
|
+
SelectField( 'txtName' ) ;
|
49
|
+
}
|
50
|
+
|
51
|
+
var eSelected = dialog.Selection.GetSelectedElement() ;
|
52
|
+
|
53
|
+
function LoadSelected()
|
54
|
+
{
|
55
|
+
if ( !eSelected )
|
56
|
+
return ;
|
57
|
+
|
58
|
+
if ( eSelected.tagName == 'SPAN' && eSelected._fckplaceholder )
|
59
|
+
document.getElementById('txtName').value = eSelected._fckplaceholder ;
|
60
|
+
else
|
61
|
+
eSelected == null ;
|
62
|
+
}
|
63
|
+
|
64
|
+
function Ok()
|
65
|
+
{
|
66
|
+
var sValue = document.getElementById('txtName').value ;
|
67
|
+
|
68
|
+
if ( eSelected && eSelected._fckplaceholder == sValue )
|
69
|
+
return true ;
|
70
|
+
|
71
|
+
if ( sValue.length == 0 )
|
72
|
+
{
|
73
|
+
alert( FCKLang.PlaceholderErrNoName ) ;
|
74
|
+
return false ;
|
75
|
+
}
|
76
|
+
|
77
|
+
if ( FCKPlaceholders.Exist( sValue ) )
|
78
|
+
{
|
79
|
+
alert( FCKLang.PlaceholderErrNameInUse ) ;
|
80
|
+
return false ;
|
81
|
+
}
|
82
|
+
|
83
|
+
FCKPlaceholders.Add( sValue ) ;
|
84
|
+
return true ;
|
85
|
+
}
|
86
|
+
|
87
|
+
</script>
|
88
|
+
</head>
|
89
|
+
<body scroll="no" style="OVERFLOW: hidden">
|
90
|
+
<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
|
91
|
+
<tr>
|
92
|
+
<td>
|
93
|
+
<table cellSpacing="0" cellPadding="0" align="center" border="0">
|
94
|
+
<tr>
|
95
|
+
<td>
|
96
|
+
<span fckLang="PlaceholderDlgName">Placeholder Name</span><br>
|
97
|
+
<input id="txtName" type="text">
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
</table>
|
101
|
+
</td>
|
102
|
+
</tr>
|
103
|
+
</table>
|
104
|
+
</body>
|
105
|
+
</html>
|