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,107 @@
|
|
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
|
+
* Button dialog window.
|
23
|
+
-->
|
24
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
25
|
+
<head>
|
26
|
+
<title>Button Properties</title>
|
27
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28
|
+
<meta content="noindex, nofollow" name="robots" />
|
29
|
+
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
|
30
|
+
<script type="text/javascript">
|
31
|
+
|
32
|
+
var oEditor = window.parent.InnerDialogLoaded() ;
|
33
|
+
|
34
|
+
// Gets the document DOM
|
35
|
+
var oDOM = oEditor.FCK.EditorDocument ;
|
36
|
+
|
37
|
+
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
|
38
|
+
|
39
|
+
window.onload = function()
|
40
|
+
{
|
41
|
+
// First of all, translate the dialog box texts
|
42
|
+
oEditor.FCKLanguageManager.TranslatePage(document) ;
|
43
|
+
|
44
|
+
if ( oActiveEl && oActiveEl.tagName.toUpperCase() == "INPUT" && ( oActiveEl.type == "button" || oActiveEl.type == "submit" || oActiveEl.type == "reset" ) )
|
45
|
+
{
|
46
|
+
GetE('txtName').value = oActiveEl.name ;
|
47
|
+
GetE('txtValue').value = oActiveEl.value ;
|
48
|
+
GetE('txtType').value = oActiveEl.type ;
|
49
|
+
|
50
|
+
GetE('txtType').disabled = true ;
|
51
|
+
}
|
52
|
+
else
|
53
|
+
oActiveEl = null ;
|
54
|
+
|
55
|
+
window.parent.SetOkButton( true ) ;
|
56
|
+
}
|
57
|
+
|
58
|
+
function Ok()
|
59
|
+
{
|
60
|
+
if ( !oActiveEl )
|
61
|
+
{
|
62
|
+
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' ) ;
|
63
|
+
oActiveEl.type = GetE('txtType').value ;
|
64
|
+
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
|
65
|
+
}
|
66
|
+
|
67
|
+
oActiveEl.name = GetE('txtName').value ;
|
68
|
+
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
|
69
|
+
|
70
|
+
return true ;
|
71
|
+
}
|
72
|
+
|
73
|
+
</script>
|
74
|
+
</head>
|
75
|
+
<body style="overflow: hidden">
|
76
|
+
<table width="100%" style="height: 100%">
|
77
|
+
<tr>
|
78
|
+
<td align="center">
|
79
|
+
<table border="0" cellpadding="0" cellspacing="0" width="80%">
|
80
|
+
<tr>
|
81
|
+
<td colspan="">
|
82
|
+
<span fcklang="DlgCheckboxName">Name</span><br />
|
83
|
+
<input type="text" size="20" id="txtName" style="width: 100%" />
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td>
|
88
|
+
<span fcklang="DlgButtonText">Text (Value)</span><br />
|
89
|
+
<input type="text" id="txtValue" style="width: 100%" />
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td>
|
94
|
+
<span fcklang="DlgButtonType">Type</span><br />
|
95
|
+
<select id="txtType">
|
96
|
+
<option fcklang="DlgButtonTypeBtn" value="button" selected="selected">Button</option>
|
97
|
+
<option fcklang="DlgButtonTypeSbm" value="submit">Submit</option>
|
98
|
+
<option fcklang="DlgButtonTypeRst" value="reset">Reset</option>
|
99
|
+
</select>
|
100
|
+
</td>
|
101
|
+
</tr>
|
102
|
+
</table>
|
103
|
+
</td>
|
104
|
+
</tr>
|
105
|
+
</table>
|
106
|
+
</body>
|
107
|
+
</html>
|
@@ -0,0 +1,107 @@
|
|
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
|
+
* Checkbox dialog window.
|
23
|
+
-->
|
24
|
+
<html>
|
25
|
+
<head>
|
26
|
+
<title>Checkbox Properties</title>
|
27
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
28
|
+
<meta content="noindex, nofollow" name="robots">
|
29
|
+
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
|
30
|
+
<script type="text/javascript">
|
31
|
+
|
32
|
+
var oEditor = window.parent.InnerDialogLoaded() ;
|
33
|
+
|
34
|
+
// Gets the document DOM
|
35
|
+
var oDOM = oEditor.FCK.EditorDocument ;
|
36
|
+
|
37
|
+
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
|
38
|
+
|
39
|
+
window.onload = function()
|
40
|
+
{
|
41
|
+
// First of all, translate the dialog box texts
|
42
|
+
oEditor.FCKLanguageManager.TranslatePage(document) ;
|
43
|
+
|
44
|
+
if ( oActiveEl && oActiveEl.tagName == 'INPUT' && oActiveEl.type == 'checkbox' )
|
45
|
+
{
|
46
|
+
GetE('txtName').value = oActiveEl.name ;
|
47
|
+
GetE('txtValue').value = oEditor.FCKBrowserInfo.IsIE ? oActiveEl.value : GetAttribute( oActiveEl, 'value' ) ;
|
48
|
+
GetE('txtSelected').checked = oActiveEl.checked ;
|
49
|
+
}
|
50
|
+
else
|
51
|
+
oActiveEl = null ;
|
52
|
+
|
53
|
+
window.parent.SetOkButton( true ) ;
|
54
|
+
}
|
55
|
+
|
56
|
+
function Ok()
|
57
|
+
{
|
58
|
+
if ( !oActiveEl )
|
59
|
+
{
|
60
|
+
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' ) ;
|
61
|
+
oActiveEl.type = 'checkbox' ;
|
62
|
+
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
|
63
|
+
}
|
64
|
+
|
65
|
+
if ( GetE('txtName').value.length > 0 )
|
66
|
+
oActiveEl.name = GetE('txtName').value ;
|
67
|
+
|
68
|
+
if ( oEditor.FCKBrowserInfo.IsIE )
|
69
|
+
oActiveEl.value = GetE('txtValue').value ;
|
70
|
+
else
|
71
|
+
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
|
72
|
+
|
73
|
+
var bIsChecked = GetE('txtSelected').checked ;
|
74
|
+
SetAttribute( oActiveEl, 'checked', bIsChecked ? 'checked' : null ) ; // For Firefox
|
75
|
+
oActiveEl.checked = bIsChecked ;
|
76
|
+
|
77
|
+
return true ;
|
78
|
+
}
|
79
|
+
|
80
|
+
</script>
|
81
|
+
</head>
|
82
|
+
<body style="OVERFLOW: hidden" scroll="no">
|
83
|
+
<table height="100%" width="100%">
|
84
|
+
<tr>
|
85
|
+
<td align="center">
|
86
|
+
<table border="0" cellpadding="0" cellspacing="0" width="80%">
|
87
|
+
<tr>
|
88
|
+
<td>
|
89
|
+
<span fckLang="DlgCheckboxName">Name</span><br>
|
90
|
+
<input type="text" size="20" id="txtName" style="WIDTH: 100%">
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<td>
|
95
|
+
<span fckLang="DlgCheckboxValue">Value</span><br>
|
96
|
+
<input type="text" size="20" id="txtValue" style="WIDTH: 100%">
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td><input type="checkbox" id="txtSelected"><label for="txtSelected" fckLang="DlgCheckboxSelected">Checked</label></td>
|
101
|
+
</tr>
|
102
|
+
</table>
|
103
|
+
</td>
|
104
|
+
</tr>
|
105
|
+
</table>
|
106
|
+
</body>
|
107
|
+
</html>
|
@@ -0,0 +1,171 @@
|
|
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
|
+
* Color Selection dialog window.
|
23
|
+
-->
|
24
|
+
<html>
|
25
|
+
<head>
|
26
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
27
|
+
<meta name="robots" content="noindex, nofollow" />
|
28
|
+
<style TYPE="text/css">
|
29
|
+
#ColorTable { cursor: pointer ; cursor: hand ; }
|
30
|
+
#hicolor { height: 74px ; width: 74px ; border-width: 1px ; border-style: solid ; }
|
31
|
+
#hicolortext { width: 75px ; text-align: right ; margin-bottom: 7px ; }
|
32
|
+
#selhicolor { height: 20px ; width: 74px ; border-width: 1px ; border-style: solid ; }
|
33
|
+
#selcolor { width: 75px ; height: 20px ; margin-top: 0px ; margin-bottom: 7px ; }
|
34
|
+
#btnClear { width: 75px ; height: 22px ; margin-bottom: 6px ; }
|
35
|
+
.ColorCell { height: 15px ; width: 15px ; }
|
36
|
+
</style>
|
37
|
+
<script type="text/javascript">
|
38
|
+
|
39
|
+
var oEditor = window.parent.InnerDialogLoaded() ;
|
40
|
+
|
41
|
+
function OnLoad()
|
42
|
+
{
|
43
|
+
// First of all, translate the dialog box texts
|
44
|
+
oEditor.FCKLanguageManager.TranslatePage(document) ;
|
45
|
+
|
46
|
+
CreateColorTable() ;
|
47
|
+
|
48
|
+
window.parent.SetOkButton( true ) ;
|
49
|
+
window.parent.SetAutoSize( true ) ;
|
50
|
+
}
|
51
|
+
|
52
|
+
function CreateColorTable()
|
53
|
+
{
|
54
|
+
// Get the target table.
|
55
|
+
var oTable = document.getElementById('ColorTable') ;
|
56
|
+
|
57
|
+
// Create the base colors array.
|
58
|
+
var aColors = ['00','33','66','99','cc','ff'] ;
|
59
|
+
|
60
|
+
// This function combines two ranges of three values from the color array into a row.
|
61
|
+
function AppendColorRow( rangeA, rangeB )
|
62
|
+
{
|
63
|
+
for ( var i = rangeA ; i < rangeA + 3 ; i++ )
|
64
|
+
{
|
65
|
+
var oRow = oTable.insertRow(-1) ;
|
66
|
+
|
67
|
+
for ( var j = rangeB ; j < rangeB + 3 ; j++ )
|
68
|
+
{
|
69
|
+
for ( var n = 0 ; n < 6 ; n++ )
|
70
|
+
{
|
71
|
+
AppendColorCell( oRow, '#' + aColors[j] + aColors[n] + aColors[i] ) ;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
// This function create a single color cell in the color table.
|
78
|
+
function AppendColorCell( targetRow, color )
|
79
|
+
{
|
80
|
+
var oCell = targetRow.insertCell(-1) ;
|
81
|
+
oCell.className = 'ColorCell' ;
|
82
|
+
oCell.bgColor = color ;
|
83
|
+
|
84
|
+
oCell.onmouseover = function()
|
85
|
+
{
|
86
|
+
document.getElementById('hicolor').style.backgroundColor = this.bgColor ;
|
87
|
+
document.getElementById('hicolortext').innerHTML = this.bgColor ;
|
88
|
+
}
|
89
|
+
|
90
|
+
oCell.onclick = function()
|
91
|
+
{
|
92
|
+
document.getElementById('selhicolor').style.backgroundColor = this.bgColor ;
|
93
|
+
document.getElementById('selcolor').value = this.bgColor ;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
AppendColorRow( 0, 0 ) ;
|
98
|
+
AppendColorRow( 3, 0 ) ;
|
99
|
+
AppendColorRow( 0, 3 ) ;
|
100
|
+
AppendColorRow( 3, 3 ) ;
|
101
|
+
|
102
|
+
// Create the last row.
|
103
|
+
var oRow = oTable.insertRow(-1) ;
|
104
|
+
|
105
|
+
// Create the gray scale colors cells.
|
106
|
+
for ( var n = 0 ; n < 6 ; n++ )
|
107
|
+
{
|
108
|
+
AppendColorCell( oRow, '#' + aColors[n] + aColors[n] + aColors[n] ) ;
|
109
|
+
}
|
110
|
+
|
111
|
+
// Fill the row with black cells.
|
112
|
+
for ( var i = 0 ; i < 12 ; i++ )
|
113
|
+
{
|
114
|
+
AppendColorCell( oRow, '#000000' ) ;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
function Clear()
|
119
|
+
{
|
120
|
+
document.getElementById('selhicolor').style.backgroundColor = '' ;
|
121
|
+
document.getElementById('selcolor').value = '' ;
|
122
|
+
}
|
123
|
+
|
124
|
+
function ClearActual()
|
125
|
+
{
|
126
|
+
document.getElementById('hicolor').style.backgroundColor = '' ;
|
127
|
+
document.getElementById('hicolortext').innerHTML = ' ' ;
|
128
|
+
}
|
129
|
+
|
130
|
+
function UpdateColor()
|
131
|
+
{
|
132
|
+
try { document.getElementById('selhicolor').style.backgroundColor = document.getElementById('selcolor').value ; }
|
133
|
+
catch (e) { Clear() ; }
|
134
|
+
}
|
135
|
+
|
136
|
+
function Ok()
|
137
|
+
{
|
138
|
+
if ( typeof(window.parent.dialogArguments.CustomValue) == 'function' )
|
139
|
+
window.parent.dialogArguments.CustomValue( document.getElementById('selcolor').value ) ;
|
140
|
+
|
141
|
+
return true ;
|
142
|
+
}
|
143
|
+
</script>
|
144
|
+
</head>
|
145
|
+
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
|
146
|
+
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
|
147
|
+
<tr>
|
148
|
+
<td align="center" valign="middle">
|
149
|
+
<table border="0" cellspacing="5" cellpadding="0" width="100%">
|
150
|
+
<tr>
|
151
|
+
<td valign="top" align="center" nowrap width="100%">
|
152
|
+
<table id="ColorTable" border="0" cellspacing="0" cellpadding="0" width="270" onmouseout="ClearActual();">
|
153
|
+
</table>
|
154
|
+
</td>
|
155
|
+
<td valign="top" align="left" nowrap>
|
156
|
+
<span fckLang="DlgColorHighlight">Highlight</span>
|
157
|
+
<div id="hicolor"></div>
|
158
|
+
<div id="hicolortext"> </div>
|
159
|
+
<span fckLang="DlgColorSelected">Selected</span>
|
160
|
+
<div id="selhicolor"></div>
|
161
|
+
<input id="selcolor" type="text" maxlength="20" onchange="UpdateColor();">
|
162
|
+
<br>
|
163
|
+
<input id="btnClear" type="button" fckLang="DlgColorBtnClear" value="Clear" onclick="Clear();" />
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
</table>
|
167
|
+
</td>
|
168
|
+
</tr>
|
169
|
+
</table>
|
170
|
+
</body>
|
171
|
+
</html>
|
@@ -0,0 +1,600 @@
|
|
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
|
+
* Link dialog 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 src="common/fck_dialog_common.js" type="text/javascript"></script>
|
30
|
+
<script type="text/javascript">
|
31
|
+
|
32
|
+
var oEditor = window.parent.InnerDialogLoaded() ;
|
33
|
+
var FCK = oEditor.FCK ;
|
34
|
+
var FCKLang = oEditor.FCKLang ;
|
35
|
+
var FCKConfig = oEditor.FCKConfig ;
|
36
|
+
|
37
|
+
//#### Dialog Tabs
|
38
|
+
|
39
|
+
// Set the dialog tabs.
|
40
|
+
window.parent.AddTab( 'General' , FCKLang.DlgDocGeneralTab ) ;
|
41
|
+
window.parent.AddTab( 'Background' , FCKLang.DlgDocBackTab ) ;
|
42
|
+
window.parent.AddTab( 'Colors' , FCKLang.DlgDocColorsTab ) ;
|
43
|
+
window.parent.AddTab( 'Meta' , FCKLang.DlgDocMetaTab ) ;
|
44
|
+
|
45
|
+
// Function called when a dialog tag is selected.
|
46
|
+
function OnDialogTabChange( tabCode )
|
47
|
+
{
|
48
|
+
ShowE( 'divGeneral' , ( tabCode == 'General' ) ) ;
|
49
|
+
ShowE( 'divBackground' , ( tabCode == 'Background' ) ) ;
|
50
|
+
ShowE( 'divColors' , ( tabCode == 'Colors' ) ) ;
|
51
|
+
ShowE( 'divMeta' , ( tabCode == 'Meta' ) ) ;
|
52
|
+
|
53
|
+
ShowE( 'ePreview' , ( tabCode == 'Background' || tabCode == 'Colors' ) ) ;
|
54
|
+
}
|
55
|
+
|
56
|
+
//#### Get Base elements from the document: BEGIN
|
57
|
+
|
58
|
+
// The HTML element of the document.
|
59
|
+
var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ;
|
60
|
+
|
61
|
+
// The HEAD element of the document.
|
62
|
+
var oHead = oHTML.getElementsByTagName('head')[0] ;
|
63
|
+
|
64
|
+
var oBody = FCK.EditorDocument.body ;
|
65
|
+
|
66
|
+
// This object contains all META tags defined in the document.
|
67
|
+
var oMetaTags = new Object() ;
|
68
|
+
|
69
|
+
// Get all META tags defined in the document.
|
70
|
+
AppendMetaCollection( oMetaTags, oHead.getElementsByTagName('meta') ) ;
|
71
|
+
AppendMetaCollection( oMetaTags, oHead.getElementsByTagName('fck:meta') ) ;
|
72
|
+
|
73
|
+
function AppendMetaCollection( targetObject, metaCollection )
|
74
|
+
{
|
75
|
+
// Loop throw all METAs and put it in the HashTable.
|
76
|
+
for ( var i = 0 ; i < metaCollection.length ; i++ )
|
77
|
+
{
|
78
|
+
// Try to get the "name" attribute.
|
79
|
+
var sName = GetAttribute( metaCollection[i], 'name', GetAttribute( metaCollection[i], '___fcktoreplace:name', '' ) ) ;
|
80
|
+
|
81
|
+
// If no "name", try with the "http-equiv" attribute.
|
82
|
+
if ( sName.length == 0 )
|
83
|
+
{
|
84
|
+
if ( oEditor.FCKBrowserInfo.IsIE )
|
85
|
+
{
|
86
|
+
// Get the http-equiv value from the outerHTML.
|
87
|
+
var oHttpEquivMatch = metaCollection[i].outerHTML.match( oEditor.FCKRegexLib.MetaHttpEquiv ) ;
|
88
|
+
if ( oHttpEquivMatch )
|
89
|
+
sName = oHttpEquivMatch[1] ;
|
90
|
+
}
|
91
|
+
else
|
92
|
+
sName = GetAttribute( metaCollection[i], 'http-equiv', '' ) ;
|
93
|
+
}
|
94
|
+
|
95
|
+
if ( sName.length > 0 )
|
96
|
+
targetObject[ sName.toLowerCase() ] = metaCollection[i] ;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
//#### END
|
101
|
+
|
102
|
+
// Set a META tag in the document.
|
103
|
+
function SetMetadata( name, content, isHttp )
|
104
|
+
{
|
105
|
+
if ( content.length == 0 )
|
106
|
+
{
|
107
|
+
RemoveMetadata( name ) ;
|
108
|
+
return ;
|
109
|
+
}
|
110
|
+
|
111
|
+
var oMeta = oMetaTags[ name.toLowerCase() ] ;
|
112
|
+
|
113
|
+
if ( !oMeta )
|
114
|
+
{
|
115
|
+
oMeta = oHead.appendChild( FCK.EditorDocument.createElement('META') ) ;
|
116
|
+
|
117
|
+
if ( isHttp )
|
118
|
+
SetAttribute( oMeta, 'http-equiv', name ) ;
|
119
|
+
else
|
120
|
+
{
|
121
|
+
// On IE, it is not possible to set the "name" attribute of the META tag.
|
122
|
+
// So a temporary attribute is used and it is replaced when getting the
|
123
|
+
// editor's HTML/XHTML value. This is sad, I know :(
|
124
|
+
if ( oEditor.FCKBrowserInfo.IsIE )
|
125
|
+
SetAttribute( oMeta, '___fcktoreplace:name', name ) ;
|
126
|
+
else
|
127
|
+
SetAttribute( oMeta, 'name', name ) ;
|
128
|
+
}
|
129
|
+
|
130
|
+
oMetaTags[ name.toLowerCase() ] = oMeta ;
|
131
|
+
}
|
132
|
+
|
133
|
+
SetAttribute( oMeta, 'content', content ) ;
|
134
|
+
// oMeta.content = content ;
|
135
|
+
}
|
136
|
+
|
137
|
+
function RemoveMetadata( name )
|
138
|
+
{
|
139
|
+
var oMeta = oMetaTags[ name.toLowerCase() ] ;
|
140
|
+
|
141
|
+
if ( oMeta && oMeta != null )
|
142
|
+
{
|
143
|
+
oMeta.parentNode.removeChild( oMeta ) ;
|
144
|
+
oMetaTags[ name.toLowerCase() ] = null ;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
function GetMetadata( name )
|
149
|
+
{
|
150
|
+
var oMeta = oMetaTags[ name.toLowerCase() ] ;
|
151
|
+
|
152
|
+
if ( oMeta && oMeta != null )
|
153
|
+
return oMeta.getAttribute( 'content', 2 ) ;
|
154
|
+
else
|
155
|
+
return '' ;
|
156
|
+
}
|
157
|
+
|
158
|
+
window.onload = function ()
|
159
|
+
{
|
160
|
+
// Show/Hide the "Browse Server" button.
|
161
|
+
GetE('tdBrowse').style.display = oEditor.FCKConfig.ImageBrowser ? "" : "none";
|
162
|
+
|
163
|
+
// First of all, translate the dialog box texts
|
164
|
+
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
165
|
+
|
166
|
+
FillFields() ;
|
167
|
+
|
168
|
+
UpdatePreview() ;
|
169
|
+
|
170
|
+
// Show the "Ok" button.
|
171
|
+
window.parent.SetOkButton( true ) ;
|
172
|
+
|
173
|
+
window.parent.SetAutoSize( true ) ;
|
174
|
+
}
|
175
|
+
|
176
|
+
function FillFields()
|
177
|
+
{
|
178
|
+
// ### General Info
|
179
|
+
GetE('txtPageTitle').value = FCK.EditorDocument.title ;
|
180
|
+
|
181
|
+
GetE('selDirection').value = GetAttribute( oHTML, 'dir', '' ) ;
|
182
|
+
GetE('txtLang').value = GetAttribute( oHTML, 'xml:lang', GetAttribute( oHTML, 'lang', '' ) ) ; // "xml:lang" takes precedence to "lang".
|
183
|
+
|
184
|
+
// Character Set Encoding.
|
185
|
+
// if ( oEditor.FCKBrowserInfo.IsIE )
|
186
|
+
// var sCharSet = FCK.EditorDocument.charset ;
|
187
|
+
// else
|
188
|
+
var sCharSet = GetMetadata( 'Content-Type' ) ;
|
189
|
+
|
190
|
+
if ( sCharSet != null && sCharSet.length > 0 )
|
191
|
+
{
|
192
|
+
// if ( !oEditor.FCKBrowserInfo.IsIE )
|
193
|
+
sCharSet = sCharSet.match( /[^=]*$/ ) ;
|
194
|
+
|
195
|
+
GetE('selCharSet').value = sCharSet ;
|
196
|
+
|
197
|
+
if ( GetE('selCharSet').selectedIndex == -1 )
|
198
|
+
{
|
199
|
+
GetE('selCharSet').value = '...' ;
|
200
|
+
GetE('txtCustomCharSet').value = sCharSet ;
|
201
|
+
|
202
|
+
CheckOther( GetE('selCharSet'), 'txtCustomCharSet' ) ;
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
// Document Type.
|
207
|
+
if ( FCK.DocTypeDeclaration && FCK.DocTypeDeclaration.length > 0 )
|
208
|
+
{
|
209
|
+
GetE('selDocType').value = FCK.DocTypeDeclaration ;
|
210
|
+
|
211
|
+
if ( GetE('selDocType').selectedIndex == -1 )
|
212
|
+
{
|
213
|
+
GetE('selDocType').value = '...' ;
|
214
|
+
GetE('txtDocType').value = FCK.DocTypeDeclaration ;
|
215
|
+
|
216
|
+
CheckOther( GetE('selDocType'), 'txtDocType' ) ;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
// Document Type.
|
221
|
+
GetE('chkIncXHTMLDecl').checked = ( FCK.XmlDeclaration && FCK.XmlDeclaration.length > 0 ) ;
|
222
|
+
|
223
|
+
// ### Background
|
224
|
+
GetE('txtBackColor').value = GetAttribute( oBody, 'bgColor' , '' ) ;
|
225
|
+
GetE('txtBackImage').value = GetAttribute( oBody, 'background' , '' ) ;
|
226
|
+
GetE('chkBackNoScroll').checked = ( GetAttribute( oBody, 'bgProperties', '' ).toLowerCase() == 'fixed' ) ;
|
227
|
+
|
228
|
+
// ### Colors
|
229
|
+
GetE('txtColorText').value = GetAttribute( oBody, 'text' , '' ) ;
|
230
|
+
GetE('txtColorLink').value = GetAttribute( oBody, 'link' , '' ) ;
|
231
|
+
GetE('txtColorVisited').value = GetAttribute( oBody, 'vLink' , '' ) ;
|
232
|
+
GetE('txtColorActive').value = GetAttribute( oBody, 'aLink' , '' ) ;
|
233
|
+
|
234
|
+
// ### Margins
|
235
|
+
GetE('txtMarginTop').value = GetAttribute( oBody, 'topMargin' , '' ) ;
|
236
|
+
GetE('txtMarginLeft').value = GetAttribute( oBody, 'leftMargin' , '' ) ;
|
237
|
+
GetE('txtMarginRight').value = GetAttribute( oBody, 'rightMargin' , '' ) ;
|
238
|
+
GetE('txtMarginBottom').value = GetAttribute( oBody, 'bottomMargin' , '' ) ;
|
239
|
+
|
240
|
+
// ### Meta Data
|
241
|
+
GetE('txtMetaKeywords').value = GetMetadata( 'keywords' ) ;
|
242
|
+
GetE('txtMetaDescription').value = GetMetadata( 'description' ) ;
|
243
|
+
GetE('txtMetaAuthor').value = GetMetadata( 'author' ) ;
|
244
|
+
GetE('txtMetaCopyright').value = GetMetadata( 'copyright' ) ;
|
245
|
+
}
|
246
|
+
|
247
|
+
// Called when the "Ok" button is clicked.
|
248
|
+
function Ok()
|
249
|
+
{
|
250
|
+
// ### General Info
|
251
|
+
FCK.EditorDocument.title = GetE('txtPageTitle').value ;
|
252
|
+
|
253
|
+
var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ;
|
254
|
+
|
255
|
+
SetAttribute( oHTML, 'dir' , GetE('selDirection').value ) ;
|
256
|
+
SetAttribute( oHTML, 'lang' , GetE('txtLang').value ) ;
|
257
|
+
SetAttribute( oHTML, 'xml:lang' , GetE('txtLang').value ) ;
|
258
|
+
|
259
|
+
// Character Set Enconding.
|
260
|
+
var sCharSet = GetE('selCharSet').value ;
|
261
|
+
if ( sCharSet == '...' )
|
262
|
+
sCharSet = GetE('txtCustomCharSet').value ;
|
263
|
+
|
264
|
+
if ( sCharSet.length > 0 )
|
265
|
+
sCharSet = 'text/html; charset=' + sCharSet ;
|
266
|
+
|
267
|
+
// if ( oEditor.FCKBrowserInfo.IsIE )
|
268
|
+
// FCK.EditorDocument.charset = sCharSet ;
|
269
|
+
// else
|
270
|
+
SetMetadata( 'Content-Type', sCharSet, true ) ;
|
271
|
+
|
272
|
+
// Document Type
|
273
|
+
var sDocType = GetE('selDocType').value ;
|
274
|
+
if ( sDocType == '...' )
|
275
|
+
sDocType = GetE('txtDocType').value ;
|
276
|
+
|
277
|
+
FCK.DocTypeDeclaration = sDocType ;
|
278
|
+
|
279
|
+
// XHTML Declarations.
|
280
|
+
if ( GetE('chkIncXHTMLDecl').checked )
|
281
|
+
{
|
282
|
+
if ( sCharSet.length == 0 )
|
283
|
+
sCharSet = 'utf-8' ;
|
284
|
+
|
285
|
+
FCK.XmlDeclaration = '<?xml version="1.0" encoding="' + sCharSet + '"?>' ;
|
286
|
+
|
287
|
+
SetAttribute( oHTML, 'xmlns', 'http://www.w3.org/1999/xhtml' ) ;
|
288
|
+
}
|
289
|
+
else
|
290
|
+
{
|
291
|
+
FCK.XmlDeclaration = null ;
|
292
|
+
oHTML.removeAttribute( 'xmlns', 0 ) ;
|
293
|
+
}
|
294
|
+
|
295
|
+
// ### Background
|
296
|
+
SetAttribute( oBody, 'bgcolor' , GetE('txtBackColor').value ) ;
|
297
|
+
SetAttribute( oBody, 'background' , GetE('txtBackImage').value ) ;
|
298
|
+
SetAttribute( oBody, 'bgproperties' , GetE('chkBackNoScroll').checked ? 'fixed' : '' ) ;
|
299
|
+
|
300
|
+
// ### Colors
|
301
|
+
SetAttribute( oBody, 'text' , GetE('txtColorText').value ) ;
|
302
|
+
SetAttribute( oBody, 'link' , GetE('txtColorLink').value ) ;
|
303
|
+
SetAttribute( oBody, 'vlink', GetE('txtColorVisited').value ) ;
|
304
|
+
SetAttribute( oBody, 'alink', GetE('txtColorActive').value ) ;
|
305
|
+
|
306
|
+
// ### Margins
|
307
|
+
SetAttribute( oBody, 'topmargin' , GetE('txtMarginTop').value ) ;
|
308
|
+
SetAttribute( oBody, 'leftmargin' , GetE('txtMarginLeft').value ) ;
|
309
|
+
SetAttribute( oBody, 'rightmargin' , GetE('txtMarginRight').value ) ;
|
310
|
+
SetAttribute( oBody, 'bottommargin' , GetE('txtMarginBottom').value ) ;
|
311
|
+
|
312
|
+
// ### Meta data
|
313
|
+
SetMetadata( 'keywords' , GetE('txtMetaKeywords').value ) ;
|
314
|
+
SetMetadata( 'description' , GetE('txtMetaDescription').value ) ;
|
315
|
+
SetMetadata( 'author' , GetE('txtMetaAuthor').value ) ;
|
316
|
+
SetMetadata( 'copyright' , GetE('txtMetaCopyright').value ) ;
|
317
|
+
|
318
|
+
return true ;
|
319
|
+
}
|
320
|
+
|
321
|
+
var bPreviewIsLoaded = false ;
|
322
|
+
var oPreviewWindow ;
|
323
|
+
var oPreviewBody ;
|
324
|
+
|
325
|
+
// Called by the Preview page when loaded.
|
326
|
+
function OnPreviewLoad( previewWindow, previewBody )
|
327
|
+
{
|
328
|
+
oPreviewWindow = previewWindow ;
|
329
|
+
oPreviewBody = previewBody ;
|
330
|
+
|
331
|
+
bPreviewIsLoaded = true ;
|
332
|
+
UpdatePreview() ;
|
333
|
+
}
|
334
|
+
|
335
|
+
function UpdatePreview()
|
336
|
+
{
|
337
|
+
if ( !bPreviewIsLoaded )
|
338
|
+
return ;
|
339
|
+
|
340
|
+
// ### Background
|
341
|
+
SetAttribute( oPreviewBody, 'bgcolor' , GetE('txtBackColor').value ) ;
|
342
|
+
SetAttribute( oPreviewBody, 'background' , GetE('txtBackImage').value ) ;
|
343
|
+
SetAttribute( oPreviewBody, 'bgproperties' , GetE('chkBackNoScroll').checked ? 'fixed' : '' ) ;
|
344
|
+
|
345
|
+
// ### Colors
|
346
|
+
SetAttribute( oPreviewBody, 'text', GetE('txtColorText').value ) ;
|
347
|
+
|
348
|
+
oPreviewWindow.SetLinkColor( GetE('txtColorLink').value ) ;
|
349
|
+
oPreviewWindow.SetVisitedColor( GetE('txtColorVisited').value ) ;
|
350
|
+
oPreviewWindow.SetActiveColor( GetE('txtColorActive').value ) ;
|
351
|
+
}
|
352
|
+
|
353
|
+
function CheckOther( combo, txtField )
|
354
|
+
{
|
355
|
+
var bNotOther = ( combo.value != '...' ) ;
|
356
|
+
|
357
|
+
GetE(txtField).style.backgroundColor = ( bNotOther ? '#cccccc' : '' ) ;
|
358
|
+
GetE(txtField).disabled = bNotOther ;
|
359
|
+
}
|
360
|
+
|
361
|
+
function SetColor( inputId, color )
|
362
|
+
{
|
363
|
+
GetE( inputId ).value = color + '' ;
|
364
|
+
UpdatePreview() ;
|
365
|
+
}
|
366
|
+
|
367
|
+
function SelectBackColor( color ) { SetColor('txtBackColor', color ) ; }
|
368
|
+
function SelectColorText( color ) { SetColor('txtColorText', color ) ; }
|
369
|
+
function SelectColorLink( color ) { SetColor('txtColorLink', color ) ; }
|
370
|
+
function SelectColorVisited( color ) { SetColor('txtColorVisited', color ) ; }
|
371
|
+
function SelectColorActive( color ) { SetColor('txtColorActive', color ) ; }
|
372
|
+
|
373
|
+
function SelectColor( wich )
|
374
|
+
{
|
375
|
+
switch ( wich )
|
376
|
+
{
|
377
|
+
case 'Back' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectBackColor, window ) ; return ;
|
378
|
+
case 'ColorText' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorText, window ) ; return ;
|
379
|
+
case 'ColorLink' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorLink, window ) ; return ;
|
380
|
+
case 'ColorVisited' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorVisited, window ) ; return ;
|
381
|
+
case 'ColorActive' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorActive, window ) ; return ;
|
382
|
+
}
|
383
|
+
}
|
384
|
+
|
385
|
+
function BrowseServerBack()
|
386
|
+
{
|
387
|
+
OpenFileBrowser( FCKConfig.ImageBrowserURL, FCKConfig.ImageBrowserWindowWidth, FCKConfig.ImageBrowserWindowHeight ) ;
|
388
|
+
}
|
389
|
+
|
390
|
+
function SetUrl( url )
|
391
|
+
{
|
392
|
+
GetE('txtBackImage').value = url ;
|
393
|
+
UpdatePreview() ;
|
394
|
+
}
|
395
|
+
|
396
|
+
</script>
|
397
|
+
</head>
|
398
|
+
<body style="overflow: hidden">
|
399
|
+
<table cellspacing="0" cellpadding="0" width="100%" border="0" style="height: 100%">
|
400
|
+
<tr>
|
401
|
+
<td valign="top" style="height: 100%">
|
402
|
+
<div id="divGeneral">
|
403
|
+
<span fcklang="DlgDocPageTitle">Page Title</span><br />
|
404
|
+
<input id="txtPageTitle" style="width: 100%" type="text" />
|
405
|
+
<br />
|
406
|
+
<table cellspacing="0" cellpadding="0" border="0">
|
407
|
+
<tr>
|
408
|
+
<td>
|
409
|
+
<span fcklang="DlgDocLangDir">Language Direction</span><br />
|
410
|
+
<select id="selDirection">
|
411
|
+
<option value="" selected="selected"></option>
|
412
|
+
<option value="ltr" fcklang="DlgDocLangDirLTR">Left to Right (LTR)</option>
|
413
|
+
<option value="rtl" fcklang="DlgDocLangDirRTL">Right to Left (RTL)</option>
|
414
|
+
</select>
|
415
|
+
</td>
|
416
|
+
<td>
|
417
|
+
</td>
|
418
|
+
<td>
|
419
|
+
<span fcklang="DlgDocLangCode">Language Code</span><br />
|
420
|
+
<input id="txtLang" type="text" />
|
421
|
+
</td>
|
422
|
+
</tr>
|
423
|
+
</table>
|
424
|
+
<br />
|
425
|
+
<table cellspacing="0" cellpadding="0" width="100%" border="0">
|
426
|
+
<tr>
|
427
|
+
<td style="white-space: nowrap">
|
428
|
+
<span fcklang="DlgDocCharSet">Character Set Encoding</span><br />
|
429
|
+
<select id="selCharSet" onchange="CheckOther( this, 'txtCustomCharSet' );">
|
430
|
+
<option value="" selected="selected"></option>
|
431
|
+
<option value="us-ascii">ASCII</option>
|
432
|
+
<option fcklang="DlgDocCharSetCE" value="iso-8859-2">Central European</option>
|
433
|
+
<option fcklang="DlgDocCharSetCT" value="big5">Chinese Traditional (Big5)</option>
|
434
|
+
<option fcklang="DlgDocCharSetCR" value="iso-8859-5">Cyrillic</option>
|
435
|
+
<option fcklang="DlgDocCharSetGR" value="iso-8859-7">Greek</option>
|
436
|
+
<option fcklang="DlgDocCharSetJP" value="iso-2022-jp">Japanese</option>
|
437
|
+
<option fcklang="DlgDocCharSetKR" value="iso-2022-kr">Korean</option>
|
438
|
+
<option fcklang="DlgDocCharSetTR" value="iso-8859-9">Turkish</option>
|
439
|
+
<option fcklang="DlgDocCharSetUN" value="utf-8">Unicode (UTF-8)</option>
|
440
|
+
<option fcklang="DlgDocCharSetWE" value="iso-8859-1">Western European</option>
|
441
|
+
<option fcklang="DlgOpOther" value="..."><Other></option>
|
442
|
+
</select>
|
443
|
+
</td>
|
444
|
+
<td>
|
445
|
+
</td>
|
446
|
+
<td width="100%">
|
447
|
+
<span fcklang="DlgDocCharSetOther">Other Character Set Encoding</span><br />
|
448
|
+
<input id="txtCustomCharSet" style="width: 100%; background-color: #cccccc" disabled="disabled"
|
449
|
+
type="text" />
|
450
|
+
</td>
|
451
|
+
</tr>
|
452
|
+
<tr>
|
453
|
+
<td colspan="3">
|
454
|
+
</td>
|
455
|
+
</tr>
|
456
|
+
<tr>
|
457
|
+
<td nowrap="nowrap">
|
458
|
+
<span fcklang="DlgDocDocType">Document Type Heading</span><br />
|
459
|
+
<select id="selDocType" name="selDocType" onchange="CheckOther( this, 'txtDocType' );">
|
460
|
+
<option value="" selected="selected"></option>
|
461
|
+
<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'>HTML
|
462
|
+
4.01 Transitional</option>
|
463
|
+
<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'>
|
464
|
+
HTML 4.01 Strict</option>
|
465
|
+
<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'>
|
466
|
+
HTML 4.01 Frameset</option>
|
467
|
+
<option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'>
|
468
|
+
XHTML 1.0 Transitional</option>
|
469
|
+
<option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'>
|
470
|
+
XHTML 1.0 Strict</option>
|
471
|
+
<option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'>
|
472
|
+
XHTML 1.0 Frameset</option>
|
473
|
+
<option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'>
|
474
|
+
XHTML 1.1</option>
|
475
|
+
<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'>HTML 3.2</option>
|
476
|
+
<option value='<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'>HTML 2.0</option>
|
477
|
+
<option value="..." fcklang="DlgOpOther"><Other></option>
|
478
|
+
</select>
|
479
|
+
</td>
|
480
|
+
<td>
|
481
|
+
</td>
|
482
|
+
<td width="100%">
|
483
|
+
<span fcklang="DlgDocDocTypeOther">Other Document Type Heading</span><br />
|
484
|
+
<input id="txtDocType" style="width: 100%; background-color: #cccccc" disabled="disabled"
|
485
|
+
type="text" />
|
486
|
+
</td>
|
487
|
+
</tr>
|
488
|
+
</table>
|
489
|
+
<br />
|
490
|
+
<input id="chkIncXHTMLDecl" type="checkbox" />
|
491
|
+
<label for="chkIncXHTMLDecl" fcklang="DlgDocIncXHTML">
|
492
|
+
Include XHTML Declarations</label>
|
493
|
+
</div>
|
494
|
+
<div id="divBackground" style="display: none">
|
495
|
+
<span fcklang="DlgDocBgColor">Background Color</span><br />
|
496
|
+
<input id="txtBackColor" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /> <input
|
497
|
+
id="btnSelBackColor" onclick="SelectColor( 'Back' )" type="button" value="Select..."
|
498
|
+
fcklang="DlgCellBtnSelect" /><br />
|
499
|
+
<br />
|
500
|
+
<span fcklang="DlgDocBgImage">Background Image URL</span><br />
|
501
|
+
<table cellspacing="0" cellpadding="0" width="100%" border="0">
|
502
|
+
<tr>
|
503
|
+
<td width="100%">
|
504
|
+
<input id="txtBackImage" style="width: 100%" type="text" onchange="UpdatePreview();"
|
505
|
+
onkeyup="UpdatePreview();" /></td>
|
506
|
+
<td id="tdBrowse" nowrap="nowrap">
|
507
|
+
<input id="btnBrowse" onclick="BrowseServerBack();" type="button" fcklang="DlgBtnBrowseServer"
|
508
|
+
value="Browse Server" /></td>
|
509
|
+
</tr>
|
510
|
+
</table>
|
511
|
+
<input id="chkBackNoScroll" type="checkbox" onclick="UpdatePreview();" />
|
512
|
+
<label for="chkBackNoScroll" fcklang="DlgDocBgNoScroll">
|
513
|
+
Nonscrolling Background</label>
|
514
|
+
</div>
|
515
|
+
<div id="divColors" style="display: none">
|
516
|
+
<table cellspacing="0" cellpadding="0" width="100%" border="0">
|
517
|
+
<tr>
|
518
|
+
<td>
|
519
|
+
<span fcklang="DlgDocCText">Text</span><br />
|
520
|
+
<input id="txtColorText" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /><input
|
521
|
+
onclick="SelectColor( 'ColorText' )" type="button" value="Select..." fcklang="DlgCellBtnSelect" />
|
522
|
+
<br />
|
523
|
+
<span fcklang="DlgDocCLink">Link</span><br />
|
524
|
+
<input id="txtColorLink" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /><input
|
525
|
+
onclick="SelectColor( 'ColorLink' )" type="button" value="Select..." fcklang="DlgCellBtnSelect" />
|
526
|
+
<br />
|
527
|
+
<span fcklang="DlgDocCVisited">Visited Link</span><br />
|
528
|
+
<input id="txtColorVisited" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /><input
|
529
|
+
onclick="SelectColor( 'ColorVisited' )" type="button" value="Select..." fcklang="DlgCellBtnSelect" />
|
530
|
+
<br />
|
531
|
+
<span fcklang="DlgDocCActive">Active Link</span><br />
|
532
|
+
<input id="txtColorActive" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /><input
|
533
|
+
onclick="SelectColor( 'ColorActive' )" type="button" value="Select..." fcklang="DlgCellBtnSelect" />
|
534
|
+
</td>
|
535
|
+
<td valign="middle" align="center">
|
536
|
+
<table cellspacing="2" cellpadding="0" border="0">
|
537
|
+
<tr>
|
538
|
+
<td>
|
539
|
+
<span fcklang="DlgDocMargins">Page Margins</span></td>
|
540
|
+
</tr>
|
541
|
+
<tr>
|
542
|
+
<td style="border: #000000 1px solid; padding: 5px">
|
543
|
+
<table cellpadding="0" cellspacing="0" border="0" dir="ltr">
|
544
|
+
<tr>
|
545
|
+
<td align="center" colspan="3">
|
546
|
+
<span fcklang="DlgDocMaTop">Top</span><br />
|
547
|
+
<input id="txtMarginTop" type="text" size="3" />
|
548
|
+
</td>
|
549
|
+
</tr>
|
550
|
+
<tr>
|
551
|
+
<td align="left">
|
552
|
+
<span fcklang="DlgDocMaLeft">Left</span><br />
|
553
|
+
<input id="txtMarginLeft" type="text" size="3" />
|
554
|
+
</td>
|
555
|
+
<td>
|
556
|
+
</td>
|
557
|
+
<td align="right">
|
558
|
+
<span fcklang="DlgDocMaRight">Right</span><br />
|
559
|
+
<input id="txtMarginRight" type="text" size="3" />
|
560
|
+
</td>
|
561
|
+
</tr>
|
562
|
+
<tr>
|
563
|
+
<td align="center" colspan="3">
|
564
|
+
<span fcklang="DlgDocMaBottom">Bottom</span><br />
|
565
|
+
<input id="txtMarginBottom" type="text" size="3" />
|
566
|
+
</td>
|
567
|
+
</tr>
|
568
|
+
</table>
|
569
|
+
</td>
|
570
|
+
</tr>
|
571
|
+
</table>
|
572
|
+
</td>
|
573
|
+
</tr>
|
574
|
+
</table>
|
575
|
+
</div>
|
576
|
+
<div id="divMeta" style="display: none">
|
577
|
+
<span fcklang="DlgDocMeIndex">Document Indexing Keywords (comma separated)</span><br />
|
578
|
+
<textarea id="txtMetaKeywords" style="width: 100%" rows="2" cols="20"></textarea>
|
579
|
+
<br />
|
580
|
+
<span fcklang="DlgDocMeDescr">Document Description</span><br />
|
581
|
+
<textarea id="txtMetaDescription" style="width: 100%" rows="4" cols="20"></textarea>
|
582
|
+
<br />
|
583
|
+
<span fcklang="DlgDocMeAuthor">Author</span><br />
|
584
|
+
<input id="txtMetaAuthor" style="width: 100%" type="text" /><br />
|
585
|
+
<br />
|
586
|
+
<span fcklang="DlgDocMeCopy">Copyright</span><br />
|
587
|
+
<input id="txtMetaCopyright" type="text" style="width: 100%" />
|
588
|
+
</div>
|
589
|
+
</td>
|
590
|
+
</tr>
|
591
|
+
<tr id="ePreview" style="display: none">
|
592
|
+
<td>
|
593
|
+
<span fcklang="DlgDocPreview">Preview</span><br />
|
594
|
+
<iframe id="frmPreview" src="fck_docprops/fck_document_preview.html" width="100%"
|
595
|
+
height="100"></iframe>
|
596
|
+
</td>
|
597
|
+
</tr>
|
598
|
+
</table>
|
599
|
+
</body>
|
600
|
+
</html>
|