Wiki2GoEditor 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/Wiki2Go_install_editor.rb +13 -0
- data/fckeditor/editor/_source/classes/fckcontextmenu.js +134 -0
- data/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +46 -0
- data/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +58 -0
- data/fckeditor/editor/_source/classes/fckdomrange.js +452 -0
- data/fckeditor/editor/_source/classes/fckdomrange_gecko.js +71 -0
- data/fckeditor/editor/_source/classes/fckdomrange_ie.js +149 -0
- data/fckeditor/editor/_source/classes/fckeditingarea.js +253 -0
- data/fckeditor/editor/_source/classes/fckelementpath.js +66 -0
- data/fckeditor/editor/_source/classes/fckenterkey.js +556 -0
- data/fckeditor/editor/_source/classes/fckevents.js +53 -0
- data/fckeditor/editor/_source/classes/fckicon.js +98 -0
- data/fckeditor/editor/_source/classes/fckiecleanup.js +68 -0
- data/fckeditor/editor/_source/classes/fckimagepreloader.js +68 -0
- data/fckeditor/editor/_source/classes/fckkeystrokehandler.js +136 -0
- data/fckeditor/editor/_source/classes/fckmenublock.js +143 -0
- data/fckeditor/editor/_source/classes/fckmenublockpanel.js +54 -0
- data/fckeditor/editor/_source/classes/fckmenuitem.js +160 -0
- data/fckeditor/editor/_source/classes/fckpanel.js +303 -0
- data/fckeditor/editor/_source/classes/fckplugin.js +56 -0
- data/fckeditor/editor/_source/classes/fckspecialcombo.js +363 -0
- data/fckeditor/editor/_source/classes/fckstyledef.js +59 -0
- data/fckeditor/editor/_source/classes/fckstyledef_gecko.js +119 -0
- data/fckeditor/editor/_source/classes/fckstyledef_ie.js +142 -0
- data/fckeditor/editor/_source/classes/fckstylesloader.js +88 -0
- data/fckeditor/editor/_source/classes/fcktoolbar.js +120 -0
- data/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +36 -0
- data/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +38 -0
- data/fckeditor/editor/_source/classes/fcktoolbarbutton.js +74 -0
- data/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +222 -0
- data/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +114 -0
- data/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +47 -0
- data/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +52 -0
- data/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +91 -0
- data/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +134 -0
- data/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +111 -0
- data/fckeditor/editor/_source/classes/fckw3crange.js +448 -0
- data/fckeditor/editor/_source/classes/fckxml_gecko.js +87 -0
- data/fckeditor/editor/_source/classes/fckxml_ie.js +90 -0
- data/fckeditor/editor/_source/commandclasses/fck_othercommands.js +380 -0
- data/fckeditor/editor/_source/commandclasses/fckfitwindow.js +169 -0
- data/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +37 -0
- data/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +38 -0
- data/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +40 -0
- data/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +39 -0
- data/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +67 -0
- data/fckeditor/editor/_source/commandclasses/fckstylecommand.js +99 -0
- data/fckeditor/editor/_source/commandclasses/fcktablecommand.js +71 -0
- data/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +175 -0
- data/fckeditor/editor/_source/fckconstants.js +52 -0
- data/fckeditor/editor/_source/fckeditorapi.js +161 -0
- data/fckeditor/editor/_source/fckjscoreextensions.js +152 -0
- data/fckeditor/editor/_source/fckscriptloader.js +108 -0
- data/fckeditor/editor/_source/internals/fck.js +859 -0
- data/fckeditor/editor/_source/internals/fck_contextmenu.js +307 -0
- data/fckeditor/editor/_source/internals/fck_gecko.js +254 -0
- data/fckeditor/editor/_source/internals/fck_ie.js +383 -0
- data/fckeditor/editor/_source/internals/fckbrowserinfo.js +48 -0
- data/fckeditor/editor/_source/internals/fckcodeformatter.js +100 -0
- data/fckeditor/editor/_source/internals/fckcommands.js +132 -0
- data/fckeditor/editor/_source/internals/fckconfig.js +199 -0
- data/fckeditor/editor/_source/internals/fckdebug.js +56 -0
- data/fckeditor/editor/_source/internals/fckdialog.js +38 -0
- data/fckeditor/editor/_source/internals/fckdialog_gecko.js +103 -0
- data/fckeditor/editor/_source/internals/fckdialog_ie.js +48 -0
- data/fckeditor/editor/_source/internals/fckdocumentprocessor.js +243 -0
- data/fckeditor/editor/_source/internals/fckdomtools.js +294 -0
- data/fckeditor/editor/_source/internals/fcklanguagemanager.js +161 -0
- data/fckeditor/editor/_source/internals/fcklisthandler.js +152 -0
- data/fckeditor/editor/_source/internals/fcklistslib.js +60 -0
- data/fckeditor/editor/_source/internals/fckplugins.js +46 -0
- data/fckeditor/editor/_source/internals/fckregexlib.js +95 -0
- data/fckeditor/editor/_source/internals/fckselection.js +24 -0
- data/fckeditor/editor/_source/internals/fckselection_gecko.js +151 -0
- data/fckeditor/editor/_source/internals/fckselection_ie.js +158 -0
- data/fckeditor/editor/_source/internals/fcktablehandler.js +385 -0
- data/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +57 -0
- data/fckeditor/editor/_source/internals/fcktablehandler_ie.js +58 -0
- data/fckeditor/editor/_source/internals/fcktoolbaritems.js +121 -0
- data/fckeditor/editor/_source/internals/fcktoolbarset.js +357 -0
- data/fckeditor/editor/_source/internals/fcktools.js +225 -0
- data/fckeditor/editor/_source/internals/fcktools_gecko.js +235 -0
- data/fckeditor/editor/_source/internals/fcktools_ie.js +214 -0
- data/fckeditor/editor/_source/internals/fckundo_gecko.js +27 -0
- data/fckeditor/editor/_source/internals/fckundo_ie.js +123 -0
- data/fckeditor/editor/_source/internals/fckurlparams.js +39 -0
- data/fckeditor/editor/_source/internals/fckxhtml.js +466 -0
- data/fckeditor/editor/_source/internals/fckxhtml_gecko.js +66 -0
- data/fckeditor/editor/_source/internals/fckxhtml_ie.js +194 -0
- data/fckeditor/editor/_source/internals/fckxhtmlentities.js +345 -0
- data/fckeditor/editor/css/behaviors/disablehandles.htc +15 -0
- data/fckeditor/editor/css/behaviors/showtableborders.htc +36 -0
- data/fckeditor/editor/css/fck_editorarea.css +91 -0
- data/fckeditor/editor/css/fck_internal.css +111 -0
- data/fckeditor/editor/css/fck_showtableborders_gecko.css +42 -0
- data/fckeditor/editor/css/images/fck_anchor.gif +0 -0
- data/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
- data/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
- data/fckeditor/editor/css/images/fck_pagebreak.gif +0 -0
- data/fckeditor/editor/dialog/common/fck_dialog_common.css +83 -0
- data/fckeditor/editor/dialog/common/fck_dialog_common.js +154 -0
- data/fckeditor/editor/dialog/common/fcknumericfield.htc +24 -0
- data/fckeditor/editor/dialog/common/images/locked.gif +0 -0
- data/fckeditor/editor/dialog/common/images/reset.gif +0 -0
- data/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
- data/fckeditor/editor/dialog/common/moz-bindings.xml +30 -0
- data/fckeditor/editor/dialog/fck_about.html +155 -0
- data/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
- data/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
- data/fckeditor/editor/dialog/fck_anchor.html +227 -0
- data/fckeditor/editor/dialog/fck_button.html +107 -0
- data/fckeditor/editor/dialog/fck_checkbox.html +107 -0
- data/fckeditor/editor/dialog/fck_colorselector.html +171 -0
- data/fckeditor/editor/dialog/fck_docprops.html +600 -0
- data/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +113 -0
- data/fckeditor/editor/dialog/fck_find.html +173 -0
- data/fckeditor/editor/dialog/fck_flash.html +146 -0
- data/fckeditor/editor/dialog/fck_flash/fck_flash.js +288 -0
- data/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +46 -0
- data/fckeditor/editor/dialog/fck_form.html +105 -0
- data/fckeditor/editor/dialog/fck_hiddenfield.html +116 -0
- data/fckeditor/editor/dialog/fck_image.html +252 -0
- data/fckeditor/editor/dialog/fck_image/fck_image.js +486 -0
- data/fckeditor/editor/dialog/fck_image/fck_image_preview.html +66 -0
- data/fckeditor/editor/dialog/fck_link.html +293 -0
- data/fckeditor/editor/dialog/fck_link/fck_link.js +664 -0
- data/fckeditor/editor/dialog/fck_listprop.html +116 -0
- data/fckeditor/editor/dialog/fck_paste.html +285 -0
- data/fckeditor/editor/dialog/fck_radiobutton.html +107 -0
- data/fckeditor/editor/dialog/fck_replace.html +156 -0
- data/fckeditor/editor/dialog/fck_select.html +176 -0
- data/fckeditor/editor/dialog/fck_select/fck_select.js +169 -0
- data/fckeditor/editor/dialog/fck_smiley.html +105 -0
- data/fckeditor/editor/dialog/fck_source.html +65 -0
- data/fckeditor/editor/dialog/fck_specialchar.html +113 -0
- data/fckeditor/editor/dialog/fck_spellerpages.html +64 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +87 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +153 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +174 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +196 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +180 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +462 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +71 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +49 -0
- data/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +272 -0
- data/fckeditor/editor/dialog/fck_table.html +286 -0
- data/fckeditor/editor/dialog/fck_tablecell.html +255 -0
- data/fckeditor/editor/dialog/fck_template.html +242 -0
- data/fckeditor/editor/dialog/fck_template/images/template1.gif +0 -0
- data/fckeditor/editor/dialog/fck_template/images/template2.gif +0 -0
- data/fckeditor/editor/dialog/fck_template/images/template3.gif +0 -0
- data/fckeditor/editor/dialog/fck_textarea.html +94 -0
- data/fckeditor/editor/dialog/fck_textfield.html +139 -0
- data/fckeditor/editor/fckdebug.html +153 -0
- data/fckeditor/editor/fckdialog.html +324 -0
- data/fckeditor/editor/fckeditor.html +227 -0
- data/fckeditor/editor/fckeditor.original.html +319 -0
- data/fckeditor/editor/filemanager/browser/default/browser.css +88 -0
- data/fckeditor/editor/filemanager/browser/default/browser.html +154 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/asp/basexml.asp +62 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/asp/class_upload.asp +234 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/asp/commands.asp +183 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/asp/config.asp +49 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/asp/connector.asp +124 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/asp/io.asp +89 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/asp/util.asp +55 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/aspx/connector.aspx +30 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/cfm/config.cfm +99 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/cfm/connector.cfm +363 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/lasso/config.lasso +65 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/lasso/connector.lasso +249 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/perl/basexml.pl +63 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/perl/commands.pl +158 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/perl/connector.cgi +137 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/perl/io.pl +131 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/perl/upload_fck.pl +667 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/perl/util.pl +60 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/php/basexml.php +75 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/php/commands.php +222 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/php/config.php +56 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/php/connector.php +113 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/php/io.php +101 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/php/util.php +41 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/py/connector.py +785 -0
- data/fckeditor/editor/filemanager/browser/default/connectors/test.html +180 -0
- data/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +67 -0
- data/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +113 -0
- data/fckeditor/editor/filemanager/browser/default/frmfolders.html +196 -0
- data/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +160 -0
- data/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +65 -0
- data/fckeditor/editor/filemanager/browser/default/frmupload.html +113 -0
- data/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
- data/fckeditor/editor/filemanager/browser/default/js/common.js +55 -0
- data/fckeditor/editor/filemanager/browser/default/js/fckxml.js +130 -0
- data/fckeditor/editor/filemanager/upload/asp/class_upload.asp +234 -0
- data/fckeditor/editor/filemanager/upload/asp/config.asp +52 -0
- data/fckeditor/editor/filemanager/upload/asp/io.asp +29 -0
- data/fckeditor/editor/filemanager/upload/asp/upload.asp +121 -0
- data/fckeditor/editor/filemanager/upload/aspx/upload.aspx +30 -0
- data/fckeditor/editor/filemanager/upload/cfm/config.cfm +98 -0
- data/fckeditor/editor/filemanager/upload/cfm/upload.cfm +168 -0
- data/fckeditor/editor/filemanager/upload/lasso/config.lasso +65 -0
- data/fckeditor/editor/filemanager/upload/lasso/upload.lasso +157 -0
- data/fckeditor/editor/filemanager/upload/php/config.php +56 -0
- data/fckeditor/editor/filemanager/upload/php/upload.php +124 -0
- data/fckeditor/editor/filemanager/upload/php/util.php +40 -0
- data/fckeditor/editor/filemanager/upload/test.html +133 -0
- data/fckeditor/editor/images/anchor.gif +0 -0
- data/fckeditor/editor/images/arrow_ltr.gif +0 -0
- data/fckeditor/editor/images/arrow_rtl.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
- data/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
- data/fckeditor/editor/images/spacer.gif +0 -0
- data/fckeditor/editor/js/fckeditorcode_gecko.js +98 -0
- data/fckeditor/editor/js/fckeditorcode_ie.js +99 -0
- data/fckeditor/editor/lang/_getfontformat.html +85 -0
- data/fckeditor/editor/lang/_translationstatus.txt +76 -0
- data/fckeditor/editor/lang/af.js +504 -0
- data/fckeditor/editor/lang/ar.js +504 -0
- data/fckeditor/editor/lang/bg.js +504 -0
- data/fckeditor/editor/lang/bn.js +504 -0
- data/fckeditor/editor/lang/bs.js +504 -0
- data/fckeditor/editor/lang/ca.js +504 -0
- data/fckeditor/editor/lang/cs.js +504 -0
- data/fckeditor/editor/lang/da.js +504 -0
- data/fckeditor/editor/lang/de.js +504 -0
- data/fckeditor/editor/lang/el.js +504 -0
- data/fckeditor/editor/lang/en-au.js +504 -0
- data/fckeditor/editor/lang/en-ca.js +504 -0
- data/fckeditor/editor/lang/en-uk.js +504 -0
- data/fckeditor/editor/lang/en.js +504 -0
- data/fckeditor/editor/lang/eo.js +504 -0
- data/fckeditor/editor/lang/es.js +504 -0
- data/fckeditor/editor/lang/et.js +504 -0
- data/fckeditor/editor/lang/eu.js +505 -0
- data/fckeditor/editor/lang/fa.js +504 -0
- data/fckeditor/editor/lang/fi.js +504 -0
- data/fckeditor/editor/lang/fo.js +504 -0
- data/fckeditor/editor/lang/fr.js +504 -0
- data/fckeditor/editor/lang/gl.js +504 -0
- data/fckeditor/editor/lang/he.js +504 -0
- data/fckeditor/editor/lang/hi.js +504 -0
- data/fckeditor/editor/lang/hr.js +504 -0
- data/fckeditor/editor/lang/hu.js +504 -0
- data/fckeditor/editor/lang/it.js +504 -0
- data/fckeditor/editor/lang/ja.js +504 -0
- data/fckeditor/editor/lang/km.js +504 -0
- data/fckeditor/editor/lang/ko.js +504 -0
- data/fckeditor/editor/lang/lt.js +504 -0
- data/fckeditor/editor/lang/lv.js +504 -0
- data/fckeditor/editor/lang/mn.js +504 -0
- data/fckeditor/editor/lang/ms.js +504 -0
- data/fckeditor/editor/lang/nb.js +504 -0
- data/fckeditor/editor/lang/nl.js +504 -0
- data/fckeditor/editor/lang/no.js +504 -0
- data/fckeditor/editor/lang/pl.js +504 -0
- data/fckeditor/editor/lang/pt-br.js +504 -0
- data/fckeditor/editor/lang/pt.js +504 -0
- data/fckeditor/editor/lang/ro.js +504 -0
- data/fckeditor/editor/lang/ru.js +504 -0
- data/fckeditor/editor/lang/sk.js +504 -0
- data/fckeditor/editor/lang/sl.js +504 -0
- data/fckeditor/editor/lang/sr-latn.js +504 -0
- data/fckeditor/editor/lang/sr.js +504 -0
- data/fckeditor/editor/lang/sv.js +504 -0
- data/fckeditor/editor/lang/th.js +504 -0
- data/fckeditor/editor/lang/tr.js +504 -0
- data/fckeditor/editor/lang/uk.js +504 -0
- data/fckeditor/editor/lang/vi.js +504 -0
- data/fckeditor/editor/lang/zh-cn.js +504 -0
- data/fckeditor/editor/lang/zh.js +504 -0
- data/fckeditor/editor/plugins/autogrow/fckplugin.js +92 -0
- data/fckeditor/editor/plugins/placeholder/fck_placeholder.html +100 -0
- data/fckeditor/editor/plugins/placeholder/fckplugin.js +187 -0
- data/fckeditor/editor/plugins/placeholder/lang/de.js +27 -0
- data/fckeditor/editor/plugins/placeholder/lang/en.js +27 -0
- data/fckeditor/editor/plugins/placeholder/lang/fr.js +27 -0
- data/fckeditor/editor/plugins/placeholder/lang/it.js +27 -0
- data/fckeditor/editor/plugins/placeholder/lang/pl.js +27 -0
- data/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
- data/fckeditor/editor/plugins/simplecommands/fckplugin.js +29 -0
- data/fckeditor/editor/plugins/tablecommands/fckplugin.js +32 -0
- data/fckeditor/editor/skins/_fckviewstrips.html +121 -0
- data/fckeditor/editor/skins/default/fck_dialog.css +137 -0
- data/fckeditor/editor/skins/default/fck_editor.css +464 -0
- data/fckeditor/editor/skins/default/fck_strip.gif +0 -0
- data/fckeditor/editor/skins/default/images/toolbar.arrowright.gif +0 -0
- data/fckeditor/editor/skins/default/images/toolbar.buttonarrow.gif +0 -0
- data/fckeditor/editor/skins/default/images/toolbar.collapse.gif +0 -0
- data/fckeditor/editor/skins/default/images/toolbar.end.gif +0 -0
- data/fckeditor/editor/skins/default/images/toolbar.expand.gif +0 -0
- data/fckeditor/editor/skins/default/images/toolbar.separator.gif +0 -0
- data/fckeditor/editor/skins/default/images/toolbar.start.gif +0 -0
- data/fckeditor/editor/skins/office2003/fck_dialog.css +138 -0
- data/fckeditor/editor/skins/office2003/fck_editor.css +476 -0
- data/fckeditor/editor/skins/office2003/fck_strip.gif +0 -0
- data/fckeditor/editor/skins/office2003/images/toolbar.arrowright.gif +0 -0
- data/fckeditor/editor/skins/office2003/images/toolbar.bg.gif +0 -0
- data/fckeditor/editor/skins/office2003/images/toolbar.buttonarrow.gif +0 -0
- data/fckeditor/editor/skins/office2003/images/toolbar.collapse.gif +0 -0
- data/fckeditor/editor/skins/office2003/images/toolbar.end.gif +0 -0
- data/fckeditor/editor/skins/office2003/images/toolbar.expand.gif +0 -0
- data/fckeditor/editor/skins/office2003/images/toolbar.separator.gif +0 -0
- data/fckeditor/editor/skins/office2003/images/toolbar.start.gif +0 -0
- data/fckeditor/editor/skins/silver/fck_dialog.css +141 -0
- data/fckeditor/editor/skins/silver/fck_editor.css +473 -0
- data/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
- data/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
- data/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
- data/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
- data/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
- data/fckeditor/editor/skins/silver/images/toolbar.end.gif +0 -0
- data/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
- data/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
- data/fckeditor/editor/skins/silver/images/toolbar.start.gif +0 -0
- data/fckeditor/fckconfig.js +224 -0
- data/fckeditor/fckeditor.js +214 -0
- data/fckeditor/fckstyles.xml +53 -0
- data/fckeditor/fcktemplates.xml +103 -0
- data/lib/Wiki2GoEditor/Install/editor.rb +39 -0
- data/test/test_install.rb +40 -0
- metadata +517 -0
@@ -0,0 +1,156 @@
|
|
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-2007 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
|
+
* "Replace" dialog box window.
|
23
|
+
-->
|
24
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
25
|
+
<head>
|
26
|
+
<title></title>
|
27
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28
|
+
<meta content="noindex, nofollow" name="robots" />
|
29
|
+
<script type="text/javascript">
|
30
|
+
|
31
|
+
var oEditor = window.parent.InnerDialogLoaded() ;
|
32
|
+
|
33
|
+
function OnLoad()
|
34
|
+
{
|
35
|
+
// First of all, translate the dialog box texts
|
36
|
+
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
37
|
+
|
38
|
+
window.parent.SetAutoSize( true ) ;
|
39
|
+
|
40
|
+
oEditor.FCKUndo.SaveUndoStep() ;
|
41
|
+
}
|
42
|
+
|
43
|
+
function btnStat(frm)
|
44
|
+
{
|
45
|
+
document.getElementById('btnReplace').disabled =
|
46
|
+
document.getElementById('btnReplaceAll').disabled =
|
47
|
+
( document.getElementById('txtFind').value.length == 0 ) ;
|
48
|
+
}
|
49
|
+
|
50
|
+
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll, hasFound )
|
51
|
+
{
|
52
|
+
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
|
53
|
+
{
|
54
|
+
var oNode = parentNode.childNodes[i] ;
|
55
|
+
if ( oNode.nodeType == 3 )
|
56
|
+
{
|
57
|
+
var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
|
58
|
+
if ( oNode.nodeValue != sReplaced )
|
59
|
+
{
|
60
|
+
oNode.nodeValue = sReplaced ;
|
61
|
+
if ( ! replaceAll )
|
62
|
+
return true ;
|
63
|
+
hasFound = true ;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
hasFound = ReplaceTextNodes( oNode, regex, replaceValue, replaceAll, hasFound ) ;
|
68
|
+
if ( ! replaceAll && hasFound )
|
69
|
+
return true ;
|
70
|
+
}
|
71
|
+
|
72
|
+
return hasFound ;
|
73
|
+
}
|
74
|
+
|
75
|
+
function GetRegexExpr()
|
76
|
+
{
|
77
|
+
var sExpr = EscapeRegexString( document.getElementById('txtFind').value ) ;
|
78
|
+
|
79
|
+
if ( document.getElementById('chkWord').checked )
|
80
|
+
sExpr = '\\b' + sExpr + '\\b' ;
|
81
|
+
|
82
|
+
return sExpr ;
|
83
|
+
}
|
84
|
+
|
85
|
+
function GetCase()
|
86
|
+
{
|
87
|
+
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
|
88
|
+
}
|
89
|
+
|
90
|
+
function GetReplacement()
|
91
|
+
{
|
92
|
+
return document.getElementById('txtReplace').value.replace( /\$/g, '$$$$' ) ;
|
93
|
+
}
|
94
|
+
|
95
|
+
function EscapeRegexString( str )
|
96
|
+
{
|
97
|
+
return str.replace( /[\\\^\$\*\+\?\{\}\.\(\)\!\|\[\]\-]/g, '\\$&' ) ;
|
98
|
+
}
|
99
|
+
|
100
|
+
function Replace()
|
101
|
+
{
|
102
|
+
var oRegex = new RegExp( GetRegexExpr(), GetCase() ) ;
|
103
|
+
if ( !ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, GetReplacement(), false, false ) )
|
104
|
+
alert( oEditor.FCKLang.DlgFindNotFoundMsg ) ;
|
105
|
+
}
|
106
|
+
|
107
|
+
function ReplaceAll()
|
108
|
+
{
|
109
|
+
var oRegex = new RegExp( GetRegexExpr(), GetCase() + 'g' ) ;
|
110
|
+
if ( !ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, GetReplacement(), true, false ) )
|
111
|
+
alert( oEditor.FCKLang.DlgFindNotFoundMsg ) ;
|
112
|
+
window.parent.Cancel() ;
|
113
|
+
}
|
114
|
+
</script>
|
115
|
+
</head>
|
116
|
+
<body onload="OnLoad()" style="overflow: hidden">
|
117
|
+
<table cellspacing="3" cellpadding="2" width="100%" border="0">
|
118
|
+
<tr>
|
119
|
+
<td nowrap="nowrap">
|
120
|
+
<label for="txtFind" fcklang="DlgReplaceFindLbl">
|
121
|
+
Find what:</label>
|
122
|
+
</td>
|
123
|
+
<td width="100%">
|
124
|
+
<input id="txtFind" onkeyup="btnStat(this.form)" style="width: 100%" tabindex="1"
|
125
|
+
type="text" />
|
126
|
+
</td>
|
127
|
+
<td>
|
128
|
+
<input id="btnReplace" style="width: 100%" disabled="disabled" onclick="Replace();"
|
129
|
+
type="button" value="Replace" fcklang="DlgReplaceReplaceBtn" />
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td valign="top" nowrap="nowrap">
|
134
|
+
<label for="txtReplace" fcklang="DlgReplaceReplaceLbl">
|
135
|
+
Replace with:</label>
|
136
|
+
</td>
|
137
|
+
<td valign="top">
|
138
|
+
<input id="txtReplace" style="width: 100%" tabindex="2" type="text" />
|
139
|
+
</td>
|
140
|
+
<td>
|
141
|
+
<input id="btnReplaceAll" disabled="disabled" onclick="ReplaceAll()" type="button"
|
142
|
+
value="Replace All" fcklang="DlgReplaceReplAllBtn" />
|
143
|
+
</td>
|
144
|
+
</tr>
|
145
|
+
<tr>
|
146
|
+
<td valign="bottom" colspan="3">
|
147
|
+
<input id="chkCase" tabindex="3" type="checkbox" /><label for="chkCase" fcklang="DlgReplaceCaseChk">Match
|
148
|
+
case</label>
|
149
|
+
<br />
|
150
|
+
<input id="chkWord" tabindex="4" type="checkbox" /><label for="chkWord" fcklang="DlgReplaceWordChk">Match
|
151
|
+
whole word</label>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
</table>
|
155
|
+
</body>
|
156
|
+
</html>
|
@@ -0,0 +1,176 @@
|
|
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-2007 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
|
+
* Select dialog window.
|
23
|
+
-->
|
24
|
+
<html>
|
25
|
+
<head>
|
26
|
+
<title>Select 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" src="fck_select/fck_select.js"></script>
|
31
|
+
<script type="text/javascript">
|
32
|
+
|
33
|
+
var oEditor = window.parent.InnerDialogLoaded() ;
|
34
|
+
|
35
|
+
// Gets the document DOM
|
36
|
+
var oDOM = oEditor.FCK.EditorDocument ;
|
37
|
+
|
38
|
+
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
|
39
|
+
|
40
|
+
var oListText ;
|
41
|
+
var oListValue ;
|
42
|
+
|
43
|
+
window.onload = function()
|
44
|
+
{
|
45
|
+
// First of all, translate the dialog box texts
|
46
|
+
oEditor.FCKLanguageManager.TranslatePage(document) ;
|
47
|
+
|
48
|
+
oListText = document.getElementById( 'cmbText' ) ;
|
49
|
+
oListValue = document.getElementById( 'cmbValue' ) ;
|
50
|
+
|
51
|
+
if ( oActiveEl && oActiveEl.tagName == 'SELECT' )
|
52
|
+
{
|
53
|
+
GetE('txtName').value = oActiveEl.name ;
|
54
|
+
GetE('txtSelValue').value = oActiveEl.value ;
|
55
|
+
GetE('txtLines').value = GetAttribute( oActiveEl, 'size' ) ;
|
56
|
+
GetE('chkMultiple').checked = oActiveEl.multiple ;
|
57
|
+
|
58
|
+
// Load the actual options
|
59
|
+
for ( var i = 0 ; i < oActiveEl.options.length ; i++ )
|
60
|
+
{
|
61
|
+
var sText = oActiveEl.options[i].innerHTML ;
|
62
|
+
var sValue = oActiveEl.options[i].value ;
|
63
|
+
|
64
|
+
AddComboOption( oListText, sText, sText ) ;
|
65
|
+
AddComboOption( oListValue, sValue, sValue ) ;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
else
|
69
|
+
oActiveEl = null ;
|
70
|
+
|
71
|
+
window.parent.SetOkButton( true ) ;
|
72
|
+
}
|
73
|
+
|
74
|
+
function Ok()
|
75
|
+
{
|
76
|
+
var sSize = GetE('txtLines').value ;
|
77
|
+
if ( sSize == null || isNaN( sSize ) || sSize <= 1 )
|
78
|
+
sSize = '' ;
|
79
|
+
|
80
|
+
if ( !oActiveEl )
|
81
|
+
{
|
82
|
+
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'SELECT' ) ;
|
83
|
+
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
|
84
|
+
}
|
85
|
+
|
86
|
+
SetAttribute( oActiveEl, 'name' , GetE('txtName').value ) ;
|
87
|
+
SetAttribute( oActiveEl, 'size' , sSize ) ;
|
88
|
+
oActiveEl.multiple = ( sSize.length > 0 && GetE('chkMultiple').checked ) ;
|
89
|
+
|
90
|
+
// Remove all options.
|
91
|
+
while ( oActiveEl.options.length > 0 )
|
92
|
+
oActiveEl.remove(0) ;
|
93
|
+
|
94
|
+
// Add all available options.
|
95
|
+
for ( var i = 0 ; i < oListText.options.length ; i++ )
|
96
|
+
{
|
97
|
+
var sText = oListText.options[i].value ;
|
98
|
+
var sValue = oListValue.options[i].value ;
|
99
|
+
if ( sValue.length == 0 ) sValue = sText ;
|
100
|
+
|
101
|
+
var oOption = AddComboOption( oActiveEl, sText, sValue, oDOM ) ;
|
102
|
+
|
103
|
+
if ( sValue == GetE('txtSelValue').value )
|
104
|
+
{
|
105
|
+
SetAttribute( oOption, 'selected', 'selected' ) ;
|
106
|
+
oOption.selected = true ;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
return true ;
|
111
|
+
}
|
112
|
+
|
113
|
+
</script>
|
114
|
+
</head>
|
115
|
+
<body style='OVERFLOW: hidden' scroll='no'>
|
116
|
+
<table width="100%" height="100%">
|
117
|
+
<tr>
|
118
|
+
<td>
|
119
|
+
<table width="100%">
|
120
|
+
<tr>
|
121
|
+
<td nowrap><span fckLang="DlgSelectName">Name</span> </td>
|
122
|
+
<td width="100%" colSpan="2"><input id="txtName" style="WIDTH: 100%" type="text"></td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td nowrap><span fckLang="DlgSelectValue">Value</span> </td>
|
126
|
+
<td width="100%" colSpan="2"><input id="txtSelValue" style="WIDTH: 100%; BACKGROUND-COLOR: buttonface" type="text" readonly></td>
|
127
|
+
</tr>
|
128
|
+
<tr>
|
129
|
+
<td nowrap><span fckLang="DlgSelectSize">Size</span> </td>
|
130
|
+
<td nowrap><input id="txtLines" type="text" size="2" value=""> <span fckLang="DlgSelectLines">lines</span></td>
|
131
|
+
<td nowrap align="right"><input id="chkMultiple" name="chkMultiple" type="checkbox"><label for="chkMultiple" fckLang="DlgSelectChkMulti">Allow
|
132
|
+
multiple selections</label></td>
|
133
|
+
</tr>
|
134
|
+
</table>
|
135
|
+
<br>
|
136
|
+
<hr style="POSITION: absolute">
|
137
|
+
<span style="LEFT: 10px; POSITION: relative; TOP: -7px" class="BackColor"> <span fckLang="DlgSelectOpAvail">Available
|
138
|
+
Options</span> </span>
|
139
|
+
<table width="100%">
|
140
|
+
<tr>
|
141
|
+
<td width="50%"><span fckLang="DlgSelectOpText">Text</span><br>
|
142
|
+
<input id="txtText" style="WIDTH: 100%" type="text" name="txtText">
|
143
|
+
</td>
|
144
|
+
<td width="50%"><span fckLang="DlgSelectOpValue">Value</span><br>
|
145
|
+
<input id="txtValue" style="WIDTH: 100%" type="text" name="txtValue">
|
146
|
+
</td>
|
147
|
+
<td vAlign="bottom"><input onclick="Add();" type="button" fckLang="DlgSelectBtnAdd" value="Add"></td>
|
148
|
+
<td vAlign="bottom"><input onclick="Modify();" type="button" fckLang="DlgSelectBtnModify" value="Modify"></td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td rowSpan="2"><select id="cmbText" style="WIDTH: 100%" onchange="GetE('cmbValue').selectedIndex = this.selectedIndex;Select(this);"
|
152
|
+
size="5" name="cmbText"></select>
|
153
|
+
</td>
|
154
|
+
<td rowSpan="2"><select id="cmbValue" style="WIDTH: 100%" onchange="GetE('cmbText').selectedIndex = this.selectedIndex;Select(this);"
|
155
|
+
size="5" name="cmbValue"></select>
|
156
|
+
</td>
|
157
|
+
<td vAlign="top" colSpan="2">
|
158
|
+
</td>
|
159
|
+
</tr>
|
160
|
+
<tr>
|
161
|
+
<td vAlign="bottom" colSpan="2"><input style="WIDTH: 100%" onclick="Move(-1);" type="button" fckLang="DlgSelectBtnUp" value="Up">
|
162
|
+
<br>
|
163
|
+
<input style="WIDTH: 100%" onclick="Move(1);" type="button" fckLang="DlgSelectBtnDown"
|
164
|
+
value="Down">
|
165
|
+
</td>
|
166
|
+
</tr>
|
167
|
+
<TR>
|
168
|
+
<TD vAlign="bottom" colSpan="4"><INPUT onclick="SetSelectedValue();" type="button" fckLang="DlgSelectBtnSetValue" value="Set as selected value">
|
169
|
+
<input onclick="Delete();" type="button" fckLang="DlgSelectBtnDelete" value="Delete"></TD>
|
170
|
+
</TR>
|
171
|
+
</table>
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
</table>
|
175
|
+
</body>
|
176
|
+
</html>
|
@@ -0,0 +1,169 @@
|
|
1
|
+
/*
|
2
|
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3
|
+
* Copyright (C) 2003-2007 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 for the fck_select.html page.
|
22
|
+
*/
|
23
|
+
|
24
|
+
function Select( combo )
|
25
|
+
{
|
26
|
+
var iIndex = combo.selectedIndex ;
|
27
|
+
|
28
|
+
oListText.selectedIndex = iIndex ;
|
29
|
+
oListValue.selectedIndex = iIndex ;
|
30
|
+
|
31
|
+
var oTxtText = document.getElementById( "txtText" ) ;
|
32
|
+
var oTxtValue = document.getElementById( "txtValue" ) ;
|
33
|
+
|
34
|
+
oTxtText.value = oListText.value ;
|
35
|
+
oTxtValue.value = oListValue.value ;
|
36
|
+
}
|
37
|
+
|
38
|
+
function Add()
|
39
|
+
{
|
40
|
+
var oTxtText = document.getElementById( "txtText" ) ;
|
41
|
+
var oTxtValue = document.getElementById( "txtValue" ) ;
|
42
|
+
|
43
|
+
AddComboOption( oListText, oTxtText.value, oTxtText.value ) ;
|
44
|
+
AddComboOption( oListValue, oTxtValue.value, oTxtValue.value ) ;
|
45
|
+
|
46
|
+
oListText.selectedIndex = oListText.options.length - 1 ;
|
47
|
+
oListValue.selectedIndex = oListValue.options.length - 1 ;
|
48
|
+
|
49
|
+
oTxtText.value = '' ;
|
50
|
+
oTxtValue.value = '' ;
|
51
|
+
|
52
|
+
oTxtText.focus() ;
|
53
|
+
}
|
54
|
+
|
55
|
+
function Modify()
|
56
|
+
{
|
57
|
+
var iIndex = oListText.selectedIndex ;
|
58
|
+
|
59
|
+
if ( iIndex < 0 ) return ;
|
60
|
+
|
61
|
+
var oTxtText = document.getElementById( "txtText" ) ;
|
62
|
+
var oTxtValue = document.getElementById( "txtValue" ) ;
|
63
|
+
|
64
|
+
oListText.options[ iIndex ].innerHTML = oTxtText.value ;
|
65
|
+
oListText.options[ iIndex ].value = oTxtText.value ;
|
66
|
+
|
67
|
+
oListValue.options[ iIndex ].innerHTML = oTxtValue.value ;
|
68
|
+
oListValue.options[ iIndex ].value = oTxtValue.value ;
|
69
|
+
|
70
|
+
oTxtText.value = '' ;
|
71
|
+
oTxtValue.value = '' ;
|
72
|
+
|
73
|
+
oTxtText.focus() ;
|
74
|
+
}
|
75
|
+
|
76
|
+
function Move( steps )
|
77
|
+
{
|
78
|
+
ChangeOptionPosition( oListText, steps ) ;
|
79
|
+
ChangeOptionPosition( oListValue, steps ) ;
|
80
|
+
}
|
81
|
+
|
82
|
+
function Delete()
|
83
|
+
{
|
84
|
+
RemoveSelectedOptions( oListText ) ;
|
85
|
+
RemoveSelectedOptions( oListValue ) ;
|
86
|
+
}
|
87
|
+
|
88
|
+
function SetSelectedValue()
|
89
|
+
{
|
90
|
+
var iIndex = oListValue.selectedIndex ;
|
91
|
+
if ( iIndex < 0 ) return ;
|
92
|
+
|
93
|
+
var oTxtValue = document.getElementById( "txtSelValue" ) ;
|
94
|
+
|
95
|
+
oTxtValue.value = oListValue.options[ iIndex ].value ;
|
96
|
+
}
|
97
|
+
|
98
|
+
// Moves the selected option by a number of steps (also negative)
|
99
|
+
function ChangeOptionPosition( combo, steps )
|
100
|
+
{
|
101
|
+
var iActualIndex = combo.selectedIndex ;
|
102
|
+
|
103
|
+
if ( iActualIndex < 0 )
|
104
|
+
return ;
|
105
|
+
|
106
|
+
var iFinalIndex = iActualIndex + steps ;
|
107
|
+
|
108
|
+
if ( iFinalIndex < 0 )
|
109
|
+
iFinalIndex = 0 ;
|
110
|
+
|
111
|
+
if ( iFinalIndex > ( combo.options.length - 1 ) )
|
112
|
+
iFinalIndex = combo.options.length - 1 ;
|
113
|
+
|
114
|
+
if ( iActualIndex == iFinalIndex )
|
115
|
+
return ;
|
116
|
+
|
117
|
+
var oOption = combo.options[ iActualIndex ] ;
|
118
|
+
var sText = oOption.innerHTML ;
|
119
|
+
var sValue = oOption.value ;
|
120
|
+
|
121
|
+
combo.remove( iActualIndex ) ;
|
122
|
+
|
123
|
+
oOption = AddComboOption( combo, sText, sValue, null, iFinalIndex ) ;
|
124
|
+
|
125
|
+
oOption.selected = true ;
|
126
|
+
}
|
127
|
+
|
128
|
+
// Remove all selected options from a SELECT object
|
129
|
+
function RemoveSelectedOptions(combo)
|
130
|
+
{
|
131
|
+
// Save the selected index
|
132
|
+
var iSelectedIndex = combo.selectedIndex ;
|
133
|
+
|
134
|
+
var oOptions = combo.options ;
|
135
|
+
|
136
|
+
// Remove all selected options
|
137
|
+
for ( var i = oOptions.length - 1 ; i >= 0 ; i-- )
|
138
|
+
{
|
139
|
+
if (oOptions[i].selected) combo.remove(i) ;
|
140
|
+
}
|
141
|
+
|
142
|
+
// Reset the selection based on the original selected index
|
143
|
+
if ( combo.options.length > 0 )
|
144
|
+
{
|
145
|
+
if ( iSelectedIndex >= combo.options.length ) iSelectedIndex = combo.options.length - 1 ;
|
146
|
+
combo.selectedIndex = iSelectedIndex ;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
// Add a new option to a SELECT object (combo or list)
|
151
|
+
function AddComboOption( combo, optionText, optionValue, documentObject, index )
|
152
|
+
{
|
153
|
+
var oOption ;
|
154
|
+
|
155
|
+
if ( documentObject )
|
156
|
+
oOption = documentObject.createElement("OPTION") ;
|
157
|
+
else
|
158
|
+
oOption = document.createElement("OPTION") ;
|
159
|
+
|
160
|
+
if ( index != null )
|
161
|
+
combo.options.add( oOption, index ) ;
|
162
|
+
else
|
163
|
+
combo.options.add( oOption ) ;
|
164
|
+
|
165
|
+
oOption.innerHTML = optionText.length > 0 ? optionText : ' ' ;
|
166
|
+
oOption.value = optionValue ;
|
167
|
+
|
168
|
+
return oOption ;
|
169
|
+
}
|