phpslash-commit Mailing List for phpSlash (Page 33)
Brought to you by:
joestewart,
nhruby
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(11) |
Nov
(59) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(52) |
Feb
(77) |
Mar
(118) |
Apr
(76) |
May
(106) |
Jun
(145) |
Jul
(9) |
Aug
(15) |
Sep
(78) |
Oct
(83) |
Nov
(105) |
Dec
(51) |
2003 |
Jan
(105) |
Feb
(100) |
Mar
(111) |
Apr
(149) |
May
(95) |
Jun
(56) |
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(22) |
Nov
(117) |
Dec
(6) |
2004 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
(25) |
May
|
Jun
(11) |
Jul
(26) |
Aug
(85) |
Sep
(119) |
Oct
(312) |
Nov
(271) |
Dec
(5) |
2005 |
Jan
(6) |
Feb
|
Mar
|
Apr
(12) |
May
(7) |
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Joe S. <joe...@us...> - 2004-08-23 17:18:46
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/FullPage/popups In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29701/popups Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/FullPage/popups added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:18:46
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/FullPage/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29701/lang Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/FullPage/lang added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:18:09
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/FullPage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29501/FullPage Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/FullPage added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:16:53
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/EnterParagraphs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29152/EnterParagraphs Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/EnterParagraphs added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:11:08
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/ContextMenu/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27415/lang Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/ContextMenu/lang added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:09:53
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/ContextMenu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26922/ContextMenu Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/ContextMenu added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:08:26
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/CSS/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26435/lang Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/CSS/lang added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:07:40
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/CSS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26204/CSS Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/CSS added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:03:10
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24791/examples Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/examples added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 17:00:48
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23961/tests Log Message: Directory /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/tests added to the repository |
From: Joe S. <joe...@us...> - 2004-08-23 16:53:04
|
Update of /cvsroot/phpslash/phpslash-skins/include/templates/en/Quick In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21343/phpslash-skins/include/templates/en/Quick Added Files: slashHead-htmlarea3.tpl Log Message: Upgraded htmlarea3 --- NEW FILE: slashHead-htmlarea3.tpl --- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- START slashHead-htmlarea3.tpl --> <!-- Based on the Quick theme from phpWebsite --> <!-- (http://phpwebsite.appstate.edu/) --> <title>{SITE_NAME} - {SECTION} {SITETITLE}</title> <!-- Enter Your Desired META Tags Below Here --> <!-- This Meta Tag is Defined In Each Page By Setting The Variable $xsiteobject = "HomePage"; to the page type HomePage, Glossary, Info, etc.. --> <meta name="object" content="{XSITEOBJECT}" /> <!-- Enter Your META Tags Above Here --> <!-- BEGIN each_metatag --> <META NAME="robots" CONTENT="INDEX,FOLLOW"> <META NAME="revisit-after" CONTENT="1 day"> <meta name="{METANAME}" content="{METADESCRIPTION}" /> <!-- END each_metatag --> <link rel="alternate" type="application/rss+xml" title="RSS" href="{ROOTDIR}/backend.php" /> <link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/{SKIN}.css" /> <!-- BEGIN HTMLAREA3 Javascript --> <script type="text/javascript"> // the _editor_url is REQUIRED! don't forget to set it. _editor_url="{ROOTDIR}/scripts/htmlarea3/"; // implicit language will be "en", but let's set it for brevity _editor_lang = "en"; </script> <script type="text/javascript" src="{ROOTDIR}/scripts/htmlarea3/htmlarea.js"></script> <!-- load the plugins --> <script type="text/javascript"> // WARNING: using this interface to load plugin // will _NOT_ work if plugins do not have the language // loaded by HTMLArea. // In other words, this function generates SCRIPT tags // that load the plugin and the language file, based on the // global variable HTMLArea.I18N.lang (defined in the lang file, // in our case "lang/en.js" loaded above). // If this lang file is not found the plugin will fail to // load correctly and nothing will work. HTMLArea.loadPlugin("TableOperations"); // HTMLArea.loadPlugin("SpellChecker"); // HTMLArea.loadPlugin("FullPage"); // HTMLArea.loadPlugin("CSS"); HTMLArea.loadPlugin("ContextMenu"); // HTMLArea.loadPlugin("HtmlTidy"); // HTMLArea.loadPlugin("ListType"); HTMLArea.loadPlugin("ImageManager"); </script> <script type="text/javascript"> // this function will get called at body.onload function initEditor() { // cache these values as we need to pass it for both editors var css_plugin_args = { combos : [ { label: "Syntax", // menu text // CSS class options: { "None" : "", "Code" : "code", "String" : "string", "Comment" : "comment", "Variable name" : "variable-name", "Type" : "type", "Reference" : "reference", "Preprocessor" : "preprocessor", "Keyword" : "keyword", "Function name" : "function-name", "Html tag" : "html-tag", "Html italic" : "html-helper-italic", "Warning" : "warning", "Html bold" : "html-helper-bold" }, context: "pre" }, { label: "Info", options: { "None" : "", "Quote" : "quote", "Highlight" : "highlight", "Deprecated" : "deprecated" } } ] }; //--------------------------------------------------------------------- // GENERAL PATTERN // // 1. Instantitate an editor object. // 2. Register plugins (note, it's required to have them loaded). // 3. Configure any other items in editor.config. // 4. generate() the editor // // The above are steps that you use to create one editor. Nothing new // so far. In order to create more than one editor, you just have to // repeat those steps for each of one. Of course, you can register any // plugins you want (no need to register the same plugins for all // editors, and to demonstrate that we'll skip the TableOperations // plugin for the second editor). Just be careful to pass different // ID-s in the constructor (you don't want to _even try_ to create more // editors for the same TEXTAREA element ;-)). // // So much for the noise, see the action below. //--------------------------------------------------------------------- //--------------------------------------------------------------------- // CREATE FIRST EDITOR // var editor1 = new HTMLArea("intro_text"); // plugins must be registered _per editor_. Therefore, we register // plugins for the first editor here, and we will also do this for the // second editor. editor1.registerPlugin(TableOperations); // editor1.registerPlugin(SpellChecker); // editor1.registerPlugin(CSS, css_plugin_args); // editor1.registerPlugin(HtmlTidy); // editor1.registerPlugin(ListType); editor1.registerPlugin(ContextMenu); editor1.registerPlugin(ImageManager); // custom config must be done per editor. Here we're importing the // stylesheet used by the CSS plugin. // editor1.config.pageStyle = "@import url(custom.css);"; // generate first editor editor1.config.hideSomeButtons(" fontname fontsize formatblock "); editor1.generate(); //--------------------------------------------------------------------- //--------------------------------------------------------------------- // CREATE SECOND EDITOR // var editor2 = new HTMLArea("body_text"); // we are using the same plugins editor2.registerPlugin(TableOperations); // editor2.registerPlugin(SpellChecker); // editor2.registerPlugin(CSS, css_plugin_args); // editor2.registerPlugin(HtmlTidy); // editor2.registerPlugin(ListType); editor2.registerPlugin(ContextMenu); editor2.registerPlugin(ImageManager); // import the CSS plugin styles // editor2.config.pageStyle = "@import url(custom.css);"; // generate the second editor // IMPORTANT: if we don't give it a timeout, the first editor will // not function in Mozilla. Soon I'll think about starting to // implement some kind of event that will fire when the editor // finished creating, then we'll be able to chain the generate() // calls in an elegant way. But right now there's no other solution // than the following. setTimeout(function() { editor2.config.hideSomeButtons(" fontname fontsize formatblock "); editor2.generate(); }, 500); //--------------------------------------------------------------------- }; function insertHTML() { var html = prompt("Enter some HTML code here"); if (html) { editor.insertHTML(html); } } function highlight() { editor.surroundHTML('<span style="background-color: yellow">', '</span>'); } </script> <script type="text/javascript"> function PSL_chooseEditor(onLoad) { // if IE 5.5 or W3C/Moz 1.3+ - Can't combine the two due to problems with reload() & IE // if((document.all && document.designMode) || (document.designMode)) { // IE 5.5 - Eliminating reload() because it pulled down new form data if(document.all && document.designMode) { // HTML or htmlArea if (document.editNew.content_type[0].checked) { // HTMLArea.replace('en'); // HTMLArea.replaceAll(); initEditor(); } else { // how to remove in IE? } // W3C/Moz 1.3+ - reload() without adjusting form data } else if(document.designMode) { // HTML or htmlArea if (document.editNew.content_type[0].checked) { // HTMLArea.replace('en'); // HTMLArea.replaceAll(); initEditor(); } else { if(onLoad == 1) { onLoad = 2; window.location.reload(); } } } } </script> <!-- END HTMLAREA3 Javascript --> </head> <body onLoad="PSL_chooseEditor()" style=' background-image: url("{ROOTDIR}/images/{SKIN}/bg.gif");'> <a name="top"></a> <div id="header" style=' background-image: url("{ROOTDIR}/images/{SKIN}/bg.gif");'> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <!-- START: Title and Search --> <tr> <td><a href="{ROOTDIR}"><h2><img border="0" src="{ROOTDIR}/images/topics/topicphpslash.gif"></a></h2></a></td> <td width="50%" align="center"></td> </tr> </table> <!-- END: Title and Search --> {NAVBAR} </div> <!-- id="header" --> <!-- END slashHead-htmlarea3.tpl --> |
From: Joe S. <joe...@us...> - 2004-08-23 16:51:03
|
Update of /cvsroot/phpslash/phpslash-skins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20706/phpslash-skins Modified Files: CHANGES Log Message: Upgraded htmlarea3 Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/CHANGES,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** CHANGES 18 Nov 2003 18:17:45 -0000 1.11 --- CHANGES 23 Aug 2004 16:50:46 -0000 1.12 *************** *** 13,16 **** --- 13,19 ---- 9 - Removal of something (kill -9 :) + 2004-August 23 Joe Stewart <joe...@us...> + [FT] - Upgraded htmlarea3 to have Image Manager upload. + 2003-November 18 12:00PM CST Joe Stewart <joe...@us...> [FT] - Added BE_default skin from Back-End. |
From: Joe S. <joe...@us...> - 2004-08-23 16:51:03
|
Update of /cvsroot/phpslash/phpslash-skins/include/templates/en/BE_default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20706/phpslash-skins/include/templates/en/BE_default Modified Files: slashHead-htmlarea3.tpl Log Message: Upgraded htmlarea3 Index: slashHead-htmlarea3.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/BE_default/slashHead-htmlarea3.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** slashHead-htmlarea3.tpl 18 Nov 2003 18:17:45 -0000 1.1 --- slashHead-htmlarea3.tpl 23 Aug 2004 16:50:47 -0000 1.2 *************** *** 31,68 **** <!-- BEGIN HTMLAREA3 Javascript --> - <script TYPE="text/javascript" LANGUAGE="JavaScript"> - <!-- Script Begin - <!-- Root path for the html WYSIWYG editor --> - var _editor_url="{ROOTDIR}/scripts/htmlarea3/"; - // --> - </script> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/htmlarea.js"></script> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/lang/en.js"></script> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/dialog.js"></script> - <!-- <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/popupdiv.js"></script> --> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/popupwin.js"></script> - <!-- load the TableOperations plugin files --> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/plugins/TableOperations/table-operations.js"></script> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/plugins/TableOperations/lang/en.js"></script> ! <style type="text/css"> ! @import url({ROOTDIR}/scripts/htmlarea3/htmlarea.css); ! textarea { background-color: #fff; border: 1px solid 00f; } ! </style> ! <script TYPE="text/javascript" LANGUAGE="JavaScript"> ! var editor = null; ! function initEditor() { ! // create an editor for the "ta" textbox ! editor = new HTMLArea("ta"); ! // register the TableOperations plugin with our editor ! editor.registerPlugin("TableOperations"); - editor.generate(); - return false; - } function insertHTML() { --- 31,193 ---- <!-- BEGIN HTMLAREA3 Javascript --> ! <script type="text/javascript"> ! // the _editor_url is REQUIRED! don't forget to set it. ! _editor_url="{ROOTDIR}/scripts/htmlarea3/"; ! // implicit language will be "en", but let's set it for brevity ! _editor_lang = "en"; ! </script> ! <script type="text/javascript" src="{ROOTDIR}/scripts/htmlarea3/htmlarea.js"></script> ! <!-- load the plugins --> ! <script type="text/javascript"> ! // WARNING: using this interface to load plugin ! // will _NOT_ work if plugins do not have the language ! // loaded by HTMLArea. ! // In other words, this function generates SCRIPT tags ! // that load the plugin and the language file, based on the ! // global variable HTMLArea.I18N.lang (defined in the lang file, ! // in our case "lang/en.js" loaded above). ! // If this lang file is not found the plugin will fail to ! // load correctly and nothing will work. ! ! HTMLArea.loadPlugin("TableOperations"); ! // HTMLArea.loadPlugin("SpellChecker"); ! // HTMLArea.loadPlugin("FullPage"); ! // HTMLArea.loadPlugin("CSS"); ! HTMLArea.loadPlugin("ContextMenu"); ! // HTMLArea.loadPlugin("HtmlTidy"); ! // HTMLArea.loadPlugin("ListType"); ! HTMLArea.loadPlugin("ImageManager"); ! ! </script> ! ! <script type="text/javascript"> ! // this function will get called at body.onload ! function initEditor() { ! // cache these values as we need to pass it for both editors ! var css_plugin_args = { ! combos : [ ! { label: "Syntax", ! // menu text // CSS class ! options: { "None" : "", ! "Code" : "code", ! "String" : "string", ! "Comment" : "comment", ! "Variable name" : "variable-name", ! "Type" : "type", ! "Reference" : "reference", ! "Preprocessor" : "preprocessor", ! "Keyword" : "keyword", ! "Function name" : "function-name", ! "Html tag" : "html-tag", ! "Html italic" : "html-helper-italic", ! "Warning" : "warning", ! "Html bold" : "html-helper-bold" ! }, ! context: "pre" ! }, ! { label: "Info", ! options: { "None" : "", ! "Quote" : "quote", ! "Highlight" : "highlight", ! "Deprecated" : "deprecated" ! } ! } ! ] ! }; ! ! ! ! ! ! ! ! //--------------------------------------------------------------------- ! // GENERAL PATTERN ! // ! // 1. Instantitate an editor object. ! // 2. Register plugins (note, it's required to have them loaded). ! // 3. Configure any other items in editor.config. ! // 4. generate() the editor ! // ! // The above are steps that you use to create one editor. Nothing new ! // so far. In order to create more than one editor, you just have to ! // repeat those steps for each of one. Of course, you can register any ! // plugins you want (no need to register the same plugins for all ! // editors, and to demonstrate that we'll skip the TableOperations ! // plugin for the second editor). Just be careful to pass different ! // ID-s in the constructor (you don't want to _even try_ to create more ! // editors for the same TEXTAREA element ;-)). ! // ! // So much for the noise, see the action below. ! ! //--------------------------------------------------------------------- ! ! ! ! //--------------------------------------------------------------------- ! // CREATE FIRST EDITOR ! // ! var editor1 = new HTMLArea("intro_text"); ! ! // plugins must be registered _per editor_. Therefore, we register ! // plugins for the first editor here, and we will also do this for the ! // second editor. ! editor1.registerPlugin(TableOperations); ! // editor1.registerPlugin(SpellChecker); ! // editor1.registerPlugin(CSS, css_plugin_args); ! // editor1.registerPlugin(HtmlTidy); ! // editor1.registerPlugin(ListType); ! editor1.registerPlugin(ContextMenu); ! editor1.registerPlugin(ImageManager); ! ! // custom config must be done per editor. Here we're importing the ! // stylesheet used by the CSS plugin. ! // editor1.config.pageStyle = "@import url(custom.css);"; ! ! // generate first editor ! editor1.config.hideSomeButtons(" fontname fontsize formatblock "); ! editor1.generate(); ! ! //--------------------------------------------------------------------- ! ! ! ! //--------------------------------------------------------------------- ! // CREATE SECOND EDITOR ! // ! var editor2 = new HTMLArea("body_text"); ! ! // we are using the same plugins ! editor2.registerPlugin(TableOperations); ! // editor2.registerPlugin(SpellChecker); ! // editor2.registerPlugin(CSS, css_plugin_args); ! // editor2.registerPlugin(HtmlTidy); ! // editor2.registerPlugin(ListType); ! editor2.registerPlugin(ContextMenu); ! editor2.registerPlugin(ImageManager); ! ! // import the CSS plugin styles ! // editor2.config.pageStyle = "@import url(custom.css);"; ! ! // generate the second editor ! // IMPORTANT: if we don't give it a timeout, the first editor will ! // not function in Mozilla. Soon I'll think about starting to ! // implement some kind of event that will fire when the editor ! // finished creating, then we'll be able to chain the generate() ! // calls in an elegant way. But right now there's no other solution ! // than the following. ! setTimeout(function() { ! editor2.config.hideSomeButtons(" fontname fontsize formatblock "); ! editor2.generate(); ! }, 500); ! ! //--------------------------------------------------------------------- ! }; function insertHTML() { *************** *** 73,80 **** } function highlight() { ! editor.surroundHTML('<span style="background-color: white">', '</span>'); } ! function PSL_chooseEditor(editor) { // if IE 5.5 or W3C/Moz 1.3+ - Can't combine the two due to problems with reload() & IE --- 198,208 ---- } function highlight() { ! editor.surroundHTML('<span style="background-color: yellow">', '</span>'); } + </script> ! <script type="text/javascript"> ! ! function PSL_chooseEditor(onLoad) { // if IE 5.5 or W3C/Moz 1.3+ - Can't combine the two due to problems with reload() & IE *************** *** 84,90 **** if(document.all && document.designMode) { // HTML or htmlArea ! if (editor == 'htmlarea') { // HTMLArea.replace('en'); ! HTMLArea.replaceAll(); } else { // how to remove in IE? --- 212,219 ---- if(document.all && document.designMode) { // HTML or htmlArea ! if (document.editNew.content_type[0].checked) { // HTMLArea.replace('en'); ! // HTMLArea.replaceAll(); ! initEditor(); } else { // how to remove in IE? *************** *** 94,109 **** } else if(document.designMode) { // HTML or htmlArea ! if (editor == 'htmlarea') { // HTMLArea.replace('en'); ! HTMLArea.replaceAll(); } else { ! window.location.reload(); } } } </script> </head> ! <body> <!-- onLoad="BE_chooseEditor();"--> <!-- onLoad="HTMLArea.replace('en'); HTMLArea.replace('fr');" --> <style> #menuitem {color: #ffffff; --- 223,245 ---- } else if(document.designMode) { // HTML or htmlArea ! if (document.editNew.content_type[0].checked) { // HTMLArea.replace('en'); ! // HTMLArea.replaceAll(); ! initEditor(); } else { ! if(onLoad == 1) { ! onLoad = 2; ! window.location.reload(); ! } } } } + </script> + <!-- END HTMLAREA3 Javascript --> + </head> ! <body onLoad="PSL_chooseEditor()"> <style> #menuitem {color: #ffffff; |
From: Joe S. <joe...@us...> - 2004-08-23 16:51:03
|
Update of /cvsroot/phpslash/phpslash-skins/include/templates/en/ShankZen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20706/phpslash-skins/include/templates/en/ShankZen Modified Files: slashHead-htmlarea3.tpl Log Message: Upgraded htmlarea3 Index: slashHead-htmlarea3.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/ShankZen/slashHead-htmlarea3.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** slashHead-htmlarea3.tpl 13 Nov 2003 21:33:06 -0000 1.3 --- slashHead-htmlarea3.tpl 23 Aug 2004 16:50:47 -0000 1.4 *************** *** 17,56 **** <link rel="alternate" type="application/rss+xml" title="RSS" href="{ROOTDIR}/backend.php3" /> <link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/{SKIN}.css" /> ! <style type="text/css" media="screen">@import "{ROOTDIR}/styles/{SKIN}_ext.css";</style> <!-- BEGIN HTMLAREA3 Javascript --> - <script TYPE="text/javascript" LANGUAGE="JavaScript"> - <!-- Script Begin - <!-- Root path for the html WYSIWYG editor --> - var _editor_url="{ROOTDIR}/scripts/htmlarea3/"; - // --> - </script> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/htmlarea.js"></script> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/lang/en.js"></script> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/dialog.js"></script> - <!-- <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/popupdiv.js"></script> --> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/popupwin.js"></script> - <!-- load the TableOperations plugin files --> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/plugins/TableOperations/table-operations.js"></script> - <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/plugins/TableOperations/lang/en.js"></script> ! <style type="text/css"> ! @import url({ROOTDIR}/scripts/htmlarea3/htmlarea.css); ! textarea { background-color: #fff; border: 1px solid 00f; } ! </style> ! <script TYPE="text/javascript" LANGUAGE="JavaScript"> ! var editor = null; ! function initEditor() { ! // create an editor for the "ta" textbox ! editor = new HTMLArea("ta"); ! // register the TableOperations plugin with our editor ! editor.registerPlugin("TableOperations"); - editor.generate(); - return false; - } function insertHTML() { --- 17,181 ---- <link rel="alternate" type="application/rss+xml" title="RSS" href="{ROOTDIR}/backend.php3" /> <link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/{SKIN}.css" /> ! <!-- <style type="text/css" media="screen">@import "{ROOTDIR}/styles/{SKIN}_ext.css";</style> --> <!-- BEGIN HTMLAREA3 Javascript --> ! <script type="text/javascript"> ! // the _editor_url is REQUIRED! don't forget to set it. ! _editor_url="{ROOTDIR}/scripts/htmlarea3/"; ! // implicit language will be "en", but let's set it for brevity ! _editor_lang = "en"; ! </script> ! <script type="text/javascript" src="{ROOTDIR}/scripts/htmlarea3/htmlarea.js"></script> ! <!-- load the plugins --> ! <script type="text/javascript"> ! // WARNING: using this interface to load plugin ! // will _NOT_ work if plugins do not have the language ! // loaded by HTMLArea. ! // In other words, this function generates SCRIPT tags ! // that load the plugin and the language file, based on the ! // global variable HTMLArea.I18N.lang (defined in the lang file, ! // in our case "lang/en.js" loaded above). ! // If this lang file is not found the plugin will fail to ! // load correctly and nothing will work. ! ! HTMLArea.loadPlugin("TableOperations"); ! // HTMLArea.loadPlugin("SpellChecker"); ! // HTMLArea.loadPlugin("FullPage"); ! // HTMLArea.loadPlugin("CSS"); ! HTMLArea.loadPlugin("ContextMenu"); ! // HTMLArea.loadPlugin("HtmlTidy"); ! // HTMLArea.loadPlugin("ListType"); ! HTMLArea.loadPlugin("ImageManager"); ! ! </script> ! ! <script type="text/javascript"> ! // this function will get called at body.onload ! function initEditor() { ! // cache these values as we need to pass it for both editors ! var css_plugin_args = { ! combos : [ ! { label: "Syntax", ! // menu text // CSS class ! options: { "None" : "", ! "Code" : "code", ! "String" : "string", ! "Comment" : "comment", ! "Variable name" : "variable-name", ! "Type" : "type", ! "Reference" : "reference", ! "Preprocessor" : "preprocessor", ! "Keyword" : "keyword", ! "Function name" : "function-name", ! "Html tag" : "html-tag", ! "Html italic" : "html-helper-italic", ! "Warning" : "warning", ! "Html bold" : "html-helper-bold" ! }, ! context: "pre" ! }, ! { label: "Info", ! options: { "None" : "", ! "Quote" : "quote", ! "Highlight" : "highlight", ! "Deprecated" : "deprecated" ! } ! } ! ] ! }; ! ! ! ! ! ! ! ! //--------------------------------------------------------------------- ! // GENERAL PATTERN ! // ! // 1. Instantitate an editor object. ! // 2. Register plugins (note, it's required to have them loaded). ! // 3. Configure any other items in editor.config. ! // 4. generate() the editor ! // ! // The above are steps that you use to create one editor. Nothing new ! // so far. In order to create more than one editor, you just have to ! // repeat those steps for each of one. Of course, you can register any ! // plugins you want (no need to register the same plugins for all ! // editors, and to demonstrate that we'll skip the TableOperations ! // plugin for the second editor). Just be careful to pass different ! // ID-s in the constructor (you don't want to _even try_ to create more ! // editors for the same TEXTAREA element ;-)). ! // ! // So much for the noise, see the action below. ! ! //--------------------------------------------------------------------- ! ! ! ! //--------------------------------------------------------------------- ! // CREATE FIRST EDITOR ! // ! var editor1 = new HTMLArea("intro_text"); ! ! // plugins must be registered _per editor_. Therefore, we register ! // plugins for the first editor here, and we will also do this for the ! // second editor. ! editor1.registerPlugin(TableOperations); ! // editor1.registerPlugin(SpellChecker); ! // editor1.registerPlugin(CSS, css_plugin_args); ! // editor1.registerPlugin(HtmlTidy); ! // editor1.registerPlugin(ListType); ! editor1.registerPlugin(ContextMenu); ! editor1.registerPlugin(ImageManager); ! ! // custom config must be done per editor. Here we're importing the ! // stylesheet used by the CSS plugin. ! // editor1.config.pageStyle = "@import url(custom.css);"; ! ! // generate first editor ! editor1.config.hideSomeButtons(" fontname fontsize formatblock "); ! editor1.generate(); ! ! //--------------------------------------------------------------------- ! ! ! ! //--------------------------------------------------------------------- ! // CREATE SECOND EDITOR ! // ! var editor2 = new HTMLArea("body_text"); ! ! // we are using the same plugins ! editor2.registerPlugin(TableOperations); ! // editor2.registerPlugin(SpellChecker); ! // editor2.registerPlugin(CSS, css_plugin_args); ! // editor2.registerPlugin(HtmlTidy); ! // editor2.registerPlugin(ListType); ! editor2.registerPlugin(ContextMenu); ! editor2.registerPlugin(ImageManager); ! ! // import the CSS plugin styles ! // editor2.config.pageStyle = "@import url(custom.css);"; ! ! // generate the second editor ! // IMPORTANT: if we don't give it a timeout, the first editor will ! // not function in Mozilla. Soon I'll think about starting to ! // implement some kind of event that will fire when the editor ! // finished creating, then we'll be able to chain the generate() ! // calls in an elegant way. But right now there's no other solution ! // than the following. ! setTimeout(function() { ! editor2.config.hideSomeButtons(" fontname fontsize formatblock "); ! editor2.generate(); ! }, 500); ! ! //--------------------------------------------------------------------- ! }; function insertHTML() { *************** *** 61,68 **** } function highlight() { ! editor.surroundHTML('<span style="background-color: white">', '</span>'); } ! function PSL_chooseEditor(editor) { // if IE 5.5 or W3C/Moz 1.3+ - Can't combine the two due to problems with reload() & IE --- 186,196 ---- } function highlight() { ! editor.surroundHTML('<span style="background-color: yellow">', '</span>'); } + </script> ! <script type="text/javascript"> ! ! function PSL_chooseEditor(onLoad) { // if IE 5.5 or W3C/Moz 1.3+ - Can't combine the two due to problems with reload() & IE *************** *** 72,78 **** if(document.all && document.designMode) { // HTML or htmlArea ! if (editor == 'htmlarea') { // HTMLArea.replace('en'); ! HTMLArea.replaceAll(); } else { // how to remove in IE? --- 200,207 ---- if(document.all && document.designMode) { // HTML or htmlArea ! if (document.editNew.content_type[0].checked) { // HTMLArea.replace('en'); ! // HTMLArea.replaceAll(); ! initEditor(); } else { // how to remove in IE? *************** *** 82,90 **** } else if(document.designMode) { // HTML or htmlArea ! if (editor == 'htmlarea') { // HTMLArea.replace('en'); ! HTMLArea.replaceAll(); } else { ! window.location.reload(); } } --- 211,223 ---- } else if(document.designMode) { // HTML or htmlArea ! if (document.editNew.content_type[0].checked) { // HTMLArea.replace('en'); ! // HTMLArea.replaceAll(); ! initEditor(); } else { ! if(onLoad == 1) { ! onLoad = 2; ! window.location.reload(); ! } } } *************** *** 96,101 **** </head> ! <body> <!-- onLoad="HTMLArea.replace('en'); HTMLArea.replace('fr');" --> ! <a name="top"> </a> --- 229,233 ---- </head> ! <body onLoad="PSL_chooseEditor()"> <a name="top"> </a> |
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20428/phpslash-dev/public_html/scripts/htmlarea3 Removed Files: example-fully-loaded.html example-spell-checker.html example-table-operations.html example.html test.cgi Log Message: Upgraded htmlarea3 --- example-fully-loaded.html DELETED --- --- example-spell-checker.html DELETED --- --- example-table-operations.html DELETED --- --- example.html DELETED --- --- test.cgi DELETED --- |
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/images Modified Files: ed_about.gif ed_align_center.gif ed_align_justify.gif ed_align_left.gif ed_align_right.gif ed_blank.gif ed_charmap.gif ed_color_bg.gif ed_color_fg.gif ed_copy.gif ed_custom.gif ed_cut.gif ed_delete.gif ed_format_bold.gif ed_format_italic.gif ed_format_strike.gif ed_format_sub.gif ed_format_sup.gif ed_format_underline.gif ed_help.gif ed_hr.gif ed_html.gif ed_image.gif ed_indent_less.gif ed_indent_more.gif ed_link.gif ed_list_bullet.gif ed_list_num.gif ed_paste.gif ed_redo.gif ed_save.gif ed_save.png ed_show_border.gif ed_splitcel.gif ed_undo.gif fullscreen_maximize.gif fullscreen_minimize.gif insert_table.gif makefile.xml Log Message: Upgraded htmlarea3 Index: ed_about.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_about.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsqEKIcd and /tmp/cvs0gk9jI differ Index: ed_align_center.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_align_center.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsIy1c0u and /tmp/cvsphJHh0 differ Index: ed_align_justify.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_align_justify.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsQmVQuO and /tmp/cvsSV7i5j differ Index: ed_align_left.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_align_left.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs7JVArU and /tmp/cvsh1Vs7p differ Index: ed_align_right.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_align_right.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsN5yRVW and /tmp/cvs79OnDs differ Index: ed_blank.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_blank.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsKHZqAZ and /tmp/cvshDUEjv differ Index: ed_charmap.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_charmap.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs1aZX61 and /tmp/cvsyliQRx differ Index: ed_color_bg.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_color_bg.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsZG3Dic and /tmp/cvsadUD8H differ Index: ed_color_fg.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_color_fg.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsqRAPpk and /tmp/cvswZYOCS differ Index: ed_copy.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_copy.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsfiiobK and /tmp/cvsgK2cFi differ Index: ed_custom.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_custom.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsAOGGdL and /tmp/cvs2WrsOj differ Index: ed_cut.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_cut.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsL87pdS and /tmp/cvsFIBKSq differ Index: ed_delete.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_delete.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsdFOoBX and /tmp/cvsjj0ckw differ Index: ed_format_bold.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_format_bold.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsNMCDxe and /tmp/cvs1lPwrN differ Index: ed_format_italic.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_format_italic.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsBslhbl and /tmp/cvsyz5u9T differ Index: ed_format_strike.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_format_strike.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsCiDtxF and /tmp/cvsEAFuHe differ Index: ed_format_sub.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_format_sub.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsiZ2C9W and /tmp/cvsVNbAnx differ Index: ed_format_sup.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_format_sup.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsQnc1k6 and /tmp/cvsaKeYEG differ Index: ed_format_underline.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_format_underline.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsHdm8zf and /tmp/cvsrD48ZP differ Index: ed_help.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_help.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs8qWvKk and /tmp/cvsWh6RdV differ Index: ed_hr.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_hr.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvscNKTVN and /tmp/cvswnjyOo differ Index: ed_html.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_html.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvszQfY1W and /tmp/cvszY4y0x differ Index: ed_image.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_image.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsC9ZLh5 and /tmp/cvsWcwfkG differ Index: ed_indent_less.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_indent_less.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs06NxRk and /tmp/cvsnoXI5V differ Index: ed_indent_more.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_indent_more.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs65r6KC and /tmp/cvsWSOp9d differ Index: ed_link.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_link.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs5gnq8F and /tmp/cvsIaKuAh differ Index: ed_list_bullet.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_list_bullet.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsV06ADR and /tmp/cvsHWBJbt differ Index: ed_list_num.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_list_num.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsB44V6t and /tmp/cvso4Rla6 differ Index: ed_paste.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_paste.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsodvtMy and /tmp/cvs2kwUSa differ Index: ed_redo.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_redo.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsiF8mwQ and /tmp/cvsHsoXPs differ Index: ed_save.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_save.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvswMUHam and /tmp/cvslKwlEZ differ Index: ed_save.png =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_save.png,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsV1EjNu and /tmp/cvs2Do8n8 differ Index: ed_show_border.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_show_border.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsFPqnfw and /tmp/cvs1iTkAa differ Index: ed_splitcel.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_splitcel.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsAChL8D and /tmp/cvswOgRyi differ Index: ed_undo.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/ed_undo.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsMAACjH and /tmp/cvsRePjNl differ Index: fullscreen_maximize.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/fullscreen_maximize.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsK7EVnN and /tmp/cvsLfw5Tr differ Index: fullscreen_minimize.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/fullscreen_minimize.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs0gqQ8R and /tmp/cvsb8U4Hw differ Index: insert_table.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/insert_table.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsEaWASR and /tmp/cvs9keqzw differ Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/images/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,3 **** ! <files> ! <file name="*.{gif,jpg,jpeg}" /> ! </files> --- 1,3 ---- ! <files> ! <file name="*.{gif,jpg,jpeg}" /> ! </files> |
From: Joe S. <joe...@us...> - 2004-08-23 16:32:37
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3 Modified Files: dialog.js htmlarea.css htmlarea.js index.html license.txt make-release.pl makefile.xml popupdiv.js popupwin.js project-config.xml reference.html release-notes.html Log Message: Upgraded htmlarea3 Index: dialog.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/dialog.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dialog.js 12 Nov 2003 21:29:48 -0000 1.1 --- dialog.js 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,59 **** ! // Though "Dialog" looks like an object, it isn't really an object. Instead ! // it's just namespace for protecting global symbols. ! ! function Dialog(url, action, init) { ! if (typeof init == "undefined") { ! init = window; // pass this window object by default ! } ! Dialog._geckoOpenModal(url, action, init); ! }; ! ! Dialog._parentEvent = function(ev) { ! if (Dialog._modal && !Dialog._modal.closed) { ! Dialog._modal.focus(); ! HTMLArea._stopEvent(ev); ! } ! }; ! ! // should be a function, the return handler of the currently opened dialog. ! Dialog._return = null; ! ! // constant, the currently opened dialog ! Dialog._modal = null; ! ! // the dialog will read it's args from this variable ! Dialog._arguments = null; ! ! Dialog._geckoOpenModal = function(url, action, init) { ! var dlg = window.open(url, "hadialog", ! "toolbar=no,menubar=no,personalbar=no,width=10,height=10," + ! "scrollbars=no,resizable=yes"); ! Dialog._modal = dlg; ! Dialog._arguments = init; ! ! // capture some window's events ! function capwin(w) { ! HTMLArea._addEvent(w, "click", Dialog._parentEvent); ! HTMLArea._addEvent(w, "mousedown", Dialog._parentEvent); ! HTMLArea._addEvent(w, "focus", Dialog._parentEvent); ! }; ! // release the captured events ! function relwin(w) { ! HTMLArea._removeEvent(w, "click", Dialog._parentEvent); ! HTMLArea._removeEvent(w, "mousedown", Dialog._parentEvent); ! HTMLArea._removeEvent(w, "focus", Dialog._parentEvent); ! }; ! capwin(window); ! // capture other frames ! for (var i = 0; i < window.frames.length; capwin(window.frames[i++])); ! // make up a function to be called when the Dialog ends. ! Dialog._return = function (val) { ! if (val && action) { ! action(val); ! } ! relwin(window); ! // capture other frames ! for (var i = 0; i < window.frames.length; relwin(window.frames[i++])); ! Dialog._modal = null; ! }; ! }; --- 1,73 ---- ! // htmlArea v3.0 - Copyright (c) 2003-2004 interactivetools.com, inc. ! // This copyright notice MUST stay intact for use (see license.txt). ! // ! // Portions (c) dynarch.com, 2003-2004 ! // ! // A free WYSIWYG editor replacement for <textarea> fields. ! // For full source code and docs, visit http://www.interactivetools.com/ ! // ! // Version 3.0 developed by Mihai Bazon. ! // http://dynarch.com/mishoo ! // ! // $Id$ ! ! // Though "Dialog" looks like an object, it isn't really an object. Instead ! // it's just namespace for protecting global symbols. ! ! function Dialog(url, action, init) { ! if (typeof init == "undefined") { ! init = window; // pass this window object by default ! } ! Dialog._geckoOpenModal(url, action, init); ! }; ! ! Dialog._parentEvent = function(ev) { ! setTimeout( function() { if (Dialog._modal && !Dialog._modal.closed) { Dialog._modal.focus() } }, 50); ! if (Dialog._modal && !Dialog._modal.closed) { ! HTMLArea._stopEvent(ev); ! } ! }; ! ! ! // should be a function, the return handler of the currently opened dialog. ! Dialog._return = null; ! ! // constant, the currently opened dialog ! Dialog._modal = null; ! ! // the dialog will read it's args from this variable ! Dialog._arguments = null; ! ! Dialog._geckoOpenModal = function(url, action, init) { ! var dlg = window.open(url, "hadialog", ! "toolbar=no,menubar=no,personalbar=no,width=10,height=10," + ! "scrollbars=no,resizable=yes,modal=yes,dependable=yes"); ! Dialog._modal = dlg; ! Dialog._arguments = init; ! ! // capture some window's events ! function capwin(w) { ! HTMLArea._addEvent(w, "click", Dialog._parentEvent); ! HTMLArea._addEvent(w, "mousedown", Dialog._parentEvent); ! HTMLArea._addEvent(w, "focus", Dialog._parentEvent); ! }; ! // release the captured events ! function relwin(w) { ! HTMLArea._removeEvent(w, "click", Dialog._parentEvent); ! HTMLArea._removeEvent(w, "mousedown", Dialog._parentEvent); ! HTMLArea._removeEvent(w, "focus", Dialog._parentEvent); ! }; ! capwin(window); ! // capture other frames ! for (var i = 0; i < window.frames.length; capwin(window.frames[i++])); ! // make up a function to be called when the Dialog ends. ! Dialog._return = function (val) { ! if (val && action) { ! action(val); ! } ! relwin(window); ! // capture other frames ! for (var i = 0; i < window.frames.length; relwin(window.frames[i++])); ! Dialog._modal = null; ! }; ! }; Index: htmlarea.css =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/htmlarea.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** htmlarea.css 12 Nov 2003 21:29:48 -0000 1.1 --- htmlarea.css 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,182 **** ! .htmlarea { background: #fff; } ! ! .htmlarea .toolbar { ! cursor: default; ! background: ButtonFace; ! padding: 1px 1px 2px 1px; ! border: 1px solid; ! border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; ! } ! .htmlarea .toolbar table { font-family: tahoma,verdana,sans-serif; font-size: 11px; } ! .htmlarea .toolbar img { border: none; } ! .htmlarea .toolbar .label { padding: 0px 3px; } ! ! .htmlarea .toolbar .button { ! background: ButtonFace; ! color: ButtonText; ! border: 1px solid ButtonFace; ! padding: 1px; ! margin: 0px; ! width: 18px; ! height: 18px; ! } ! .htmlarea .toolbar .buttonHover { ! border: 1px solid; ! border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; ! } ! .htmlarea .toolbar .buttonActive, .htmlarea .toolbar .buttonPressed { ! padding: 2px 0px 0px 2px; ! border: 1px solid; ! border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; ! } ! .htmlarea .toolbar .buttonPressed { ! background: ButtonHighlight; ! } ! .htmlarea .toolbar .indicator { ! padding: 0px 3px; ! overflow: hidden; ! width: 20px; ! text-align: center; ! cursor: default; ! border: 1px solid ButtonShadow; ! } ! ! .htmlarea .toolbar .buttonDisabled { background-color: #aaa; } ! ! .htmlarea .toolbar .buttonDisabled img { ! filter: alpha(opacity = 25); ! -moz-opacity: 25%; ! } ! ! .htmlarea .toolbar .separator { ! position: relative; ! margin: 3px; ! border-left: 1px solid ButtonShadow; ! border-right: 1px solid ButtonHighlight; ! width: 0px; ! height: 16px; ! padding: 0px; ! } ! ! .htmlarea .toolbar .space { width: 5px; } ! ! .htmlarea .toolbar select { font: 11px Tahoma,Verdana,sans-serif; } ! ! .htmlarea .toolbar select, ! .htmlarea .toolbar select:hover, ! .htmlarea .toolbar select:active { background: FieldFace; color: ButtonText; } ! ! .htmlarea .statusBar { ! border: 1px solid; ! border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; ! padding: 2px 4px; ! background-color: ButtonFace; ! color: ButtonText; ! font: 11px Tahoma,Verdana,sans-serif; ! } ! ! .htmlarea .statusBar .statusBarTree a { ! padding: 2px 5px; ! color: #00f; ! } ! ! .htmlarea .statusBar .statusBarTree a:visited { color: #00f; } ! .htmlarea .statusBar .statusBarTree a:hover { ! background-color: Highlight; ! color: HighlightText; ! padding: 1px 4px; ! border: 1px solid HighlightText; ! } ! ! ! /* Hidden DIV popup dialogs (PopupDiv) */ ! ! .dialog { ! color: ButtonText; ! background: ButtonFace; ! } ! ! .dialog .content { padding: 2px; } ! ! .dialog, .dialog button, .dialog input, .dialog select, .dialog textarea, .dialog table { ! font: 11px Tahoma,Verdana,sans-serif; ! } ! ! .dialog table { border-collapse: collapse; } ! ! .dialog .title { ! background: #008; ! color: #ff8; ! border-bottom: 1px solid #000; ! padding: 1px 0px 2px 5px; ! font-size: 12px; ! font-weight: bold; ! cursor: default; ! } ! ! .dialog .title .button { ! float: right; ! border: 1px solid #66a; ! padding: 0px 1px 0px 2px; ! margin-right: 1px; ! color: #fff; ! text-align: center; ! } ! ! .dialog .title .button-hilite { border-color: #88f; background: #44c; } ! ! .dialog button { ! width: 5em; ! padding: 0px; ! } ! ! .dialog .buttonColor { ! padding: 1px; ! cursor: default; ! border: 1px solid; ! border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; ! } ! ! .dialog .buttonColor-hilite { ! border-color: #000; ! } ! ! .dialog .buttonColor .chooser, .dialog .buttonColor .nocolor { ! height: 0.6em; ! border: 1px solid; ! padding: 0px 1em; ! border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; ! } ! ! .dialog .buttonColor .nocolor { padding: 0px; } ! .dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; } ! ! .dialog .label { text-align: right; width: 6em; } ! .dialog .value input { width: 100%; } ! .dialog .buttons { text-align: right; padding: 2px 4px 0px 4px; } ! ! .dialog legend { font-weight: bold; } ! .dialog fieldset table { margin: 2px 0px; } ! ! .popupdiv { ! border: 2px solid; ! border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; ! } ! ! .popupwin { ! padding: 0px; ! margin: 0px; ! } ! ! .popupwin .title { ! background: #fff; ! color: #000; ! font-weight: bold; ! font-size: 120%; ! padding: 3px 10px; ! margin-bottom: 10px; ! border-bottom: 1px solid black; ! letter-spacing: 2px; ! } ! ! form { margin: 0px; border: none; } --- 1,180 ---- ! .htmlarea { background: #fff; } ! ! .htmlarea .toolbar { ! cursor: default; ! background: ButtonFace; ! padding: 1px 1px 2px 1px; ! border: 1px solid; ! border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; ! } ! .htmlarea .toolbar table { font-family: tahoma,verdana,sans-serif; font-size: 11px; } ! .htmlarea .toolbar img { border: none; } ! .htmlarea .toolbar .label { padding: 0px 3px; } ! ! .htmlarea .toolbar .button { ! background: ButtonFace; ! color: ButtonText; ! border: 1px solid ButtonFace; ! padding: 1px; ! margin: 0px; ! width: 18px; ! height: 18px; ! } ! .htmlarea .toolbar .buttonHover { ! border: 1px solid; ! border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; ! } ! .htmlarea .toolbar .buttonActive, .htmlarea .toolbar .buttonPressed { ! padding: 2px 0px 0px 2px; ! border: 1px solid; ! border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; ! } ! .htmlarea .toolbar .buttonPressed { ! background: ButtonHighlight; ! } ! .htmlarea .toolbar .indicator { ! padding: 0px 3px; ! overflow: hidden; ! width: 20px; ! text-align: center; ! cursor: default; ! border: 1px solid ButtonShadow; ! } ! ! .htmlarea .toolbar .buttonDisabled img { ! filter: alpha(opacity = 25); ! -moz-opacity: 0.25; ! } ! ! .htmlarea .toolbar .separator { ! position: relative; ! margin: 3px; ! border-left: 1px solid ButtonShadow; ! border-right: 1px solid ButtonHighlight; ! width: 0px; ! height: 16px; ! padding: 0px; ! } ! ! .htmlarea .toolbar .space { width: 5px; } ! ! .htmlarea .toolbar select { font: 11px Tahoma,Verdana,sans-serif; } ! ! .htmlarea .toolbar select, ! .htmlarea .toolbar select:hover, ! .htmlarea .toolbar select:active { background: FieldFace; color: ButtonText; } ! ! .htmlarea .statusBar { ! border: 1px solid; ! border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; ! padding: 2px 4px; ! background-color: ButtonFace; ! color: ButtonText; ! font: 11px Tahoma,Verdana,sans-serif; ! } ! ! .htmlarea .statusBar .statusBarTree a { ! padding: 2px 5px; ! color: #00f; ! } ! ! .htmlarea .statusBar .statusBarTree a:visited { color: #00f; } ! .htmlarea .statusBar .statusBarTree a:hover { ! background-color: Highlight; ! color: HighlightText; ! padding: 1px 4px; ! border: 1px solid HighlightText; ! } ! ! ! /* Hidden DIV popup dialogs (PopupDiv) */ ! ! .dialog { ! color: ButtonText; ! background: ButtonFace; ! } ! ! .dialog .content { padding: 2px; } ! ! .dialog, .dialog button, .dialog input, .dialog select, .dialog textarea, .dialog table { ! font: 11px Tahoma,Verdana,sans-serif; ! } ! ! .dialog table { border-collapse: collapse; } ! ! .dialog .title { ! background: #008; ! color: #ff8; ! border-bottom: 1px solid #000; ! padding: 1px 0px 2px 5px; ! font-size: 12px; ! font-weight: bold; ! cursor: default; ! } ! ! .dialog .title .button { ! float: right; ! border: 1px solid #66a; ! padding: 0px 1px 0px 2px; ! margin-right: 1px; ! color: #fff; ! text-align: center; ! } ! ! .dialog .title .button-hilite { border-color: #88f; background: #44c; } ! ! .dialog button { ! width: 5em; ! padding: 0px; ! } ! ! .dialog .buttonColor { ! padding: 1px; ! cursor: default; ! border: 1px solid; ! border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; ! } ! ! .dialog .buttonColor-hilite { ! border-color: #000; ! } ! ! .dialog .buttonColor .chooser, .dialog .buttonColor .nocolor { ! height: 0.6em; ! border: 1px solid; ! padding: 0px 1em; ! border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; ! } ! ! .dialog .buttonColor .nocolor { padding: 0px; } ! .dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; } ! ! .dialog .label { text-align: right; width: 6em; } ! .dialog .value input { width: 100%; } ! .dialog .buttons { text-align: right; padding: 2px 4px 0px 4px; } ! ! .dialog legend { font-weight: bold; } ! .dialog fieldset table { margin: 2px 0px; } ! ! .popupdiv { ! border: 2px solid; ! border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; ! } ! ! .popupwin { ! padding: 0px; ! margin: 0px; ! } ! ! .popupwin .title { ! background: #fff; ! color: #000; ! font-weight: bold; ! font-size: 120%; ! padding: 3px 10px; ! margin-bottom: 10px; ! border-bottom: 1px solid black; ! letter-spacing: 2px; ! } ! ! form { margin: 0px; border: none; } Index: htmlarea.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/htmlarea.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** htmlarea.js 12 Nov 2003 21:29:48 -0000 1.1 --- htmlarea.js 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,1839 **** ! // ! // htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc. ! // This copyright notice MUST stay intact for use (see license.txt). ! // ! // A free WYSIWYG editor replacement for <textarea> fields. ! // For full source code and docs, visit http://www.interactivetools.com/ ! // ! // Version 3.0 developed by Mihai Bazon for InteractiveTools. ! // http://dynarch.com/mishoo ! // [...4040 lines suppressed...] ! * FIX: Internet Explorer returns an item having the _name_ equal to the given ! * id, even if it's not having any id. This way it can return a different form ! * field even if it's not a textarea. This workarounds the problem by ! * specifically looking to search only elements having a certain tag name. ! */ ! HTMLArea.getElementById = function(tag, id) { ! var el, i, objs = document.getElementsByTagName(tag); ! for (i = objs.length; --i >= 0 && (el = objs[i]);) ! if (el.id == id) ! return el; ! return null; ! }; ! ! ! ! // EOF ! // Local variables: // ! // c-basic-offset:8 // ! // indent-tabs-mode:t // ! // End: // Index: index.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.html 12 Nov 2003 21:29:48 -0000 1.1 --- index.html 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,201 **** ! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN"> ! <html> ! <head> ! <title>HTMLArea -- the free, customizable online editor</title> ! ! <style type="text/css"> ! html, body { font-family: georgia,"times new roman",serif; background-color: #fff; color: #000; } ! .label { text-align: right; padding-right: 0.3em; } ! .bline { border-bottom: 1px solid #aaa; } ! </style> ! </head> ! ! <body> ! <div style="float: right; border: 1px solid #aaa; background-color: #eee; padding: 3px; margin-left: 10px; margin-bottom: 10px;"> ! <table cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class="label">Version:</td><td><% $version %></td> ! </tr> ! <tr> ! <td class="label">Release:</td><td><% $release %> (<a href="release-notes.html">release notes</a>)</td> ! </tr> ! <tr> ! <td class="label bline">Compiled at:</td><td class="bline"><% $time %></td> ! </tr> ! <tr> ! <td class="label">SourceForge page:</td><td><a href="http://sf.net/projects/itools-htmlarea/">http://sf.net/projects/itools-htmlarea/</a></td> ! </table> ! </div> ! <h1>HTMLArea -- the free<br/>customizable online editor</h1> ! ! <p> ! HTMLArea is a free, customizable online editor. It works inside your ! browser. It uses a non-standard feature implemented in Internet ! Explorer 5.5 or better for Windows and Mozilla 1.3 or better (any ! platform), therefore it will only work in one of these browsers. ! </p> ! ! <p> ! HTMLArea is copyright <a ! href="http://interactivetools.com">InteractiveTools.com</a> and ! released under a BSD-style license. HTMLArea is created and developed ! upto version 2.03 by InteractiveTools.com. Version 3.0 developed by ! <a href="http://dynarch.com/mishoo/">Mihai Bazon</a> for ! InteractiveTools. It contains code sponsored by other companies as ! well. ! </p> ! ! <h2>Online demos</h2> ! ! <ul> ! ! <li><a href="example.html">HTMLArea standard</a> -- contains the core ! editor.</li> ! ! <li><a href="example-table-operations.html">HTMLArea + tables</a> -- ! loads the <tt>TableOperations</tt> plugin, sponsored by <a ! href="http://bloki.com">Zapatec Inc.</a></li> ! ! <li><a href="example-spell-checker.html">HTMLArea + spell checher</a> ! -- loads the <tt>SpellChecker</tt> plugin, sponsored by <a ! href="http://americanbible.org">American Bible Society</a>.</li> ! ! <li><a href="example-fully-loaded.html">HTMLArea fully loaded</a> ;-)</li> ! ! </ul> ! ! <h2>Installation</h2> ! ! <p> ! Installation is (or should be) easy. You need to unpack the ZIP file ! in a directory accessible through your webserver. Supposing you ! unpack in your <tt>DocumentRoot</tt> and your <tt>DocumentRoot</tt> is ! <tt>/var/www/html</tt> as in a standard RedHat installation, you need ! to acomplish the following steps: (the example is for a Unix-like ! operating system) ! </p> ! ! <pre style="margin-left: 2em" ! > ! cd /var/www/html ! unzip /path/to/archive/<% $basename %>.zip ! mv <% $basename %> htmlarea ! find htmlarea/ -type f -exec chmod 644 {} \; ! find htmlarea/ -type d -exec chmod 755 {} \; ! find htmlarea/ -name "*.cgi" -exec chmod 755 {} \;</pre> ! ! <p> ! <strong>Notes.</strong> You may chose to symlink "htmlarea" to "<% ! $basename %>", in which case your server needs to be configured to ! "<tt>FollowSymLinks</tt>". You need to make sure that *.cgi files are ! interpreted as CGI scripts. If you want to use the SpellChecker ! plugin you need to have a recent version of Perl installed (I ! recommend 5.8.0) on the server, and the module Text::Aspell, available ! from CPAN. More info in "<a ! href="plugins/SpellChecker/readme-tech.html">plugins/SpellChecker/readme-tech.html</a>". ! </p> ! ! <p>About how to setup your pages to use the editor, please read the ! [outdated yet generally valid] <a ! href="reference.html">documentation</a>.</p> ! ! <h2>Status and links</h2> ! ! <p>HTMLArea has reached version 3.0. As of this version, it ! supports:</p> ! ! <ul> ! ! <li>Customizable toolbar</li> ! ! <li>Easy internationalization</li> ! ! <li>Plugin-based infrastructure</li> ! ! <li>Delivers W3-compliant HTML (with few exceptions)</li> ! ! <li>Has a subset of Microsoft Word's keyboard shortcuts</li> ! ! <li>Full-screen editor</li> ! ! <li>Advanced table operations (by external plugin ! "TableOperations")</li> ! ! <li>Spell checker (by external plugin "SpellChecker")</li> ! ! <li>probably more... ;-)</li> ! ! </ul> ! ! <p>We have a <a ! href="http://sourceforge.net/projects/itools-htmlarea/">project page</a> ! at <a href="http://sourceforge.net">SourceForge.net</a>. There you can ! also find out <a href="http://sourceforge.net/cvs/?group_id=69750">how ! to retrieve the code from CVS</a>, or you can <a ! href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/itools-htmlarea">browse ! the CVS online</a>. We also have a <a ! href="http://sourceforge.net/tracker/?atid=525656&group_id=69750&func=browse">bug ! system</a>, a <a ! href="http://sourceforge.net/tracker/?atid=525658&group_id=69750&func=browse">patch ! tracking system</a> and a <a ! href="http://sourceforge.net/tracker/?atid=525659&group_id=69750&func=browse">feature ! request page</a>.</p> ! ! <p>We invite you to say everything you want about HTMLArea <a ! href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;">on the ! forums</a> at InteractiveTools.com. There you should also find the ! latest news.</p> ! ! <p>Sometimes I post news about the latest developments on <a ! href="http://dynarch.com/mishoo/">my personal homepage</a>.</p> ! ! <h2>"It doesn't work, what's wrong?"</h2> ! ! <p>If it doesn't work, you have several options:</p> ! ! <ul> ! ! <li>Post a message to the forum. Describe your problem in as much ! detail as possible. Include errors you might find in the JavaScript ! console (if you are a Mozilla user), or errors displayed by IE (though ! they're most of the times useless).</li> ! ! <li>If you're positive that you discovered a bug in HTMLArea then feel ! free to fill a bug report in our bug system. If you have the time you ! should check to see if a similar bug was reported or not; it might be ! fixed already in the CVS ;-) If you're positive that a similar bug was ! not yet reported, do fill a bug report and please include as much ! detail as possible, such as your browser, OS, errors from JavaScript ! console, etc.</li> ! ! <li>If you want a new feature to be implemented, post it on the ! features request and someone will hopefully take care of it.</li> ! ! </ul> ! ! <p>You can <a href="mailto:mi...@in...">contact me directly</a> ! <em>only</em> if you want to pay me for implementing custom features to ! HTMLArea. If you want to sponsor these features (that is, allow them to ! get back into the public HTMLArea distribution) I'll be cheaper. ;-)</p> ! ! <hr /> ! <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> ! <!-- Created: Sun Aug 3 14:11:26 EEST 2003 --> ! <!-- hhmts start --> ! Last modified on Sun Sep 28 14:56:12 2003 ! <!-- hhmts end --> ! <!-- doc-lang: English --> ! </body> ! </html> ! ! <%ARGS> ! $project => 'HTMLArea' ! $version => '3.0' ! $release => 'beta' ! $basename => 'HTMLArea-3.0-beta' ! </%ARGS> ! ! <%INIT>; ! use POSIX qw(strftime); ! my $time = strftime '%b %e, %Y [%H:%M] GMT', gmtime; ! </%INIT> --- 1,210 ---- ! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN"> ! <html> ! <head> ! <title>HTMLArea -- the free, customizable online editor</title> ! ! <style type="text/css"> ! html, body { font-family: georgia,"times new roman",serif; background-color: #fff; color: #000; } ! .label { text-align: right; padding-right: 0.3em; } ! .bline { border-bottom: 1px solid #aaa; } ! </style> ! </head> ! ! <body> ! <div style="float: right; border: 1px solid #aaa; background-color: #eee; padding: 3px; margin-left: 10px; margin-bottom: 10px;"> ! <table cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class="label">Version:</td><td><% $version %></td> ! </tr> ! <tr> ! <td class="label">Release:</td><td><% $release %> (<a href="release-notes.html">release notes</a>)</td> ! </tr> ! <tr> ! <td class="label bline">Compiled at:</td><td class="bline"><% $time %></td> ! </tr> ! <tr> ! <td class="label">SourceForge page:</td><td><a href="http://sf.net/projects/itools-htmlarea/">http://sf.net/projects/itools-htmlarea/</a></td> ! </table> ! </div> ! <h1>HTMLArea -- the free<br/>customizable online editor</h1> ! ! <p> ! HTMLArea is a free, customizable online editor. It works inside your ! browser. It uses a non-standard feature implemented in Internet ! Explorer 5.5 or better for Windows and Mozilla 1.3 or better (any ! platform), therefore it will only work in one of these browsers. ! </p> ! ! <p> ! HTMLArea is copyright <a ! href="http://interactivetools.com">InteractiveTools.com</a> and <a ! href="http://dynarch.com">Dynarch.com</a> and it is ! released under a BSD-style license. HTMLArea is created and developed ! upto version 2.03 by InteractiveTools.com. Version 3.0 developed by ! <a href="http://dynarch.com/mishoo/">Mihai Bazon</a> for ! InteractiveTools. It contains code sponsored by third-party companies as well. ! Please see our About Box for details about who sponsored what plugins. ! </p> ! ! <h2>Online demos</h2> ! ! <ul> ! ! <li><a href="examples/core.html">HTMLArea standard</a> -- contains the core ! editor.</li> ! ! <li><a href="examples/table-operations.html">HTMLArea + tables</a> -- ! loads the <tt>TableOperations</tt> plugin which provides some extra ! editing features for tables.</li> ! ! <li><a href="examples/spell-checker.html">HTMLArea + spell checher</a> ! -- loads the <tt>SpellChecker</tt> plugin which provides what its ! name says: a spell checker. This one requires additional support on ! the server-side.</li> ! ! <li><a href="examples/full-page.html">HTMLArea Full HTML Editor</a> -- ! loads the <tt>FullPage</tt> plugin which allows you to edit a full ! HTML page, including <title>, <!DOCTYPE...> and some ! other options.</li> ! ! <li><a href="examples/context-menu.html">HTMLArea with Context ! Menu</a> -- this plugin provides a nice and useful context menu.</li> ! ! <li><a href="examples/fully-loaded.html">HTMLArea fully loaded</a> -- ! all of the above. ;-)</li> ! ! </ul> ! ! <h2>Installation</h2> ! ! <p> ! Installation is (or should be) easy. You need to unpack the ZIP file ! in a directory accessible through your webserver. Supposing you ! unpack in your <tt>DocumentRoot</tt> and your <tt>DocumentRoot</tt> is ! <tt>/var/www/html</tt> as in a standard RedHat installation, you need ! to acomplish the following steps: (the example is for a Unix-like ! operating system) ! </p> ! ! <pre style="margin-left: 2em" ! > ! cd /var/www/html ! unzip /path/to/archive/<% $basename %>.zip ! mv <% $basename %> htmlarea ! find htmlarea/ -type f -exec chmod 644 {} \; ! find htmlarea/ -type d -exec chmod 755 {} \; ! find htmlarea/ -name "*.cgi" -exec chmod 755 {} \;</pre> ! ! <p> ! <strong>Notes.</strong> You may chose to symlink "htmlarea" to "<% ! $basename %>", in which case your server needs to be configured to ! "<tt>FollowSymLinks</tt>". You need to make sure that *.cgi files are ! interpreted as CGI scripts. If you want to use the SpellChecker ! plugin you need to have a recent version of Perl installed (I ! recommend 5.8.0) on the server, and the module Text::Aspell, available ! from CPAN. More info in "<a ! href="plugins/SpellChecker/readme-tech.html">plugins/SpellChecker/readme-tech.html</a>". ! </p> ! ! <p>About how to setup your pages to use the editor, please read the ! [outdated yet generally valid] <a ! href="reference.html">documentation</a>.</p> ! ! <h2>Status and links</h2> ! ! <p>HTMLArea has reached version 3.0. As of this version, it ! supports:</p> ! ! <ul> ! ! <li>Customizable toolbar</li> ! ! <li>Easy internationalization</li> ! ! <li>Plugin-based infrastructure</li> ! ! <li>Delivers W3-compliant HTML (with few exceptions)</li> ! ! <li>Has a subset of Microsoft Word's keyboard shortcuts</li> ! ! <li>Full-screen editor</li> ! ! <li>Advanced table operations (by external plugin ! "TableOperations")</li> ! ! <li>Spell checker (by external plugin "SpellChecker")</li> ! ! <li>probably more... ;-)</li> ! ! </ul> ! ! <p>We have a <a ! href="http://sourceforge.net/projects/itools-htmlarea/">project page</a> ! at <a href="http://sourceforge.net">SourceForge.net</a>. There you can ! also find out <a href="http://sourceforge.net/cvs/?group_id=69750">how ! to retrieve the code from CVS</a>, or you can <a ! href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/itools-htmlarea">browse ! the CVS online</a>. We also have a <a ! href="http://sourceforge.net/tracker/?atid=525656&group_id=69750&func=browse">bug ! system</a>, a <a ! href="http://sourceforge.net/tracker/?atid=525658&group_id=69750&func=browse">patch ! tracking system</a> and a <a ! href="http://sourceforge.net/tracker/?atid=525659&group_id=69750&func=browse">feature ! request page</a>.</p> ! ! <p>We invite you to say everything you want about HTMLArea <a ! href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;">on the ! forums</a> at InteractiveTools.com. There you should also find the ! latest news.</p> ! ! <p>Sometimes I post news about the latest developments on <a ! href="http://dynarch.com/mishoo/">my personal homepage</a>.</p> ! ! <h2>"It doesn't work, what's wrong?"</h2> ! ! <p>If it doesn't work, you have several options:</p> ! ! <ul> ! ! <li>Post a message to the forum. Describe your problem in as much ! detail as possible. Include errors you might find in the JavaScript ! console (if you are a Mozilla user), or errors displayed by IE (though ! they're most of the times useless).</li> ! ! <li>If you're positive that you discovered a bug in HTMLArea then feel ! free to fill a bug report in our bug system. If you have the time you ! should check to see if a similar bug was reported or not; it might be ! fixed already in the CVS ;-) If you're positive that a similar bug was ! not yet reported, do fill a bug report and please include as much ! detail as possible, such as your browser, OS, errors from JavaScript ! console, etc.</li> ! ! <li>If you want a new feature to be implemented, post it on the ! features request and someone will hopefully take care of it.</li> ! ! </ul> ! ! <p>You can <a href="mailto:mi...@in...">contact me directly</a> ! <em>only</em> if you want to pay me for implementing custom features to ! HTMLArea. If you want to sponsor these features (that is, allow them to ! get back into the public HTMLArea distribution) I'll be cheaper. ;-)</p> ! ! <hr /> ! <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> ! <!-- Created: Sun Aug 3 14:11:26 EEST 2003 --> ! <!-- hhmts start --> Last modified: Wed Jan 28 11:54:47 EET 2004 <!-- hhmts end --> ! <!-- doc-lang: English --> ! </body> ! </html> ! ! <%ARGS> ! $project => 'HTMLArea' ! $version => '3.0' ! $release => 'rc1' ! $basename => 'HTMLArea-3.0-rc1' ! </%ARGS> ! ! <%INIT>; ! use POSIX qw(strftime); ! my $time = strftime '%b %e, %Y [%H:%M] GMT', gmtime; ! </%INIT> Index: license.txt =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/license.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** license.txt 12 Nov 2003 21:29:48 -0000 1.1 --- license.txt 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,13 **** ! htmlArea License (based on BSD license) ! Copyright (c) 2002, interactivetools.com, inc. ! All rights reserved. ! ! Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ! ! 1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. ! ! 2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. ! ! 3) Neither the name of interactivetools.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. ! ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- 1,30 ---- ! htmlArea License (based on BSD license) ! Copyright (c) 2002-2004, interactivetools.com, inc. ! Copyright (c) 2003-2004 dynarch.com ! All rights reserved. ! ! Redistribution and use in source and binary forms, with or without ! modification, are permitted provided that the following conditions are met: ! ! 1) Redistributions of source code must retain the above copyright notice, ! this list of conditions and the following disclaimer. ! ! 2) Redistributions in binary form must reproduce the above copyright notice, ! this list of conditions and the following disclaimer in the documentation ! and/or other materials provided with the distribution. ! ! 3) Neither the name of interactivetools.com, inc. nor the names of its ! contributors may be used to endorse or promote products derived from this ! software without specific prior written permission. ! ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE ! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR ! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF ! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS ! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN ! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ! POSSIBILITY OF SUCH DAMAGE. Index: make-release.pl =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/make-release.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** make-release.pl 12 Nov 2003 21:29:48 -0000 1.1 --- make-release.pl 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,263 **** ! #! /usr/bin/perl -w ! # $Id$ ! ! # Script for creating a distribution archive. Based on make-release.pl from ! # jscalendar. ! ! # Author: Mihai Bazon, http://dynarch.com/mishoo ! # NO WARRANTIES WHATSOEVER. READ GNU LGPL. ! ! # This file requires HTML::Mason; this module is used for automatic ! # substitution of the version/release number as well as for selection of the ! # changelog (at least in the file release-notes.html). It might not work ! # without HTML::Mason. ! ! use strict; ! # use diagnostics; ! use HTML::Mason; ! use File::Find; ! use XML::Parser; ! use Data::Dumper; ! ! my $verbosity = 1; ! ! my $tmpdir = '/tmp'; ! ! my $config = parseXML("project-config.xml"); ! speak(3, Data::Dumper::Dumper($config)); ! ! my ($project, $version, $release, $basename); ! ! $project = $config->{project}{ATTR}{title}; ! $version = $config->{project}{version}{DATA}; ! $release = $config->{project}{release}{DATA}; ! $basename = "$project-$version"; ! $basename .= "-$release" if ($release); ! ! speak(1, "Project: $basename"); ! ! ## create directory tree ! my ($basedir); ! { ! # base directory ! $basedir = "$tmpdir/$basename"; ! if (-d $basedir) { ! speak(-1, "$basedir already exists, removing... >:-]\n"); ! system "rm -rf $basedir"; ! } ! } ! ! process_directory(); ! ! ## make the ZIP file ! chdir "$basedir/.."; ! speak(1, "Making ZIP file /tmp/$basename.zip"); ! system ("zip -r $basename.zip $basename > /dev/null"); ! system ("ls -la /tmp/$basename.zip"); ! ! ## remove the basedir ! system("rm -rf $basedir"); ! ! ## back ! #chdir $cwd; ! ! ! ! ### SUBROUTINES ! ! # handle _one_ file ! sub process_one_file { ! my ($attr, $target) = @_; ! ! $target =~ s/\/$//; ! $target .= '/'; ! my $destination = $target.$attr->{REALNAME}; ! ! # copy file first ! speak(1, " copying $attr->{REALNAME}"); ! system "cp $attr->{REALNAME} $destination"; ! ! my $masonize = $attr->{masonize} || ''; ! if ($masonize =~ /yes|on|1/i) { ! speak(1, " > masonizing to $destination..."); ! my $args = $attr->{args} || ''; ! my @vars = split(/\s*,\s*/, $args); ! my %args = (); ! foreach my $i (@vars) { ! $args{$i} = eval '$'.$i; ! speak(1, " > argument: $i => $args{$i}"); ! } ! my $outbuf; ! my $interp = HTML::Mason::Interp->new ( comp_root => $target, ! out_method => \$outbuf ); ! $interp->exec("/$attr->{REALNAME}", %args); ! open (FILE, "> $destination"); ! print FILE $outbuf; ! close (FILE); ! } ! } ! ! # handle some files ! sub process_files { ! my ($files, $target) = @_; ! ! # proceed with the explicitely required files first ! my %options = (); ! foreach my $i (@{$files}) { ! $options{$i->{ATTR}{name}} = $i->{ATTR}; ! } ! ! foreach my $i (@{$files}) { ! my @expanded = glob "$i->{ATTR}{name}"; ! foreach my $file (@expanded) { ! $i->{ATTR}{REALNAME} = $file; ! if (defined $options{$file}) { ! unless (defined $options{$file}->{PROCESSED}) { ! speak(1, "EXPLICIT FILE: $file"); ! $options{$file}->{REALNAME} = $file; ! process_one_file($options{$file}, $target); ! $options{$file}->{PROCESSED} = 1; ! } ! } else { ! speak(2, "GLOB: $file"); ! process_one_file($i->{ATTR}, $target); ! $options{$file} = 2; ! } ! } ! } ! } ! ! # handle _one_ directory ! sub process_directory { ! my ($dir, $path) = @_; ! my $cwd = '..'; # ;-) ! ! (defined $dir) || ($dir = '.'); ! (defined $path) || ($path = ''); ! speak(2, "DIR: $path$dir"); ! $dir =~ s/\/$//; ! $dir .= '/'; ! ! unless (-d $dir) { ! speak(-1, "DIRECTORY '$dir' NOT FOUND, SKIPPING"); ! return 0; ! } ! ! # go where we have stuff to do ! chdir $dir; ! ! my $target = $basedir; ! ($path =~ /\S/) && ($target .= "/$path"); ! ($dir ne './') && ($target .= $dir); ! ! speak(1, "*** Creating directory: $target"); ! mkdir $target; ! ! unless (-f 'makefile.xml') { ! speak(-1, "No makefile.xml in this directory"); ! chdir $cwd; ! return 0; ! } ! my $config = parseXML("makefile.xml"); ! speak(3, Data::Dumper::Dumper($config)); ! ! my $tmp = $config->{files}{file}; ! if (defined $tmp) { ! my $files; ! if (ref($tmp) eq 'ARRAY') { ! $files = $tmp; ! } else { ! $files = [ $tmp ]; ! } ! process_files($files, $target); ! } ! ! $tmp = $config->{files}{dir}; ! if (defined $tmp) { ! my $subdirs; ! if (ref($tmp) eq 'ARRAY') { ! $subdirs = $tmp; ! } else { ! $subdirs = [ $tmp ]; ! } ! foreach my $i (@{$subdirs}) { ! process_directory($i->{ATTR}{name}, $path.$dir); ! } ! } ! ! # get back to our previous location ! chdir $cwd; ! } ! ! # this does all the XML parsing shit we'll need for our little task ! sub parseXML { ! my ($filename) = @_; ! my $rethash = {}; ! ! my @tagstack; ! ! my $handler_start = sub { ! my ($parser, $tag, @attrs) = @_; ! my $current_tag = {}; ! $current_tag->{NAME} = $tag; ! $current_tag->{DATA} = ''; ! push @tagstack, $current_tag; ! if (scalar @attrs) { ! my $attrs = {}; ! $current_tag->{ATTR} = $attrs; ! while (scalar @attrs) { ! my $name = shift @attrs; ! my $value = shift @attrs; ! $attrs->{$name} = $value; ! } ! } ! }; ! ! my $handler_char = sub { ! my ($parser, $data) = @_; ! if ($data =~ /\S/) { ! $tagstack[$#tagstack]->{DATA} .= $data; ! } ! }; ! ! my $handler_end = sub { ! my $current_tag = pop @tagstack; ! if (scalar @tagstack) { ! my $tmp = $tagstack[$#tagstack]->{$current_tag->{NAME}}; ! if (defined $tmp) { ! ## better build an array, there are more elements with this tagname ! if (ref($tmp) eq 'ARRAY') { ! ## oops, the ARRAY is already there, just add the new element ! push @{$tmp}, $current_tag; ! } else { ! ## create the array "in-place" ! $tagstack[$#tagstack]->{$current_tag->{NAME}} = [ $tmp, $current_tag ]; ! } ! } else { ! $tagstack[$#tagstack]->{$current_tag->{NAME}} = $current_tag; ! } ! } else { ! $rethash->{$current_tag->{NAME}} = $current_tag; ! } ! }; ! ! my $parser = new XML::Parser ! ( Handlers => { Start => $handler_start, ! Char => $handler_char, ! End => $handler_end } ); ! $parser->parsefile($filename); ! ! return $rethash; ! } ! ! # print somethign according to the level of verbosity ! # receives: verbosity_level and message ! # prints message if verbosity_level >= $verbosity (global) ! sub speak { ! my ($v, $t) = @_; ! if ($v < 0) { ! print STDERR "\033[1;31m!! $t\033[0m\n"; ! } elsif ($verbosity >= $v) { ! print $t, "\n"; ! } ! } --- 1,263 ---- ! #! /usr/bin/perl -w ! # $Id$ ! ! # Script for creating a distribution archive. Based on make-release.pl from ! # jscalendar. ! ! # Author: Mihai Bazon, http://dynarch.com/mishoo ! # NO WARRANTIES WHATSOEVER. READ GNU LGPL. ! ! # This file requires HTML::Mason; this module is used for automatic ! # substitution of the version/release number as well as for selection of the ! # changelog (at least in the file release-notes.html). It might not work ! # without HTML::Mason. ! ! use strict; ! # use diagnostics; ! use HTML::Mason; ! use File::Find; ! use XML::Parser; ! use Data::Dumper; ! ! my $verbosity = 1; ! ! my $tmpdir = '/tmp'; ! ! my $config = parseXML("project-config.xml"); ! speak(3, Data::Dumper::Dumper($config)); ! ! my ($project, $version, $release, $basename); ! ! $project = $config->{project}{ATTR}{title}; ! $version = $config->{project}{version}{DATA}; ! $release = $config->{project}{release}{DATA}; ! $basename = "$project-$version"; ! $basename .= "-$release" if ($release); ! ! speak(1, "Project: $basename"); ! ! ## create directory tree ! my ($basedir); ! { ! # base directory ! $basedir = "$tmpdir/$basename"; ! if (-d $basedir) { ! speak(-1, "$basedir already exists, removing... >:-]\n"); ! system "rm -rf $basedir"; ! } ! } ! ! process_directory(); ! ! ## make the ZIP file ! chdir "$basedir/.."; ! speak(1, "Making ZIP file /tmp/$basename.zip"); ! system ("zip -r $basename.zip $basename > /dev/null"); ! system ("ls -la /tmp/$basename.zip"); ! ! ## remove the basedir ! system("rm -rf $basedir"); ! ! ## back ! #chdir $cwd; ! ! ! ! ### SUBROUTINES ! ! # handle _one_ file ! sub process_one_file { ! my ($attr, $target) = @_; ! ! $target =~ s/\/$//; ! $target .= '/'; ! my $destination = $target.$attr->{REALNAME}; ! ! # copy file first ! speak(1, " copying $attr->{REALNAME}"); ! system "cp $attr->{REALNAME} $destination"; ! ! my $masonize = $attr->{masonize} || ''; ! if ($masonize =~ /yes|on|1/i) { ! speak(1, " > masonizing to $destination..."); ! my $args = $attr->{args} || ''; ! my @vars = split(/\s*,\s*/, $args); ! my %args = (); ! foreach my $i (@vars) { ! $args{$i} = eval '$'.$i; ! speak(1, " > argument: $i => $args{$i}"); ! } ! my $outbuf; ! my $interp = HTML::Mason::Interp->new ( comp_root => $target, ! out_method => \$outbuf ); ! $interp->exec("/$attr->{REALNAME}", %args); ! open (FILE, "> $destination"); ! print FILE $outbuf; ! close (FILE); ! } ! } ! ! # handle some files ! sub process_files { ! my ($files, $target) = @_; ! ! # proceed with the explicitely required files first ! my %options = (); ! foreach my $i (@{$files}) { ! $options{$i->{ATTR}{name}} = $i->{ATTR}; ! } ! ! foreach my $i (@{$files}) { ! my @expanded = glob "$i->{ATTR}{name}"; ! foreach my $file (@expanded) { ! $i->{ATTR}{REALNAME} = $file; ! if (defined $options{$file}) { ! unless (defined $options{$file}->{PROCESSED}) { ! speak(1, "EXPLICIT FILE: $file"); ! $options{$file}->{REALNAME} = $file; ! process_one_file($options{$file}, $target); ! $options{$file}->{PROCESSED} = 1; ! } ! } else { ! speak(2, "GLOB: $file"); ! process_one_file($i->{ATTR}, $target); ! $options{$file} = 2; ! } ! } ! } ! } ! ! # handle _one_ directory ! sub process_directory { ! my ($dir, $path) = @_; ! my $cwd = '..'; # ;-) ! ! (defined $dir) || ($dir = '.'); ! (defined $path) || ($path = ''); ! speak(2, "DIR: $path$dir"); ! $dir =~ s/\/$//; ! $dir .= '/'; ! ! unless (-d $dir) { ! speak(-1, "DIRECTORY '$dir' NOT FOUND, SKIPPING"); ! return 0; ! } ! ! # go where we have stuff to do ! chdir $dir; ! ! my $target = $basedir; ! ($path =~ /\S/) && ($target .= "/$path"); ! ($dir ne './') && ($target .= $dir); ! ! speak(1, "*** Creating directory: $target"); ! mkdir $target; ! ! unless (-f 'makefile.xml') { ! speak(-1, "No makefile.xml in this directory"); ! chdir $cwd; ! return 0; ! } ! my $config = parseXML("makefile.xml"); ! speak(3, Data::Dumper::Dumper($config)); ! ! my $tmp = $config->{files}{file}; ! if (defined $tmp) { ! my $files; ! if (ref($tmp) eq 'ARRAY') { ! $files = $tmp; ! } else { ! $files = [ $tmp ]; ! } ! process_files($files, $target); ! } ! ! $tmp = $config->{files}{dir}; ! if (defined $tmp) { ! my $subdirs; ! if (ref($tmp) eq 'ARRAY') { ! $subdirs = $tmp; ! } else { ! $subdirs = [ $tmp ]; ! } ! foreach my $i (@{$subdirs}) { ! process_directory($i->{ATTR}{name}, $path.$dir); ! } ! } ! ! # get back to our previous location ! chdir $cwd; ! } ! ! # this does all the XML parsing shit we'll need for our little task ! sub parseXML { ! my ($filename) = @_; ! my $rethash = {}; ! ! my @tagstack; ! ! my $handler_start = sub { ! my ($parser, $tag, @attrs) = @_; ! my $current_tag = {}; ! $current_tag->{NAME} = $tag; ! $current_tag->{DATA} = ''; ! push @tagstack, $current_tag; ! if (scalar @attrs) { ! my $attrs = {}; ! $current_tag->{ATTR} = $attrs; ! while (scalar @attrs) { ! my $name = shift @attrs; ! my $value = shift @attrs; ! $attrs->{$name} = $value; ! } ! } ! }; ! ! my $handler_char = sub { ! my ($parser, $data) = @_; ! if ($data =~ /\S/) { ! $tagstack[$#tagstack]->{DATA} .= $data; ! } ! }; ! ! my $handler_end = sub { ! my $current_tag = pop @tagstack; ! if (scalar @tagstack) { ! my $tmp = $tagstack[$#tagstack]->{$current_tag->{NAME}}; ! if (defined $tmp) { ! ## better build an array, there are more elements with this tagname ! if (ref($tmp) eq 'ARRAY') { ! ## oops, the ARRAY is already there, just add the new element ! push @{$tmp}, $current_tag; ! } else { ! ## create the array "in-place" ! $tagstack[$#tagstack]->{$current_tag->{NAME}} = [ $tmp, $current_tag ]; ! } ! } else { ! $tagstack[$#tagstack]->{$current_tag->{NAME}} = $current_tag; ! } ! } else { ! $rethash->{$current_tag->{NAME}} = $current_tag; ! } ! }; ! ! my $parser = new XML::Parser ! ( Handlers => { Start => $handler_start, ! Char => $handler_char, ! End => $handler_end } ); ! $parser->parsefile($filename); ! ! return $rethash; ! } ! ! # print somethign according to the level of verbosity ! # receives: verbosity_level and message ! # prints message if verbosity_level >= $verbosity (global) ! sub speak { ! my ($v, $t) = @_; ! if ($v < 0) { ! print STDERR "\033[1;31m!! $t\033[0m\n"; ! } elsif ($verbosity >= $v) { ! print $t, "\n"; ! } ! } Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,11 **** ! <files> ! <file name="*.{js,html,css,cgi}" /> ! <file name="license.txt" /> ! <file name="release-notes.html" masonize="yes" /> ! <file name="index.html" masonize="yes" /> ! ! <dir name="lang" /> ! <dir name="plugins" /> ! <dir name="popups" /> ! <dir name="images" /> ! </files> --- 1,19 ---- ! <files> ! <file name="*.{js,html,css,cgi}" /> ! <file name="license.txt" /> ! <file name="release-notes.html" masonize="yes" /> ! <file name="index.html" masonize="yes" /> ! <file name="ChangeLog" /> ! ! <dir name="lang" /> ! <dir name="plugins" /> ! <dir name="popups" /> ! <dir name="images" /> ! <dir name="examples" /> ! ! <shell dir="dest"><![CDATA[ ! find . -type d -exec chmod 755 {} \; ; ! find . -type f -exec chmod 644 {} \; ; ! find . -type f -name "*.cgi" -exec chmod 755 {} \; ; ! ]]></shell> ! </files> Index: popupdiv.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popupdiv.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** popupdiv.js 12 Nov 2003 21:29:48 -0000 1.1 --- popupdiv.js 23 Aug 2004 16:31:48 -0000 1.2 *************** *** 1,369 **** ! /** This file is derived from PopupDiv, developed by Mihai Bazon for ! * SamWare.net. Modifications were needed to make it usable in HTMLArea. ! * HTMLArea is a free WYSIWYG online HTML editor from InteractiveTools.com. ! * ! * This file does not function standalone. It is dependent of global functions ! * defined in HTMLArea-3.0 (htmlarea.js). ! * ! * Please see file htmlarea.js for further details. ! **/ ! ! var is_ie = ( (navigator.userAgent.toLowerCase().indexOf("msie") != -1) && ! (navigator.userAgent.toLowerCase().indexOf("opera") == -1) ); ! var is_compat = (document.compatMode == "BackCompat"); ! ! function PopupDiv(editor, titleText, handler, initFunction) { ! var self = this; ! ! this.editor = editor; ! this.doc = editor._mdoc; ! this.handler = handler; ! ! var el = this.doc.createElement("div"); ! el.className = "content"; ! ! var popup = this.doc.createElement("div"); ! popup.className = "dialog popupdiv"; ! this.element = popup; ! var s = popup.style; ! s.position = "absolute"; ! s.left = "0px"; ! s.top = "0px"; ! ! var title = this.doc.createElement("div"); ! title.className = "title"; ! this.title = title; ! popup.appendChild(title); ! ! HTMLArea._addEvent(title, "mousedown", function(ev) { ! self._dragStart(is_ie ? window.event : ev); ! }); ! ! var button = this.doc.createElement("div"); ! button.className = "button"; ! title.appendChild(button); ! button.innerHTML = "×"; ! title.appendChild(this.doc.createTextNode(titleText)); ! this.titleText = titleText; ! ! button.onmouseover = function() { ! this.className += " button-hilite"; ! }; ! button.onmouseout = function() { ! this.className = this.className.replace(/\s*button-hilite\s*/g, " "); ! }; ! button.onclick = function() { ! this.className = this.className.replace(/\s*button-hilite\s*/g, " "); ! self.close(); ! }; ! ! popup.appendChild(el); ! this.content = el; ! ! this.doc.body.appendChild(popup); ! ! this.dragging = false; ! this.onShow = null; ! this.onClose = null; ! this.modal = false; ! ! initFunction(this); ! }; ! ! PopupDiv.currentPopup = null; ! ! PopupDiv.prototype.showAtElement = function(el, mode) { ! this.defaultSize(); ! var pos, ew, eh; ! var popup = this.element; ! popup.style.display = "block"; ! var w = popup.offsetWidth; ! var h = popup.offsetHeight; ! popup.style.display = "none"; ! if (el != window) { ! pos = PopupDiv.getAbsolutePos(el); ! ew = el.offsetWidth; ! eh = el.offsetHeight; ! } else { ! pos = {x:0, y:0}; ! var size = PopupDiv.getWindowSize(); ! ew = size.x; ! eh = size.y; ! } ! var FX = false, FY = false; ! if (mode.indexOf("l") != -1) { ! pos.x -= w; ! FX = true; ! } ! if (mode.indexOf("r") != -1) { ! pos.x += ew; ! FX = true; ! } ! if (mode.indexOf("t") != -1) { ! pos.y -= h; ! FY = true; ! } ! if (mode.indexOf("b") != -1) { ! pos.y += eh; ! FY = true; ! } ! if (mode.indexOf("c") != -1) { ! FX || (pos.x += Math.round((ew - w) / 2)); ! FY || (pos.y += Math.round((eh - h) / 2)); ! } ! this.showAt(pos.x, pos.y); ! }; ! ! PopupDiv.prototype.defaultSize = function() { ! var s = this.element.style; ! var cs = this.element.currentStyle; ! var addX = (is_ie && is_compat) ? (parseInt(cs.borderLeftWidth) + ! parseInt(cs.borderRightWidth) + ! parseInt(cs.paddingLeft) + ! parseInt(cs.paddingRight)) : 0; ! var addY = (is_ie && is_compat) ? (parseInt(cs.borderTopWidth) + ! parseInt(cs.borderBottomWidth) + ! parseInt(cs.paddingTop) + ! parseInt(cs.paddingBottom)) : 0; ! s.display = "block"; ! s.width = (this.content.offsetWidth + addX) + "px"; ! s.height = (this.content.offsetHeight + this.title.offsetHeight) + "px"; ! s.display = "none"; ! }; ! ! PopupDiv.prototype.showAt = function(x, y) { ! this.defaultSize(); ! var s = this.element.style; ! s.display = "block"; ! s.left = x + "px"; ! s.top = y + "px"; ! this.hideShowCovered(); ! ! PopupDiv.currentPopup = this; ! HTMLArea._addEvents(this.doc.body, ["mousedown", "click"], PopupDiv.checkPopup); ! HTMLArea._addEvents(this.editor._doc.body, ["mousedown", "click"], PopupDiv.checkPopup); ! if (is_ie && this.modal) { ! this.doc.body.setCapture(false); ! this.doc.body.onlosecapture = function() { ! (PopupDiv.currentPopup) && (this.doc.body.setCapture(false)); ! }; ! } ! window.event && HTMLArea._stopEvent(window.event); ! ! if (typeof this.onShow == "function") { ! this.onShow(); ! } else if (typeof this.onShow == "string") { ! eval(this.onShow); ! } ! ! var field = this.element.getElementsByTagName("input")[0]; ! if (!field) { ! field = this.element.getElementsByTagName("select")[0]; ! } ! if (!field) { ! field = this.element.getElementsByTagName("textarea")[0]; ! } ! if (field) { ! field.focus(); ! } ! }; ! ! PopupDiv.prototype.close = function() { ! this.element.style.display = "none"; ! PopupDiv.currentPopup = null; ! this.hideShowCovered(); ! HTMLArea._removeEvents(this.doc.body, ["mousedown", "click"], PopupDiv.checkPopup); ! HTMLArea._removeEvents(this.editor._doc.body, ["mousedown", "click"], PopupDiv.checkPopup); ! is_ie && this.modal && this.doc.body.releaseCapture(); ! if (typeof this.onClose == "function") { ! this.onClose(); ! } else if (typeof this.onClose == "string") { ! eval(this.onClose); ! } ! this.element.parentNode.removeChild(this.element); ! }; ! ! PopupDiv.prototype.getForm = function() { ! var forms = this.content.getElementsByTagName("form"); ! return (forms.length > 0) ? forms[0] : null; ! }; ! ! PopupDiv.prototype.callHandler = function() { ! var tags = ["input", "textarea", "select"]; ! var params = new Object(); ! for (var ti in tags) { ! var tag = tags[ti]; ! var els = this.content.get... [truncated message content] |
From: Joe S. <joe...@us...> - 2004-08-23 16:32:08
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/popups Modified Files: about.html blank.html custom2.html editor_help.html fullscreen.html insert_image.html insert_table.html makefile.xml old-fullscreen.html old_insert_image.html popup.js select_color.html Log Message: Upgraded htmlarea3 Index: about.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/about.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** about.html 12 Nov 2003 22:22:31 -0000 1.1 --- about.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,7 **** <!-- ! (c) dynarch.com, 2003 Author: Mihai Bazon, http://dynarch.com/mishoo ! Distributed under GNU GPL or as part of HTMLArea 3.0. "You are not expected to understand this... I don't neither." --- 1,7 ---- <!-- ! (c) dynarch.com, 2003-2004 Author: Mihai Bazon, http://dynarch.com/mishoo ! Distributed as part of HTMLArea 3.0 "You are not expected to understand this... I don't neither." *************** *** 15,19 **** <html style="height: 100%"> ! <head><title>About HTMLArea</title> <script type="text/javascript" src="popup.js"></script> <script type="text/javascript"> --- 15,21 ---- <html style="height: 100%"> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ! <title>About HTMLArea</title> <script type="text/javascript" src="popup.js"></script> <script type="text/javascript"> *************** *** 43,46 **** --- 45,49 ---- function initDocument() { editor = window.dialogArguments; + HTMLArea = window.opener.HTMLArea; var plugins = document.getElementById("plugins"); *************** *** 50,54 **** "<td>Name</td>" + "<td>Developer</td>" + ! "<td>Sponsor</td>" + "<td>License<sup>*</sup></td>" + "</tr></thead><tbody>"; --- 53,57 ---- "<td>Name</td>" + "<td>Developer</td>" + ! "<td>Sponsored by</td>" + "<td>License<sup>*</sup></td>" + "</tr></thead><tbody>"; *************** *** 69,81 **** "as HTMLArea itself. Such plugins are likely to be those included in the official " + "HTMLArea distribution</p>"; ! plugins.innerHTML = html; } else { plugins.innerHTML = "<p>No plugins have been loaded</p>"; } var content = document.getElementById("content"); if (window.innerHeight) { CONTENT_HEIGHT_DIFF = window.innerHeight - 250; ! CONTENT_WIDTH_DIFF = window.innerWidth - 400; } else { CONTENT_HEIGHT_DIFF = document.body.offsetHeight - 250; --- 72,86 ---- "as HTMLArea itself. Such plugins are likely to be those included in the official " + "HTMLArea distribution</p>"; ! plugins.innerHTML = "<p>The following plugins have been loaded.</p>" + html; } else { plugins.innerHTML = "<p>No plugins have been loaded</p>"; } + plugins.innerHTML += "<p>User agent reports:<br/>" + navigator.userAgent + "</p>"; + var content = document.getElementById("content"); if (window.innerHeight) { CONTENT_HEIGHT_DIFF = window.innerHeight - 250; ! CONTENT_WIDTH_DIFF = window.innerWidth - content.offsetWidth; } else { CONTENT_HEIGHT_DIFF = document.body.offsetHeight - 250; *************** *** 88,92 **** TABS.push(i); i.__msh_tab = j; ! i.onclick = function() { selectTab(this.__msh_tab); }; var area = document.getElementById("tab-area-" + j); if (/tab-current/.test(i.className)) { --- 93,97 ---- TABS.push(i); i.__msh_tab = j; ! i.onmousedown = function(ev) { selectTab(this.__msh_tab); HTMLArea._stopEvent(ev || window.event); }; var area = document.getElementById("tab-area-" + j); if (/tab-current/.test(i.className)) { *************** *** 105,109 **** if (window.innerHeight) { content.style.height = (window.innerHeight - CONTENT_HEIGHT_DIFF) + "px"; ! //content.style.width = (window.innerWidth - CONTENT_WIDTH_DIFF) + "px"; } else { content.style.height = (document.body.offsetHeight - CONTENT_HEIGHT_DIFF) + "px"; --- 110,114 ---- if (window.innerHeight) { content.style.height = (window.innerHeight - CONTENT_HEIGHT_DIFF) + "px"; ! content.style.width = (window.innerWidth - CONTENT_WIDTH_DIFF) + "px"; } else { content.style.height = (document.body.offsetHeight - CONTENT_HEIGHT_DIFF) + "px"; *************** *** 125,130 **** p { margin: 0.5em 0px; } ! h1 { font-family: georgia,"times new roman",serif; font-size: 130%; margin: 0px; border-bottom: 1px solid #6a6; } ! h2 { font-family: georgia,"times new roman",serif; font-size: 110%; margin: 0.7em 0px; } thead { --- 130,135 ---- p { margin: 0.5em 0px; } ! h1 { font: bold 130% georgia,"times new roman",serif; margin: 0px; border-bottom: 1px solid #6a6; } ! h2 { font: bold 110% georgia,"times new roman",serif; margin: 0.7em 0px; } thead { *************** *** 224,228 **** <span class="version"><% $version.$release %></span></div> <div class="release">Compiled on <% $time %></div> ! <div class="visit">http://dynarch.com/htmlarea/ [latest milestone release]</div> </div> --- 229,233 ---- <span class="version"><% $version.$release %></span></div> <div class="release">Compiled on <% $time %></div> ! <div class="visit">Go to http://dynarch.com/htmlarea/ [latest milestone release]</div> </div> *************** *** 234,248 **** <div id="tab-area-0"> - <h1>HTMLArea</h1> - <p>A free WYSIWYG editor replacement for <tt><textarea></tt> fields.</p> ! <p>For full source code and docs, visit:<br /> ! <a href="http://www.interactivetools.com/products/htmlarea/" target="_blank" ! >http://www.interactivetools.com/products/htmlarea/</a></p> ! <p>© 2002, 2003 <a href="http://interactivetools.com" target="_blank">interactivetools.com</a>, inc. All Rights Reserved.</p> ! <p>Version 3.0 developed and maintained by <a ! href="http://dynarch.com/mishoo/" title="http://dynarch.com/mishoo/" target="_blank">mishoo</a> / <a href="http://dynarch.com" title="http://dynarch.com/" target="_blank">dynarch.com</a></p> --- 239,276 ---- <div id="tab-area-0"> ! <h1>HTMLArea</h1> ! ! <p>A free WYSIWYG editor replacement for <tt><textarea></tt> fields.<br /> ! For Mozilla 1.3+ (any platform) or Internet Explorer 5.5+ (Windows). ! </p> ! <p style="text-align: center" ! >© 2002-2004 <a href="http://interactivetools.com" target="_blank">interactivetools.com</a>, inc.<br /> ! © 2003-2004 <a href="http://dynarch.com" target="_blank">dynarch.com</a> LLC.<br /> ! All Rights Reserved.</p> ! <h2>Project resources</h2> ! ! <ul> ! <li><a href="http://sourceforge.net/projects/itools-htmlarea/" target="_blank" ! >Project page</a> (@ sourceforge.net)</li> ! <li><a href="http://sourceforge.net/cvs/?group_id=69750" target="_blank" ! >Anonymous CVS access</a> (@ sourceforge.net)</li> ! <li><a href="http://sourceforge.net/tracker/?atid=525656&group_id=69750&func=browse" target="_blank" ! >Bug system</a> (@ sourceforge.net)</li> ! <li><a href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;" target="_blank" ! >Forum</a> (@ interactivetools.com)</li> ! <li><a href="http://www.dynarch.com/htmlarea/" target="_blank" ! >Last public release</a> (@ dynarch.com)</li> ! </ul> ! ! <p> ! For download section please see the <a href="http://sourceforge.net/projects/itools-htmlarea/" target="_blank" ! >project page @ SourceForge</a>. ! </p> ! ! <p style="margin-top: 1em; text-align: center;">Version 3.0 developed and maintained by <a ! href="http://dynarch.com/mishoo/" title="http://dynarch.com/mishoo/" target="_blank">Mihai Bazon</a> / <a href="http://dynarch.com" title="http://dynarch.com/" target="_blank">dynarch.com</a></p> *************** *** 250,273 **** <div id="tab-area-1"> ! <h1>Credits</h1> ! <p>HTMLArea version 3.0 is developed and maintained by <a ! href="http://dynarch.com" target="_blank">dynarch.com</a> (<a ! href="http://dynarch.com/mishoo/" target="_blank">Mihai Bazon</a>) for ! <a href="http://interactivetools.com" ! target="_blank">interactivetools.com</a>. It is a complete rewrite of ! htmlArea 2 featuring cross-browser compatibility and W3 compliance (where ! possible). InteractiveTools has financed HTMLArea 3.0 until it's Alpha stage.</p> ! <h2>Special thanks to</h2> ! <table class="sponsors" cellspacing="0px" cellpadding="0px" style="border-collapse: collapse; width: 99%;"> ! <tr> ! <td class="sponsor"><a href="http://www.os3.it" target="_blank">Fabio Rotondo</a></td> ! <td>for making considerable donations, bug reporting, Italian translation.</td> ! </tr> ! </table> ! <p>Also many thanks to all people who submitted translations.</p> </div> --- 278,303 ---- <div id="tab-area-1"> ! <h1>Thank you</h1> ! <p> ! <a href="http://dynarch.com" target="_blank">dynarch.com</a> would like to thank the following ! companies/persons for their <em>donations</em> to support development of HTMLArea (listed alphabetically): ! </p> ! <ul> ! <li><a href="http://www.computerlove.co.uk" target="_blank">Code Computer Love Ltd.</a> (UK)</li> ! <li><a href="http://www.neomedia.ro" target="_blank">Neomedia</a> (Romania)</li> ! <li><a href="http://www.os3.it" target="_blank">OS3</a> (Italy)</li> ! <li><a href="http://www.softwerk.net" target="_blank">SoftWerk</a> (Italy)</li> ! </ul> ! <p>Also many thanks to all people at InteractiveTools.com ! <a href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;">HTMLArea forums</a> for ! contributing translations, feedback, bug reports and fixes.</p> ! <p> ! Last but not least, this project wouldn't have existed without ! <a href="http://interactivetools.com" target="_blank">InteractiveTools.com</a>. ! </p> </div> *************** *** 276,281 **** <h1>htmlArea License (based on BSD license)</h1> ! <p style="text-align: center">Copyright (c) 2002, 2003, interactivetools.com, inc.<br /> ! All rights reserved.</p> <p> --- 306,312 ---- <h1>htmlArea License (based on BSD license)</h1> ! <p style="text-align: center">© 2002-2004, interactivetools.com, inc.<br /> ! © 2003-2004 dynarch.com LLC<br /> ! All rights reserved.</p> <p> *************** *** 336,340 **** ><div class="tab tab-current" >About</div><div class="tab" ! >Credits</div><div class="tab" >License</div><div class="tab" >Plugins</div></div> --- 367,371 ---- ><div class="tab tab-current" >About</div><div class="tab" ! >Thanks</div><div class="tab" >License</div><div class="tab" >Plugins</div></div> *************** *** 358,361 **** use POSIX qw(strftime); ! my $time = strftime '%b %e, %Y [%H:%M] GMT', gmtime; </%INIT> --- 389,392 ---- use POSIX qw(strftime); ! my $time = strftime '%b %e, %Y %H:%M GMT', gmtime; </%INIT> Index: blank.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/blank.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** blank.html 12 Nov 2003 22:22:31 -0000 1.1 --- blank.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,2 **** ! <html> </html> \ No newline at end of file --- 1,2 ---- ! <html> </html> \ No newline at end of file Index: custom2.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/custom2.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** custom2.html 12 Nov 2003 22:22:31 -0000 1.1 --- custom2.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,35 **** ! <html style="width:300px; Height: 60px;"> ! <head> ! <title>Select Phrase</title> ! <script language="javascript"> ! ! var myTitle = window.dialogArguments; ! document.title = myTitle; ! ! ! function returnSelected() { ! var idx = document.all.textPulldown.selectedIndex; ! var text = document.all.textPulldown[idx].text; ! ! window.returnValue = text; // set return value ! window.close(); // close dialog ! } ! ! </script> ! </head> ! <body bgcolor="#FFFFFF" topmargin=15 leftmargin=0> ! ! <form method=get onSubmit="Set(document.all.ColorHex.value); return false;"> ! <div align=center> ! ! <select name="textPulldown"> ! <option>The quick brown</option> ! <option>fox jumps over</option> ! <option>the lazy dog.</option> ! </select> ! ! <input type="button" value=" Go " onClick="returnSelected()"> ! ! </div> ! </form> </body></html> \ No newline at end of file --- 1,35 ---- ! <html style="width:300px; Height: 60px;"> ! <head> ! <title>Select Phrase</title> ! <script language="javascript"> ! ! var myTitle = window.dialogArguments; ! document.title = myTitle; ! ! ! function returnSelected() { ! var idx = document.all.textPulldown.selectedIndex; ! var text = document.all.textPulldown[idx].text; ! ! window.returnValue = text; // set return value ! window.close(); // close dialog ! } ! ! </script> ! </head> ! <body bgcolor="#FFFFFF" topmargin=15 leftmargin=0> ! ! <form method=get onSubmit="Set(document.all.ColorHex.value); return false;"> ! <div align=center> ! ! <select name="textPulldown"> ! <option>The quick brown</option> ! <option>fox jumps over</option> ! <option>the lazy dog.</option> ! </select> ! ! <input type="button" value=" Go " onClick="returnSelected()"> ! ! </div> ! </form> </body></html> \ No newline at end of file Index: editor_help.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/editor_help.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** editor_help.html 12 Nov 2003 22:22:31 -0000 1.1 --- editor_help.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,16 **** ! <html> ! <head> ! <title>Editor Help</title> ! <style> ! body, td, p, div { font-family: arial; font-size: x-small; } ! </style> ! </head> ! <body> ! ! <h2>Editor Help<hr></h2> ! ! Todo... ! ! ! </body> </html> \ No newline at end of file --- 1,16 ---- ! <html> ! <head> ! <title>Editor Help</title> ! <style> ! body, td, p, div { font-family: arial; font-size: x-small; } ! </style> ! </head> ! <body> ! ! <h2>Editor Help<hr></h2> ! ! Todo... ! ! ! </body> </html> \ No newline at end of file Index: fullscreen.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/fullscreen.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** fullscreen.html 12 Nov 2003 22:22:31 -0000 1.1 --- fullscreen.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,165 **** ! <html> ! <head><title>Fullscreen Editor</title> ! <style type="text/css"> ! @import url(../htmlarea.css); ! html, body { margin: 0px; border: 0px; background-color: buttonface; } </style> ! ! <!-- ! <script type="text/javascript" src="../htmlarea.js"></script> ! <script type="text/javascript" src="../htmlarea-lang-en.js"></script> ! <script type="text/javascript" src="../dialog.js"></script> ! --> ! ! <script type="text/javascript"> ! // load same scripts that were present in the opener page ! var scripts = opener.document.getElementsByTagName("script"); ! var head = document.getElementsByTagName("head")[0]; ! for (var i = 0; i < scripts.length; ++i) { ! var script = scripts[i]; ! if (typeof script.src != "undefined" && /\S/.test(script.src)) { ! // document.write("<scr" + "ipt type=" + "\"script/javascript\""); ! // document.write(" src=\"../" + script.src + "\"></scr" + "ipt>"); ! var new_script = document.createElement("script"); ! if (/^http:/i.test(script.src)) { ! new_script.src = script.src; ! } else if (script.src) { ! new_script.src = "../" + script.src; ! } ! head.appendChild(new_script); ! } ! } ! </script> ! ! <script type="text/javascript"> ! ! var parent_object = null; ! var editor = null; // to be initialized later [ function init() ] ! ! /* ---------------------------------------------------------------------- *\ ! Function : ! Description : ! \* ---------------------------------------------------------------------- */ ! ! function _CloseOnEsc(ev) { ! if (document.all) { ! // IE ! ev = window.event; ! } ! if (ev.keyCode == 27) { ! // update_parent(); ! window.close(); ! return; ! } ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : cloneObject ! Description : copy an object by value instead of by reference ! Usage : var newObj = cloneObject(oldObj); ! \* ---------------------------------------------------------------------- */ ! ! function cloneObject(obj) { ! var newObj = new Object; ! ! // check for array objects ! if (obj.constructor.toString().indexOf("function Array(") == 1) { ! newObj = obj.constructor(); ! } ! ! // check for function objects (as usual, IE is fucked up) ! if (obj.constructor.toString().indexOf("function Function(") == 1) { ! newObj = obj; // just copy reference to it ! } else for (var n in obj) { ! var node = obj[n]; ! if (typeof node == 'object') { newObj[n] = cloneObject(node); } ! else { newObj[n] = node; } ! } ! ! return newObj; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : resize_editor ! Description : resize the editor when the user resizes the popup ! \* ---------------------------------------------------------------------- */ ! ! function resize_editor() { // resize editor to fix window ! var newHeight; ! if (document.all) { ! // IE ! newHeight = document.body.offsetHeight - editor._toolbar.offsetHeight; ! if (newHeight < 0) { newHeight = 0; } ! } else { ! // Gecko ! newHeight = window.innerHeight - editor._toolbar.offsetHeight; ! } ! if (editor.config.statusBar) { ! newHeight -= editor._statusBar.offsetHeight; ! } ! editor._textArea.style.height = editor._iframe.style.height = newHeight + "px"; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : init ! Description : run this code on page load ! \* ---------------------------------------------------------------------- */ ! ! function init() { ! parent_object = opener.HTMLArea._object; ! var config = cloneObject( parent_object.config ); ! /* config.editorURL = "http://www.be.ca/scripts/htmlarea3/"; */ ! config.editorURL = "../"; ! config.width = "100%"; ! config.height = "auto"; ! ! // change maximize button to minimize button ! config.btnList["popupeditor"] = [ 'Minimize Editor', 'images/fullscreen_minimize.gif', true, ! function() { window.close(); } ]; ! ! // generate editor and resize it ! editor = new HTMLArea("editor", config); ! editor.generate(); ! editor._iframe.style.width = "100%"; ! editor._textArea.style.width = "100%"; ! resize_editor(); ! ! editor.doctype = parent_object.doctype; ! ! // set child window contents and event handlers, after a small delay ! setTimeout(function() { ! editor.setHTML(parent_object.getInnerHTML()); ! ! // switch mode if needed ! if (parent_object._mode == "textmode") { editor.setMode("textmode"); } ! ! // continuously update parent editor window ! setInterval(update_parent, 500); ! ! // setup event handlers ! document.body.onkeypress = _CloseOnEsc; ! editor._doc.body.onkeypress = _CloseOnEsc; ! editor._textArea.onkeypress = _CloseOnEsc; ! window.onresize = resize_editor; ! }, 333); // give it some time to meet the new frame ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : update_parent ! Description : update parent window editor field with contents from child window ! \* ---------------------------------------------------------------------- */ ! ! function update_parent() { ! // use the fast version ! parent_object.setHTML(editor.getInnerHTML()); ! } ! ! ! </script> ! </head> ! <body scroll="no" onload="init()" onunload="update_parent()"> ! ! <form style="margin: 0px; border: 1px solid; border-color: threedshadow threedhighlight threedhighlight threedshadow;"> ! <textarea name="editor" id="editor" style="width:100%; height:300px"> </textarea> ! </form> ! ! </body></html> --- 1,133 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> ! <html> ! <head> ! <title>Fullscreen HTMLArea</title> ! <script type="text/javascript"> ! _editor_url = window.opener._editor_url; ! _editor_lang = window.opener._editor_lang; ! var BASE = window.opener.document.baseURI || window.opener.document.URL; ! var head = document.getElementsByTagName("head")[0]; ! var base = document.createElement("base"); ! base.href = BASE; ! head.appendChild(base); ! </script> ! ! <script type="text/javascript" src="../htmlarea.js"></script> ! ! <script type="text/javascript"> ! // load HTMLArea scripts that are present in the opener frame ! var scripts = window.opener.HTMLArea._scripts; ! for (var i = 4; i < scripts.length; ++i) { ! document.write("<scr" + "ipt type='text/javascript' src='" + scripts[i] + "'></scr" + "ipt>"); ! } ! </script> ! ! <!-- browser takes a coffee break here --> ! <script type="text/javascript"> ! var parent_object = null; ! var editor = null; // to be initialized later [ function init() ] ! ! /* ---------------------------------------------------------------------- *\ ! Function : ! Description : ! \* ---------------------------------------------------------------------- */ ! ! function _CloseOnEsc(ev) { ! ev || (ev = window.event); ! if (ev.keyCode == 27) { ! // update_parent(); ! window.close(); ! return; ! } ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : resize_editor ! Description : resize the editor when the user resizes the popup ! \* ---------------------------------------------------------------------- */ ! ! function resize_editor() { // resize editor to fix window ! var newHeight; ! if (document.all) { ! // IE ! newHeight = document.body.offsetHeight - editor._toolbar.offsetHeight; ! if (newHeight < 0) { newHeight = 0; } ! } else { ! // Gecko ! newHeight = window.innerHeight - editor._toolbar.offsetHeight; ! } ! if (editor.config.statusBar) { ! newHeight -= editor._statusBar.offsetHeight; ! } ! editor._textArea.style.height = editor._iframe.style.height = newHeight + "px"; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : init ! Description : run this code on page load ! \* ---------------------------------------------------------------------- */ ! ! function init() { ! parent_object = opener.HTMLArea._object; ! var config = HTMLArea.cloneObject( parent_object.config ); ! config.width = "100%"; ! config.height = "auto"; ! ! // change maximize button to minimize button ! config.btnList["popupeditor"] = [ 'Minimize Editor', _editor_url + 'images/fullscreen_minimize.gif', true, ! function() { window.close(); } ]; ! ! // generate editor and resize it ! editor = new HTMLArea("editor", config); ! ! // register the plugins, if any ! for (var i in parent_object.plugins) { ! var plugin = parent_object.plugins[i]; ! editor.registerPlugin2(plugin.name, plugin.args); ! } ! // and restore the original toolbar ! config.toolbar = parent_object.config.toolbar; ! editor.generate(); ! editor._iframe.style.width = "100%"; ! editor._textArea.style.width = "100%"; ! resize_editor(); ! ! editor.doctype = parent_object.doctype; ! ! // set child window contents and event handlers, after a small delay ! setTimeout(function() { ! editor.setHTML(parent_object.getInnerHTML()); ! ! // switch mode if needed ! if (parent_object._mode == "textmode") { editor.setMode("textmode"); } ! ! // continuously update parent editor window ! setInterval(update_parent, 500); ! ! // setup event handlers ! document.body.onkeypress = _CloseOnEsc; ! editor._doc.body.onkeypress = _CloseOnEsc; ! editor._textArea.onkeypress = _CloseOnEsc; ! window.onresize = resize_editor; ! }, 333); // give it some time to meet the new frame ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : update_parent ! Description : update parent window editor field with contents from child window ! \* ---------------------------------------------------------------------- */ ! ! function update_parent() { ! // use the fast version ! parent_object.setHTML(editor.getInnerHTML()); ! } ! ! </script> ! <style type="text/css"> html, body { height: 100%; margin: 0px; border: 0px; background-color: buttonface; } </style> ! </head> ! <body scroll="no" onload="setTimeout(function(){init();}, 500)" onunload="update_parent()"> ! <form style="margin: 0px; border: 1px solid; border-color: threedshadow threedhighlight threedhighlight threedshadow;"> ! <textarea name="editor" id="editor" style="width:100%; height:300px"> </textarea> ! </form> ! </body> ! </html> Index: insert_image.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/insert_image.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** insert_image.html 12 Nov 2003 22:22:31 -0000 1.1 --- insert_image.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,181 **** ! <html> ! ! <head> ! <title>Insert Image</title> ! ! <script type="text/javascript" src="popup.js"></script> ! ! <script type="text/javascript"> ! ! window.resizeTo(400, 100); ! ! function Init() { ! __dlg_init(); ! document.getElementById("f_url").focus(); ! }; ! ! function onOK() { ! var required = { ! "f_url": "You must enter the URL" ! }; ! for (var i in required) { ! var el = document.getElementById(i); ! if (!el.value) { ! alert(required[i]); ! el.focus(); ! return false; ! } ! } ! // pass data back to the calling window ! var fields = ["f_url", "f_alt", "f_align", "f_border", ! "f_horiz", "f_vert"]; ! var param = new Object(); ! for (var i in fields) { ! var id = fields[i]; ! var el = document.getElementById(id); ! param[id] = el.value; ! } ! __dlg_close(param); ! return false; ! }; ! ! function onCancel() { ! __dlg_close(null); ! return false; ! }; ! ! function onPreview() { ! var f_url = document.getElementById("f_url"); ! var url = f_url.value; ! if (!url) { ! alert("You have to enter an URL first"); ! f_url.focus(); ! return false; ! } ! window.ipreview.location.replace(url); ! return false; ! }; ! </script> ! ! <style type="text/css"> ! html, body { ! background: ButtonFace; ! color: ButtonText; ! font: 11px Tahoma,Verdana,sans-serif; ! margin: 0px; ! padding: 0px; ! } ! body { padding: 5px; } ! table { ! font: 11px Tahoma,Verdana,sans-serif; ! } ! form p { ! margin-top: 5px; ! margin-bottom: 5px; ! } ! .fl { width: 9em; float: left; padding: 2px 5px; text-align: right; } ! .fr { width: 6em; float: left; padding: 2px 5px; text-align: right; } ! fieldset { padding: 0px 10px 5px 5px; } ! select, input, button { font: 11px Tahoma,Verdana,sans-serif; } ! button { width: 70px; } ! .space { padding: 2px; } ! ! .title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; ! border-bottom: 1px solid black; letter-spacing: 2px; ! } ! form { padding: 0px; margin: 0px; } ! </style> ! ! </head> ! ! <body onload="Init()"> ! ! <div class="title">Insert Image</div> ! <!--- new stuff ---> ! <form action="" method="get"> ! <table border="0" width="100%" style="padding: 0px; margin: 0px"> ! <tbody> ! ! <tr> ! <td style="width: 7em; text-align: right">Image URL:</td> ! <td><input type="text" name="url" id="f_url" style="width:75%" ! title="Enter the image URL here" /> ! <button name="preview" onclick="return onPreview();" ! title="Preview the image in a new window">Preview</button> ! </td> ! </tr> ! <tr> ! <td style="width: 7em; text-align: right">Alternate text:</td> ! <td><input type="text" name="alt" id="f_alt" style="width:100%" ! title="For browsers that don't support images" /></td> ! </tr> ! ! </tbody> ! </table> ! ! <p /> ! ! <fieldset style="float: left; margin-left: 5px;"> ! <legend>Layout</legend> ! ! <div class="space"></div> ! ! <div class="fl">Alignment:</div> ! <select size="1" name="align" id="f_align" ! title="Positioning of this image"> ! <option value="" >Not set</option> ! <option value="left" >Left</option> ! <option value="right" >Right</option> ! <option value="texttop" >Texttop</option> ! <option value="absmiddle" >Absmiddle</option> ! <option value="baseline" selected="1" >Baseline</option> ! <option value="absbottom" >Absbottom</option> ! <option value="bottom" >Bottom</option> ! <option value="middle" >Middle</option> ! <option value="top" >Top</option> ! </select> ! ! <p /> ! ! <div class="fl">Border thickness:</div> ! <input type="text" name="border" id="f_border" size="5" ! title="Leave empty for no border" /> ! ! <div class="space"></div> ! ! </fieldset> ! ! <fieldset style="float:right; margin-right: 5px;"> ! <legend>Spacing</legend> ! ! <div class="space"></div> ! ! <div class="fr">Horizontal:</div> ! <input type="text" name="horiz" id="f_horiz" size="5" ! title="Horizontal padding" /> ! ! <p /> ! ! <div class="fr">Vertical:</div> ! <input type="text" name="vert" id="f_vert" size="5" ! title="Vertical padding" /> ! ! <div class="space"></div> ! ! </fieldset> ! <br clear="all" /> ! <table width="100%" style="margin-bottom: 0.2em"> ! <tr> ! <td valign="bottom"> ! Image Preview:<br /> ! <iframe name="ipreview" id="ipreview" frameborder="0" style="border : 1px solid gray;" height="200" width="300" src=""></iframe> ! </td> ! <td valign="bottom" style="text-align: right"> ! <button type="button" name="ok" onclick="return onOK();">OK</button><br> ! <button type="button" name="cancel" onclick="return onCancel();">Cancel</button> ! </td> ! </tr> ! </table> ! </form> ! </body> ! </html> --- 1,191 ---- ! <html> ! ! <head> ! <title>Insert Image</title> ! ! <script type="text/javascript" src="popup.js"></script> ! ! <script type="text/javascript"> ! ! window.resizeTo(400, 100); ! ! function Init() { ! __dlg_init(); ! var param = window.dialogArguments; ! if (param) { ! document.getElementById("f_url").value = param["f_url"]; ! document.getElementById("f_alt").value = param["f_alt"]; ! document.getElementById("f_border").value = param["f_border"]; ! document.getElementById("f_align").value = param["f_align"]; ! document.getElementById("f_vert").value = param["f_vert"]; ! document.getElementById("f_horiz").value = param["f_horiz"]; ! window.ipreview.location.replace(param.f_url); ! } ! document.getElementById("f_url").focus(); ! }; ! ! function onOK() { ! var required = { ! "f_url": "You must enter the URL" ! }; ! for (var i in required) { ! var el = document.getElementById(i); ! if (!el.value) { ! alert(required[i]); ! el.focus(); ! return false; ! } ! } ! // pass data back to the calling window ! var fields = ["f_url", "f_alt", "f_align", "f_border", ! "f_horiz", "f_vert"]; ! var param = new Object(); ! for (var i in fields) { ! var id = fields[i]; ! var el = document.getElementById(id); ! param[id] = el.value; ! } ! __dlg_close(param); ! return false; ! }; ! ! function onCancel() { ! __dlg_close(null); ! return false; ! }; ! ! function onPreview() { ! var f_url = document.getElementById("f_url"); ! var url = f_url.value; ! if (!url) { ! alert("You have to enter an URL first"); ! f_url.focus(); ! return false; ! } ! window.ipreview.location.replace(url); ! return false; ! }; ! </script> ! ! <style type="text/css"> ! html, body { ! background: ButtonFace; ! color: ButtonText; ! font: 11px Tahoma,Verdana,sans-serif; ! margin: 0px; ! padding: 0px; ! } ! body { padding: 5px; } ! table { ! font: 11px Tahoma,Verdana,sans-serif; ! } ! form p { ! margin-top: 5px; ! margin-bottom: 5px; ! } ! .fl { width: 9em; float: left; padding: 2px 5px; text-align: right; } ! .fr { width: 6em; float: left; padding: 2px 5px; text-align: right; } ! fieldset { padding: 0px 10px 5px 5px; } ! select, input, button { font: 11px Tahoma,Verdana,sans-serif; } ! button { width: 70px; } ! .space { padding: 2px; } ! ! .title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; ! border-bottom: 1px solid black; letter-spacing: 2px; ! } ! form { padding: 0px; margin: 0px; } ! </style> ! ! </head> ! ! <body onload="Init()"> ! ! <div class="title">Insert Image</div> ! <!--- new stuff ---> ! <form action="" method="get"> ! <table border="0" width="100%" style="padding: 0px; margin: 0px"> ! <tbody> ! ! <tr> ! <td style="width: 7em; text-align: right">Image URL:</td> ! <td><input type="text" name="url" id="f_url" style="width:75%" ! title="Enter the image URL here" /> ! <button name="preview" onclick="return onPreview();" ! title="Preview the image in a new window">Preview</button> ! </td> ! </tr> ! <tr> ! <td style="width: 7em; text-align: right">Alternate text:</td> ! <td><input type="text" name="alt" id="f_alt" style="width:100%" ! title="For browsers that don't support images" /></td> ! </tr> ! ! </tbody> ! </table> ! ! <p /> ! ! <fieldset style="float: left; margin-left: 5px;"> ! <legend>Layout</legend> ! ! <div class="space"></div> ! ! <div class="fl">Alignment:</div> ! <select size="1" name="align" id="f_align" ! title="Positioning of this image"> ! <option value="" >Not set</option> ! <option value="left" >Left</option> ! <option value="right" >Right</option> ! <option value="texttop" >Texttop</option> ! <option value="absmiddle" >Absmiddle</option> ! <option value="baseline" selected="1" >Baseline</option> ! <option value="absbottom" >Absbottom</option> ! <option value="bottom" >Bottom</option> ! <option value="middle" >Middle</option> ! <option value="top" >Top</option> ! </select> ! ! <p /> ! ! <div class="fl">Border thickness:</div> ! <input type="text" name="border" id="f_border" size="5" ! title="Leave empty for no border" /> ! ! <div class="space"></div> ! ! </fieldset> ! ! <fieldset style="float:right; margin-right: 5px;"> ! <legend>Spacing</legend> ! ! <div class="space"></div> ! ! <div class="fr">Horizontal:</div> ! <input type="text" name="horiz" id="f_horiz" size="5" ! title="Horizontal padding" /> ! ! <p /> ! ! <div class="fr">Vertical:</div> ! <input type="text" name="vert" id="f_vert" size="5" ! title="Vertical padding" /> ! ! <div class="space"></div> ! ! </fieldset> ! <br clear="all" /> ! <table width="100%" style="margin-bottom: 0.2em"> ! <tr> ! <td valign="bottom"> ! Image Preview:<br /> ! <iframe name="ipreview" id="ipreview" frameborder="0" style="border : 1px solid gray;" height="200" width="300" src=""></iframe> ! </td> ! <td valign="bottom" style="text-align: right"> ! <button type="button" name="ok" onclick="return onOK();">OK</button><br> ! <button type="button" name="cancel" onclick="return onCancel();">Cancel</button> ! </td> ! </tr> ! </table> ! </form> ! </body> ! </html> Index: insert_table.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/insert_table.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** insert_table.html 12 Nov 2003 22:22:31 -0000 1.1 --- insert_table.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,174 **** ! <html> ! ! <head> ! <title>Insert Table</title> ! ! <script type="text/javascript" src="popup.js"></script> ! ! <script type="text/javascript"> ! ! window.resizeTo(400, 100); ! ! function Init() { ! __dlg_init(); ! document.getElementById("f_rows").focus(); ! }; ! ! function onOK() { ! var required = { ! "f_rows": "You must enter a number of rows", ! "f_cols": "You must enter a number of columns" ! }; ! for (var i in required) { ! var el = document.getElementById(i); ! if (!el.value) { ! alert(required[i]); ! el.focus(); ! return false; ! } ! } ! var fields = ["f_rows", "f_cols", "f_width", "f_unit", ! "f_align", "f_border", "f_spacing", "f_padding"]; ! var param = new Object(); ! for (var i in fields) { ! var id = fields[i]; ! var el = document.getElementById(id); ! param[id] = el.value; ! } ! __dlg_close(param); ! return false; ! }; ! ! function onCancel() { ! __dlg_close(null); ! return false; ! }; ! ! </script> ! ! <style type="text/css"> ! html, body { ! background: ButtonFace; ! color: ButtonText; ! font: 11px Tahoma,Verdana,sans-serif; ! margin: 0px; ! padding: 0px; ! } ! body { padding: 5px; } ! table { ! font: 11px Tahoma,Verdana,sans-serif; ! } ! form p { ! margin-top: 5px; ! margin-bottom: 5px; ! } ! .fl { width: 9em; float: left; padding: 2px 5px; text-align: right; } ! .fr { width: 7em; float: left; padding: 2px 5px; text-align: right; } ! fieldset { padding: 0px 10px 5px 5px; } ! select, input, button { font: 11px Tahoma,Verdana,sans-serif; } ! button { width: 70px; } ! .space { padding: 2px; } ! ! .title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; ! border-bottom: 1px solid black; letter-spacing: 2px; ! } ! form { padding: 0px; margin: 0px; } ! </style> ! ! </head> ! ! <body onload="Init()"> ! ! <div class="title">Insert Table</div> ! ! <form action="" method="get"> ! <table border="0" style="padding: 0px; margin: 0px"> ! <tbody> ! ! <tr> ! <td style="width: 4em; text-align: right">Rows:</td> ! <td><input type="text" name="rows" id="f_rows" size="5" title="Number of rows" value="2" /></td> ! <td></td> ! <td></td> ! <td></td> ! </tr> ! <tr> ! <td style="width: 4em; text-align: right">Cols:</td> ! <td><input type="text" name="cols" id="f_cols" size="5" title="Number of columns" value="4" /></td> ! <td style="width: 4em; text-align: right">Width:</td> ! <td><input type="text" name="width" id="f_width" size="5" title="Width of the table" value="100" /></td> ! <td><select size="1" name="unit" id="f_unit" title="Width unit"> ! <option value="%" selected="1" >Percent</option> ! <option value="px" >Pixels</option> ! <option value="em" >Em</option> ! </select></td> ! </tr> ! ! </tbody> ! </table> ! ! <p /> ! ! <fieldset style="float: left; margin-left: 5px;"> ! <legend>Layout</legend> ! ! <div class="space"></div> ! ! <div class="fl">Alignment:</div> ! <select size="1" name="align" id="f_align" ! title="Positioning of this image"> ! <option value="" selected="1" >Not set</option> ! <option value="left" >Left</option> ! <option value="right" >Right</option> ! <option value="texttop" >Texttop</option> ! <option value="absmiddle" >Absmiddle</option> ! <option value="baseline" >Baseline</option> ! <option value="absbottom" >Absbottom</option> ! <option value="bottom" >Bottom</option> ! <option value="middle" >Middle</option> ! <option value="top" >Top</option> ! </select> ! ! <p /> ! ! <div class="fl">Border thickness:</div> ! <input type="text" name="border" id="f_border" size="5" value="1" ! title="Leave empty for no border" /> ! <!-- ! <p /> ! ! <div class="fl">Collapse borders:</div> ! <input type="checkbox" name="collapse" id="f_collapse" /> ! --> ! <div class="space"></div> ! ! </fieldset> ! ! <fieldset style="float:right; margin-right: 5px;"> ! <legend>Spacing</legend> ! ! <div class="space"></div> ! ! <div class="fr">Cell spacing:</div> ! <input type="text" name="spacing" id="f_spacing" size="5" value="1" ! title="Space between adjacent cells" /> ! ! <p /> ! ! <div class="fr">Cell padding:</div> ! <input type="text" name="padding" id="f_padding" size="5" value="1" ! title="Space between content and border in cell" /> ! ! <div class="space"></div> ! ! </fieldset> ! ! <div style="margin-top: 85px; border-top: 1px solid #999; padding: 2px; text-align: right;"> ! <button type="button" name="ok" onclick="return onOK();">OK</button> ! <button type="button" name="cancel" onclick="return onCancel();">Cancel</button> ! </div> ! ! </form> ! ! </body> ! </html> --- 1,174 ---- ! <html> ! ! <head> ! <title>Insert Table</title> ! ! <script type="text/javascript" src="popup.js"></script> ! ! <script type="text/javascript"> ! ! window.resizeTo(400, 100); ! ! function Init() { ! __dlg_init(); ! document.getElementById("f_rows").focus(); ! }; ! ! function onOK() { ! var required = { ! "f_rows": "You must enter a number of rows", ! "f_cols": "You must enter a number of columns" ! }; ! for (var i in required) { ! var el = document.getElementById(i); ! if (!el.value) { ! alert(required[i]); ! el.focus(); ! return false; ! } ! } ! var fields = ["f_rows", "f_cols", "f_width", "f_unit", ! "f_align", "f_border", "f_spacing", "f_padding"]; ! var param = new Object(); ! for (var i in fields) { ! var id = fields[i]; ! var el = document.getElementById(id); ! param[id] = el.value; ! } ! __dlg_close(param); ! return false; ! }; ! ! function onCancel() { ! __dlg_close(null); ! return false; ! }; ! ! </script> ! ! <style type="text/css"> ! html, body { ! background: ButtonFace; ! color: ButtonText; ! font: 11px Tahoma,Verdana,sans-serif; ! margin: 0px; ! padding: 0px; ! } ! body { padding: 5px; } ! table { ! font: 11px Tahoma,Verdana,sans-serif; ! } ! form p { ! margin-top: 5px; ! margin-bottom: 5px; ! } ! .fl { width: 9em; float: left; padding: 2px 5px; text-align: right; } ! .fr { width: 7em; float: left; padding: 2px 5px; text-align: right; } ! fieldset { padding: 0px 10px 5px 5px; } ! select, input, button { font: 11px Tahoma,Verdana,sans-serif; } ! button { width: 70px; } ! .space { padding: 2px; } ! ! .title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; ! border-bottom: 1px solid black; letter-spacing: 2px; ! } ! form { padding: 0px; margin: 0px; } ! </style> ! ! </head> ! ! <body onload="Init()"> ! ! <div class="title">Insert Table</div> ! ! <form action="" method="get"> ! <table border="0" style="padding: 0px; margin: 0px"> ! <tbody> ! ! <tr> ! <td style="width: 4em; text-align: right">Rows:</td> ! <td><input type="text" name="rows" id="f_rows" size="5" title="Number of rows" value="2" /></td> ! <td></td> ! <td></td> ! <td></td> ! </tr> ! <tr> ! <td style="width: 4em; text-align: right">Cols:</td> ! <td><input type="text" name="cols" id="f_cols" size="5" title="Number of columns" value="4" /></td> ! <td style="width: 4em; text-align: right">Width:</td> ! <td><input type="text" name="width" id="f_width" size="5" title="Width of the table" value="100" /></td> ! <td><select size="1" name="unit" id="f_unit" title="Width unit"> ! <option value="%" selected="1" >Percent</option> ! <option value="px" >Pixels</option> ! <option value="em" >Em</option> ! </select></td> ! </tr> ! ! </tbody> ! </table> ! ! <p /> ! ! <fieldset style="float: left; margin-left: 5px;"> ! <legend>Layout</legend> ! ! <div class="space"></div> ! ! <div class="fl">Alignment:</div> ! <select size="1" name="align" id="f_align" ! title="Positioning of this image"> ! <option value="" selected="1" >Not set</option> ! <option value="left" >Left</option> ! <option value="right" >Right</option> ! <option value="texttop" >Texttop</option> ! <option value="absmiddle" >Absmiddle</option> ! <option value="baseline" >Baseline</option> ! <option value="absbottom" >Absbottom</option> ! <option value="bottom" >Bottom</option> ! <option value="middle" >Middle</option> ! <option value="top" >Top</option> ! </select> ! ! <p /> ! ! <div class="fl">Border thickness:</div> ! <input type="text" name="border" id="f_border" size="5" value="1" ! title="Leave empty for no border" /> ! <!-- ! <p /> ! ! <div class="fl">Collapse borders:</div> ! <input type="checkbox" name="collapse" id="f_collapse" /> ! --> ! <div class="space"></div> ! ! </fieldset> ! ! <fieldset style="float:right; margin-right: 5px;"> ! <legend>Spacing</legend> ! ! <div class="space"></div> ! ! <div class="fr">Cell spacing:</div> ! <input type="text" name="spacing" id="f_spacing" size="5" value="1" ! title="Space between adjacent cells" /> ! ! <p /> ! ! <div class="fr">Cell padding:</div> ! <input type="text" name="padding" id="f_padding" size="5" value="1" ! title="Space between content and border in cell" /> ! ! <div class="space"></div> ! ! </fieldset> ! ! <div style="margin-top: 85px; border-top: 1px solid #999; padding: 2px; text-align: right;"> ! <button type="button" name="ok" onclick="return onOK();">OK</button> ! <button type="button" name="cancel" onclick="return onCancel();">Cancel</button> ! </div> ! ! </form> ! ! </body> ! </html> Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 22:22:31 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,4 **** ! <files> ! <file name="*.{js,html}" /> ! <file name="about.html" masonize="yes" args="version,release,basename" /> ! </files> --- 1,4 ---- ! <files> ! <file name="*.{js,html}" /> ! <file name="about.html" masonize="yes" args="version,release,basename" /> ! </files> Index: old-fullscreen.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/old-fullscreen.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** old-fullscreen.html 12 Nov 2003 22:22:31 -0000 1.1 --- old-fullscreen.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,131 **** ! <html> ! <head><title>Fullscreen Editor</title> ! <style type="text/css"> body { margin: 0px; border: 0px; background-color: buttonface; } </style> ! ! <script> ! ! // if we pass the "window" object as a argument and then set opener to ! // equal that we can refer to dialogWindows and popupWindows the same way ! if (window.dialogArguments) { opener = window.dialogArguments; } ! ! var _editor_url = "../"; ! document.write('<scr'+'ipt src="' +_editor_url+ 'editor.js" language="Javascript1.2"></scr'+'ipt>'); ! ! var parent_objname = location.search.substring(1,location.search.length); // parent editor objname ! var parent_config = opener.document.all[parent_objname].config; ! ! var config = cloneObject( parent_config ); ! var objname = 'editor'; // name of this editor ! ! // DOMViewerObj = config; ! // DOMViewerName = 'config'; ! // window.open('/innerHTML/domviewer.htm'); ! ! /* ---------------------------------------------------------------------- *\ ! Function : ! Description : ! \* ---------------------------------------------------------------------- */ ! ! function _CloseOnEsc() { ! if (event.keyCode == 27) { ! update_parent(); ! window.close(); ! return; ! } ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : cloneObject ! Description : copy an object by value instead of by reference ! Usage : var newObj = cloneObject(oldObj); ! \* ---------------------------------------------------------------------- */ ! ! function cloneObject(obj) { ! var newObj = new Object; ! ! // check for array objects ! if (obj.constructor.toString().indexOf('function Array(') == 1) { ! newObj = obj.constructor(); ! } ! ! for (var n in obj) { ! var node = obj[n]; ! if (typeof node == 'object') { newObj[n] = cloneObject(node); } ! else { newObj[n] = node; } ! } ! ! return newObj; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : resize_editor ! Description : resize the editor when the user resizes the popup ! \* ---------------------------------------------------------------------- */ ! ! function resize_editor() { // resize editor to fix window ! var editor = document.all['_editor_editor']; ! ! newWidth = document.body.offsetWidth; ! newHeight = document.body.offsetHeight - editor.offsetTop; ! ! if (newWidth < 0) { newWidth = 0; } ! if (newHeight < 0) { newHeight = 0; } ! ! editor.style.width = newWidth; ! editor.style.height = newHeight; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : init ! Description : run this code on page load ! \* ---------------------------------------------------------------------- */ ! ! function init() { ! // change maximize button to minimize button ! config.btnList["popupeditor"] = ['popupeditor', 'Minimize Editor', 'update_parent(); window.close();', 'fullscreen_minimize.gif']; ! ! // set htmlmode button to refer to THIS editor ! config.btnList["htmlmode"] = ['HtmlMode', 'View HTML Source', 'editor_setmode(\'editor\')', 'ed_html.gif']; ! ! // change image url to be relative to current path ! config.imgURL = "../images/"; ! ! // generate editor and resize it ! editor_generate('editor', config); ! resize_editor(); ! ! // switch mode if needed ! if (parent_config.mode == 'textedit') { editor_setmode(objname, 'textedit'); } ! ! // set child window contents ! var parentHTML = opener.editor_getHTML(parent_objname); ! editor_setHTML(objname, parentHTML); ! ! // continuously update parent editor window ! window.setInterval(update_parent, 333); ! ! // setup event handlers ! document.body.onkeypress = _CloseOnEsc; ! window.onresize = resize_editor; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : update_parent ! Description : update parent window editor field with contents from child window ! \* ---------------------------------------------------------------------- */ ! ! function update_parent() { ! var childHTML = editor_getHTML(objname); ! opener.editor_setHTML(parent_objname, childHTML); ! } ! ! ! </script> ! </head> ! <body scroll="no" onload="init()" onunload="update_parent()"> ! ! <div style="margin: 0 0 0 0; border-width: 1; border-style: solid; border-color: threedshadow threedhighlight threedhighlight threedshadow; "></div> ! ! <textarea name="editor" style="width:100%; height:300px"></textarea><br> ! </body></html> \ No newline at end of file --- 1,131 ---- ! <html> ! <head><title>Fullscreen Editor</title> ! <style type="text/css"> body { margin: 0px; border: 0px; background-color: buttonface; } </style> ! ! <script> ! ! // if we pass the "window" object as a argument and then set opener to ! // equal that we can refer to dialogWindows and popupWindows the same way ! if (window.dialogArguments) { opener = window.dialogArguments; } ! ! var _editor_url = "../"; ! document.write('<scr'+'ipt src="' +_editor_url+ 'editor.js" language="Javascript1.2"></scr'+'ipt>'); ! ! var parent_objname = location.search.substring(1,location.search.length); // parent editor objname ! var parent_config = opener.document.all[parent_objname].config; ! ! var config = cloneObject( parent_config ); ! var objname = 'editor'; // name of this editor ! ! // DOMViewerObj = config; ! // DOMViewerName = 'config'; ! // window.open('/innerHTML/domviewer.htm'); ! ! /* ---------------------------------------------------------------------- *\ ! Function : ! Description : ! \* ---------------------------------------------------------------------- */ ! ! function _CloseOnEsc() { ! if (event.keyCode == 27) { ! update_parent(); ! window.close(); ! return; ! } ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : cloneObject ! Description : copy an object by value instead of by reference ! Usage : var newObj = cloneObject(oldObj); ! \* ---------------------------------------------------------------------- */ ! ! function cloneObject(obj) { ! var newObj = new Object; ! ! // check for array objects ! if (obj.constructor.toString().indexOf('function Array(') == 1) { ! newObj = obj.constructor(); ! } ! ! for (var n in obj) { ! var node = obj[n]; ! if (typeof node == 'object') { newObj[n] = cloneObject(node); } ! else { newObj[n] = node; } ! } ! ! return newObj; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : resize_editor ! Description : resize the editor when the user resizes the popup ! \* ---------------------------------------------------------------------- */ ! ! function resize_editor() { // resize editor to fix window ! var editor = document.all['_editor_editor']; ! ! newWidth = document.body.offsetWidth; ! newHeight = document.body.offsetHeight - editor.offsetTop; ! ! if (newWidth < 0) { newWidth = 0; } ! if (newHeight < 0) { newHeight = 0; } ! ! editor.style.width = newWidth; ! editor.style.height = newHeight; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : init ! Description : run this code on page load ! \* ---------------------------------------------------------------------- */ ! ! function init() { ! // change maximize button to minimize button ! config.btnList["popupeditor"] = ['popupeditor', 'Minimize Editor', 'update_parent(); window.close();', 'fullscreen_minimize.gif']; ! ! // set htmlmode button to refer to THIS editor ! config.btnList["htmlmode"] = ['HtmlMode', 'View HTML Source', 'editor_setmode(\'editor\')', 'ed_html.gif']; ! ! // change image url to be relative to current path ! config.imgURL = "../images/"; ! ! // generate editor and resize it ! editor_generate('editor', config); ! resize_editor(); ! ! // switch mode if needed ! if (parent_config.mode == 'textedit') { editor_setmode(objname, 'textedit'); } ! ! // set child window contents ! var parentHTML = opener.editor_getHTML(parent_objname); ! editor_setHTML(objname, parentHTML); ! ! // continuously update parent editor window ! window.setInterval(update_parent, 333); ! ! // setup event handlers ! document.body.onkeypress = _CloseOnEsc; ! window.onresize = resize_editor; ! } ! ! /* ---------------------------------------------------------------------- *\ ! Function : update_parent ! Description : update parent window editor field with contents from child window ! \* ---------------------------------------------------------------------- */ ! ! function update_parent() { ! var childHTML = editor_getHTML(objname); ! opener.editor_setHTML(parent_objname, childHTML); ! } ! ! ! </script> ! </head> ! <body scroll="no" onload="init()" onunload="update_parent()"> ! ! <div style="margin: 0 0 0 0; border-width: 1; border-style: solid; border-color: threedshadow threedhighlight threedhighlight threedshadow; "></div> ! ! <textarea name="editor" style="width:100%; height:300px"></textarea><br> ! </body></html> \ No newline at end of file Index: old_insert_image.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/popups/old_insert_image.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** old_insert_image.html 12 Nov 2003 22:22:31 -0000 1.1 --- old_insert_image.html 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,206 **** ! <!-- based on insimage.dlg --> ! ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML 3.2//EN"> ! <HTML id=dlgImage STYLE="width: 432px; height: 194px; "> ! <HEAD> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ! <meta http-equiv="MSThemeCompatible" content="Yes"> ! <TITLE>Insert Image</TITLE> ! <style> ! html, body, button, div, input, select, fieldset { font-family: MS Shell Dlg; font-size: 8pt; position: absolute; }; ! </style> ! <SCRIPT defer> ! ! function _CloseOn... [truncated message content] |
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang Modified Files: cz.js da.js de.js en.js fi.js hu.js it.js makefile.xml ro.js Log Message: Upgraded htmlarea3 Index: cz.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/cz.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cz.js 12 Nov 2003 21:29:48 -0000 1.1 --- cz.js 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,90 **** ! // I18N constants ! ! // LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 ! // Author: Jiri Löw, <ji...@ji...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! TableOperations.I18N = { ! "Align": "ZarovnánÃ", ! "All four sides": "VÅ¡echny ÄtyÅi strany", ! "Background": "PozadÃ", ! "Baseline": "Základnà linka", ! "Border": "Obrys", ! "Borders": "Obrysy", ! "Bottom": "Dolů", ! "CSS Style": "Kaskádové styly (CSS)", ! "Caption": "Titulek", ! "Cell Properties": "Vlastnosti buÅky", ! "Center": "Na stÅed", ! "Char": "Znak", ! "Collapsed borders": "StlaÄené okraje", ! "Color": "Barva", ! "Description": "Popis", ! "FG Color": "Barva popÅedÃ", ! "Float": "ObtékánÃ", ! "Frames": "RámeÄky", ! "Height": "Výška", ! "How many columns would you like to merge?": "Kolik sloupců si pÅejete spojit?", ! "How many rows would you like to merge?": "Kolik Åádků si pÅejete spojit?", ! "Image URL": "Adresa obrázku", ! "Justify": "Do stran", ! "Layout": "RozloženÃ", ! "Left": "Vlevo", ! "Margin": "Okraj", ! "Middle": "Na stÅed", ! "No rules": "Žádné Äáry", ! "No sides": "Žádné strany", ! "None": "Žádné", ! "Padding": "OdsazovánÃ", ! "Please click into some cell": "ProsÃm kliknÄte do nÄkteré buÅky", ! "Right": "Vpravo", ! "Row Properties": "Vlastnosti Åádku", ! "Rules will appear between all rows and columns": "Äáry mezi vÅ¡emi Åádky i sloupci", ! "Rules will appear between columns only": "Äáry pouze mezi sloupci", ! "Rules will appear between rows only": "Äáry pouze mezi Åádky", ! "Rules": "Äáry", ! "Spacing and padding": "Mezery a odsazovánÃ", ! "Spacing": "Mezery", ! "Summary": "ShrnutÃ", ! "TO-cell-delete": "Smazat buÅku", ! "TO-cell-insert-after": "Vložit buÅku za", ! "TO-cell-insert-before": "Vložit buÅku pÅed", ! "TO-cell-merge": "Spojit buÅky", ! "TO-cell-prop": "Vlastnosti buÅky", ! "TO-cell-split": "RozdÄlit buÅku", ! "TO-col-delete": "Smazat sloupec", ! "TO-col-insert-after": "Vložit sloupec za", ! "TO-col-insert-before": "Vložit sloupec pÅed", ! "TO-col-split": "RozdÄlit sloupec", ! "TO-row-delete": "Smazat Åádek", ! "TO-row-insert-above": "Smazat Åádek nad", ! "TO-row-insert-under": "Smazat Åádek pod", ! "TO-row-prop": "Vlastnosti Åádku", ! "TO-row-split": "RozdÄlit Åádek", ! "TO-table-prop": "Vlastnosti tabulky", ! "Table Properties": "Vlastnosti tabulky", ! "Text align": "Zarovnánà textu", ! "The bottom side only": "Pouze spodnà strana", ! "The left-hand side only": "Pouze levá strana", ! "The right and left sides only": "Pouze levá a pravá strana", ! "The right-hand side only": "Pouze pravá strana", ! "The top and bottom sides only": "Pouze hornà a dolnà strana", ! "The top side only": "Pouze hornà strana", ! "Top": "Nahoru", ! "Unset color": "ZruÅ¡it barvu", ! "Vertical align": "Svislé zarovnánÃ", ! "Width": "Å ÃÅka", ! "not-del-last-cell": "HTMLArea zbabÄle odmÃtá smazat poslednà buÅku v Åádku.", ! "not-del-last-col": "HTMLArea zbabÄle odmÃtá smazat poslednà sloupec v tabulce.", ! "not-del-last-row": "HTMLArea zbabÄle odmÃtá smazat poslednà Åádek v tabulce.", ! "percent": "procent", ! "pixels": "pixelů" ! }; --- 1,90 ---- ! // I18N constants ! ! // LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 ! // Author: Jiri Löw, <ji...@ji...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! TableOperations.I18N = { ! "Align": "ZarovnánÃ", ! "All four sides": "VÅ¡echny ÄtyÅi strany", ! "Background": "PozadÃ", ! "Baseline": "Základnà linka", ! "Border": "Obrys", ! "Borders": "Obrysy", ! "Bottom": "Dolů", ! "CSS Style": "Kaskádové styly (CSS)", ! "Caption": "Titulek", ! "Cell Properties": "Vlastnosti buÅky", ! "Center": "Na stÅed", ! "Char": "Znak", ! "Collapsed borders": "StlaÄené okraje", ! "Color": "Barva", ! "Description": "Popis", ! "FG Color": "Barva popÅedÃ", ! "Float": "ObtékánÃ", ! "Frames": "RámeÄky", ! "Height": "Výška", ! "How many columns would you like to merge?": "Kolik sloupců si pÅejete spojit?", ! "How many rows would you like to merge?": "Kolik Åádků si pÅejete spojit?", ! "Image URL": "Adresa obrázku", ! "Justify": "Do stran", ! "Layout": "RozloženÃ", ! "Left": "Vlevo", ! "Margin": "Okraj", ! "Middle": "Na stÅed", ! "No rules": "Žádné Äáry", ! "No sides": "Žádné strany", ! "None": "Žádné", ! "Padding": "OdsazovánÃ", ! "Please click into some cell": "ProsÃm kliknÄte do nÄkteré buÅky", ! "Right": "Vpravo", ! "Row Properties": "Vlastnosti Åádku", ! "Rules will appear between all rows and columns": "Äáry mezi vÅ¡emi Åádky i sloupci", ! "Rules will appear between columns only": "Äáry pouze mezi sloupci", ! "Rules will appear between rows only": "Äáry pouze mezi Åádky", ! "Rules": "Äáry", ! "Spacing and padding": "Mezery a odsazovánÃ", ! "Spacing": "Mezery", ! "Summary": "ShrnutÃ", ! "TO-cell-delete": "Smazat buÅku", ! "TO-cell-insert-after": "Vložit buÅku za", ! "TO-cell-insert-before": "Vložit buÅku pÅed", ! "TO-cell-merge": "Spojit buÅky", ! "TO-cell-prop": "Vlastnosti buÅky", ! "TO-cell-split": "RozdÄlit buÅku", ! "TO-col-delete": "Smazat sloupec", ! "TO-col-insert-after": "Vložit sloupec za", ! "TO-col-insert-before": "Vložit sloupec pÅed", ! "TO-col-split": "RozdÄlit sloupec", ! "TO-row-delete": "Smazat Åádek", ! "TO-row-insert-above": "Smazat Åádek nad", ! "TO-row-insert-under": "Smazat Åádek pod", ! "TO-row-prop": "Vlastnosti Åádku", ! "TO-row-split": "RozdÄlit Åádek", ! "TO-table-prop": "Vlastnosti tabulky", ! "Table Properties": "Vlastnosti tabulky", ! "Text align": "Zarovnánà textu", ! "The bottom side only": "Pouze spodnà strana", ! "The left-hand side only": "Pouze levá strana", ! "The right and left sides only": "Pouze levá a pravá strana", ! "The right-hand side only": "Pouze pravá strana", ! "The top and bottom sides only": "Pouze hornà a dolnà strana", ! "The top side only": "Pouze hornà strana", ! "Top": "Nahoru", ! "Unset color": "ZruÅ¡it barvu", ! "Vertical align": "Svislé zarovnánÃ", ! "Width": "Å ÃÅka", ! "not-del-last-cell": "HTMLArea zbabÄle odmÃtá smazat poslednà buÅku v Åádku.", ! "not-del-last-col": "HTMLArea zbabÄle odmÃtá smazat poslednà sloupec v tabulce.", ! "not-del-last-row": "HTMLArea zbabÄle odmÃtá smazat poslednà Åádek v tabulce.", ! "percent": "procent", ! "pixels": "pixelů" ! }; Index: da.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/da.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** da.js 12 Nov 2003 21:29:48 -0000 1.1 --- da.js 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,90 **** ! // I18N constants ! ! // LANG: "da", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Steen Sønderup, <st...@so...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! TableOperations.I18N = { ! "Align": "Placer", ! "All four sides": "Alle fire sider", ! "Background": "Baggrund", ! "Baseline": "Bundlinie", ! "Border": "Kant", ! "Borders": "Kanter", ! "Bottom": "Bund", ! "CSS Style": "Stil [CSS]", ! "Caption": "Titel", ! "Cell Properties": "Celle egenskaber", ! "Center": "Centrer", ! "Char": "Plads", ! "Collapsed borders": "Sammensmelt rammer", ! "Color": "Farve", ! "Description": "Beskrivelse", ! "FG Color": "Font farve", ! "Float": "Justering", ! "Frames": "Udvendig", ! "Height": "Højde", ! "How many columns would you like to merge?": "Hvor mange kollonner vil du samle?", ! "How many rows would you like to merge?": "Hvor mange rækker vil du samle?", ! "Image URL": "Billede URL", ! "Justify": "Lige margener", ! "Layout": "Opsætning", ! "Left": "Venstre", ! "Margin": "Margen", ! "Middle": "Centrer", ! "No rules": "Ingen rammer", ! "No sides": "Ingen sider", ! "None": "Ingen", ! "Padding": "Margen", ! "Please click into some cell": "Klik pÃ¥ en celle", ! "Right": "Højre", ! "Row Properties": "Række egenskaber", ! "Rules will appear between all rows and columns": "Rammer mellem rækker og kolonner", ! "Rules will appear between columns only": "Kun rammer mellem kolonner", ! "Rules will appear between rows only": "Kun rammer mellem rækker", ! "Rules": "Invendig", ! "Spacing and padding": "Afstand og margen", ! "Spacing": "Afstand", ! "Summary": "Beskrivelse", ! "TO-cell-delete": "Slet celle", ! "TO-cell-insert-after": "Indsæt celle efter", ! "TO-cell-insert-before": "Indsæt celle før", ! "TO-cell-merge": "Sammensæt celler", ! "TO-cell-prop": "Celle egenskaber", ! "TO-cell-split": "Opdel celle", ! "TO-col-delete": "Slet kollonne", ! "TO-col-insert-after": "Indsæt kolonne efter", ! "TO-col-insert-before": "Indsæt kolonne før", ! "TO-col-split": "Opdel kolonne", ! "TO-row-delete": "Slet række", ! "TO-row-insert-above": "Indsæt række før", ! "TO-row-insert-under": "Indsæt række efter", ! "TO-row-prop": "Række egenskaber", ! "TO-row-split": "Opdel række", ! "TO-table-prop": "Tabel egenskaber", ! "Table Properties": "Tabel egenskaber", ! "Text align": "Tekst", ! "The bottom side only": "Kun i bunden", ! "The left-hand side only": "Kun i højre side", ! "The right and left sides only": "Kun i siderne", ! "The right-hand side only": "Kun i venstre side", ! "The top and bottom sides only": "Kun i top og bund", ! "The top side only": "Kun i toppen", ! "Top": "Top", ! "Unset color": "Farve ikke valgt", ! "Vertical align": "Vertikal placering", ! "Width": "Bredde", ! "not-del-last-cell": "Du kan ikke slette den sidste celle i en række.", ! "not-del-last-col": "Du kan ikke slette den sidste kolonne i en tabel.", ! "not-del-last-row": "Du kan ikke slette den sidste række i en tabel.", ! "percent": "procent", ! "pixels": "pixel" ! }; --- 1,90 ---- ! // I18N constants ! ! // LANG: "da", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Steen Sønderup, <st...@so...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! TableOperations.I18N = { ! "Align": "Placer", ! "All four sides": "Alle fire sider", ! "Background": "Baggrund", ! "Baseline": "Bundlinie", ! "Border": "Kant", ! "Borders": "Kanter", ! "Bottom": "Bund", ! "CSS Style": "Stil [CSS]", ! "Caption": "Titel", ! "Cell Properties": "Celle egenskaber", ! "Center": "Centrer", ! "Char": "Plads", ! "Collapsed borders": "Sammensmelt rammer", ! "Color": "Farve", ! "Description": "Beskrivelse", ! "FG Color": "Font farve", ! "Float": "Justering", ! "Frames": "Udvendig", ! "Height": "Højde", ! "How many columns would you like to merge?": "Hvor mange kollonner vil du samle?", ! "How many rows would you like to merge?": "Hvor mange rækker vil du samle?", ! "Image URL": "Billede URL", ! "Justify": "Lige margener", ! "Layout": "Opsætning", ! "Left": "Venstre", ! "Margin": "Margen", ! "Middle": "Centrer", ! "No rules": "Ingen rammer", ! "No sides": "Ingen sider", ! "None": "Ingen", ! "Padding": "Margen", ! "Please click into some cell": "Klik pÃ¥ en celle", ! "Right": "Højre", ! "Row Properties": "Række egenskaber", ! "Rules will appear between all rows and columns": "Rammer mellem rækker og kolonner", ! "Rules will appear between columns only": "Kun rammer mellem kolonner", ! "Rules will appear between rows only": "Kun rammer mellem rækker", ! "Rules": "Invendig", ! "Spacing and padding": "Afstand og margen", ! "Spacing": "Afstand", ! "Summary": "Beskrivelse", ! "TO-cell-delete": "Slet celle", ! "TO-cell-insert-after": "Indsæt celle efter", ! "TO-cell-insert-before": "Indsæt celle før", ! "TO-cell-merge": "Sammensæt celler", ! "TO-cell-prop": "Celle egenskaber", ! "TO-cell-split": "Opdel celle", ! "TO-col-delete": "Slet kollonne", ! "TO-col-insert-after": "Indsæt kolonne efter", ! "TO-col-insert-before": "Indsæt kolonne før", ! "TO-col-split": "Opdel kolonne", ! "TO-row-delete": "Slet række", ! "TO-row-insert-above": "Indsæt række før", ! "TO-row-insert-under": "Indsæt række efter", ! "TO-row-prop": "Række egenskaber", ! "TO-row-split": "Opdel række", ! "TO-table-prop": "Tabel egenskaber", ! "Table Properties": "Tabel egenskaber", ! "Text align": "Tekst", ! "The bottom side only": "Kun i bunden", ! "The left-hand side only": "Kun i højre side", ! "The right and left sides only": "Kun i siderne", ! "The right-hand side only": "Kun i venstre side", ! "The top and bottom sides only": "Kun i top og bund", ! "The top side only": "Kun i toppen", ! "Top": "Top", ! "Unset color": "Farve ikke valgt", ! "Vertical align": "Vertikal placering", ! "Width": "Bredde", ! "not-del-last-cell": "Du kan ikke slette den sidste celle i en række.", ! "not-del-last-col": "Du kan ikke slette den sidste kolonne i en tabel.", ! "not-del-last-row": "Du kan ikke slette den sidste række i en tabel.", ! "percent": "procent", ! "pixels": "pixel" ! }; Index: de.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/de.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** de.js 12 Nov 2003 21:29:48 -0000 1.1 --- de.js 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,81 **** ! // I18N constants ! ! // LANG: "de", ENCODING: UTF-8 | ISO-8859-1 ! // Author: broxx, <br...@br...> ! ! TableOperations.I18N = { ! "Align": "Ausrichten", ! "All four sides": "Alle 4 Seiten", ! "Background": "Hintergrund", ! "Baseline": "Basislinie", ! "Border": "Rand", ! "Borders": "Raender", ! "Bottom": "Unten", ! "CSS Style": "Style [CSS]", ! "Caption": "Ueberschrift", ! "Cell Properties": "Zellen", ! "Center": "Zentrieren", ! "Char": "Zeichen", ! "Collapsed borders": "Collapsed borders", ! "Color": "Farbe", ! "Description": "Beschreibung", ! "FG Color": "FG Farbe", ! "Float": "Ausrichtung", ! "Frames": "Rahmen", ! "Height": "Hoehe", ! "How many columns would you like to merge?": "Wieviele Spalten willst du verbinden?", ! "How many rows would you like to merge?": "Wieviele Zeilen willst du verbinden?", ! "Image URL": "Bild URL", ! "Justify": "Justieren", ! "Layout": "Layout", ! "Left": "Links", ! "Margin": "Rand", ! "Middle": "Mitte", ! "No rules": "Keine Balken", ! "No sides": "Keine Seiten", ! "None": "Keine", ! "Padding": "Auffuellung", ! "Please click into some cell": "Waehle eine Zelle", ! "Right": "Rechts", ! "Row Properties": "Reihen", ! "Rules will appear between all rows and columns": "Balken zwischen Reihen und Spalten", ! "Rules will appear between columns only": "Balken zwischen Spalten", ! "Rules will appear between rows only": "Balken zwischen Reihen", ! "Rules": "Balken", ! "Spacing and padding": "Abstaende", ! "Spacing": "Abstand", ! "Summary": "Zusammenfassung", ! "TO-cell-delete": "Zelle loeschen", ! "TO-cell-insert-after": "Zelle einfuegen nach", ! "TO-cell-insert-before": "Zelle einfuegen bevor", ! "TO-cell-merge": "Zellen zusammenfuegen", ! "TO-cell-prop": "Zelleinstellungen", ! "TO-cell-split": "Zellen aufteilen", ! "TO-col-delete": "Spalte loeschen", ! "TO-col-insert-after": "Spalte einfuegen nach", ! "TO-col-insert-before": "Spalte einfuegen bevor", ! "TO-col-split": "Spalte aufteilen", ! "TO-row-delete": "Reihe loeschen", ! "TO-row-insert-above": "Reihe einfuegen vor", ! "TO-row-insert-under": "Reihe einfuegen nach", ! "TO-row-prop": "Reiheneinstellungen", ! "TO-row-split": "Reihen aufteilen", ! "TO-table-prop": "Tabelle", ! "Table Properties": "Tabelle", ! "Text align": "Ausrichtung", ! "The bottom side only": "Nur untere Seite", ! "The left-hand side only": "Nur linke Seite", ! "The right and left sides only": "Nur linke und rechte Seite", ! "The right-hand side only": "Nur rechte Seite", ! "The top and bottom sides only": "Nur obere und untere Seite", ! "The top side only": "Nur obere Seite", ! "Top": "Oben", ! "Unset color": "Farbe", ! "Vertical align": "Ausrichtung", ! "Width": "Breite", ! "not-del-last-cell": "Letzte Zelle in dieser Reihe!", ! "not-del-last-col": "Letzte Spalte in dieser Tabelle!", ! "not-del-last-row": "Letzte Reihe in dieser Tabelle", ! "percent": "%", ! "pixels": "pixels" ! }; --- 1,81 ---- ! // I18N constants ! ! // LANG: "de", ENCODING: UTF-8 | ISO-8859-1 ! // Author: broxx, <br...@br...> ! ! TableOperations.I18N = { ! "Align": "Ausrichten", ! "All four sides": "Alle 4 Seiten", ! "Background": "Hintergrund", ! "Baseline": "Basislinie", ! "Border": "Rand", ! "Borders": "Raender", ! "Bottom": "Unten", ! "CSS Style": "Style [CSS]", ! "Caption": "Ueberschrift", ! "Cell Properties": "Zellen", ! "Center": "Zentrieren", ! "Char": "Zeichen", ! "Collapsed borders": "Collapsed borders", ! "Color": "Farbe", ! "Description": "Beschreibung", ! "FG Color": "FG Farbe", ! "Float": "Ausrichtung", ! "Frames": "Rahmen", ! "Height": "Hoehe", ! "How many columns would you like to merge?": "Wieviele Spalten willst du verbinden?", ! "How many rows would you like to merge?": "Wieviele Zeilen willst du verbinden?", ! "Image URL": "Bild URL", ! "Justify": "Justieren", ! "Layout": "Layout", ! "Left": "Links", ! "Margin": "Rand", ! "Middle": "Mitte", ! "No rules": "Keine Balken", ! "No sides": "Keine Seiten", ! "None": "Keine", ! "Padding": "Auffuellung", ! "Please click into some cell": "Waehle eine Zelle", ! "Right": "Rechts", ! "Row Properties": "Reihen", ! "Rules will appear between all rows and columns": "Balken zwischen Reihen und Spalten", ! "Rules will appear between columns only": "Balken zwischen Spalten", ! "Rules will appear between rows only": "Balken zwischen Reihen", ! "Rules": "Balken", ! "Spacing and padding": "Abstaende", ! "Spacing": "Abstand", ! "Summary": "Zusammenfassung", ! "TO-cell-delete": "Zelle loeschen", ! "TO-cell-insert-after": "Zelle einfuegen nach", ! "TO-cell-insert-before": "Zelle einfuegen bevor", ! "TO-cell-merge": "Zellen zusammenfuegen", ! "TO-cell-prop": "Zelleinstellungen", ! "TO-cell-split": "Zellen aufteilen", ! "TO-col-delete": "Spalte loeschen", ! "TO-col-insert-after": "Spalte einfuegen nach", ! "TO-col-insert-before": "Spalte einfuegen bevor", ! "TO-col-split": "Spalte aufteilen", ! "TO-row-delete": "Reihe loeschen", ! "TO-row-insert-above": "Reihe einfuegen vor", ! "TO-row-insert-under": "Reihe einfuegen nach", ! "TO-row-prop": "Reiheneinstellungen", ! "TO-row-split": "Reihen aufteilen", ! "TO-table-prop": "Tabelle", ! "Table Properties": "Tabelle", ! "Text align": "Ausrichtung", ! "The bottom side only": "Nur untere Seite", ! "The left-hand side only": "Nur linke Seite", ! "The right and left sides only": "Nur linke und rechte Seite", ! "The right-hand side only": "Nur rechte Seite", ! "The top and bottom sides only": "Nur obere und untere Seite", ! "The top side only": "Nur obere Seite", ! "Top": "Oben", ! "Unset color": "Farbe", ! "Vertical align": "Ausrichtung", ! "Width": "Breite", ! "not-del-last-cell": "Letzte Zelle in dieser Reihe!", ! "not-del-last-col": "Letzte Spalte in dieser Tabelle!", ! "not-del-last-row": "Letzte Reihe in dieser Tabelle", ! "percent": "%", ! "pixels": "pixels" ! }; Index: en.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/en.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** en.js 12 Nov 2003 21:29:48 -0000 1.1 --- en.js 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,90 **** ! // I18N constants ! ! // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Mihai Bazon, <mi...@in...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! TableOperations.I18N = { ! "Align": "Align", ! "All four sides": "All four sides", ! "Background": "Background", ! "Baseline": "Baseline", ! "Border": "Border", ! "Borders": "Borders", ! "Bottom": "Bottom", ! "CSS Style": "Style [CSS]", ! "Caption": "Caption", ! "Cell Properties": "Cell Properties", ! "Center": "Center", ! "Char": "Char", ! "Collapsed borders": "Collapsed borders", ! "Color": "Color", ! "Description": "Description", ! "FG Color": "FG Color", ! "Float": "Float", ! "Frames": "Frames", ! "Height": "Height", ! "How many columns would you like to merge?": "How many columns would you like to merge?", ! "How many rows would you like to merge?": "How many rows would you like to merge?", ! "Image URL": "Image URL", ! "Justify": "Justify", ! "Layout": "Layout", ! "Left": "Left", ! "Margin": "Margin", ! "Middle": "Middle", ! "No rules": "No rules", ! "No sides": "No sides", ! "None": "None", ! "Padding": "Padding", ! "Please click into some cell": "Please click into some cell", ! "Right": "Right", ! "Row Properties": "Row Properties", ! "Rules will appear between all rows and columns": "Rules will appear between all rows and columns", ! "Rules will appear between columns only": "Rules will appear between columns only", ! "Rules will appear between rows only": "Rules will appear between rows only", ! "Rules": "Rules", ! "Spacing and padding": "Spacing and padding", ! "Spacing": "Spacing", ! "Summary": "Summary", ! "TO-cell-delete": "Delete cell", ! "TO-cell-insert-after": "Insert cell after", ! "TO-cell-insert-before": "Insert cell before", ! "TO-cell-merge": "Merge cells", ! "TO-cell-prop": "Cell properties", ! "TO-cell-split": "Split cell", ! "TO-col-delete": "Delete column", ! "TO-col-insert-after": "Insert column after", ! "TO-col-insert-before": "Insert column before", ! "TO-col-split": "Split column", ! "TO-row-delete": "Delete row", ! "TO-row-insert-above": "Insert row before", ! "TO-row-insert-under": "Insert row after", ! "TO-row-prop": "Row properties", ! "TO-row-split": "Split row", ! "TO-table-prop": "Table properties", ! "Table Properties": "Table Properties", ! "Text align": "Text align", ! "The bottom side only": "The bottom side only", ! "The left-hand side only": "The left-hand side only", ! "The right and left sides only": "The right and left sides only", ! "The right-hand side only": "The right-hand side only", ! "The top and bottom sides only": "The top and bottom sides only", ! "The top side only": "The top side only", ! "Top": "Top", ! "Unset color": "Unset color", ! "Vertical align": "Vertical align", ! "Width": "Width", ! "not-del-last-cell": "HTMLArea cowardly refuses to delete the last cell in row.", ! "not-del-last-col": "HTMLArea cowardly refuses to delete the last column in table.", ! "not-del-last-row": "HTMLArea cowardly refuses to delete the last row in table.", ! "percent": "percent", ! "pixels": "pixels" ! }; --- 1,90 ---- ! // I18N constants ! ! // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Mihai Bazon, http://dynarch.com/mishoo ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! TableOperations.I18N = { ! "Align": "Align", ! "All four sides": "All four sides", ! "Background": "Background", ! "Baseline": "Baseline", ! "Border": "Border", ! "Borders": "Borders", ! "Bottom": "Bottom", ! "CSS Style": "Style [CSS]", ! "Caption": "Caption", ! "Cell Properties": "Cell Properties", ! "Center": "Center", ! "Char": "Char", ! "Collapsed borders": "Collapsed borders", ! "Color": "Color", ! "Description": "Description", ! "FG Color": "FG Color", ! "Float": "Float", ! "Frames": "Frames", ! "Height": "Height", ! "How many columns would you like to merge?": "How many columns would you like to merge?", ! "How many rows would you like to merge?": "How many rows would you like to merge?", ! "Image URL": "Image URL", ! "Justify": "Justify", ! "Layout": "Layout", ! "Left": "Left", ! "Margin": "Margin", ! "Middle": "Middle", ! "No rules": "No rules", ! "No sides": "No sides", ! "None": "None", ! "Padding": "Padding", ! "Please click into some cell": "Please click into some cell", ! "Right": "Right", ! "Row Properties": "Row Properties", ! "Rules will appear between all rows and columns": "Rules will appear between all rows and columns", ! "Rules will appear between columns only": "Rules will appear between columns only", ! "Rules will appear between rows only": "Rules will appear between rows only", ! "Rules": "Rules", ! "Spacing and padding": "Spacing and padding", ! "Spacing": "Spacing", ! "Summary": "Summary", ! "TO-cell-delete": "Delete cell", ! "TO-cell-insert-after": "Insert cell after", ! "TO-cell-insert-before": "Insert cell before", ! "TO-cell-merge": "Merge cells", ! "TO-cell-prop": "Cell properties", ! "TO-cell-split": "Split cell", ! "TO-col-delete": "Delete column", ! "TO-col-insert-after": "Insert column after", ! "TO-col-insert-before": "Insert column before", ! "TO-col-split": "Split column", ! "TO-row-delete": "Delete row", ! "TO-row-insert-above": "Insert row before", ! "TO-row-insert-under": "Insert row after", ! "TO-row-prop": "Row properties", ! "TO-row-split": "Split row", ! "TO-table-prop": "Table properties", ! "Table Properties": "Table Properties", ! "Text align": "Text align", ! "The bottom side only": "The bottom side only", ! "The left-hand side only": "The left-hand side only", ! "The right and left sides only": "The right and left sides only", ! "The right-hand side only": "The right-hand side only", ! "The top and bottom sides only": "The top and bottom sides only", ! "The top side only": "The top side only", ! "Top": "Top", ! "Unset color": "Unset color", ! "Vertical align": "Vertical align", ! "Width": "Width", ! "not-del-last-cell": "HTMLArea cowardly refuses to delete the last cell in row.", ! "not-del-last-col": "HTMLArea cowardly refuses to delete the last column in table.", ! "not-del-last-row": "HTMLArea cowardly refuses to delete the last row in table.", ! "percent": "percent", ! "pixels": "pixels" ! }; Index: fi.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/fi.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** fi.js 12 Nov 2003 21:29:48 -0000 1.1 --- fi.js 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,66 **** ! TableOperations.I18N = { ! "Align": "Kohdistus", ! "All four sides": "Kaikki neljä sivua", ! "Background": "Tausta", ! "Baseline": "Takaraja", ! "Border": "Reuna", ! "Borders": "Reunat", ! "Bottom": "Alle", ! "CSS Style": "Tyyli [CSS]", ! "Caption": "Otsikko", ! "Cell Properties": "Solun asetukset", ! "Center": "Keskelle", ! "Char": "Merkki", ! "Collapsed borders": "Luhistetut reunat", ! "Color": "Väri", ! "Description": "Kuvaus", ! "FG Color": "FG Väri", ! "Frames": "Kehykset", ! "Image URL": "Kuvan osoite", ! "Layout": "Sommittelu", ! "Left": "Vasen", ! "Margin": "Marginaali", ! "Middle": "Keskelle", ! "No rules": "Ei viivoja", ! "No sides": "Ei sivuja", ! "Padding": "Palstantäyte", ! "Right": "Oikea", ! "Row Properties": "Rivin asetukset", ! "Rules will appear between all rows and columns": "Viivat jokaisen rivin ja sarakkeen välillä", ! "Rules will appear between columns only": "Viivat ainoastaan sarakkeiden välillä", ! "Rules will appear between rows only": "Viivat ainoastaan rivien välillä", ! "Rules": "Viivat", ! "Spacing": "Palstatila", ! "Summary": "Yhteenveto", ! "TO-cell-delete": "Poista solu", ! "TO-cell-insert-after": "Lisää solu perään", ! "TO-cell-insert-before": "Lisää solu ennen", ! "TO-cell-merge": "Yhdistä solut", ! "TO-cell-prop": "Solun asetukset", ! "TO-cell-split": "Jaa solu", ! "TO-col-delete": "Poista sarake", ! "TO-col-insert-after": "Lisää sarake perään", ! "TO-col-insert-before": "Lisää sarake ennen", ! "TO-col-split": "Jaa sarake", ! "TO-row-delete": "Poista rivi", ! "TO-row-insert-above": "Lisää rivi yläpuolelle", ! "TO-row-insert-under": "Lisää rivi alapuolelle", ! "TO-row-prop": "Rivin asetukset", ! "TO-row-split": "Jaa rivi", ! "TO-table-prop": "Taulukon asetukset", ! "Top": "Ylös", ! "Table Properties": "Taulukon asetukset", ! "The bottom side only": "Ainoastaan alapuolelle", ! "The left-hand side only": "Ainoastaan vasenreuna", ! "The right and left sides only": "Oikea- ja vasenreuna", ! "The right-hand side only": "Ainoastaan oikeareuna", ! "The top and bottom sides only": "Ylä- ja alapuoli.", ! "The top side only": "Ainoastaan yläpuoli", ! "Vertical align": "Vertikaali kohdistus", ! "Width": "Leveys", ! "not-del-last-cell": "Ei voida poistaa viimeistä solua rivistä.", ! "not-del-last-col": "Ei voida poistaa viimeistä saraketta taulusta.", ! "not-del-last-row": "Ei voida poistaa viimeistä riviä taulusta.", ! "percent": "prosenttia", ! "pixels": "pikseliä" ! }; --- 1,66 ---- ! TableOperations.I18N = { ! "Align": "Kohdistus", ! "All four sides": "Kaikki neljä sivua", ! "Background": "Tausta", ! "Baseline": "Takaraja", ! "Border": "Reuna", ! "Borders": "Reunat", ! "Bottom": "Alle", ! "CSS Style": "Tyyli [CSS]", ! "Caption": "Otsikko", ! "Cell Properties": "Solun asetukset", ! "Center": "Keskelle", ! "Char": "Merkki", ! "Collapsed borders": "Luhistetut reunat", ! "Color": "Väri", ! "Description": "Kuvaus", ! "FG Color": "FG Väri", ! "Frames": "Kehykset", ! "Image URL": "Kuvan osoite", ! "Layout": "Sommittelu", ! "Left": "Vasen", ! "Margin": "Marginaali", ! "Middle": "Keskelle", ! "No rules": "Ei viivoja", ! "No sides": "Ei sivuja", ! "Padding": "Palstantäyte", ! "Right": "Oikea", ! "Row Properties": "Rivin asetukset", ! "Rules will appear between all rows and columns": "Viivat jokaisen rivin ja sarakkeen välillä", ! "Rules will appear between columns only": "Viivat ainoastaan sarakkeiden välillä", ! "Rules will appear between rows only": "Viivat ainoastaan rivien välillä", ! "Rules": "Viivat", ! "Spacing": "Palstatila", ! "Summary": "Yhteenveto", ! "TO-cell-delete": "Poista solu", ! "TO-cell-insert-after": "Lisää solu perään", ! "TO-cell-insert-before": "Lisää solu ennen", ! "TO-cell-merge": "Yhdistä solut", ! "TO-cell-prop": "Solun asetukset", ! "TO-cell-split": "Jaa solu", ! "TO-col-delete": "Poista sarake", ! "TO-col-insert-after": "Lisää sarake perään", ! "TO-col-insert-before": "Lisää sarake ennen", ! "TO-col-split": "Jaa sarake", ! "TO-row-delete": "Poista rivi", ! "TO-row-insert-above": "Lisää rivi yläpuolelle", ! "TO-row-insert-under": "Lisää rivi alapuolelle", ! "TO-row-prop": "Rivin asetukset", ! "TO-row-split": "Jaa rivi", ! "TO-table-prop": "Taulukon asetukset", ! "Top": "Ylös", ! "Table Properties": "Taulukon asetukset", ! "The bottom side only": "Ainoastaan alapuolelle", ! "The left-hand side only": "Ainoastaan vasenreuna", ! "The right and left sides only": "Oikea- ja vasenreuna", ! "The right-hand side only": "Ainoastaan oikeareuna", ! "The top and bottom sides only": "Ylä- ja alapuoli.", ! "The top side only": "Ainoastaan yläpuoli", ! "Vertical align": "Vertikaali kohdistus", ! "Width": "Leveys", ! "not-del-last-cell": "Ei voida poistaa viimeistä solua rivistä.", ! "not-del-last-col": "Ei voida poistaa viimeistä saraketta taulusta.", ! "not-del-last-row": "Ei voida poistaa viimeistä riviä taulusta.", ! "percent": "prosenttia", ! "pixels": "pikseliä" ! }; Index: hu.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/hu.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** hu.js 12 Nov 2003 21:29:48 -0000 1.1 --- hu.js 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,63 **** ! // I18N constants ! ! // LANG: "hu", ENCODING: UTF-8 ! // Author: Miklós Somogyi, <som...@vn...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! HTMLArea.I18N = { ! ! // the following should be the filename without .js extension ! // it will be used for automatically load plugin language. ! lang: "hu", ! ! tooltips: { ! bold: "Félkövér", ! italic: "DÅlt", ! underline: "Aláhúzott", ! strikethrough: "Ãthúzott", ! subscript: "Alsó index", ! superscript: "FelsÅ index", ! justifyleft: "Balra zárt", ! justifycenter: "Középre zárt", ! justifyright: "Jobbra zárt", ! justifyfull: "Sorkizárt", ! orderedlist: "Számozott lista", ! unorderedlist: "Számozatlan lista", ! outdent: "Behúzás csökkentése", ! indent: "Behúzás növelése", ! forecolor: "KarakterszÃn", ! hilitecolor: "HáttérszÃn", ! horizontalrule: "Elválasztó vonal", ! createlink: "Hiperhivatkozás beszúrása", ! insertimage: "Kép beszúrása", ! inserttable: "Táblázat beszúrása", ! htmlmode: "HTML forrás be/ki", ! popupeditor: "SzerkesztÅ külön ablakban", ! about: "Névjegy", ! showhelp: "Súgó", ! textindicator: "Aktuális stÃlus", ! undo: "Visszavonás", ! redo: "Ãjra végrehajtás", ! cut: "Kivágás", ! copy: "Másolás", ! paste: "Beillesztés" ! }, ! ! buttons: { ! "ok": "Rendben", ! "cancel": "Mégsem" ! }, ! ! msg: { ! "Path": "Hierarchia", ! "TEXT_MODE": "Forrás mód. Visszaváltás [<>] gomb" ! } ! }; --- 1,63 ---- ! // I18N constants ! ! // LANG: "hu", ENCODING: UTF-8 ! // Author: Miklós Somogyi, <som...@vn...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! HTMLArea.I18N = { ! ! // the following should be the filename without .js extension ! // it will be used for automatically load plugin language. ! lang: "hu", ! ! tooltips: { ! bold: "Félkövér", ! italic: "DÅlt", ! underline: "Aláhúzott", ! strikethrough: "Ãthúzott", ! subscript: "Alsó index", ! superscript: "FelsÅ index", ! justifyleft: "Balra zárt", ! justifycenter: "Középre zárt", ! justifyright: "Jobbra zárt", ! justifyfull: "Sorkizárt", ! orderedlist: "Számozott lista", ! unorderedlist: "Számozatlan lista", ! outdent: "Behúzás csökkentése", ! indent: "Behúzás növelése", ! forecolor: "KarakterszÃn", ! hilitecolor: "HáttérszÃn", ! horizontalrule: "Elválasztó vonal", ! createlink: "Hiperhivatkozás beszúrása", ! insertimage: "Kép beszúrása", ! inserttable: "Táblázat beszúrása", ! htmlmode: "HTML forrás be/ki", ! popupeditor: "SzerkesztÅ külön ablakban", ! about: "Névjegy", ! showhelp: "Súgó", ! textindicator: "Aktuális stÃlus", ! undo: "Visszavonás", ! redo: "Ãjra végrehajtás", ! cut: "Kivágás", ! copy: "Másolás", ! paste: "Beillesztés" ! }, ! ! buttons: { ! "ok": "Rendben", ! "cancel": "Mégsem" ! }, ! ! msg: { ! "Path": "Hierarchia", ! "TEXT_MODE": "Forrás mód. Visszaváltás [<>] gomb" ! } ! }; Index: it.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/it.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** it.js 12 Nov 2003 21:29:48 -0000 1.1 --- it.js 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,81 **** ! // I18N constants ! ! // LANG: "it", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Fabio Rotondo <fa...@ro...> ! ! TableOperations.I18N = { ! "Align": "Allinea", ! "All four sides": "Tutti e quattro i lati", ! "Background": "Sfondo", ! "Baseline": "Allineamento", ! "Border": "Bordo", ! "Borders": "Bordi", ! "Bottom": "Basso", ! "CSS Style": "Stile [CSS]", ! "Caption": "Titolo", ! "Cell Properties": "Proprietà della Cella", ! "Center": "Centra", ! "Char": "Carattere", ! "Collapsed borders": "Bordi chiusi", ! "Color": "Colore", ! "Description": "Descrizione", ! "FG Color": "Colore Principale", ! "Float": "Fluttuante", ! "Frames": "Frames", ! "Height": "Altezza", ! "How many columns would you like to merge?": "Quante colonne vuoi unire?", ! "How many rows would you like to merge?": "Quante righe vuoi unire?", ! "Image URL": "URL dell'Immagine", ! "Justify": "Justifica", ! "Layout": "Layout", ! "Left": "Sinistra", ! "Margin": "Margine", ! "Middle": "Centrale", ! "No rules": "Nessun righello", ! "No sides": "Nessun lato", ! "None": "Nulla", ! "Padding": "Padding", ! "Please click into some cell": "Per favore, clicca in una cella", ! "Right": "Destra", ! "Row Properties": "Proprietà della Riga", ! "Rules will appear between all rows and columns": "Le linee appariranno tra tutte le righe e colonne", ! "Rules will appear between columns only": "Le linee appariranno solo tra le colonne", ! "Rules will appear between rows only": "Le linee appariranno solo tra le righe", ! "Rules": "Linee", ! "Spacing and padding": "Spaziatura e Padding", ! "Spacing": "Spaziatura", ! "Summary": "Sommario", ! "TO-cell-delete": "Cancella cella", ! "TO-cell-insert-after": "Inserisci cella dopo", ! "TO-cell-insert-before": "Inserisci cella prima", ! "TO-cell-merge": "Unisci celle", ! "TO-cell-prop": "Proprietà della cella", ! "TO-cell-split": "Dividi cella", ! "TO-col-delete": "Cancella colonna", ! "TO-col-insert-after": "Inserisci colonna dopo", ! "TO-col-insert-before": "Inserisci colonna prima", ! "TO-col-split": "Dividi colonna", ! "TO-row-delete": "Cancella riga", ! "TO-row-insert-above": "Inserisci riga prima", ! "TO-row-insert-under": "Inserisci riga dopo", ! "TO-row-prop": "Proprietà della riga", ! "TO-row-split": "Dividi riga", ! "TO-table-prop": "Proprietà della Tabella", ! "Table Properties": "Proprietà della Tabella", ! "Text align": "Allineamento del Testo", ! "The bottom side only": "Solo la parte inferiore", ! "The left-hand side only": "Solo la parte sinistra", ! "The right and left sides only": "Solo destra e sinistra", ! "The right-hand side only": "Solo la parte destra", ! "The top and bottom sides only": "Solo sopra e sotto", ! "The top side only": "Solo la parte sopra", ! "Top": "Alto", ! "Unset color": "Rimuovi colore", ! "Vertical align": "Allineamento verticale", ! "Width": "Larghezza", ! "not-del-last-cell": "HTMLArea si rifiuta codardamente di cancellare l'ultima cella nella riga.", ! "not-del-last-col": "HTMLArea si rifiuta codardamente di cancellare l'ultima colonna nella tabella.", ! "not-del-last-row": "HTMLArea si rifiuta codardamente di cancellare l'ultima riga nella tabella.", ! "percent": "percento", ! "pixels": "pixels" ! }; --- 1,81 ---- ! // I18N constants ! ! // LANG: "it", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Fabio Rotondo <fa...@ro...> ! ! TableOperations.I18N = { ! "Align": "Allinea", ! "All four sides": "Tutti e quattro i lati", ! "Background": "Sfondo", ! "Baseline": "Allineamento", ! "Border": "Bordo", ! "Borders": "Bordi", ! "Bottom": "Basso", ! "CSS Style": "Stile [CSS]", ! "Caption": "Titolo", ! "Cell Properties": "Proprietà della Cella", ! "Center": "Centra", ! "Char": "Carattere", ! "Collapsed borders": "Bordi chiusi", ! "Color": "Colore", ! "Description": "Descrizione", ! "FG Color": "Colore Principale", ! "Float": "Fluttuante", ! "Frames": "Frames", ! "Height": "Altezza", ! "How many columns would you like to merge?": "Quante colonne vuoi unire?", ! "How many rows would you like to merge?": "Quante righe vuoi unire?", ! "Image URL": "URL dell'Immagine", ! "Justify": "Justifica", ! "Layout": "Layout", ! "Left": "Sinistra", ! "Margin": "Margine", ! "Middle": "Centrale", ! "No rules": "Nessun righello", ! "No sides": "Nessun lato", ! "None": "Nulla", ! "Padding": "Padding", ! "Please click into some cell": "Per favore, clicca in una cella", ! "Right": "Destra", ! "Row Properties": "Proprietà della Riga", ! "Rules will appear between all rows and columns": "Le linee appariranno tra tutte le righe e colonne", ! "Rules will appear between columns only": "Le linee appariranno solo tra le colonne", ! "Rules will appear between rows only": "Le linee appariranno solo tra le righe", ! "Rules": "Linee", ! "Spacing and padding": "Spaziatura e Padding", ! "Spacing": "Spaziatura", ! "Summary": "Sommario", ! "TO-cell-delete": "Cancella cella", ! "TO-cell-insert-after": "Inserisci cella dopo", ! "TO-cell-insert-before": "Inserisci cella prima", ! "TO-cell-merge": "Unisci celle", ! "TO-cell-prop": "Proprietà della cella", ! "TO-cell-split": "Dividi cella", ! "TO-col-delete": "Cancella colonna", ! "TO-col-insert-after": "Inserisci colonna dopo", ! "TO-col-insert-before": "Inserisci colonna prima", ! "TO-col-split": "Dividi colonna", ! "TO-row-delete": "Cancella riga", ! "TO-row-insert-above": "Inserisci riga prima", ! "TO-row-insert-under": "Inserisci riga dopo", ! "TO-row-prop": "Proprietà della riga", ! "TO-row-split": "Dividi riga", ! "TO-table-prop": "Proprietà della Tabella", ! "Table Properties": "Proprietà della Tabella", ! "Text align": "Allineamento del Testo", ! "The bottom side only": "Solo la parte inferiore", ! "The left-hand side only": "Solo la parte sinistra", ! "The right and left sides only": "Solo destra e sinistra", ! "The right-hand side only": "Solo la parte destra", ! "The top and bottom sides only": "Solo sopra e sotto", ! "The top side only": "Solo la parte sopra", ! "Top": "Alto", ! "Unset color": "Rimuovi colore", ! "Vertical align": "Allineamento verticale", ! "Width": "Larghezza", ! "not-del-last-cell": "HTMLArea si rifiuta codardamente di cancellare l'ultima cella nella riga.", ! "not-del-last-col": "HTMLArea si rifiuta codardamente di cancellare l'ultima colonna nella tabella.", ! "not-del-last-row": "HTMLArea si rifiuta codardamente di cancellare l'ultima riga nella tabella.", ! "percent": "percento", ! "pixels": "pixels" ! }; Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,3 **** ! <files> ! <file name="*.js" /> ! </files> --- 1,3 ---- ! <files> ! <file name="*.js" /> ! </files> Index: ro.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/lang/ro.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ro.js 12 Nov 2003 21:29:48 -0000 1.1 --- ro.js 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,90 **** ! // I18N constants ! ! // LANG: "ro", ENCODING: UTF-8 ! // Author: Mihai Bazon, <mi...@in...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! TableOperations.I18N = { ! "Align": "Aliniere", ! "All four sides": "Toate pÄrÅ£ile", ! "Background": "Fundal", ! "Baseline": "Baseline", ! "Border": "Chenar", ! "Borders": "Chenare", ! "Bottom": "Jos", ! "CSS Style": "Stil [CSS]", ! "Caption": "Titlu de tabel", ! "Cell Properties": "ProprietÄÅ£ile celulei", ! "Center": "Centru", ! "Char": "Caracter", ! "Collapsed borders": "Chenare asimilate", ! "Color": "Culoare", ! "Description": "Descriere", ! "FG Color": "Culoare text", ! "Float": "PoziÅ£ie", ! "Frames": "Chenare", ! "Height": "ÃnÄlÅ£imea", ! "How many columns would you like to merge?": "Câte coloane vrei sÄ uneÅti?", ! "How many rows would you like to merge?": "Câte linii vrei sÄ uneÅti?", ! "Image URL": "URL-ul imaginii", ! "Justify": "Justify", ! "Layout": "Aranjament", ! "Left": "Stânga", ! "Margin": "Margine", ! "Middle": "Mijloc", ! "No rules": "FÄrÄ linii", ! "No sides": "FÄrÄ pÄrÅ£i", ! "None": "Nimic", ! "Padding": "SpaÅ£iere", ! "Please click into some cell": "VÄ rog sÄ daÅ£i click într-o celulÄ", ! "Right": "Dreapta", ! "Row Properties": "ProprietÄÅ£ile liniei", ! "Rules will appear between all rows and columns": "Vor apÄrea linii între toate rândurile Åi coloanele", ! "Rules will appear between columns only": "Vor apÄrea doar linii verticale", ! "Rules will appear between rows only": "Vor apÄrea doar linii orizontale", ! "Rules": "Linii", ! "Spacing and padding": "SpaÅ£ierea", ! "Spacing": "Ãntre celule", ! "Summary": "Sumar", ! "TO-cell-delete": "Återge celula", ! "TO-cell-insert-after": "InsereazÄ o celulÄ la dreapta", ! "TO-cell-insert-before": "InsereazÄ o celulÄ la stânga", ! "TO-cell-merge": "UneÅte celulele", ! "TO-cell-prop": "ProprietÄÅ£ile celulei", ! "TO-cell-split": "Ãmparte celula", ! "TO-col-delete": "Återge coloana", ! "TO-col-insert-after": "InsereazÄ o coloanÄ la dreapta", ! "TO-col-insert-before": "InsereazÄ o coloanÄ la stânga", ! "TO-col-split": "Ãmparte coloana", ! "TO-row-delete": "Återge rândul", ! "TO-row-insert-above": "InsereazÄ un rând înainte", ! "TO-row-insert-under": "InsereazÄ un rând dupÄ", ! "TO-row-prop": "ProprietÄÅ£ile rândului", ! "TO-row-split": "Ãmparte rândul", ! "TO-table-prop": "ProprietÄÅ£ile tabelei", ! "Table Properties": "ProprietÄÅ£ile tabelei", ! "Text align": "Aliniere", ! "The bottom side only": "Doar partea de jos", ! "The left-hand side only": "Doar partea din stânga", ! "The right and left sides only": "Partea din stânga Åi cea din dreapta", ! "The right-hand side only": "Doar partea din dreapta", ! "The top and bottom sides only": "Partea de sus si cea de jos", ! "The top side only": "Doar partea de sus", ! "Top": "Sus", ! "Unset color": "DezactiveazÄ culoarea", ! "Vertical align": "Aliniere ... [truncated message content] |
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang Modified Files: cz.js da.js de.js en.js hu.js it.js makefile.xml ro.js Log Message: Upgraded htmlarea3 Index: cz.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang/cz.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cz.js 12 Nov 2003 21:29:48 -0000 1.1 --- cz.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,37 **** ! // I18N constants ! ! // LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 ! // Author: Jiri Löw, <ji...@ji...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "ProsÃm potvrÄte otevÅenà tohoto odkazu", ! "Cancel" : "ZruÅ¡it", ! "Dictionary" : "SlovnÃk", ! "Finished list of mispelled words" : "DokonÄen seznam chybných slov", ! "I will open it in a new page." : "Bude otevÅen jej v nové stránce.", ! "Ignore all" : "Ignorovat vÅ¡e", ! "Ignore" : "Ignorovat", ! "NO_ERRORS" : "Podle zvoleného slovnÃku nebyla nalezena žádná chybná slova.", ! "NO_ERRORS_CLOSING" : "Kontrola správnosti slov dokonÄena, nebyla nalezena žádná chybná slova. UkonÄovánà ...", ! "OK" : "OK", ! "Original word" : "Původnà slovo", ! "Please wait. Calling spell checker." : "ProsÃm Äekejte. Komunikuace s kontrolou správnosti slov.", ! "Please wait: changing dictionary to" : "ProsÃm Äekejte: zmÄna adresáÅe na", ! "QUIT_CONFIRMATION" : "ZmÄny budou zruÅ¡eny a kontrola správnosti slov ukonÄena. ProsÃm potvrÄte.", ! "Re-check" : "PÅekontrolovat", ! "Replace all" : "ZamÄnit vÅ¡echno", ! "Replace with" : "ZamÄnit za", ! "Replace" : "ZamÄnit", ! "SC-spell-check" : "Kontrola správnosti slov", ! "Suggestions" : "DoporuÄenÃ", ! "pliz weit ;-)" : "strpenà prosÃm ;-)" ! }; --- 1,37 ---- ! // I18N constants ! ! // LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 ! // Author: Jiri Löw, <ji...@ji...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "ProsÃm potvrÄte otevÅenà tohoto odkazu", ! "Cancel" : "ZruÅ¡it", ! "Dictionary" : "SlovnÃk", ! "Finished list of mispelled words" : "DokonÄen seznam chybných slov", ! "I will open it in a new page." : "Bude otevÅen jej v nové stránce.", ! "Ignore all" : "Ignorovat vÅ¡e", ! "Ignore" : "Ignorovat", ! "NO_ERRORS" : "Podle zvoleného slovnÃku nebyla nalezena žádná chybná slova.", ! "NO_ERRORS_CLOSING" : "Kontrola správnosti slov dokonÄena, nebyla nalezena žádná chybná slova. UkonÄovánà ...", ! "OK" : "OK", ! "Original word" : "Původnà slovo", ! "Please wait. Calling spell checker." : "ProsÃm Äekejte. Komunikuace s kontrolou správnosti slov.", ! "Please wait: changing dictionary to" : "ProsÃm Äekejte: zmÄna adresáÅe na", ! "QUIT_CONFIRMATION" : "ZmÄny budou zruÅ¡eny a kontrola správnosti slov ukonÄena. ProsÃm potvrÄte.", ! "Re-check" : "PÅekontrolovat", ! "Replace all" : "ZamÄnit vÅ¡echno", ! "Replace with" : "ZamÄnit za", ! "Replace" : "ZamÄnit", ! "SC-spell-check" : "Kontrola správnosti slov", ! "Suggestions" : "DoporuÄenÃ", ! "pliz weit ;-)" : "strpenà prosÃm ;-)" ! }; Index: da.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang/da.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** da.js 12 Nov 2003 21:29:48 -0000 1.1 --- da.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,37 **** ! // I18N constants ! ! // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Steen Sønderup, <st...@so...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "Vil du følge dette link?", ! "Cancel" : "Anuler", ! "Dictionary" : "Ordbog", ! "Finished list of mispelled words" : "Listen med stavefejl er gennemgÃ¥et", ! "I will open it in a new page." : "Jeg vil Ã¥bne det i en ny side.", ! "Ignore all" : "Ignorer alle", ! "Ignore" : "Ignorer", ! "NO_ERRORS" : "Der blev ikke fundet nogle stavefejl med den valgte ordbog.", ! "NO_ERRORS_CLOSING" : "Stavekontrollen er gennemført, der blev ikke fundet nogle stavefejl. Lukker...", ! "OK" : "OK", ! "Original word" : "Oprindeligt ord", ! "Please wait. Calling spell checker." : "Vent venligst. Henter stavekontrol.", ! "Please wait: changing dictionary to" : "Vent venligst: skifter ordbog til", ! "QUIT_CONFIRMATION" : "Alle dine ændringer vil gÃ¥ tabt, vil du fortsætte?", ! "Re-check" : "Tjek igen", ! "Replace all" : "Erstat alle", ! "Replace with" : "Erstat med", ! "Replace" : "Erstat", ! "SC-spell-check" : "Stavekontrol", ! "Suggestions" : "Forslag", ! "pliz weit ;-)" : "Vent venligst" ! }; --- 1,37 ---- ! // I18N constants ! ! // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Steen Sønderup, <st...@so...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "Vil du følge dette link?", ! "Cancel" : "Anuler", ! "Dictionary" : "Ordbog", ! "Finished list of mispelled words" : "Listen med stavefejl er gennemgÃ¥et", ! "I will open it in a new page." : "Jeg vil Ã¥bne det i en ny side.", ! "Ignore all" : "Ignorer alle", ! "Ignore" : "Ignorer", ! "NO_ERRORS" : "Der blev ikke fundet nogle stavefejl med den valgte ordbog.", ! "NO_ERRORS_CLOSING" : "Stavekontrollen er gennemført, der blev ikke fundet nogle stavefejl. Lukker...", ! "OK" : "OK", ! "Original word" : "Oprindeligt ord", ! "Please wait. Calling spell checker." : "Vent venligst. Henter stavekontrol.", ! "Please wait: changing dictionary to" : "Vent venligst: skifter ordbog til", ! "QUIT_CONFIRMATION" : "Alle dine ændringer vil gÃ¥ tabt, vil du fortsætte?", ! "Re-check" : "Tjek igen", ! "Replace all" : "Erstat alle", ! "Replace with" : "Erstat med", ! "Replace" : "Erstat", ! "SC-spell-check" : "Stavekontrol", ! "Suggestions" : "Forslag", ! "pliz weit ;-)" : "Vent venligst" ! }; Index: de.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang/de.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** de.js 12 Nov 2003 21:29:48 -0000 1.1 --- de.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,28 **** ! // I18N constants ! ! // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Broxx, <br...@br...> ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "Wollen Sie diesen Link oeffnen", ! "Cancel" : "Abbrechen", ! "Dictionary" : "Woerterbuch", ! "Finished list of mispelled words" : "Liste der nicht bekannten Woerter", ! "I will open it in a new page." : "Wird auf neuer Seite geoeffnet", ! "Ignore all" : "Alle ignorieren", ! "Ignore" : "Ignorieren", ! "NO_ERRORS" : "Keine falschen Woerter mit gewaehlten Woerterbuch gefunden", ! "NO_ERRORS_CLOSING" : "Rechtsschreibpruefung wurde ohne Fehler fertiggestellt. Wird nun geschlossen...", ! "OK" : "OK", ! "Original word" : "Original Wort", ! "Please wait. Calling spell checker." : "Bitte warten. Woerterbuch wird durchsucht.", ! "Please wait: changing dictionary to" : "Bitte warten: Woerterbuch wechseln zu", ! "QUIT_CONFIRMATION" : "Aenderungen werden nicht uebernommen. Bitte bestaettigen.", ! "Re-check" : "Neuueberpruefung", ! "Replace all" : "Alle ersetzen", ! "Replace with" : "Ersetzen mit", ! "Replace" : "Ersetzen", ! "SC-spell-check" : "Ueberpruefung", ! "Suggestions" : "Vorschlag", ! "pliz weit ;-)" : "bittsche wartn ;-)" ! }; --- 1,28 ---- ! // I18N constants ! ! // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Broxx, <br...@br...> ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "Wollen Sie diesen Link oeffnen", ! "Cancel" : "Abbrechen", ! "Dictionary" : "Woerterbuch", ! "Finished list of mispelled words" : "Liste der nicht bekannten Woerter", ! "I will open it in a new page." : "Wird auf neuer Seite geoeffnet", ! "Ignore all" : "Alle ignorieren", ! "Ignore" : "Ignorieren", ! "NO_ERRORS" : "Keine falschen Woerter mit gewaehlten Woerterbuch gefunden", ! "NO_ERRORS_CLOSING" : "Rechtsschreibpruefung wurde ohne Fehler fertiggestellt. Wird nun geschlossen...", ! "OK" : "OK", ! "Original word" : "Original Wort", ! "Please wait. Calling spell checker." : "Bitte warten. Woerterbuch wird durchsucht.", ! "Please wait: changing dictionary to" : "Bitte warten: Woerterbuch wechseln zu", ! "QUIT_CONFIRMATION" : "Aenderungen werden nicht uebernommen. Bitte bestaettigen.", ! "Re-check" : "Neuueberpruefung", ! "Replace all" : "Alle ersetzen", ! "Replace with" : "Ersetzen mit", ! "Replace" : "Ersetzen", ! "SC-spell-check" : "Ueberpruefung", ! "Suggestions" : "Vorschlag", ! "pliz weit ;-)" : "bittsche wartn ;-)" ! }; Index: en.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang/en.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** en.js 12 Nov 2003 21:29:48 -0000 1.1 --- en.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,37 **** ! // I18N constants ! ! // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Mihai Bazon, http://dynarch.com/mishoo ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "Please confirm that you want to open this link", ! "Cancel" : "Cancel", ! "Dictionary" : "Dictionary", ! "Finished list of mispelled words" : "Finished list of mispelled words", ! "I will open it in a new page." : "I will open it in a new page.", ! "Ignore all" : "Ignore all", ! "Ignore" : "Ignore", ! "NO_ERRORS" : "No mispelled words found with the selected dictionary.", ! "NO_ERRORS_CLOSING" : "Spell check complete, didn't find any mispelled words. Closing now...", ! "OK" : "OK", ! "Original word" : "Original word", ! "Please wait. Calling spell checker." : "Please wait. Calling spell checker.", ! "Please wait: changing dictionary to" : "Please wait: changing dictionary to", ! "QUIT_CONFIRMATION" : "This will drop changes and quit spell checker. Please confirm.", ! "Re-check" : "Re-check", ! "Replace all" : "Replace all", ! "Replace with" : "Replace with", ! "Replace" : "Replace", ! "SC-spell-check" : "Spell-check", ! "Suggestions" : "Suggestions", ! "pliz weit ;-)" : "pliz weit ;-)" ! }; --- 1,38 ---- ! // I18N constants ! ! // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Mihai Bazon, http://dynarch.com/mishoo ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "Please confirm that you want to open this link", ! "Cancel" : "Cancel", ! "Dictionary" : "Dictionary", ! "Finished list of mispelled words" : "Finished list of mispelled words", ! "I will open it in a new page." : "I will open it in a new page.", ! "Ignore all" : "Ignore all", ! "Ignore" : "Ignore", ! "NO_ERRORS" : "No mispelled words found with the selected dictionary.", ! "NO_ERRORS_CLOSING" : "Spell check complete, didn't find any mispelled words. Closing now...", ! "OK" : "OK", ! "Original word" : "Original word", ! "Please wait. Calling spell checker." : "Please wait. Calling spell checker.", ! "Please wait: changing dictionary to" : "Please wait: changing dictionary to", ! "QUIT_CONFIRMATION" : "This will drop changes and quit spell checker. Please confirm.", ! "Re-check" : "Re-check", ! "Replace all" : "Replace all", ! "Replace with" : "Replace with", ! "Replace" : "Replace", ! "Revert" : "Revert", ! "SC-spell-check" : "Spell-check", ! "Suggestions" : "Suggestions", ! "pliz weit ;-)" : "pliz weit ;-)" ! }; Index: hu.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang/hu.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** hu.js 12 Nov 2003 21:29:48 -0000 1.1 --- hu.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,37 **** ! // I18N constants ! ! // LANG: "hu", ENCODING: UTF-8 ! // Author: Miklós Somogyi, <som...@vn...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "MegerÅsÃtés", ! "Cancel" : "Mégsem", ! "Dictionary" : "Szótár", ! "Finished list of mispelled words" : "A tévesztett szavak listájának vége", ! "I will open it in a new page." : "Megnyitás új lapon", ! "Ignore all" : "Minden elvetése", ! "Ignore" : "Elvetés", ! "NO_ERRORS" : "A választott szótár szerint nincs tévesztett szó.", ! "NO_ERRORS_CLOSING" : "A helyesÃrásellenÅrzés kész, tévesztett szó nem fordult elÅ. Bezárás...", ! "OK" : "Rendben", ! "Original word" : "Eredeti szó", ! "Please wait. Calling spell checker." : "Kis türelmet, a helyesÃrásellenÅrzÅ hÃvása folyamatban.", ! "Please wait: changing dictionary to" : "Kis türelmet, szótár cseréje", ! "QUIT_CONFIRMATION" : "Kilépés a változások eldobásával. Jóváhagyja?", ! "Re-check" : "ÃjraellenÅrzés", ! "Replace all" : "Mind cseréje", ! "Replace with" : "Csere a következÅre:", ! "Replace" : "Csere", ! "SC-spell-check" : "HelyesÃrásellenÅrzés", ! "Suggestions" : "Tippek", ! "pliz weit ;-)" : "Kis türelmet ;-)" ! }; --- 1,37 ---- ! // I18N constants ! ! // LANG: "hu", ENCODING: UTF-8 ! // Author: Miklós Somogyi, <som...@vn...> ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "MegerÅsÃtés", ! "Cancel" : "Mégsem", ! "Dictionary" : "Szótár", ! "Finished list of mispelled words" : "A tévesztett szavak listájának vége", ! "I will open it in a new page." : "Megnyitás új lapon", ! "Ignore all" : "Minden elvetése", ! "Ignore" : "Elvetés", ! "NO_ERRORS" : "A választott szótár szerint nincs tévesztett szó.", ! "NO_ERRORS_CLOSING" : "A helyesÃrásellenÅrzés kész, tévesztett szó nem fordult elÅ. Bezárás...", ! "OK" : "Rendben", ! "Original word" : "Eredeti szó", ! "Please wait. Calling spell checker." : "Kis türelmet, a helyesÃrásellenÅrzÅ hÃvása folyamatban.", ! "Please wait: changing dictionary to" : "Kis türelmet, szótár cseréje", ! "QUIT_CONFIRMATION" : "Kilépés a változások eldobásával. Jóváhagyja?", ! "Re-check" : "ÃjraellenÅrzés", ! "Replace all" : "Mind cseréje", ! "Replace with" : "Csere a következÅre:", ! "Replace" : "Csere", ! "SC-spell-check" : "HelyesÃrásellenÅrzés", ! "Suggestions" : "Tippek", ! "pliz weit ;-)" : "Kis türelmet ;-)" ! }; Index: it.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang/it.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** it.js 12 Nov 2003 21:29:48 -0000 1.1 --- it.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,28 **** ! // I18N constants ! ! // LANG: "it", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Fabio Rotondo, <fa...@ro...> ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "Devi confermare l'apertura di questo link", ! "Cancel" : "Annulla", ! "Dictionary" : "Dizionario", ! "Finished list of mispelled words" : "La lista delle parole scritte male è terminata", ! "I will open it in a new page." : "Lo aprirò in una nuova pagina.", ! "Ignore all" : "Ignora sempre", ! "Ignore" : "Ignora", ! "NO_ERRORS" : "Non sono state trovate parole scritte male con il dizionario selezionato.", ! "NO_ERRORS_CLOSING" : "Controllo completato, non sono state trovate parole scritte male. Sto chiudendo...", ! "OK" : "OK", ! "Original word" : "Parola originale", ! "Please wait. Calling spell checker." : "Attendere. Sto invocando lo Spell Checker.", ! "Please wait: changing dictionary to" : "Attendere. Cambio il dizionario in", ! "QUIT_CONFIRMATION" : "Questo annullerà le modifiche e chiuderà lo Spell Checker. Conferma.", ! "Re-check" : "Ricontrolla", ! "Replace all" : "Sostituisci sempre", ! "Replace with" : "Stostituisci con", ! "Replace" : "Sostituisci", ! "SC-spell-check" : "Spell-check", ! "Suggestions" : "Suggerimenti", ! "pliz weit ;-)" : "Attendere Prego ;-)" ! }; --- 1,28 ---- ! // I18N constants ! ! // LANG: "it", ENCODING: UTF-8 | ISO-8859-1 ! // Author: Fabio Rotondo, <fa...@ro...> ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "Devi confermare l'apertura di questo link", ! "Cancel" : "Annulla", ! "Dictionary" : "Dizionario", ! "Finished list of mispelled words" : "La lista delle parole scritte male è terminata", ! "I will open it in a new page." : "Lo aprirò in una nuova pagina.", ! "Ignore all" : "Ignora sempre", ! "Ignore" : "Ignora", ! "NO_ERRORS" : "Non sono state trovate parole scritte male con il dizionario selezionato.", ! "NO_ERRORS_CLOSING" : "Controllo completato, non sono state trovate parole scritte male. Sto chiudendo...", ! "OK" : "OK", ! "Original word" : "Parola originale", ! "Please wait. Calling spell checker." : "Attendere. Sto invocando lo Spell Checker.", ! "Please wait: changing dictionary to" : "Attendere. Cambio il dizionario in", ! "QUIT_CONFIRMATION" : "Questo annullerà le modifiche e chiuderà lo Spell Checker. Conferma.", ! "Re-check" : "Ricontrolla", ! "Replace all" : "Sostituisci sempre", ! "Replace with" : "Stostituisci con", ! "Replace" : "Sostituisci", ! "SC-spell-check" : "Spell-check", ! "Suggestions" : "Suggerimenti", ! "pliz weit ;-)" : "Attendere Prego ;-)" ! }; Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,3 **** ! <files> ! <file name="*.js" /> ! </files> --- 1,3 ---- ! <files> ! <file name="*.js" /> ! </files> Index: ro.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/lang/ro.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ro.js 12 Nov 2003 21:29:48 -0000 1.1 --- ro.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,37 **** ! // I18N constants ! ! // LANG: "ro", ENCODING: UTF-8 ! // Author: Mihai Bazon, http://dynarch.com/mishoo ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "VÄ rog confirmaÅ£i cÄ vreÅ£i sÄ deschideÅ£i acest link", ! "Cancel" : "AnuleazÄ", ! "Dictionary" : "DicÅ£ionar", ! "Finished list of mispelled words" : "Am terminat lista de cuvinte greÅite", ! "I will open it in a new page." : "O voi deschide într-o altÄ fereastrÄ.", ! "Ignore all" : "IgnorÄ toate", ! "Ignore" : "IgnorÄ", ! "NO_ERRORS" : "Nu am gÄsit nici un cuvânt greÅit cu acest dicÅ£ionar.", ! "NO_ERRORS_CLOSING" : "Am terminat, nu am detectat nici o greÅealÄ. Acum închid fereastra...", ! "OK" : "OK", ! "Original word" : "Cuvântul original", ! "Please wait. Calling spell checker." : "VÄ rog aÅteptaÅ£i. Apelez spell-checker-ul.", ! "Please wait: changing dictionary to" : "VÄ rog aÅteptaÅ£i. Schimb dicÅ£ionarul cu", ! "QUIT_CONFIRMATION" : "DoriÅ£i sÄ renunÅ£aÅ£i la modificÄri Åi sÄ Ã®nchid spell-checker-ul?", ! "Re-check" : "ScaneazÄ", ! "Replace all" : "ÃnlocuieÅte toate", ! "Replace with" : "ÃnlocuieÅte cu", ! "Replace" : "ÃnlocuieÅte", ! "SC-spell-check" : "DetecteazÄ greÅeli", ! "Suggestions" : "Sugestii", ! "pliz weit ;-)" : "va rog ashteptatzi ;-)" ! }; --- 1,37 ---- ! // I18N constants ! ! // LANG: "ro", ENCODING: UTF-8 ! // Author: Mihai Bazon, http://dynarch.com/mishoo ! ! // FOR TRANSLATORS: ! // ! // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE ! // (at least a valid email address) ! // ! // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; ! // (if this is not possible, please include a comment ! // that states what encoding is necessary.) ! ! SpellChecker.I18N = { ! "CONFIRM_LINK_CLICK" : "VÄ rog confirmaÅ£i cÄ vreÅ£i sÄ deschideÅ£i acest link", ! "Cancel" : "AnuleazÄ", ! "Dictionary" : "DicÅ£ionar", ! "Finished list of mispelled words" : "Am terminat lista de cuvinte greÅite", ! "I will open it in a new page." : "O voi deschide într-o altÄ fereastrÄ.", ! "Ignore all" : "IgnorÄ toate", ! "Ignore" : "IgnorÄ", ! "NO_ERRORS" : "Nu am gÄsit nici un cuvânt greÅit cu acest dicÅ£ionar.", ! "NO_ERRORS_CLOSING" : "Am terminat, nu am detectat nici o greÅealÄ. Acum închid fereastra...", ! "OK" : "OK", ! "Original word" : "Cuvântul original", ! "Please wait. Calling spell checker." : "VÄ rog aÅteptaÅ£i. Apelez spell-checker-ul.", ! "Please wait: changing dictionary to" : "VÄ rog aÅteptaÅ£i. Schimb dicÅ£ionarul cu", ! "QUIT_CONFIRMATION" : "DoriÅ£i sÄ renunÅ£aÅ£i la modificÄri Åi sÄ Ã®nchid spell-checker-ul?", ! "Re-check" : "ScaneazÄ", ! "Replace all" : "ÃnlocuieÅte toate", ! "Replace with" : "ÃnlocuieÅte cu", ! "Replace" : "ÃnlocuieÅte", ! "SC-spell-check" : "DetecteazÄ greÅeli", ! "Suggestions" : "Sugestii", ! "pliz weit ;-)" : "va rog ashteptatzi ;-)" ! }; |
From: Joe S. <joe...@us...> - 2004-08-23 16:32:07
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/img Modified Files: makefile.xml spell-check.gif Log Message: Upgraded htmlarea3 Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/img/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,3 **** ! <files> ! <file name="*.{gif,jpg,jpeg}" /> ! </files> --- 1,3 ---- ! <files> ! <file name="*.{gif,jpg,jpeg}" /> ! </files> Index: spell-check.gif =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/img/spell-check.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvseLwdUW and /tmp/cvsyRIjJ6 differ |
From: Joe S. <joe...@us...> - 2004-08-23 16:32:05
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker Modified Files: makefile.xml readme-tech.html spell-check-logic.cgi spell-check-style.css spell-check-ui.html spell-check-ui.js spell-checker.js Log Message: Upgraded htmlarea3 Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:49 -0000 1.2 *************** *** 1,7 **** ! <files> ! <file name="*.{js,html,cgi,css}" /> ! ! <dir name="lang" /> ! <dir name="img" /> ! </files> ! --- 1,7 ---- ! <files> ! <file name="*.{js,html,cgi,css}" /> ! ! <dir name="lang" /> ! <dir name="img" /> ! </files> ! Index: readme-tech.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/readme-tech.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** readme-tech.html 12 Nov 2003 21:29:48 -0000 1.1 --- readme-tech.html 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,115 **** ! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN"> ! <html> ! <head> ! <title>HTMLArea Spell Checker</title> ! </head> ! ! <body> ! <h1>HTMLArea Spell Checker</h1> ! ! <p>The HTMLArea Spell Checker subsystem consists of the following ! files:</p> ! ! <ul> ! ! <li>spell-checker.js — the spell checker plugin interface for ! HTMLArea</li> ! ! <li>spell-checker-ui.html — the HTML code for the user ! interface</li> ! ! <li>spell-checker-ui.js — functionality of the user ! interface</li> ! ! <li>spell-checker-logic.cgi — Perl CGI script that checks a text ! given through POST for spelling errors</li> ! ! <li>spell-checker-style.css — style for mispelled words</li> ! ! <li>lang/en.js — main language file (English).</li> ! ! </ul> ! ! <h2>Process overview</h2> ! ! <p> ! When an end-user clicks the "spell-check" button in the HTMLArea ! editor, a new window is opened with the URL of "spell-check-ui.html". ! This window initializes itself with the text found in the editor (uses ! <tt>window.opener.SpellChecker.editor</tt> global variable) and it ! submits the text to the server-side script "spell-check-logic.cgi". ! The target of the FORM is an inline frame which is used both to ! display the text and correcting. ! </p> ! ! <p> ! Further, spell-check-logic.cgi calls Aspell for each portion of plain ! text found in the given HTML. It rebuilds an HTML file that contains ! clear marks of which words are incorrect, along with suggestions for ! each of them. This file is then loaded in the inline frame. Upon ! loading, a JavaScript function from "spell-check-ui.js" is called. ! This function will retrieve all mispelled words from the HTML of the ! iframe and will setup the user interface so that it allows correction. ! </p> ! ! <h2>The server-side script (spell-check-logic.cgi)</h2> ! ! <p> ! <strong>Unicode safety</strong> — the program <em>is</em> ! Unicode safe. HTML entities are expanded into their corresponding ! Unicode characters. These characters will be matched as part of the ! word passed to Aspell. All texts passed to Aspell are in Unicode ! (when appropriate). However, Aspell seems to not support Unicode ! yet (<a ! href="http://mail.gnu.org/archive/html/aspell-user/2000-11/msg00007.html">thread concerning Aspell and Unicode</a>). ! This mean that words containing Unicode ! characters that are not in 0..255 are likely to be reported as "mispelled" by Aspell. ! </p> ! ! <p> ! I digged the Net for a couple of hours today and I can't seem to find ! any open-source spell checker that has Unicode support. For this ! reason we keep using Aspell, because it also seems to have the ! best suggestions engine. Unicode support will eventually be ! implemented in Aspell. <a href="mailto:ke...@at...">Email ! Kevin Atkinson</a> (Aspell author and maintainer) about this ;-) ! </p> ! ! <p> ! The Perl Unicode manual (man perluniintro) states: ! </p> ! ! <blockquote> ! <em> ! Starting from Perl 5.6.0, Perl has had the capacity to handle Unicode ! natively. Perl 5.8.0, however, is the first recommended release for ! serious Unicode work. The maintenance release 5.6.1 fixed many of the ! problems of the initial Unicode implementation, but for example regular ! expressions still do not work with Unicode in 5.6.1. ! </em> ! </blockquote> ! ! <p>In other words, do <em>not</em> assume that this script is ! Unicode-safe on Perl interpreters older than 5.8.0.</p> ! ! <p>The following Perl modules are required:</p> ! ! <ul> ! <li><a href="http://search.cpan.org/search?query=Text%3A%3AAspell&mode=all" target="_blank">Text::Aspell</a></li> ! <li><a href="http://search.cpan.org/search?query=HTML%3A%3AParser&mode=all" target="_blank">HTML::Parser</a></li> ! <li><a href="http://search.cpan.org/search?query=HTML%3A%3AEntities&mode=all" target="_blank">HTML::Entities</a></li> ! <li><a href="http://search.cpan.org/search?query=CGI&mode=all" target="_blank">CGI</a></li> ! </ul> ! ! <p>Of these, only Text::Aspell might need to be installed manually. The ! others are likely to be available by default in most Perl distributions.</p> ! ! <hr /> ! <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> ! <!-- Created: Thu Jul 17 13:22:27 EEST 2003 --> ! <!-- hhmts start --> ! Last modified on Sun Sep 28 14:57:30 2003 ! <!-- hhmts end --> ! <!-- doc-lang: English --> ! </body> ! </html> --- 1,114 ---- ! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN"> ! <html> ! <head> ! <title>HTMLArea Spell Checker</title> ! </head> ! ! <body> ! <h1>HTMLArea Spell Checker</h1> ! ! <p>The HTMLArea Spell Checker subsystem consists of the following ! files:</p> ! ! <ul> ! ! <li>spell-checker.js — the spell checker plugin interface for ! HTMLArea</li> ! ! <li>spell-checker-ui.html — the HTML code for the user ! interface</li> ! ! <li>spell-checker-ui.js — functionality of the user ! interface</li> ! ! <li>spell-checker-logic.cgi — Perl CGI script that checks a text ! given through POST for spelling errors</li> ! ! <li>spell-checker-style.css — style for mispelled words</li> ! ! <li>lang/en.js — main language file (English).</li> ! ! </ul> ! ! <h2>Process overview</h2> ! ! <p> ! When an end-user clicks the "spell-check" button in the HTMLArea ! editor, a new window is opened with the URL of "spell-check-ui.html". ! This window initializes itself with the text found in the editor (uses ! <tt>window.opener.SpellChecker.editor</tt> global variable) and it ! submits the text to the server-side script "spell-check-logic.cgi". ! The target of the FORM is an inline frame which is used both to ! display the text and correcting. ! </p> ! ! <p> ! Further, spell-check-logic.cgi calls Aspell for each portion of plain ! text found in the given HTML. It rebuilds an HTML file that contains ! clear marks of which words are incorrect, along with suggestions for ! each of them. This file is then loaded in the inline frame. Upon ! loading, a JavaScript function from "spell-check-ui.js" is called. ! This function will retrieve all mispelled words from the HTML of the ! iframe and will setup the user interface so that it allows correction. ! </p> ! ! <h2>The server-side script (spell-check-logic.cgi)</h2> ! ! <p> ! <strong>Unicode safety</strong> — the program <em>is</em> ! Unicode safe. HTML entities are expanded into their corresponding ! Unicode characters. These characters will be matched as part of the ! word passed to Aspell. All texts passed to Aspell are in Unicode ! (when appropriate). <strike>However, Aspell seems to not support Unicode ! yet (<a ! href="http://mail.gnu.org/archive/html/aspell-user/2000-11/msg00007.html">thread concerning Aspell and Unicode</a>). ! This mean that words containing Unicode ! characters that are not in 0..255 are likely to be reported as "mispelled" by Aspell.</strike> ! </p> ! ! <p> ! <strong style="font-variant: small-caps; color: ! red;">Update:</strong> though I've never seen it mentioned ! anywhere, it looks that Aspell <em>does</em>, in fact, speak ! Unicode. Or else, maybe <code>Text::Aspell</code> does ! transparent conversion; anyway, this new version of our ! SpellChecker plugin is, as tests show so far, fully ! Unicode-safe... well, probably the <em>only</em> freeware ! Web-based spell-checker which happens to have Unicode support. ! </p> ! ! <p> ! The Perl Unicode manual (man perluniintro) states: ! </p> ! ! <blockquote> ! <em> ! Starting from Perl 5.6.0, Perl has had the capacity to handle Unicode ! natively. Perl 5.8.0, however, is the first recommended release for ! serious Unicode work. The maintenance release 5.6.1 fixed many of the ! problems of the initial Unicode implementation, but for example regular ! expressions still do not work with Unicode in 5.6.1. ! </em> ! </blockquote> ! ! <p>In other words, do <em>not</em> assume that this script is ! Unicode-safe on Perl interpreters older than 5.8.0.</p> ! ! <p>The following Perl modules are required:</p> ! ! <ul> ! <li><a href="http://search.cpan.org/search?query=Text%3A%3AAspell&mode=all" target="_blank">Text::Aspell</a></li> ! <li><a href="http://search.cpan.org/search?query=XML%3A%3ADOM&mode=all" target="_blank">XML::DOM</a></li> ! <li><a href="http://search.cpan.org/search?query=CGI&mode=all" target="_blank">CGI</a></li> ! </ul> ! ! <p>Of these, only Text::Aspell might need to be installed manually. The ! others are likely to be available by default in most Perl distributions.</p> ! ! <hr /> ! <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> ! <!-- Created: Thu Jul 17 13:22:27 EEST 2003 --> ! <!-- hhmts start --> Last modified: Fri Jan 30 19:14:11 EET 2004 <!-- hhmts end --> ! <!-- doc-lang: English --> ! </body> ! </html> Index: spell-check-logic.cgi =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/spell-check-logic.cgi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** spell-check-logic.cgi 12 Nov 2003 21:29:48 -0000 1.1 --- spell-check-logic.cgi 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,155 **** ! #! /usr/bin/perl -w ! ! # Spell Checker Plugin for HTMLArea-3.0 ! # Implementation by Mihai Bazon. Sponsored by www.americanbible.org ! # ! # htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc. ! # This notice MUST stay intact for use (see license.txt). ! # ! # A free WYSIWYG editor replacement for <textarea> fields. ! # For full source code and docs, visit http://www.interactivetools.com/ ! # ! # Version 3.0 developed by Mihai Bazon for InteractiveTools. ! # http://dynarch.com/mishoo ! # ! # $Id$ ! ! use strict; ! use utf8; ! use Encode; ! use Text::Aspell; ! use HTML::Parser; ! use HTML::Entities; ! use CGI; ! ! my $debug = 0; ! ! open (DEBUG, '>:encoding(UTF-8)', '> /tmp/spell-check-debug.log') if $debug; ! ! # use Data::Dumper; # for debug only ! ! my $speller = new Text::Aspell; ! my $cgi = new CGI; ! ! # FIXME: report a nice error... ! die "Can't create speller!" unless $speller; ! ! # add configurable option for this ! my $dict = $cgi->param('dictionary') || 'en_US'; ! $speller->set_option('lang', $dict); ! ! # ultra, fast, normal, bad-spellers ! # bad-spellers seems to cause segmentation fault ! $speller->set_option('sug-mode', 'ultra'); ! ! my @replacements = (); ! ! sub text_handler { ! my ($offset, $length, $text, $is_cdata) = @_; ! if ($is_cdata or $text =~ /^\s*$/) { ! return 0; ! } ! # print STDERR "*** OFFSET: $offset, LENGTH: $length, $text\n"; ! $text = decode_entities($text); ! $text =~ s/&#([0-9]+);/chr($1)/eg; ! $text =~ s/&#x([0-9a-fA-F]+);/chr(hex $1)/eg; ! my $repl = spellcheck($text); ! if ($repl) { ! push(@replacements, [ $offset, $length, $repl ]); ! } ! } ! ! my $p = HTML::Parser->new ! (api_version => 3, ! handlers => { start => [ sub { ! my ($self, $tagname, $attrs) = @_; ! # print STDERR "\033[1;31m parsing tag: $tagname\033[0m\n"; ! # following we skip words that have already been marked as "fixed". ! if ($tagname eq "span" and $attrs->{class} =~ /HA-spellcheck-fixed/) { ! $self->handler(text => undef); ! } ! }, "self, tagname, attr" ! ], ! end => [ sub { ! my ($self, $tagname) = @_; ! # print STDERR "\033[1;32m END tag: $tagname\033[0m\n"; ! $self->handler(text => \&text_handler, 'offset, length, dtext, is_cdata'); ! }, "self, tagname" ! ] ! } ! ); ! $p->handler(text => \&text_handler, 'offset, length, dtext, is_cdata'); ! $p->case_sensitive(1); ! my $file_content = $cgi->param('content'); ! ! if ($debug) { ! open (FOO, '>:encoding(UTF-8)', '/tmp/spell-check-before'); ! print FOO $file_content, "\n"; ! close(FOO); ! } ! ! $p->parse($file_content); ! $p->eof(); ! ! foreach (reverse @replacements) { ! substr($file_content, $_->[0], $_->[1], $_->[2]); ! } ! ! # we output UTF-8 ! binmode(STDOUT, ':encoding(UTF-8)'); # apparently, this sucks. ! print "Content-type: text/html; charset: utf-8\n\n"; ! print qq^ ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ! <link rel="stylesheet" type="text/css" media="all" href="spell-check-style.css" /> ! </head> ! <body onload="window.parent.finishedSpellChecking();">^; ! ! print $file_content; ! if ($cgi->param('init') eq '1') { ! my @dicts = $speller->dictionary_info(); ! my $dictionaries = ''; ! foreach my $i (@dicts) { ! $dictionaries .= ',' . $i->{name} unless $i->{jargon}; ! } ! $dictionaries =~ s/^,//; ! print qq^ ! <div id="HA-spellcheck-dictionaries" ! >$dictionaries</div> ! ^; ! } ! ! if ($debug) { ! open (FOO, '>:encoding(UTF-8)', '/tmp/spell-check-after'); ! print FOO $file_content, "\n"; ! close(FOO); ! } ! ! print '</body></html>'; ! ! # Perl is beautiful. ! sub spellcheck { ! my $text = shift; ! sub check { # called for each word in the text ! # input is in UTF-8 ! my $U_word = shift; ! my $word = encode($speller->get_option('encoding'), $U_word); ! print DEBUG "*$U_word* ----> |$word|\n" if $debug; ! if ($speller->check($word)) { ! return $U_word; # we return the word in UTF-8 ! } else { ! # we should have suggestions; give them back to browser in UTF-8 ! my $suggestions = decode($speller->get_option('encoding'), join(',', $speller->suggest($word))); ! my $ret = '<span class="HA-spellcheck-error">'.$U_word.'</span><span class="HA-spellcheck-suggestions">'.$suggestions.'</span>'; ! return $ret; ! } ! } ! $text =~ s/([[:word:]']+)/check($1)/egs; ! # $text =~ s/(\w+)/check($1)/egs; ! ! # the following is definitely what we want to use; too bad it sucks most. ! # $text =~ s/(\p{IsWord}+)/check($1)/egs; ! return $text; ! } --- 1,210 ---- ! #! /usr/bin/perl -w ! ! # Spell Checker Plugin for HTMLArea-3.0 ! # Sponsored by www.americanbible.org ! # Implementation by Mihai Bazon, http://dynarch.com/mishoo/ ! # ! # (c) dynarch.com 2003. ! # Distributed under the same terms as HTMLArea itself. ! # This notice MUST stay intact for use (see license.txt). ! # ! # $Id$ ! ! use strict; ! use utf8; ! use Encode; ! use Text::Aspell; ! use XML::DOM; ! use CGI; ! ! my $TIMER_start = undef; ! eval { ! use Time::HiRes qw( gettimeofday tv_interval ); ! $TIMER_start = [gettimeofday()]; ! }; ! # use POSIX qw( locale_h ); ! ! binmode STDIN, ':utf8'; ! binmode STDOUT, ':utf8'; ! ! my $debug = 0; ! ! my $speller = new Text::Aspell; ! my $cgi = new CGI; ! ! my $total_words = 0; ! my $total_mispelled = 0; ! my $total_suggestions = 0; ! my $total_words_suggested = 0; ! ! # FIXME: report a nice error... ! die "Can't create speller!" unless $speller; ! ! my $dict = $cgi->param('dictionary') || $cgi->cookie('dictionary') || 'en'; ! ! # add configurable option for this ! $speller->set_option('lang', $dict); ! $speller->set_option('encoding', 'UTF-8'); ! #setlocale(LC_CTYPE, $dict); ! ! # ultra, fast, normal, bad-spellers ! # bad-spellers seems to cause segmentation fault ! $speller->set_option('sug-mode', 'normal'); ! ! my %suggested_words = (); ! keys %suggested_words = 128; ! ! my $file_content = decode('UTF-8', $cgi->param('content')); ! $file_content = parse_with_dom($file_content); ! ! my $ck_dictionary = $cgi->cookie(-name => 'dictionary', ! -value => $dict, ! -expires => '+30d'); ! ! print $cgi->header(-type => 'text/html; charset: utf-8', ! -cookie => $ck_dictionary); ! ! my $js_suggested_words = make_js_hash(\%suggested_words); ! my $js_spellcheck_info = make_js_hash_from_array ! ([ ! [ 'Total words' , $total_words ], ! [ 'Mispelled words' , $total_mispelled . ' in dictionary \"'.$dict.'\"' ], ! [ 'Total suggestions' , $total_suggestions ], ! [ 'Total words suggested' , $total_words_suggested ], ! [ 'Spell-checked in' , defined $TIMER_start ? (tv_interval($TIMER_start) . ' seconds') : 'n/a' ] ! ]); ! ! print qq^<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ! <link rel="stylesheet" type="text/css" media="all" href="spell-check-style.css" /> ! <script type="text/javascript"> ! var suggested_words = { $js_suggested_words }; ! var spellcheck_info = { $js_spellcheck_info }; </script> ! </head> ! <body onload="window.parent.finishedSpellChecking();">^; ! ! print $file_content; ! if ($cgi->param('init') eq '1') { ! my @dicts = $speller->dictionary_info(); ! my $dictionaries = ''; ! foreach my $i (@dicts) { ! next if $i->{jargon}; ! my $name = $i->{name}; ! if ($name eq $dict) { ! $name = '@'.$name; ! } ! $dictionaries .= ',' . $name; ! } ! $dictionaries =~ s/^,//; ! print qq^<div id="HA-spellcheck-dictionaries">$dictionaries</div>^; ! } ! ! print '</body></html>'; ! ! # Perl is beautiful. ! sub spellcheck { ! my $node = shift; ! my $doc = $node->getOwnerDocument; ! my $check = sub { # called for each word in the text ! # input is in UTF-8 ! my $word = shift; ! my $already_suggested = defined $suggested_words{$word}; ! ++$total_words; ! if (!$already_suggested && $speller->check($word)) { ! return undef; ! } else { ! # we should have suggestions; give them back to browser in UTF-8 ! ++$total_mispelled; ! if (!$already_suggested) { ! # compute suggestions for this word ! my @suggestions = $speller->suggest($word); ! my $suggestions = decode($speller->get_option('encoding'), join(',', @suggestions)); ! $suggested_words{$word} = $suggestions; ! ++$total_suggestions; ! $total_words_suggested += scalar @suggestions; ! } ! # HA-spellcheck-error ! my $err = $doc->createElement('span'); ! $err->setAttribute('class', 'HA-spellcheck-error'); ! my $tmp = $doc->createTextNode; ! $tmp->setNodeValue($word); ! $err->appendChild($tmp); ! return $err; ! } ! }; ! while ($node->getNodeValue =~ /([\p{IsWord}']+)/) { ! my $word = $1; ! my $before = $`; ! my $after = $'; ! my $df = &$check($word); ! if (!$df) { ! $before .= $word; ! } ! { ! my $parent = $node->getParentNode; ! my $n1 = $doc->createTextNode; ! $n1->setNodeValue($before); ! $parent->insertBefore($n1, $node); ! $parent->insertBefore($df, $node) if $df; ! $node->setNodeValue($after); ! } ! } ! }; ! ! sub check_inner_text { ! my $node = shift; ! my $text = ''; ! for (my $i = $node->getFirstChild; defined $i; $i = $i->getNextSibling) { ! if ($i->getNodeType == TEXT_NODE) { ! spellcheck($i); ! } ! } ! }; ! ! sub parse_with_dom { ! my ($text) = @_; ! $text = '<spellchecker>'.$text.'</spellchecker>'; ! ! my $parser = new XML::DOM::Parser; ! if ($debug) { ! open(FOO, '>:utf8', '/tmp/foo'); ! print FOO $text; ! close FOO; ! } ! my $doc = $parser->parse($text); ! my $nodes = $doc->getElementsByTagName('*'); ! my $n = $nodes->getLength; ! ! for (my $i = 0; $i < $n; ++$i) { ! my $node = $nodes->item($i); ! if ($node->getNodeType == ELEMENT_NODE) { ! check_inner_text($node); ! } ! } ! ! my $ret = $doc->toString; ! $ret =~ s{<spellchecker>(.*)</spellchecker>}{$1}sg; ! return $ret; ! }; ! ! sub make_js_hash { ! my ($hash) = @_; ! my $js_hash = ''; ! while (my ($key, $val) = each %$hash) { ! $js_hash .= ',' if $js_hash; ! $js_hash .= '"'.$key.'":"'.$val.'"'; ! } ! return $js_hash; ! }; ! ! sub make_js_hash_from_array { ! my ($array) = @_; ! my $js_hash = ''; ! foreach my $i (@$array) { ! $js_hash .= ',' if $js_hash; ! $js_hash .= '"'.$i->[0].'":"'.$i->[1].'"'; ! } ! return $js_hash; ! }; Index: spell-check-style.css =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/spell-check-style.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** spell-check-style.css 12 Nov 2003 21:29:48 -0000 1.1 --- spell-check-style.css 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,10 **** ! .HA-spellcheck-error { border-bottom: 2px dotted #f00; cursor: default; } ! .HA-spellcheck-same { background-color: #ff8; color: #000; } ! .HA-spellcheck-hover { background-color: #433; color: white; } ! .HA-spellcheck-fixed { border-bottom: 1px dotted #0b8; } ! .HA-spellcheck-current { background-color: #7be; color: #000; } ! .HA-spellcheck-suggestions { display: none; } ! ! #HA-spellcheck-dictionaries { display: none; } ! ! a:link, a:visited { color: #55e; } --- 1,10 ---- ! .HA-spellcheck-error { border-bottom: 1px dashed #f00; cursor: default; } ! .HA-spellcheck-same { background-color: #cef; color: #000; } ! .HA-spellcheck-hover { background-color: #433; color: white; } ! .HA-spellcheck-fixed { border-bottom: 1px dashed #0b8; } ! .HA-spellcheck-current { background-color: #9be; color: #000; } ! .HA-spellcheck-suggestions { display: none; } ! ! #HA-spellcheck-dictionaries { display: none; } ! ! a:link, a:visited { color: #55e; } Index: spell-check-ui.html =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/spell-check-ui.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** spell-check-ui.html 12 Nov 2003 21:29:48 -0000 1.1 --- spell-check-ui.html 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,119 **** ! <!-- ! ! Strangely, IE sucks with or without the DOCTYPE switch. ! I thought it would only suck without it. ! ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" ! "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> ! ! Spell Checker Plugin for HTMLArea-3.0 ! Implementation by Mihai Bazon. Sponsored by www.americanbible.org ! ! htmlArea v3.0 - Copyright (c) 2003 interactivetools.com, inc. ! This notice MUST stay intact for use (see license.txt). ! ! A free WYSIWYG editor replacement for <textarea> fields. ! For full source code and docs, visit http://www.interactivetools.com/ ! ! Version 3.0 developed by Mihai Bazon for InteractiveTools. ! http://dynarch.com/mishoo ! ! $Id$ ! ! --> ! <html xmlns="http://www.w3.org/1999/xhtml"> ! ! <head> ! <title>Spell Checker</title> ! <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ! <script type="text/javascript" src="spell-check-ui.js"></script> ! ! <style type="text/css"> ! html, body { height: 100%; margin: 0px; padding: 0px; background-color: #fff; ! color: #000; } ! a:link, a:visited { color: #00f; text-decoration: none; } ! a:hover { color: #f00; text-decoration: underline; } ! ! table { background-color: ButtonFace; color: ButtonText; ! font-family: tahoma,verdana,sans-serif; font-size: 11px; } ! ! iframe { background-color: #fff; color: #000; } ! ! .controls { width: 13em; } ! .controls .sectitle { /* background-color: #736c6c; color: #fff; ! border-top: 1px solid #000; border-bottom: 1px solid #fff; */ ! text-align: center; ! font-weight: bold; padding: 2px 4px; } ! .controls .secbody { margin-bottom: 10px; } ! ! button, select { font-family: tahoma,verdana,sans-serif; font-size: 11px; } ! button { width: 6em; padding: 0px; } ! ! input, select { font-family: fixed,"andale mono",monospace; } ! ! #v_currentWord { color: #f00; font-weight: bold; font-size: 120%; } ! #statusbar { padding: 7px 0px 0px 5px; } ! #status { font-weight: bold; } ! </style> ! ! </head> ! ! <body onload="initDocument()"> ! ! <form style="display: none;" action="spell-check-logic.cgi" ! method="post" target="framecontent" ! accept-charset="utf-8" ! ><input type="hidden" name="content" id="f_content" ! /><input type="hidden" name="dictionary" id="f_dictionary" ! /><input type="hidden" name="init" id="f_init" value="1" ! /></form> ! ! <table style="height: 100%; width: 100%; border-collapse: collapse;" cellspacing="0" cellpadding="0"> ! <tr> ! <td colspan="2" style="height: 1em; padding: 2px;"> ! <div style="float: right; padding: 2px;"><span>Dictionary</span> ! <select id="v_dictionaries" style="width: 10em"></select> ! <button id="b_recheck">Re-check</button> ! </div> ! <span id="status">Please wait. Calling spell checker.</span> ! </td> ! </tr> ! <tr> ! <td valign="top" class="controls"> ! <div class="sectitle">Original word</div> ! <div class="secbody" id="v_currentWord" style="text-align: center">pliz weit ;-)</div> ! <div class="sectitle">Replace with</div> ! <div class="secbody"> ! <input type="text" id="v_replacement" style="width: 94%; margin-left: 3%;" /><br /> ! <div style="text-align: center; margin-top: 2px;"> ! <button id="b_replace">Replace</button><button ! id="b_replall">Replace all</button><br /><button ! id="b_ignore">Ignore</button><button ! id="b_ignall">Ignore all</button> ! </div> ! </div> ! <div class="sectitle">Suggestions</div> ! <div class="secbody"> ! <select size="11" style="width: 94%; margin-left: 3%;" id="v_suggestions"></select> ! </div> ! </td> ! ! <td> ! <iframe src="about:blank" width="100%" height="100%" ! id="i_framecontent" name="framecontent"></iframe> ! </td> ! </tr> ! <tr> ! <td style="height: 1em;" colspan="2"> ! <div style="padding: 4px 2px 2px 2px; float: right;"> ! <button id="b_ok">OK</button> ! <button id="b_cancel">Cancel</button> ! </div> ! <div id="statusbar"></div> ! </td> ! </tr> ! </table> ! ! </body> ! ! </html> --- 1,122 ---- ! <!-- ! ! Strangely, IE sucks with or without the DOCTYPE switch. ! I thought it would only suck without it. ! ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" ! "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> ! ! Spell Checker Plugin for HTMLArea-3.0 ! Sponsored by www.americanbible.org ! Implementation by Mihai Bazon, http://dynarch.com/mishoo/ ! ! (c) dynarch.com 2003. ! Distributed under the same terms as HTMLArea itself. ! This notice MUST stay intact for use (see license.txt). ! ! $Id$ ! ! --> ! <html xmlns="http://www.w3.org/1999/xhtml"> ! ! <head> ! <title>Spell Checker</title> ! <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ! <script type="text/javascript" src="spell-check-ui.js"></script> ! ! <style type="text/css"> ! html, body { height: 100%; margin: 0px; padding: 0px; background-color: #fff; ! color: #000; } ! a:link, a:visited { color: #00f; text-decoration: none; } ! a:hover { color: #f00; text-decoration: underline; } ! ! table { background-color: ButtonFace; color: ButtonText; ! font-family: tahoma,verdana,sans-serif; font-size: 11px; } ! ! iframe { background-color: #fff; color: #000; height: 100%; width: 100%; } ! ! .controls { width: 13em; } ! .controls .sectitle { /* background-color: #736c6c; color: #fff; ! border-top: 1px solid #000; border-bottom: 1px solid #fff; */ ! text-align: center; ! font-weight: bold; padding: 2px 4px; } ! .controls .secbody { margin-bottom: 10px; } ! ! button, select { font-family: tahoma,verdana,sans-serif; font-size: 11px; } ! button { width: 6em; padding: 0px; } ! ! input, select { font-family: fixed,"andale mono",monospace; } ! ! #v_currentWord { color: #f00; font-weight: bold; } ! #statusbar { padding: 7px 0px 0px 5px; } ! #status { font-weight: bold; } ! </style> ! ! </head> ! ! <body onload="initDocument()"> ! ! <form style="display: none;" action="spell-check-logic.cgi" ! method="post" target="framecontent" ! accept-charset="UTF-8" ! ><input type="hidden" name="content" id="f_content" ! /><input type="hidden" name="dictionary" id="f_dictionary" ! /><input type="hidden" name="init" id="f_init" value="1" ! /></form> ! ! <table style="height: 100%; width: 100%; border-collapse: collapse;" cellspacing="0" cellpadding="0"> ! <tr> ! <td colspan="2" style="height: 1em; padding: 2px;"> ! <div style="float: right; padding: 2px;"><span>Dictionary</span> ! <select id="v_dictionaries" style="width: 10em"></select> ! <button id="b_recheck">Re-check</button> ! </div> ! <span id="status">Please wait. Calling spell checker.</span> ! </td> ! </tr> ! <tr> ! <td valign="top" class="controls"> ! <div class="secbody" style="text-align: center"> ! <button id="b_info">Info</button> ! </div> ! <div class="sectitle">Original word</div> ! <div class="secbody" id="v_currentWord" style="text-align: ! center; margin-bottom: 0px;">pliz weit ;-)</div> ! <div class="secbody" style="text-align: center"> ! <button id="b_revert">Revert</button> ! </div> ! <div class="sectitle">Replace with</div> ! <div class="secbody"> ! <input type="text" id="v_replacement" style="width: 94%; margin-left: 3%;" /><br /> ! <div style="text-align: center; margin-top: 2px;"> ! <button id="b_replace">Replace</button><button ! id="b_replall">Replace all</button><br /><button ! id="b_ignore">Ignore</button><button ! id="b_ignall">Ignore all</button> ! </div> ! </div> ! <div class="sectitle">Suggestions</div> ! <div class="secbody"> ! <select size="11" style="width: 94%; margin-left: 3%;" id="v_suggestions"></select> ! </div> ! </td> ! ! <td> ! <iframe src="about:blank" width="100%" height="100%" ! id="i_framecontent" name="framecontent"></iframe> ! </td> ! </tr> ! <tr> ! <td style="height: 1em;" colspan="2"> ! <div style="padding: 4px 2px 2px 2px; float: right;"> ! <button id="b_ok">OK</button> ! <button id="b_cancel">Cancel</button> ! </div> ! <div id="statusbar"></div> ! </td> ! </tr> ! </table> ! ! </body> ! ! </html> Index: spell-check-ui.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/spell-check-ui.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** spell-check-ui.js 12 Nov 2003 21:29:48 -0000 1.1 --- spell-check-ui.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,334 **** ! // Spell Checker Plugin for HTMLArea-3.0 ! // Implementation by Mihai Bazon. Sponsored by www.americanbible.org ! // ! // htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc. ! // This notice MUST stay intact for use (see license.txt). ! // ! // A free WYSIWYG editor replacement for <textarea> fields. ! // For full source code and docs, visit http://www.interactivetools.com/ ! // ! // Version 3.0 developed by Mihai Bazon for InteractiveTools. ! // http://dynarch.com/mishoo ! // ! // $Id$ ! ! // internationalization file was already loaded in parent ;-) ! var SpellChecker = window.opener.SpellChecker; ! var i18n = SpellChecker.I18N; ! ! var is_ie = window.opener.HTMLArea.is_ie; ! var editor = SpellChecker.editor; ! var frame = null; ! var currentElement = null; ! var wrongWords = null; ! var modified = false; ! var allWords = {}; ! ! function makeCleanDoc(leaveFixed) { ! // document.getElementById("status").innerHTML = 'Please wait: rendering valid HTML'; ! for (var i in wrongWords) { ! var el = wrongWords[i]; ! if (!(leaveFixed && /HA-spellcheck-fixed/.test(el.className))) { ! el.parentNode.insertBefore(el.firstChild, el); ! el.parentNode.removeChild(el.nextSibling); ! el.parentNode.removeChild(el); ! } else { ! el.className = "HA-spellcheck-fixed"; ! el.parentNode.removeChild(el.nextSibling); ! } ! } ! // we should use innerHTML here, but IE6's implementation fucks up the ! // HTML to such extent that our poor Perl parser doesn't understand it ! // anymore. ! return window.opener.HTMLArea.getHTML(frame.contentWindow.document.body, leaveFixed); ! }; ! ! function recheckClicked() { ! document.getElementById("status").innerHTML = i18n["Please wait: changing dictionary to"] + ': "' + document.getElementById("f_dictionary").value + '".'; ! var field = document.getElementById("f_content"); ! field.value = makeCleanDoc(true); ! field.form.submit(); ! }; ! ! function saveClicked() { ! if (modified) { ! editor.setHTML(makeCleanDoc(false)); ! } ! window.close(); ! return false; ! }; ! ! function cancelClicked() { ! var ok = true; ! if (modified) { ! ok = confirm(i18n["QUIT_CONFIRMATION"]); ! } ! if (ok) { ! window.close(); ! } ! return false; ! }; ! ! function replaceWord(el) { ! var replacement = document.getElementById("v_replacement").value; ! modified = (el.innerHTML != replacement); ! if (el) { ! el.className = el.className.replace(/\s*HA-spellcheck-(hover|fixed)\s*/g, " "); ! } ! el.className += " HA-spellcheck-fixed"; ! el.__msh_fixed = true; ! if (!modified) { ! return false; ! } ! el.innerHTML = replacement; ! }; ! ! function replaceClicked() { ! replaceWord(currentElement); ! var start = currentElement.__msh_id; ! var index = start; ! do { ! ++index; ! if (index == wrongWords.length) { ! index = 0; ! } ! } while ((index != start) && wrongWords[index].__msh_fixed); ! if (index == start) { ! index = 0; ! alert(i18n["Finished list of mispelled words"]); ! } ! wrongWords[index].onclick(); ! return false; ! }; ! ! function replaceAllClicked() { ! var replacement = document.getElementById("v_replacement").value; ! var ok = true; ! var spans = allWords[currentElement.__msh_origWord]; ! if (spans.length == 0) { ! alert("An impossible condition just happened. Call FBI. ;-)"); ! } else if (spans.length == 1) { ! replaceClicked(); ! return false; ! } ! /* ! var message = "The word \"" + currentElement.__msh_origWord + "\" occurs " + spans.length + " times.\n"; ! if (replacement == currentElement.__msh_origWord) { ! ok = confirm(message + "Ignore all occurrences?"); ! } else { ! ok = confirm(message + "Replace all occurrences with \"" + replacement + "\"?"); ! } ! */ ! if (ok) { ! for (var i in spans) { ! if (spans[i] != currentElement) { ! replaceWord(spans[i]); ! } ! } ! // replace current element the last, so that we jump to the next word ;-) ! replaceClicked(); ! } ! return false; ! }; ! ! function ignoreClicked() { ! document.getElementById("v_replacement").value = currentElement.__msh_origWord; ! replaceClicked(); ! return false; ! }; ! ! function ignoreAllClicked() { ! document.getElementById("v_replacement").value = currentElement.__msh_origWord; ! replaceAllClicked(); ! return false; ! }; ! ! function learnClicked() { ! alert("Not [yet] implemented"); ! return false; ! }; ! ! function internationalizeWindow() { ! var types = ["div", "span", "button"]; ! for (var i in types) { ! var tag = types[i]; ! var els = document.getElementsByTagName(tag); ! for (var j = els.length; --j >= 0;) { ! var el = els[j]; ! if (el.childNodes.length == 1 && /\S/.test(el.innerHTML)) { ! var txt = el.innerHTML; ! if (typeof i18n[txt] != "undefined") { ! el.innerHTML = i18n[txt]; ! } ! } ! } ! } ! }; ! ! function initDocument() { ! internationalizeWindow(); ! modified = false; ! frame = document.getElementById("i_framecontent"); ! var field = document.getElementById("f_content"); ! field.value = editor.getHTML(); ! field.form.submit(); ! document.getElementById("f_init").value = "0"; ! ! // assign some global event handlers ! ! var select = document.getElementById("v_suggestions"); ! select.onchange = function() { ! document.getElementById("v_replacement").value = this.value; ! }; ! if (is_ie) { ! select.attachEvent("ondblclick", replaceClicked); ! } else { ! select.addEventListener("dblclick", replaceClicked, true); ! } ! ! document.getElementById("b_replace").onclick = replaceClicked; ! // document.getElementById("b_learn").onclick = learnClicked; ! document.getElementById("b_replall").onclick = replaceAllClicked; ! document.getElementById("b_ignore").onclick = ignoreClicked; ! document.getElementById("b_ignall").onclick = ignoreAllClicked; ! document.getElementById("b_recheck").onclick = recheckClicked; ! ! document.getElementById("b_ok").onclick = saveClicked; ! document.getElementById("b_cancel").onclick = cancelClicked; ! ! select = document.getElementById("v_dictionaries"); ! select.onchange = function() { ! document.getElementById("f_dictionary").value = this.value; ! }; ! }; ! ! function wordClicked() { ! if (currentElement) { ! var a = allWords[currentElement.__msh_origWord]; ! currentElement.className = currentElement.className.replace(/\s*HA-spellcheck-current\s*/g, " "); ! for (var i in a) { ! var el = a[i]; ! if (el != currentElement) { ! el.className = el.className.replace(/\s*HA-spellcheck-same\s*/g, " "); ! } ! } ! } ! currentElement = this; ! this.className += " HA-spellcheck-current"; ! var a = allWords[currentElement.__msh_origWord]; ! for (var i in a) { ! var el = a[i]; ! if (el != currentElement) { ! el.className += " HA-spellcheck-same"; ! } ! } ! document.getElementById("b_replall").disabled = (a.length <= 1); ! document.getElementById("b_ignall").disabled = (a.length <= 1); ! var txt; ! if (a.length == 1) { ! txt = "one occurrence"; ! } else if (a.length == 2) { ! txt = "two occurrences"; ! } else { ! txt = a.length + " occurrences"; ! } ! document.getElementById("statusbar").innerHTML = "Found " + txt + ! ' for word "<b>' + currentElement.__msh_origWord + '</b>"'; ! var select = document.getElementById("v_suggestions"); ! for (var i = select.length; --i >= 0;) { ! select.remove(i); ! } ! var suggestions; ! suggestions = this.nextSibling.firstChild.data.split(/,/); ! for (var i = 0; i < suggestions.length; ++i) { ! var txt = suggestions[i]; ! var option = document.createElement("option"); ! option.value = txt; ! option.appendChild(document.createTextNode(txt)); ! select.appendChild(option); ! } ! document.getElementById("v_currentWord").innerHTML = this.__msh_origWord; ! if (suggestions.length > 0) { ! select.selectedIndex = 0; ! select.onchange(); ! } else { ! document.getElementById("v_replacement").value = this.innerHTML; ! } ! return false; ! }; ! ! function wordMouseOver() { ! this.className += " HA-spellcheck-hover"; ! }; ! ! function wordMouseOut() { ! this.className = this.className.replace(/\s*HA-spellcheck-hover\s*/g, " "); ! }; ! ! function finishedSpellChecking() { ! // initialization of global variables ! currentElement = null; ! wrongWords = null; ! allWords = {}; ! ! document.getElementById("status").innerHTML = "HTMLArea Spell Checker (<a href='readme-tech.html' target='_blank' title='Technical information'>info</a>)"; ! var doc = frame.contentWindow.document; ! var spans = doc.getElementsByTagName("span"); ! var sps = []; ! var id = 0; ! for (var i = 0; i < spans.length; ++i) { ! var el = spans[i]; ! if (/HA-spellcheck-error/.test(el.className)) { ! sps.push(el); ! el.onclick = wordClicked; ! el.onmouseover = wordMouseOver; ! el.onmouseout = wordMouseOut; ! el.__msh_id = id++; ! var txt = (el.__msh_origWord = el.firstChild.data); ! el.__msh_fixed = false; ! if (typeof allWords[txt] == "undefined") { ! allWords[txt] = [el]; ! } else { ! allWords[txt].push(el); ! } ! } ! } ! wrongWords = sps; ! if (sps.length == 0) { ! if (!modified) { ! alert(i18n["NO_ERRORS_CLOSING"]); ! window.close(); ! } else { ! alert(i18n["NO_ERRORS"]); ! } ! return false; ! } ! (currentElement = sps[0]).onclick(); ! var as = doc.getElementsByTagName("a"); ! for (var i = as.length; --i >= 0;) { ! var a = as[i]; ! a.onclick = function() { ! if (confirm(i18n["CONFIRM_LINK_CLICK"] + ":\n" + ! this.href + "\n" + i18n["I will open it in a new page."])) { ! window.open(this.href); ! } ! return false; ! }; ! } ! var dicts = doc.getElementById("HA-spellcheck-dictionaries"); ! if (dicts) { ! dicts.parentNode.removeChild(dicts); ! dicts = dicts.innerHTML.split(/,/); ! var select = document.getElementById("v_dictionaries"); ! for (var i = select.length; --i >= 0;) { ! select.remove(i); ! } ! for (var i = 0; i < dicts.length; ++i) { ! var txt = dicts[i]; ! var option = document.createElement("option"); ! option.value = txt; ! option.appendChild(document.createTextNode(txt)); ! select.appendChild(option); ! } ! } ! }; --- 1,397 ---- ! // Spell Checker Plugin for HTMLArea-3.0 ! // Sponsored by www.americanbible.org ! // Implementation by Mihai Bazon, http://dynarch.com/mishoo/ ! // ! // (c) dynarch.com 2003. ! // Distributed under the same terms as HTMLArea itself. ! // This notice MUST stay intact for use (see license.txt). ! // ! // $Id$ ! ! // internationalization file was already loaded in parent ;-) ! var SpellChecker = window.opener.SpellChecker; ! var i18n = SpellChecker.I18N; ! ! var HTMLArea = window.opener.HTMLArea; ! var is_ie = HTMLArea.is_ie; ! var editor = SpellChecker.editor; ! var frame = null; ! var currentElement = null; ! var wrongWords = null; ! var modified = false; ! var allWords = {}; ! var fixedWords = []; ! var suggested_words = {}; ! ! function makeCleanDoc(leaveFixed) { ! // document.getElementById("status").innerHTML = 'Please wait: rendering valid HTML'; ! var words = wrongWords.concat(fixedWords); ! for (var i = words.length; --i >= 0;) { ! var el = words[i]; ! if (!(leaveFixed && /HA-spellcheck-fixed/.test(el.className))) { ! el.parentNode.insertBefore(el.firstChild, el); ! el.parentNode.removeChild(el); ! } else ! el.className = "HA-spellcheck-fixed"; ! } ! // we should use innerHTML here, but IE6's implementation fucks up the ! // HTML to such extent that our poor Perl parser doesn't understand it ! // anymore. ! return window.opener.HTMLArea.getHTML(frame.contentWindow.document.body, false, editor); ! }; ! ! function recheckClicked() { ! document.getElementById("status").innerHTML = i18n["Please wait: changing dictionary to"] + ': "' + document.getElementById("f_dictionary").value + '".'; ! var field = document.getElementById("f_content"); ! field.value = makeCleanDoc(true); ! field.form.submit(); ! }; ! ! function saveClicked() { ! if (modified) { ! editor.setHTML(makeCleanDoc(false)); ! } ! window.close(); ! return false; ! }; ! ! function cancelClicked() { ! var ok = true; ! if (modified) { ! ok = confirm(i18n["QUIT_CONFIRMATION"]); ! } ! if (ok) { ! window.close(); ! } ! return false; ! }; ! ! function replaceWord(el) { ! var replacement = document.getElementById("v_replacement").value; ! var this_word_modified = (el.innerHTML != replacement); ! if (this_word_modified) ! modified = true; ! if (el) { ! el.className = el.className.replace(/\s*HA-spellcheck-(hover|fixed)\s*/g, " "); ! } ! el.className += " HA-spellcheck-fixed"; ! el.__msh_fixed = true; ! if (!this_word_modified) { ! return false; ! } ! el.innerHTML = replacement; ! }; ! ! function replaceClicked() { ! replaceWord(currentElement); ! var start = currentElement.__msh_id; ! var index = start; ! do { ! ++index; ! if (index == wrongWords.length) { ! index = 0; ! } ! } while ((index != start) && wrongWords[index].__msh_fixed); ! if (index == start) { ! index = 0; ! alert(i18n["Finished list of mispelled words"]); ! } ! wrongWords[index].__msh_wordClicked(true); ! return false; ! }; ! ! function revertClicked() { ! document.getElementById("v_replacement").value = currentElement.__msh_origWord; ! replaceWord(currentElement); ! currentElement.className = "HA-spellcheck-error HA-spellcheck-current"; ! return false; ! }; ! ! function replaceAllClicked() { ! var replacement = document.getElementById("v_replacement").value; ! var ok = true; ! var spans = allWords[currentElement.__msh_origWord]; ! if (spans.length == 0) { ! alert("An impossible condition just happened. Call FBI. ;-)"); ! } else if (spans.length == 1) { ! replaceClicked(); ! return false; ! } ! /* ! var message = "The word \"" + currentElement.__msh_origWord + "\" occurs " + spans.length + " times.\n"; ! if (replacement == currentElement.__msh_origWord) { ! ok = confirm(message + "Ignore all occurrences?"); ! } else { ! ok = confirm(message + "Replace all occurrences with \"" + replacement + "\"?"); ! } ! */ ! if (ok) { ! for (var i in spans) { ! if (spans[i] != currentElement) { ! replaceWord(spans[i]); ! } ! } ! // replace current element the last, so that we jump to the next word ;-) ! replaceClicked(); ! } ! return false; ! }; ! ! function ignoreClicked() { ! document.getElementById("v_replacement").value = currentElement.__msh_origWord; ! replaceClicked(); ! return false; ! }; ! ! function ignoreAllClicked() { ! document.getElementById("v_replacement").value = currentElement.__msh_origWord; ! replaceAllClicked(); ! return false; ! }; ! ! function learnClicked() { ! alert("Not [yet] implemented"); ! return false; ! }; ! ! function internationalizeWindow() { ! var types = ["div", "span", "button"]; ! for (var i in types) { ! var tag = types[i]; ! var els = document.getElementsByTagName(tag); ! for (var j = els.length; --j >= 0;) { ! var el = els[j]; ! if (el.childNodes.length == 1 && /\S/.test(el.innerHTML)) { ! var txt = el.innerHTML; ! if (typeof i18n[txt] != "undefined") { ! el.innerHTML = i18n[txt]; ! } ! } ! } ! } ! }; ! ! function initDocument() { ! internationalizeWindow(); ! modified = false; ! frame = document.getElementById("i_framecontent"); ! var field = document.getElementById("f_content"); ! field.value = HTMLArea.getHTML(editor._doc.body, false, editor); ! field.form.submit(); ! document.getElementById("f_init").value = "0"; ! ! // assign some global event handlers ! ! var select = document.getElementById("v_suggestions"); ! select.onchange = function() { ! document.getElementById("v_replacement").value = this.value; ! }; ! if (is_ie) { ! select.attachEvent("ondblclick", replaceClicked); ! } else { ! select.addEventListener("dblclick", replaceClicked, true); ! } ! ! document.getElementById("b_replace").onclick = replaceClicked; ! // document.getElementById("b_learn").onclick = learnClicked; ! document.getElementById("b_replall").onclick = replaceAllClicked; ! document.getElementById("b_ignore").onclick = ignoreClicked; ! document.getElementById("b_ignall").onclick = ignoreAllClicked; ! document.getElementById("b_recheck").onclick = recheckClicked; ! document.getElementById("b_revert").onclick = revertClicked; ! document.getElementById("b_info").onclick = displayInfo; ! ! document.getElementById("b_ok").onclick = saveClicked; ! document.getElementById("b_cancel").onclick = cancelClicked; ! ! select = document.getElementById("v_dictionaries"); ! select.onchange = function() { ! document.getElementById("f_dictionary").value = this.value; ! }; ! }; ! ! function getAbsolutePos(el) { ! var r = { x: el.offsetLeft, y: el.offsetTop }; ! if (el.offsetParent) { ! var tmp = getAbsolutePos(el.offsetParent); ! r.x += tmp.x; ! r.y += tmp.y; ! } ! return r; ! }; ! ! function wordClicked(scroll) { ! var self = this; ! if (scroll) (function() { ! var pos = getAbsolutePos(self); ! var ws = { x: frame.offsetWidth - 4, ! y: frame.offsetHeight - 4 }; ! var wp = { x: frame.contentWindow.document.body.scrollLeft, ! y: frame.contentWindow.document.body.scrollTop }; ! pos.x -= Math.round(ws.x/2); ! if (pos.x < 0) pos.x = 0; ! pos.y -= Math.round(ws.y/2); ! if (pos.y < 0) pos.y = 0; ! frame.contentWindow.scrollTo(pos.x, pos.y); ! })(); ! if (currentElement) { ! var a = allWords[currentElement.__msh_origWord]; ! currentElement.className = currentElement.className.replace(/\s*HA-spellcheck-current\s*/g, " "); ! for (var i in a) { ! var el = a[i]; ! if (el != currentElement) { ! el.className = el.className.replace(/\s*HA-spellcheck-same\s*/g, " "); ! } ! } ! } ! currentElement = this; ! this.className += " HA-spellcheck-current"; ! var a = allWords[currentElement.__msh_origWord]; ! for (var i in a) { ! var el = a[i]; ! if (el != currentElement) { ! el.className += " HA-spellcheck-same"; ! } ! } ! // document.getElementById("b_replall").disabled = (a.length <= 1); ! // document.getElementById("b_ignall").disabled = (a.length <= 1); ! var txt; ! if (a.length == 1) { ! txt = "one occurrence"; ! } else if (a.length == 2) { ! txt = "two occurrences"; ! } else { ! txt = a.length + " occurrences"; ! } ! var suggestions = suggested_words[this.__msh_origWord]; ! if (suggestions) ! suggestions = suggestions.split(/,/); ! else ! suggestions = []; ! var select = document.getElementById("v_suggestions"); ! document.getElementById("statusbar").innerHTML = "Found " + txt + ! ' for word "<b>' + currentElement.__msh_origWord + '</b>"'; ! for (var i = select.length; --i >= 0;) { ! select.remove(i); ! } ! for (var i = 0; i < suggestions.length; ++i) { ! var txt = suggestions[i]; ! var option = document.createElement("option"); ! option.value = txt; ! option.appendChild(document.createTextNode(txt)); ! select.appendChild(option); ! } ! document.getElementById("v_currentWord").innerHTML = this.__msh_origWord; ! if (suggestions.length > 0) { ! select.selectedIndex = 0; ! select.onchange(); ! } else { ! document.getElementById("v_replacement").value = this.innerHTML; ! } ! select.style.display = "none"; ! select.style.display = "block"; ! return false; ! }; ! ! function wordMouseOver() { ! this.className += " HA-spellcheck-hover"; ! }; ! ! function wordMouseOut() { ! this.className = this.className.replace(/\s*HA-spellcheck-hover\s*/g, " "); ! }; ! ! function displayInfo() { ! var info = frame.contentWindow.spellcheck_info; ! if (!info) ! alert("No information available"); ! else { ! var txt = "** Document information **"; ! for (var i in info) { ! txt += "\n" + i + " : " + info[i]; ! } ! alert(txt); ! } ! return false; ! }; ! ! function finishedSpellChecking() { ! // initialization of global variables ! currentElement = null; ! wrongWords = null; ! allWords = {}; ! fixedWords = []; ! suggested_words = frame.contentWindow.suggested_words; ! ! document.getElementById("status").innerHTML = "HTMLArea Spell Checker (<a href='readme-tech.html' target='_blank' title='Technical information'>info</a>)"; ! var doc = frame.contentWindow.document; ! var spans = doc.getElementsByTagName("span"); ! var sps = []; ! var id = 0; ! for (var i = 0; i < spans.length; ++i) { ! var el = spans[i]; ! if (/HA-spellcheck-error/.test(el.className)) { ! sps.push(el); ! el.__msh_wordClicked = wordClicked; ! el.onclick = function(ev) { ! ev || (ev = window.event); ! ev && HTMLArea._stopEvent(ev); ! return this.__msh_wordClicked(false); ! }; ! el.onmouseover = wordMouseOver; ! el.onmouseout = wordMouseOut; ! el.__msh_id = id++; ! var txt = (el.__msh_origWord = el.firstChild.data); ! el.__msh_fixed = false; ! if (typeof allWords[txt] == "undefined") { ! allWords[txt] = [el]; ! } else { ! allWords[txt].push(el); ! } ! } else if (/HA-spellcheck-fixed/.test(el.className)) { ! fixedWords.push(el); ! } ! } ! wrongWords = sps; ! if (sps.length == 0) { ! if (!modified) { ! alert(i18n["NO_ERRORS_CLOSING"]); ! window.close(); ! } else { ! alert(i18n["NO_ERRORS"]); ! } ! return false; ! } ! (currentElement = sps[0]).__msh_wordClicked(true); ! var as = doc.getElementsByTagName("a"); ! for (var i = as.length; --i >= 0;) { ! var a = as[i]; ! a.onclick = function() { ! if (confirm(i18n["CONFIRM_LINK_CLICK"] + ":\n" + ! this.href + "\n" + i18n["I will open it in a new page."])) { ! window.open(this.href); ! } ! return false; ! }; ! } ! var dicts = doc.getElementById("HA-spellcheck-dictionaries"); ! if (dicts) { ! dicts.parentNode.removeChild(dicts); ! dicts = dicts.innerHTML.split(/,/); ! var select = document.getElementById("v_dictionaries"); ! for (var i = select.length; --i >= 0;) { ! select.remove(i); ! } ! for (var i = 0; i < dicts.length; ++i) { ! var txt = dicts[i]; ! var option = document.createElement("option"); ! if (/^@(.*)$/.test(txt)) { ! txt = RegExp.$1; ! option.selected = true; ! } ! option.value = txt; ! option.appendChild(document.createTextNode(txt)); ! select.appendChild(option); ! } ! } ! }; Index: spell-checker.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/SpellChecker/spell-checker.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** spell-checker.js 12 Nov 2003 21:29:48 -0000 1.1 --- spell-checker.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,83 **** ! // Spell Checker Plugin for HTMLArea-3.0 ! // Implementation by Mihai Bazon. Sponsored by www.americanbible.org ! // ! // htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc. ! // This notice MUST stay intact for use (see license.txt). ! // ! // A free WYSIWYG editor replacement for <textarea> fields. ! // For full source code and docs, visit http://www.interactivetools.com/ ! // ! // Version 3.0 developed by Mihai Bazon for InteractiveTools. ! // http://dynarch.com/mishoo ! // ! // $Id$ ! ! function SpellChecker(editor) { ! this.editor = editor; ! ! var cfg = editor.config; ! var tt = SpellChecker.I18N; ! var bl = SpellChecker.btnList; ! var self = this; ! ! // register the toolbar buttons provided by this plugin ! var toolbar = []; ! for (var i in bl) { ! var btn = bl[i]; ! if (!btn) { ! toolbar.push("separator"); ! } else { ! var id = "SC-" + btn[0]; ! cfg.registerButton(id, tt[id], editor.imgURL(btn[0] + ".gif", "SpellChecker"), false, ! function(editor, id) { ! // dispatch button press event ! self.buttonPress(editor, id); ! }, btn[1]); ! toolbar.push(id); ! } ! } ! ! for (var i in toolbar) { ! cfg.toolbar[0].push(toolbar[i]); ! } ! }; ! ! SpellChecker._pluginInfo = { ! name : "SpellChecker", ! version : "1.0", ! developer : "Mihai Bazon", ! developer_url : "http://dynarch.com/mishoo/", ! c_owner : "Mihai Bazon", ! sponsor : "American Bible Society", ! sponsor_url : "http://www.americanbible.org", ! license : "htmlArea" ! }; ! ! SpellChecker.btnList = [ ! null, // separator ! ["spell-check"] ! ]; ! ! SpellChecker.prototype.buttonPress = function(editor, id) { ! switch (id) { ! case "SC-spell-check": ! SpellChecker.editor = editor; ! SpellChecker.init = true; ! var uiurl = editor.config.editorURL + "plugins/SpellChecker/spell-check-ui.html"; ! var win; ! if (HTMLArea.is_ie) { ! win... [truncated message content] |
From: Joe S. <joe...@us...> - 2004-08-23 16:32:04
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations Modified Files: makefile.xml table-operations.js Log Message: Upgraded htmlarea3 Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,7 **** ! <files> ! <file name="*.{js,html,cgi,css}" /> ! ! <dir name="lang" /> ! <dir name="img" /> ! </files> ! --- 1,7 ---- ! <files> ! <file name="*.{js,html,cgi,css}" /> ! ! <dir name="lang" /> ! <dir name="img" /> ! </files> ! Index: table-operations.js =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/table-operations.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** table-operations.js 12 Nov 2003 21:29:48 -0000 1.1 --- table-operations.js 23 Aug 2004 16:31:50 -0000 1.2 *************** *** 1,1160 **** ! // Table Operations Plugin for HTMLArea-3.0 ! // Implementation by Mihai Bazon. Sponsored by http://www.bloki.com ! // ! // htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc. ! // This notice MUST stay intact for use (see license.txt). ! // ! // A free WYSIWYG editor replacement for <textarea> fields. ! // For full source code and docs, visit http://www.interactivetools.com/ ! // ! // Version 3.0 developed by Mihai Bazon for InteractiveTools. [...2291 lines suppressed...] ! // input.type = "text"; ! // input.size = "5"; ! // input.name = "f_st_margin"; ! // td.appendChild(input); ! // input.style.marginRight = "0.5em"; ! // td.appendChild(doc.createTextNode(i18n["Padding"] + ":")); ! ! // input = doc.createElement("input"); ! // input.type = "text"; ! // input.size = "5"; ! // input.name = "f_st_padding"; ! // td.appendChild(input); ! // input.style.marginLeft = "0.5em"; ! // input.style.marginRight = "0.5em"; ! // td.appendChild(doc.createTextNode(i18n["pixels"])); ! ! return fieldset; ! }; ! ! //// END GENERIC CODE ------------------------------------------------------- |
From: Joe S. <joe...@us...> - 2004-08-23 16:32:04
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/img Modified Files: makefile.xml Log Message: Upgraded htmlarea3 Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/TableOperations/img/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:51 -0000 1.2 *************** *** 1,3 **** ! <files> ! <file name="*.{gif,jpg,jpeg}" /> ! </files> --- 1,3 ---- ! <files> ! <file name="*.{gif,jpg,jpeg}" /> ! </files> |
From: Joe S. <joe...@us...> - 2004-08-23 16:32:02
|
Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14979/phpslash-dev/public_html/scripts/htmlarea3/plugins Modified Files: makefile.xml Log Message: Upgraded htmlarea3 Index: makefile.xml =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/htmlarea3/plugins/makefile.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makefile.xml 12 Nov 2003 21:29:48 -0000 1.1 --- makefile.xml 23 Aug 2004 16:31:49 -0000 1.2 *************** *** 1,5 **** ! <files> ! <dir name="SpellChecker" /> ! <dir name="TableOperations" /> ! <dir name="FullPage" /> ! </files> --- 1,9 ---- ! <files> ! <dir name="SpellChecker" /> ! <dir name="TableOperations" /> ! <dir name="FullPage" /> ! <dir name="CSS" /> ! <dir name="ContextMenu" /> ! <dir name="HtmlTidy" /> ! <dir name="ListType" /> ! </files> |