code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Full Page Editing with Document Properties Plugin &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <script type="text/javascript" src="../ckeditor.js"></script> <script src="sample.js" type="text/javascript"></script> <link href="sample.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Full Page Editing with Document Properties Plugin </h1> <div class="description"> <p> This sample shows how to configure CKEditor to edit entire HTML pages, from the <code>&lt;html&gt;</code> tag to the <code>&lt;/html&gt;</code> tag. </p> <p> The <strong>Document Properties</strong> (<code>docprops</code>) plugin is also turned on. This plugin allows you to set the metadata of the page, including the page encoding, margins, meta tags, or background. </p> <p> The CKEditor instance below is inserted with a JavaScript call using the following code: </p> <pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>', { <strong>fullPage : true, extraPlugins : 'docprops'</strong> });</pre> <p> Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of the <code>&lt;textarea&gt;</code> element to be replaced. </p> </div> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <form action="sample_posteddata.php" method="post"> <label for="editor1"> CKEditor using the <code>docprops</code> plugin and working in the Full Page mode:</label> <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;html&gt;&lt;head&gt;&lt;title&gt;CKEditor Sample&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</textarea> <script type="text/javascript"> //<![CDATA[ CKEDITOR.replace( 'editor1', { fullPage : true, extraPlugins : 'docprops' }); //]]> </script> <p> <input type="submit" value="Submit" /> </p> </form> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/fullpage.html
HTML
art
3,189
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>UI Color Picker &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <script type="text/javascript" src="../ckeditor.js"></script> <script src="sample.js" type="text/javascript"></script> <link href="sample.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; UI Color Picker </h1> <div class="description"> <p> This sample shows how to automatically replace <code>&lt;textarea&gt;</code> elements with a CKEditor instance with an option to change the color of its user interface. </p> <h2 class="samples">Setting the User Interface Color</h2> <p> To specify the color of the user interface, set the <code>uiColor</code> property: </p> <pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>', { <strong>uiColor: '#EE0000'</strong> });</pre> <p> Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of the <code>&lt;textarea&gt;</code> element to be replaced. </p> <h2 class="samples">Enabling the Color Picker</h2> <p> If the <strong>uicolor</strong> plugin along with the dedicated <strong>UIColor</strong> toolbar button is added to CKEditor, the user will also be able to pick the color of the UI from the color palette available in the <strong>UI Color Picker</strong> dialog window. </p> <p> To insert a CKEditor instance with the <strong>uicolor</strong> plugin enabled, use the following JavaScript call: </p> <pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>', { <strong>extraPlugins : 'uicolor',</strong> toolbar : [ [ 'Bold', 'Italic' ], [ <strong>'UIColor'</strong> ] ] });</pre> </div> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <p> Click the <strong>UI Color Picker</strong> button to test your color preferences at runtime. </p> <p> The first editor instance includes the <strong>UI Color Picker</strong> toolbar button, but the default UI color is not defined, so the editor uses the skin color. </p> <form action="sample_posteddata.php" method="post"> <p> <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea> <script type="text/javascript"> //<![CDATA[ // Replace the <textarea id="editor"> with an CKEditor // instance, using default configurations. CKEDITOR.replace( 'editor1', { extraPlugins : 'uicolor', toolbar : [ [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ], [ 'UIColor' ] ] }); //]]> </script> </p> <p> The second editor instance includes the <strong>UI Color Picker</strong> toolbar button. The default UI color was defined, so the skin color is not used. </p> <p> <textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea> <script type="text/javascript"> //<![CDATA[ // Replace the <textarea id="editor"> with an CKEditor // instance, using default configurations. CKEDITOR.replace( 'editor2', { extraPlugins : 'uicolor', uiColor: '#14B8C4', toolbar : [ [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ], [ 'UIColor' ] ] } ); //]]> </script> </p> <p> <input type="submit" value="Submit" /> </p> </form> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/ui_color.html
HTML
art
4,720
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ // This file is not required by CKEditor and may be safely ignored. // It is just a helper file that displays a red message about browser compatibility // at the top of the samples (if incompatible browser is detected). if ( window.CKEDITOR ) { (function() { var showCompatibilityMsg = function() { var env = CKEDITOR.env; var html = '<p><strong>Your browser is not compatible with CKEditor.</strong>'; var browsers = { gecko : 'Firefox 2.0', ie : 'Internet Explorer 6.0', opera : 'Opera 9.5', webkit : 'Safari 3.0' }; var alsoBrowsers = ''; for ( var key in env ) { if ( browsers[ key ] ) { if ( env[key] ) html += ' CKEditor is compatible with ' + browsers[ key ] + ' or higher.'; else alsoBrowsers += browsers[ key ] + '+, '; } } alsoBrowsers = alsoBrowsers.replace( /\+,([^,]+), $/, '+ and $1' ); html += ' It is also compatible with ' + alsoBrowsers + '.'; html += '</p><p>With non compatible browsers, you should still be able to see and edit the contents (HTML) in a plain text field.</p>'; var alertsEl = document.getElementById( 'alerts' ); alertsEl && ( alertsEl.innerHTML = html ); }; var onload = function() { // Show a friendly compatibility message as soon as the page is loaded, // for those browsers that are not compatible with CKEditor. if ( !CKEDITOR.env.isCompatible ) showCompatibilityMsg(); }; // Register the onload listener. if ( window.addEventListener ) window.addEventListener( 'load', onload, false ); else if ( window.attachEvent ) window.attachEvent( 'onload', onload ); })(); }
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/sample.js
JavaScript
art
1,866
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Ajax &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <script type="text/javascript" src="../ckeditor.js"></script> <script src="sample.js" type="text/javascript"></script> <link href="sample.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> //<![CDATA[ var editor, html = ''; function createEditor() { if ( editor ) return; // Create a new editor inside the <div id="editor">, setting its value to html var config = {}; editor = CKEDITOR.appendTo( 'editor', config, html ); } function removeEditor() { if ( !editor ) return; // Retrieve the editor contents. In an Ajax application, this data would be // sent to the server or used in any other way. document.getElementById( 'editorcontents' ).innerHTML = html = editor.getData(); document.getElementById( 'contents' ).style.display = ''; // Destroy the editor. editor.destroy(); editor = null; } //]]> </script> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Create and Destroy Editor Instances for Ajax Applications </h1> <div class="description"> <p> This sample shows how to create and destroy CKEditor instances on the fly. After the removal of CKEditor the content created inside the editing area will be displayed in a <code>&lt;div&gt;</code> element. </p> <p> For details of how to create this setup check the source code of this sample page for JavaScript code responsible for the creation and destruction of a CKEditor instance. </p> </div> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <p>Click the buttons to create and remove a CKEditor instance.</p> <p> <input onclick="createEditor();" type="button" value="Create Editor" /> <input onclick="removeEditor();" type="button" value="Remove Editor" /> </p> <!-- This div will hold the editor. --> <div id="editor"> </div> <div id="contents" style="display: none"> <p> Edited Contents:</p> <!-- This div will be used to display the editor contents. --> <div id="editorcontents"> </div> </div> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/ajax.html
HTML
art
3,178
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Replace DIV &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <script type="text/javascript" src="../ckeditor.js"></script> <script src="sample.js" type="text/javascript"></script> <link href="sample.css" rel="stylesheet" type="text/css" /> <style id="styles" type="text/css"> div.editable { border: solid 2px Transparent; padding-left: 15px; padding-right: 15px; } div.editable:hover { border-color: black; } </style> <script type="text/javascript"> //<![CDATA[ // Uncomment the following code to test the "Timeout Loading Method". // CKEDITOR.loadFullCoreTimeout = 5; window.onload = function() { // Listen to the double click event. if ( window.addEventListener ) document.body.addEventListener( 'dblclick', onDoubleClick, false ); else if ( window.attachEvent ) document.body.attachEvent( 'ondblclick', onDoubleClick ); }; function onDoubleClick( ev ) { // Get the element which fired the event. This is not necessarily the // element to which the event has been attached. var element = ev.target || ev.srcElement; // Find out the div that holds this element. var name; do { element = element.parentNode; } while ( element && ( name = element.nodeName.toLowerCase() ) && ( name != 'div' || element.className.indexOf( 'editable' ) == -1 ) && name != 'body' ) if ( name == 'div' && element.className.indexOf( 'editable' ) != -1 ) replaceDiv( element ); } var editor; function replaceDiv( div ) { if ( editor ) editor.destroy(); editor = CKEDITOR.replace( div ); } //]]> </script> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Replace DIV with CKEditor on the Fly </h1> <div class="description"> <p> This sample shows how to automatically replace <code>&lt;div&gt;</code> elements with a CKEditor instance on the fly, following user's doubleclick. The content that was previously placed inside the <code>&lt;div&gt;</code> element will now be moved into CKEditor editing area. </p> <p> For details on how to create this setup check the source code of this sample page. </p> </div> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <p> Double-click any of the following <code>&lt;div&gt;</code> elements to transform them into editor instances.</p> <div class="editable"> <h3> Part 1</h3> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. </p> </div> <div class="editable"> <h3> Part 2</h3> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. </p> <p> Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate. </p> </div> <div class="editable"> <h3> Part 3</h3> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. </p> </div> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/divreplace.html
HTML
art
5,152
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Using TableResize Plugin &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <script type="text/javascript" src="../ckeditor.js"></script> <script src="sample.js" type="text/javascript"></script> <link href="sample.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Using the TableResize Plugin </h1> <div class="description"> <p> This sample shows how to configure CKEditor instances to use the <strong>TableResize</strong> (<code>tableresize</code>) plugin that allows the user to edit table columns by using the mouse. </p> <p> The TableResize plugin makes it possible to modify table column width. Hover your mouse over the column border to see the cursor change to indicate that the column can be resized. Click and drag your mouse to set the desired width. </p> <p> By default the plugin is turned off. To add a CKEditor instance using the TableResize plugin, insert the following JavaScript call into your code: </p> <pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>', { <strong>extraPlugins : 'tableresize'</strong> });</pre> <p> Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of the <code>&lt;textarea&gt;</code> element to be replaced with CKEditor. </p> </div> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <form action="sample_posteddata.php" method="post"> <p> <label for="editor1"> CKEditor using the <code>tableresize</code> plugin:</label> <textarea cols="80" id="editor1" name="editor1" rows="10"> &lt;table style="width: 500px;"&gt; &lt;caption&gt; A sample table&lt;/caption&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; Column 1&lt;/td&gt; &lt;td&gt; Column 2&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; You can resize a table column.&lt;/td&gt; &lt;td&gt; Hover your mouse over its border.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; Watch the cursor change.&lt;/td&gt; &lt;td&gt; Now click and drag to resize.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; </textarea> <script type="text/javascript"> //<![CDATA[ // This call can be placed at any point after the // <textarea>, or inside a <head><script> in a // window.onload event handler. // Replace the <textarea id="editor"> with an CKEditor // instance, using default configurations. CKEDITOR.replace( 'editor1', { extraPlugins : 'tableresize' }); //]]> </script> </p> <p> <input type="submit" value="Submit" /> </p> </form> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/tableresize.html
HTML
art
3,771
body { font-family: Arial, Verdana, sans-serif; font-size: 12px; color: #222; background-color: #fff; } /* preserved spaces for rtl list item bullets. (#6249)*/ ol,ul,dl { padding-right:40px; } h1,h2,h3,h4 { font-family: Georgia, Times, serif; } h1.lightBlue { color: #00A6C7; font-size: 1.8em; font-weight:normal; } h3.green { color: #739E39; font-weight:normal; } span.markYellow { background-color: yellow; } span.markGreen { background-color: lime; } img.left { padding: 5px; margin-right: 5px; float:left; border:2px solid #DDD; } img.right { padding: 5px; margin-right: 5px; float:right; border:2px solid #DDD; } a.green { color:#739E39; } table.grey { background-color : #F5F5F5; } table.grey th { background-color : #DDD; } ul.square { list-style-type : square; }
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/assets/parsesample.css
CSS
art
876
/* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license * * Styles used by the XHTML 1.1 sample page (xhtml.html). */ /** * Basic definitions for the editing area. */ body { font-family: Arial, Verdana, sans-serif; font-size: 80%; color: #000000; background-color: #ffffff; padding: 5px; margin: 0px; } /** * Core styles. */ .Bold { font-weight: bold; } .Italic { font-style: italic; } .Underline { text-decoration: underline; } .StrikeThrough { text-decoration: line-through; } .Subscript { vertical-align: sub; font-size: smaller; } .Superscript { vertical-align: super; font-size: smaller; } /** * Font faces. */ .FontComic { font-family: 'Comic Sans MS'; } .FontCourier { font-family: 'Courier New'; } .FontTimes { font-family: 'Times New Roman'; } /** * Font sizes. */ .FontSmaller { font-size: smaller; } .FontLarger { font-size: larger; } .FontSmall { font-size: 8pt; } .FontBig { font-size: 14pt; } .FontDouble { font-size: 200%; } /** * Font colors. */ .FontColor1 { color: #ff9900; } .FontColor2 { color: #0066cc; } .FontColor3 { color: #ff0000; } .FontColor1BG { background-color: #ff9900; } .FontColor2BG { background-color: #0066cc; } .FontColor3BG { background-color: #ff0000; } /** * Indentation. */ .Indent1 { margin-left: 40px; } .Indent2 { margin-left: 80px; } .Indent3 { margin-left: 120px; } /** * Alignment. */ .JustifyLeft { text-align: left; } .JustifyRight { text-align: right; } .JustifyCenter { text-align: center; } .JustifyFull { text-align: justify; } /** * Other. */ code { font-family: courier, monospace; background-color: #eeeeee; padding-left: 1px; padding-right: 1px; border: #c0c0c0 1px solid; } kbd { padding: 0px 1px 0px 1px; border-width: 1px 2px 2px 1px; border-style: solid; } blockquote { color: #808080; }
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/assets/output_xhtml.css
CSS
art
2,145
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Read-only State &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <script type="text/javascript" src="../ckeditor.js"></script> <script src="sample.js" type="text/javascript"></script> <link href="sample.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> //<![CDATA[ var editor; // The instanceReady event is fired, when an instance of CKEditor has finished // its initialization. CKEDITOR.on( 'instanceReady', function( ev ) { editor = ev.editor; // Show this "on" button. document.getElementById( 'readOnlyOn' ).style.display = ''; // Event fired when the readOnly property changes. editor.on( 'readOnly', function() { document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : ''; document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none'; }); }); function toggleReadOnly( isReadOnly ) { // Change the read-only state of the editor. // http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly editor.setReadOnly( isReadOnly ); } //]]> </script> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Using the CKEditor Read-Only API </h1> <div class="description"> <p> This sample shows how to use the <code><a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly">setReadOnly</a></code> API to put editor into the read-only state that makes it impossible for users to change the editor contents. </p> <p> For details on how to create this setup check the source code of this sample page. </p> </div> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <form action="sample_posteddata.php" method="post"> <p> <textarea class="ckeditor" id="editor1" name="editor1" cols="100" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea> </p> <p> <input id="readOnlyOn" onclick="toggleReadOnly();" type="button" value="Make it read-only" style="display:none" /> <input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none" /> </p> </form> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/ckeditor/_samples/readonly.html
HTML
art
3,388
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <title>CKEditor Samples &mdash; Java Integration</title> <link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" /> </head> <body> <h1 class="samples"> CKEditor Samples List for Java </h1> <h2 class="samples"> Basic Samples </h2> <ul class="samples"> <li><a class="samples" href="replace.jsp">Replace existing textarea elements by code</a><br /> Replacement of selected textarea elements with CKEditor instances by using a JavaScript call.</li> <li><a class="samples" href="replaceall.jsp">Replace all textarea elements by code</a><br /> Replacement of all textarea elements with CKEditor instances by using a JavaScript call.</li> <li><a class="samples" href="standalone.jsp">Create CKEditor instances in Java</a><br /> Creating a CKEditor instance (no initial textarea element is required).</li> </ul> <h2 class="samples"> Advanced Samples </h2> <ul> <li><a class="samples" href="advanced.jsp">Create CKEditor instances in Java with event handler</a><br /> Creating a CKEditor instance (no initial textarea element is required) with advanced settings.</li> </ul> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/_samples/index.jsp
Java Server Pages
art
1,901
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %> <%@page import="java.util.HashMap"%> <%@page import="java.util.Map"%> <%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Replace Selected Textarea Elements &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type"/> <link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" /> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Replace Selected Textarea Elements Using Java Code </h1> <div class="description"> <p> This sample shows how to replace a selected <code>&lt;textarea&gt;</code> element with a CKEditor instance by using Java code. </p> <p> To replace a <code>&lt;textarea&gt;</code> element, place the following call at any point after the <code>&lt;textarea&gt;</code> element: </p> <pre class="samples"> &lt;ckeditor:replace replace="textarea_id" basePath="/ckeditor/" /&gt;</pre> <p> Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of the <code>&lt;textarea&gt;</code> element to be replaced. </p> </div> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <form action="assets/sample_posteddata.jsp" method="post"> <p> <label for="editor1"> Editor 1:</label> <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea> </p> <p> <input type="submit" value="Submit"/> </p> </form> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> <ckeditor:replace replace="editor1" basePath="../ckeditor/" /> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/_samples/replace.jsp
Java Server Pages
art
2,751
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %> <%@page import="com.ckeditor.CKEditorConfig"%> <%@page import="java.util.ArrayList"%> <%@page import="java.util.List"%> <%@page import="java.util.HashMap"%> <%@page import="java.util.Map"%> <%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Creating CKEditor Instances &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type"/> <link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" /> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Creating CKEditor Instances </h1> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <div class="description"> <p> This sample shows how to create a CKEditor instance with Java. </p> <pre class="samples"> &lt;% String value = "My first &lt;strong&gt;CKEditor&lt;/strong&gt; Java tag"; CKEditorConfig settings = new CKEditorConfig(); settings.addConfigValue("width", "500"); settings.addConfigValue("toolbar", "Basic"); %&gt; &lt;ckeditor:editor basePath="/ckeditor/" config="&lt;%=settings %&gt;" editor="textarea_id" value="&lt;%= value %&gt;"/&gt;</pre> <p> Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> and <code>name</code> attribute of the <code>&lt;textarea&gt;</code> element that will be created. </p> </div> <!-- This <fieldset> holds the HTML code that you will usually find in your pages. --> <form action="assets/sample_posteddata.jsp" method="post"> <p> <label for="editor1"> Editor 1:</label> </p> <p> <% String value = "My first <strong>CKEditor</strong> Java tag"; Map<String, String> attr = new HashMap<String, String>(); attr.put("rows", "8"); attr.put("cols", "50"); CKEditorConfig settings = new CKEditorConfig(); settings.addConfigValue("width", "500"); settings.addConfigValue("toolbar", "Basic"); %> <ckeditor:editor textareaAttributes="<%=attr %>" basePath="../ckeditor/" config="<%=settings %>" editor="editor1" value="<%= value %>"/> <input type="submit" value="Submit"/> </p> </form> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/_samples/standalone.jsp
Java Server Pages
art
3,237
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Replace All Textarea Elements &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type"/> <link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" /> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Replace All Textarea Elements Using JSP tag </h1> <div class="description"> <p> This sample shows how to replace all <code>&lt;textarea&gt;</code> elements with CKEditor by using JSP tag. </p> <p> To replace all <code>&lt;textarea&gt;</code> elements, place the following call at any point after the last <code>&lt;textarea&gt;</code> element: </p> <pre class="samples"> &lt;ckeditor:replaceAll basePath="/ckeditor/" /&gt;</pre> </div> <!-- This <div> holds alert messages to be displayed in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <form action="assets/sample_posteddata.jsp" method="post"> <p> <label for="editor1"> Editor 1:</label> <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea> </p> <p> <label for="editor2"> Editor 2:</label> <textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea> </p> <p> <input type="submit" value="Submit"/> </p> </form> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> <ckeditor:replaceAll basePath="../ckeditor/" /> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/_samples/replaceall.jsp
Java Server Pages
art
2,729
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %> <%@page import="com.ckeditor.CKEditorConfig"%> <%@page import="com.ckeditor.EventHandler"%> <%@page import="java.util.ArrayList"%> <%@page import="java.util.List"%> <%@page import="java.util.HashMap"%> <%@page import="java.util.Map"%> <%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Creating CKEditor Instances &mdash; CKEditor Sample</title> <meta content="text/html; charset=utf-8" http-equiv="content-type"/> <link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" /> </head> <body> <h1 class="samples"> CKEditor Sample &mdash; Creating CKEditor Instances </h1> <div class="description"> <p> This sample shows how to add event handlers to CKEditor with Java. </p> <p> A snippet of the configuration code can be seen below; check the source code of this page for the full definition: </p> <pre class="samples"> &lt;% CKEditorConfig settings = new CKEditorConfig(); settings.addConfigValue("skin", "office2003"); EventHandler eventHandler = new EventHandler(); eventHandler.addEventHandler("instanceReady", "function (ev) { alert(\"Loaded: \" + ev.editor.name); }"); String value = "Initial value"; %&gt; &lt;ckeditor:editor basePath="/ckeditor/" value="&lt;%=value %&gt;" config="&lt;%=settings %&gt;" editor="editor1" events="&lt;%=eventHandler %&gt;"/&gt; &lt;% settings.removeConfigValue("skin"); settings.addConfigValue("uiColor", "#ADE82E"); settings.addConfigValue("toolbar", "[['Format'],['Bold','Italic','Underline','Strike','-','Subscript','Superscript']]"); %&gt; &lt;ckeditor:replace basePath="/ckeditor/" config="&lt;%=settings %&gt;" replace="editor2" /&gt; </pre> </div> <!-- This <div> holds alert messages to be display in the sample page. --> <div id="alerts"> <noscript> <p> <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript support, like yours, you should still see the contents (HTML data) and you should be able to edit it normally, without a rich editor interface. </p> </noscript> </div> <!-- This <fieldset> holds the HTML code that you will usually find in your pages. --> <form action="assets/sample_posteddata.jsp" method="post"> <p> <label for="editor1"> Editor 1:</label> </p> <p> <% String value = "<p>This is some <strong>sample text</strong>. You are using <a href=\"http://ckeditor.com/\">CKEditor</a>.</p>"; CKEditorConfig settings = new CKEditorConfig(); settings.addConfigValue("skin", "office2003"); EventHandler eventHandler = new EventHandler(); eventHandler.addEventHandler("instanceReady", "function (ev) { alert(\"Loaded: \" + ev.editor.name); }"); %> <ckeditor:editor basePath="../ckeditor/" config="<%=settings %>" editor="editor1" value="<%= value %>" events="<%=eventHandler %>"/> </p> <p> <label for="editor2"> Editor 2:</label> <textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea> </p> <% settings.removeConfigValue("skin"); settings.addConfigValue("uiColor", "#ADE82E"); settings.addConfigValue("toolbar", "[['Format'],['Bold','Italic','Underline','Strike','-','Subscript','Superscript']]"); %> <ckeditor:replace basePath="../ckeditor/" config="<%=settings %>" replace="editor2" /> <input type="submit" value="Submit"/> </form> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/_samples/advanced.jsp
Java Server Pages
art
4,308
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <%@page import="com.ckeditor.SamplePostData"%> <%@page import="java.util.Enumeration"%> <%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Sample &mdash; CKEditor</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link type="text/css" rel="stylesheet" href="../../ckeditor/_samples/sample.css" /> </head> <body> <h1 class="samples"> CKEditor &mdash; Posted Data </h1> <table border="1" cellspacing="0" id="outputSample"> <colgroup><col width="100" /></colgroup> <thead> <tr> <th>Field&nbsp;Name</th> <th>Value</th> </tr> </thead> <% out.write(new SamplePostData(request).getAllFormFieldsAndValues()); %> </table> <div id="footer"> <hr /> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/CKEditor/3.6.1/_samples/assets/sample_posteddata.jsp
Java Server Pages
art
1,419
<!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>3.0</td> </tr> <tr> <td class="label">Release:</td><td>last-20071025 (<a href="release-notes.html">release notes</a>)</td> </tr> <tr> <td class="label bline">Compiled at:</td><td class="bline">Oct 25, 2007 [14:20] GMT</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><a href="examples/">Online demos</a></h2> <p> Even this it's not maintained anymore, here are 2 plugins that never were released, but are included in this last bundle: </p> <ul> <li> <a href="plugins/ObjectInspector/test.html">ObjectInspector</a> is a plugin that allows you to style any element. </li> <li> <a href="plugins/BreakQuote/test.html">BreakQuote</a> is useful in "reply to this message" type of editors, where you have a quote of the original message. Typing ENTER anywhere in this quote will break the element. </li> </ul> <p> Other demos below: </p> <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 &lt;title&gt;, &lt;!DOCTYPE...&gt; 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/HTMLArea-3.0-last-20071025.zip mv HTMLArea-3.0-last-20071025 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 "HTMLArea-3.0-last-20071025", 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:mihai_bazon@yahoo.com">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 Jul 14 13:20:53 CEST 2004 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/index.html
HTML
art
8,708
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>HTMLArea-3.0-last-20071025 release notes</title> <style> .fixme { color: red; } </style> </head> <body> <h1>HTMLArea-3.0-last-20071025 release notes</h1> <p>This release was compiled on Oct 25, 2007 [14:20] GMT.</p> <h2>LAST</h2> <p> By popular demand, I am releasing this last version of HTMLArea, even though the project is not anymore maintained. The changelist is pretty big but a burden to compile since so many years have passed. There are a lot of stability improvements, a few new plugins, etc. </p> <p> The end.<br />Oct 25, 2007 </p> <h2>3.0-rc1</h2> <p>Changes since 3.0-Beta:</p> <ul> <li> <b>New plugins</b> <ul> <li> ContextMenu plugin (provides a nice context menu with common operations, including table ops, link ops, etc.) </li> <li> CSS plugin (provides an easy way to insert/change CSS classes) </li> <li> FullPage plugin (allows HTMLArea to edit a whole HTML file, not only the content within &lt;body&gt;.) </li> </ul> </li> <li> <b>Changes in the SpellChecker plugin</b> <ul> <li> Many bugfixes: now it works ;-) Fully Unicode-safe. </li> <li> Speed and bandwidth optimization: reports the list of suggestions only once for each mispelled word; this helps in cases where you have, for instance, the word “HTMLArea” in 10 places all over the document; the list of suggestions for it--which is kind of huge--will only be included <em>once</em>. </li> <li> User interface improvements: the highlighted word will remain in view; in cases where it's normally outside, the window will be scrolled to it. </li> <li> Added a "Revert" button for those that change their minds ;-) </li> <li> Added a "Info" button which reports information about the document, retrieved by the server-side spell checker: total number of words, total number of mispelled words, number of suggestions made, spell check time, etc. More can be easily added. <span class="fixme">FIXME: this part is not yet internationalized.</span> </li> <li> The server-side spell checker now uses XML::DOM instead of HTML::Parser, which means that it will be unable to parse “tag-soup” HTML. It needs valid code. Usually HTMLArea generates valid code, but on rare occasions it might fail and the spell checker will report a gross error message. This gonna have to be fixed, but instead of making the spell checker accept invalid HTML I prefer to make HTMLArea generate valid code, so changes are to be done in other places ;-) </li> </ul> </li> <li> <b>Changes in the core editor</b> <ul> <li> Easier to setup: you only need to load <tt>htmlarea.js</tt>; other scripts will be loaded automatically. <a href="reference.html">Documentation</a> and <a href="examples/">examples</a> updated. </li> <li> Better plugin support (they register information about themselves with the editor; can register event handlers for the editor, etc.) </li> <li> New about box; check it out, it's cool ;-) </li> <li> Word cleaner (can be enabled to automatically kill Word crap on paste (see Config.killWordOnPaste); otherwise accessible by pressing CTRL-0 in the editor; a toolbar button will come up soon) </li> <li> Image preview in "insert image" dialog. Also allows modification of current image, if selected. </li> <li> New "insert link" dialog, allows target and title specification, allows editing links. </li> <li> Implemented support for text direction (left-to-right or right-to-left). </li> <li> Lots of bug fixes! ... and more, I guess ;-) an automatically generated <a href="ChangeLog">change log</a> is now available. </li> </ul> </li> </ul> <p>I don't have the power to go through the <a href="http://sourceforge.net/tracker/?atid=525656&group_id=69750&func=browse">bug system</a> at SourceForge now. Some of the bugs reported there may be fixed; I'll update their status, some other time. If you reported bugs there and now find them to be fixed, please let me know.</p> <h2>3.0-Beta</h2> <p>Changes since 3.0-Alpha:</p> <ul> <li>Performance improvements.</li> <li>Many bugs fixed.</li> <li>Plugin infrastructure.</li> <li>TableOperations plugin.</li> <li>SpellChecker plugin.</li> <li>Status bar.</li> <li>API for registering custom buttons and drop-down boxes in the toolbar.</li> <li>Toolbar can contain text labels.</li> <li>Cut, copy, paste, undo, redo buttons.</li> </ul> <hr /> <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> <!-- Created: Sun Aug 3 16:55:08 EEST 2003 --> <!-- hhmts start --> Last modified: Wed Mar 31 19:18:26 EEST 2004 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/release-notes.html
HTML
art
6,008
table, table td { border: 1px dashed #aaa; }
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/table-borders.css
CSS
art
45
.htmlarea { background: #fff; border: 1px solid #7f9db9; } .htmlarea iframe { border: none; padding: 0; margin: 0; } .htmlarea textarea { border: none; padding: 0; margin: 0; } .htmlarea .toolbar { cursor: default; background: ButtonFace; padding: 4px; border: 1px solid; border-color: ButtonHighlight ButtonHighlight ButtonShadow ButtonHighlight; } .htmlarea .toolbar table { font-family: tahoma,verdana,sans-serif; font-size: 8pt; } .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 { filter: gray() alpha(opacity = 25); 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: 8pt 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 ButtonHighlight; padding: 2px 4px; background-color: ButtonFace; color: ButtonText; font: 8pt 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: 8pt 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; } .htmlarea .toolbar table { font-family: tahoma,verdana,sans-serif; font-size: 8pt; margin-top: 0px; margin-bottom: 0px; border: none; } .htmlarea .toolbar td { border: none; padding: 0px; } .htmlarea .toolbar th { border: none; padding: 0px; }
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/htmlarea.css
CSS
art
4,555
a.htmlarea-anchor { color: #080; border: 1px solid #2c2; }
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/iframe.css
CSS
art
59
// I18N constants // LANG: "it", ENCODING: UTF-8 | ISO-8859-1 // Author: Fabio Rotondo <fabio@rotondo.it> // Update for 3.0 rc1: Giovanni Premuda <gpremuda@softwerk.it> HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "it", tooltips: { bold: "Grassetto", italic: "Corsivo", underline: "Sottolineato", strikethrough: "Barrato", subscript: "Pedice", superscript: "Apice", justifyleft: "Allinea a sinistra", justifycenter: "Allinea in centro", justifyright: "Allinea a destra", justifyfull: "Giustifica", insertorderedlist: "Lista ordinata", insertunorderedlist: "Lista puntata", outdent: "Decrementa indentazione", indent: "Incrementa indentazione", forecolor: "Colore del carattere", hilitecolor: "Colore di sfondo", inserthorizontalrule: "Linea orizzontale", createlink: "Inserisci un link", insertimage: "Inserisci un'immagine", inserttable: "Inserisci una tabella", htmlmode: "Visualizzazione HTML", popupeditor: "Editor a pieno schermo", about: "Info sull'editor", showhelp: "Aiuto sull'editor", textindicator: "Stile corrente", undo: "Annulla", redo: "Ripristina", cut: "Taglia", copy: "Copia", paste: "Incolla", lefttoright: "Scrivi da sinistra a destra", righttoleft: "Scrivi da destra a sinistra" }, buttons: { "ok": "OK", "cancel": "Annulla" }, msg: { "Path": "Percorso", "TEXT_MODE": "Sei in MODALITA' TESTO. Usa il bottone [<>] per tornare alla modalità WYSIWYG.", "IE-sucks-full-screen" : // translate here "The full screen mode is known to cause problems with Internet Explorer, " + "due to browser bugs that we weren't able to workaround. You might experience garbage " + "display, lack of editor functions and/or random browser crashes. If your system is Windows 9x " + "it's very likely that you'll get a 'General Protection Fault' and need to reboot.\n\n" + "You have been warned. Please press OK if you still want to try the full screen editor." }, dialogs: { "Annulla" : "Cancel", "Inserisci/modifica Link" : "Insert/Modify Link", "Nuova finestra (_blank)" : "New window (_blank)", "Nessuno (usa predefinito)" : "None (use implicit)", "OK" : "OK", "Altro" : "Other", "Stessa finestra (_self)" : "Same frame (_self)", "Target:" : "Target:", "Title (suggerimento):" : "Title (tooltip):", "Frame principale (_top)" : "Top frame (_top)", "URL:" : "URL:", "You must enter the URL where this link points to" : "Devi inserire un indirizzo per questo link" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/it.js
JavaScript
art
4,043
// I18N constants // LANG: "hu", ENCODING: UTF-8 // Author: Miklós Somogyi, <somogyine@vnet.hu> // 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", lefttoright: "Irány balról jobbra", righttoleft: "Irány jobbról balra" }, buttons: { "ok": "Rendben", "cancel": "Mégsem" }, msg: { "Path": "Hierarchia", "TEXT_MODE": "Forrás mód. Visszaváltás [<>] gomb", "IE-sucks-full-screen" : // translate here "A teljesképrenyős szerkesztés hibát okozhat Internet Explorer használata esetén, " + "ez a böngésző a hibája, amit nem tudunk kikerülni. Szemetet észlelhet a képrenyőn, " + "illetve néhány funkció hiányozhat és/vagy véletlenszerűen lefagyhat a böngésző. " + "Windows 9x operaciós futtatása esetén elég valószínű, hogy 'General Protection Fault' " + "hibát okoz és újra kell indítania a számítógépet.\n\n" + "Figyelmeztettük. Kérjük nyomja meg a Rendben gombot, ha mégis szeretné megnyitni a " + "szerkesztőt külön ablakban." }, dialogs: { "Cancel" : "Mégsem", "Insert/Modify Link" : "Hivatkozás Beszúrása/Módosítása", "New window (_blank)" : "Új ablak (_blank)", "None (use implicit)" : "Nincs (use implicit)", "OK" : "OK", "Other" : "Más", "Same frame (_self)" : "Ugyanabba a keretbe (_self)", "Target:" : "Cél:", "Title (tooltip):" : "Cím (tooltip):", "Top frame (_top)" : "Felső keret (_top)", "URL:" : "URL:", "You must enter the URL where this link points to" : "Be kell írnia az URL-t, ahova a hivatkozás mutasson" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/hu.js
JavaScript
art
3,492
// I18N constants -- Japanese UTF-8 // by Manabu Onoue -- tmocsys@tmocsys.com HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "ja-utf8", tooltips: { bold: "太字", italic: "斜体", underline: "下線", strikethrough: "打ち消し線", subscript: "下付き添え字", superscript: "上付き添え字", justifyleft: "左寄せ", justifycenter: "中央寄せ", justifyright: "右寄せ", justifyfull: "均等割付", orderedlist: "番号付き箇条書き", unorderedlist: "記号付き箇条書き", outdent: "インデント解除", indent: "インデント設定", forecolor: "文字色", backcolor: "背景色", horizontalrule: "水平線", createlink: "リンク作成", insertimage: "画像挿入", inserttable: "テーブル挿入", htmlmode: "HTML表示切替", popupeditor: "エディタ拡大", about: "バージョン情報", help: "ヘルプ", textindicator: "現在のスタイル" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/ja-utf8.js
JavaScript
art
1,169
// I18N constants -- Japanese JIS // by Manabu Onoue -- tmocsys@tmocsys.com HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "ja-jis", tooltips: { bold: "$BB@;z(B", italic: "$B<PBN(B", underline: "$B2<@~(B", strikethrough: "$BBG$A>C$7@~(B", subscript: "$B2<IU$-E:$(;z(B", superscript: "$B>eIU$-E:$(;z(B", justifyleft: "$B:84s$;(B", justifycenter: "$BCf1{4s$;(B", justifyright: "$B1&4s$;(B", justifyfull: "$B6QEy3dIU(B", orderedlist: "$BHV9fIU$-2U>r=q$-(B", unorderedlist: "$B5-9fIU$-2U>r=q$-(B", outdent: "$B%$%s%G%s%H2r=|(B", indent: "$B%$%s%G%s%H@_Dj(B", forecolor: "$BJ8;z?'(B", backcolor: "$BGX7J?'(B", horizontalrule: "$B?eJ?@~(B", createlink: "$B%j%s%/:n@.(B", insertimage: "$B2hA|A^F~(B", inserttable: "$B%F!<%V%kA^F~(B", htmlmode: "HTML$BI=<(@ZBX(B", popupeditor: "$B%(%G%#%?3HBg(B", about: "$B%P!<%8%g%s>pJs(B", help: "$B%X%k%W(B", textindicator: "$B8=:_$N%9%?%$%k(B" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/ja-jis.js
JavaScript
art
1,195
// I18N constants // LANG: "ru", ENCODING: UTF-8 | ISO-8859-1 // Author: Yulya Shtyryakova, <yulya@vdcom.ru> // 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: "ru", tooltips: { bold: "Полужирный", italic: "Наклонный", underline: "Подчеркнутый", strikethrough: "Перечеркнутый", subscript: "Нижний индекс", superscript: "Верхний индекс", justifyleft: "По левому краю", justifycenter: "По центру", justifyright: "По правому краю", justifyfull: "По ширине", orderedlist: "Нумерованный лист", unorderedlist: "Маркированный лист", outdent: "Уменьшить отступ", indent: "Увеличить отступ", forecolor: "Цвет шрифта", hilitecolor: "Цвет фона", horizontalrule: "Горизонтальный разделитель", createlink: "Вставить гиперссылку", insertimage: "Вставить изображение", inserttable: "Вставить таблицу", htmlmode: "Показать Html-код", popupeditor: "Увеличить редактор", about: "О редакторе", showhelp: "Помощь", textindicator: "Текущий стиль", undo: "Отменить", redo: "Повторить", cut: "Вырезать", copy: "Копировать", paste: "Вставить" }, buttons: { "ok": "OK", "cancel": "Отмена" }, msg: { "Path": "Путь", "TEXT_MODE": "Вы в режиме отображения Html-кода. нажмите кнопку [<>], чтобы переключиться в визуальный режим." } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/ru.js
JavaScript
art
2,356
// I18N constants // LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 // Author: Jiri Löw, <jirilow@jirilow.com> // 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: "cz", tooltips: { bold: "Tučně", italic: "Kurzíva", underline: "Podtržení", strikethrough: "Přeškrtnutí", subscript: "Dolní index", superscript: "Horní index", justifyleft: "Zarovnat doleva", justifycenter: "Na střed", justifyright: "Zarovnat doprava", justifyfull: "Zarovnat do stran", orderedlist: "Seznam", unorderedlist: "Odrážky", outdent: "Předsadit", indent: "Odsadit", forecolor: "Barva písma", hilitecolor: "Barva pozadí", horizontalrule: "Vodorovná čára", createlink: "Vložit odkaz", insertimage: "Vložit obrázek", inserttable: "Vložit tabulku", htmlmode: "Přepnout HTML", popupeditor: "Nové okno editoru", about: "O této aplikaci", showhelp: "Nápověda aplikace", textindicator: "Zvolený styl", undo: "Vrátí poslední akci", redo: "Opakuje poslední akci", cut: "Vyjmout", copy: "Kopírovat", paste: "Vložit" }, buttons: { "ok": "OK", "cancel": "Zrušit" }, msg: { "Path": "Cesta", "TEXT_MODE": "Jste v TEXTOVÉM REŽIMU. Použijte tlačítko [<>] pro přepnutí do WYSIWIG." } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/cz.js
JavaScript
art
1,882
// 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.) HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "en", tooltips: { bold: "Bold", italic: "Italic", underline: "Underline", strikethrough: "Strikethrough", subscript: "Subscript", superscript: "Superscript", justifyleft: "Justify Left", justifycenter: "Justify Center", justifyright: "Justify Right", justifyfull: "Justify Full", orderedlist: "Ordered List", unorderedlist: "Bulleted List", outdent: "Decrease Indent", indent: "Increase Indent", forecolor: "Font Color", hilitecolor: "Background Color", horizontalrule: "Horizontal Rule", createlink: "Insert Web Link", insertimage: "Insert/Modify Image", inserttable: "Insert Table", htmlmode: "Toggle HTML Source", popupeditor: "Enlarge Editor", about: "About this editor", showhelp: "Help using editor", textindicator: "Current style", undo: "Undoes your last action", redo: "Redoes your last action", cut: "Cut selection", cut_ff: "Cut (please use CTRL-X in Mozilla/FireFox)", copy: "Copy selection", copy_ff: "Copy (please use CTRL-C in Mozilla/FireFox)", paste: "Paste from clipboard", paste_ff: "Paste (please use CTRL-V in Mozilla/FireFox)", lefttoright: "Direction left to right", righttoleft: "Direction right to left", removeformat: "Remove formatting", print: "Print document", killword: "Clear MSOffice tags" }, buttons: { "ok": "OK", "cancel": "Cancel" }, msg: { "Path": "Path", "TEXT_MODE": "You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.", "IE-sucks-full-screen" : // translate here "The full screen mode is known to cause problems with Internet Explorer, " + "due to browser bugs that we weren't able to workaround. You might experience garbage " + "display, lack of editor functions and/or random browser crashes. If your system is Windows 9x " + "it's very likely that you'll get a 'General Protection Fault' and need to reboot.\n\n" + "You have been warned. Please press OK if you still want to try the full screen editor.", "Moz-Clipboard" : "Unprivileged scripts cannot access Cut/Copy/Paste programatically " + "for security reasons. Click OK to see a technical note at mozilla.org " + "which shows you how to allow a script to access the clipboard.", "Link-Text" : "You need to select some text before creating a link" }, dialogs: { // Common "OK" : "OK", "Cancel" : "Cancel", "Alignment:" : "Alignment:", "Not set" : "Not set", "Left" : "Left", "Right" : "Right", "Texttop" : "Texttop", "Absmiddle" : "Absmiddle", "Baseline" : "Baseline", "Absbottom" : "Absbottom", "Bottom" : "Bottom", "Middle" : "Middle", "Top" : "Top", "Layout" : "Layout", "Spacing" : "Spacing", "Horizontal:" : "Horizontal:", "Horizontal padding" : "Horizontal padding", "Vertical:" : "Vertical:", "Vertical padding" : "Vertical padding", "Border thickness:" : "Border thickness:", "Leave empty for no border" : "Leave empty for no border", // Insert Link "Insert/Modify Link" : "Insert/Modify Link", "None (use implicit)" : "None (use implicit)", "New window (_blank)" : "New window (_blank)", "Same frame (_self)" : "Same frame (_self)", "Top frame (_top)" : "Top frame (_top)", "Other" : "Other", "Target:" : "Target:", "Title (tooltip):" : "Title (tooltip):", "URL:" : "URL:", "You must enter the URL where this link points to" : "You must enter the URL where this link points to", // Insert Table "Insert Table" : "Insert Table", "Rows:" : "Rows:", "Number of rows" : "Number of rows", "Cols:" : "Cols:", "Number of columns" : "Number of columns", "Width:" : "Width:", "Width of the table" : "Width of the table", "Percent" : "Percent", "Pixels" : "Pixels", "Em" : "Em", "Width unit" : "Width unit", "Positioning of this table" : "Positioning of this table", "Cell spacing:" : "Cell spacing:", "Space between adjacent cells" : "Space between adjacent cells", "Cell padding:" : "Cell padding:", "Space between content and border in cell" : "Space between content and border in cell", // Insert Image "Insert Image" : "Insert Image", "Image URL:" : "Image URL:", "Enter the image URL here" : "Enter the image URL here", "Preview" : "Preview", "Preview the image in a new window" : "Preview the image in a new window", "Alternate text:" : "Alternate text:", "For browsers that don't support images" : "For browsers that don't support images", "Positioning of this image" : "Positioning of this image", "Image Preview:" : "Image Preview:" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/en.js
JavaScript
art
7,266
// I18N constants // LANG: "lt", ENCODING: UTF-8 // Author: Jaroslav Šatkevič, <jaro@akl.lt> HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "en", tooltips: { bold: "Paryškinti", italic: "Kursyvas", underline: "Pabraukti", strikethrough: "Perbraukti", subscript: "Apatinis indeksas", superscript: "Viršutinis indeksas", justifyleft: "Lygiavimas pagal kairę", justifycenter: "Lygiavimas pagal centrą", justifyright: "Lygiavimas pagal dešinę", justifyfull: "Lygiuoti pastraipą", orderedlist: "Numeruotas sąrašas", unorderedlist: "Suženklintas sąrašas", outdent: "Sumažinti paraštę", indent: "Padidinti paraštę", forecolor: "Šrifto spalva", hilitecolor: "Fono spalva", horizontalrule: "Horizontali linija", createlink: "Įterpti nuorodą", insertimage: "Įterpti paveiksliuką", inserttable: "Įterpti lentelę", htmlmode: "Perjungti į HTML/WYSIWYG", popupeditor: "Išplėstas redagavimo ekranas/Enlarge Editor", about: "Apie redaktorių", showhelp: "Pagalba naudojant redaktorių", textindicator: "Dabartinis stilius", undo: "Atšaukia paskutini jūsų veiksmą", redo: "Pakartoja paskutinį atšauktą jūsų veiksmą", cut: "Iškirpti", copy: "Kopijuoti", paste: "Įterpti" }, buttons: { "ok": "OK", "cancel": "Atšaukti" }, msg: { "Path": "Kelias", "TEXT_MODE": "Jūs esete teksto režime. Naudokite [<>] mygtuką grįžimui į WYSIWYG.", "IE-sucks-full-screen" : // translate here "The full screen mode is known to cause problems with Internet Explorer, " + "due to browser bugs that we weren't able to workaround. You might experience garbage " + "display, lack of editor functions and/or random browser crashes. If your system is Windows 9x " + "it's very likely that you'll get a 'General Protection Fault' and need to reboot.\n\n" + "You have been warned. Please press OK if you still want to try the full screen editor." }, dialogs: { "Cancel" : "Atšaukti", "Insert/Modify Link" : "Idėti/Modifikuoti", "New window (_blank)" : "Naujas langas (_blank)", "None (use implicit)" : "None (use implicit)", "OK" : "OK", "Other" : "Kitas", "Same frame (_self)" : "Same frame (_self)", "Target:" : "Target:", "Title (tooltip):" : "Pavadinimas (tooltip):", "Top frame (_top)" : "Top frame (_top)", "URL:" : "URL:", "You must enter the URL where this link points to" : "Jus privalote nurodyti URL į kuri rodo šitą nuoroda" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/lt.js
JavaScript
art
3,164
// I18N constants // LANG: "el", ENCODING: UTF-8 | ISO-8859-7 // Author: Dimitris Glezos, dimitris@glezos.com HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "el", tooltips: { bold: "Έντονα", italic: "Πλάγια", underline: "Υπογραμμισμένα", strikethrough: "Διαγραμμένα", subscript: "Δείκτης", superscript: "Δείκτης", justifyleft: "Στοίχιση Αριστερά", justifycenter: "Στοίχιση Κέντρο", justifyright: "Στοίχιση Δεξιά", justifyfull: "Πλήρης Στοίχιση", orderedlist: "Αρίθμηση", unorderedlist: "Κουκκίδες", outdent: "Μείωση Εσοχής", indent: "Αύξηση Εσοχής", forecolor: "Χρώμα Γραμματοσειράς", hilitecolor: "Χρώμα Φόντου", horizontalrule: "Οριζόντια Γραμμή", createlink: "Εισαγωγή Συνδέσμου", insertimage: "Εισαγωγή/Τροποποίηση Εικόνας", inserttable: "Εισαγωγή Πίνακα", htmlmode: "Εναλλαγή σε/από HTML", popupeditor: "Μεγένθυνση επεξεργαστή", about: "Πληροφορίες", showhelp: "Βοήθεια", textindicator: "Παρών στυλ", undo: "Αναίρεση τελευταίας ενέργειας", redo: "Επαναφορά από αναίρεση", cut: "Αποκοπή", copy: "Αντιγραφή", paste: "Επικόλληση", lefttoright: "Κατεύθυνση αριστερά προς δεξιά", righttoleft: "Κατεύθυνση από δεξιά προς τα αριστερά" }, buttons: { "ok": "OK", "cancel": "Ακύρωση" }, msg: { "Path": "Διαδρομή", "TEXT_MODE": "Είστε σε TEXT MODE. Χρησιμοποιήστε το κουμπί [<>] για να επανέρθετε στο WYSIWIG.", "IE-sucks-full-screen": "Η κατάσταση πλήρης οθόνης έχει προβλήματα με τον Internet Explorer, " + "λόγω σφαλμάτων στον ίδιο τον browser. Αν το σύστημα σας είναι Windows 9x " + "μπορεί και να χρειαστείτε reboot. Αν είστε σίγουροι, πατήστε ΟΚ." }, dialogs: { "Cancel" : "Ακύρωση", "Insert/Modify Link" : "Εισαγωγή/Τροποποίηση σύνδεσμου", "New window (_blank)" : "Νέο παράθυρο (_blank)", "None (use implicit)" : "Κανένα (χρήση απόλυτου)", "OK" : "Εντάξει", "Other" : "Αλλο", "Same frame (_self)" : "Ίδιο frame (_self)", "Target:" : "Target:", "Title (tooltip):" : "Τίτλος (tooltip):", "Top frame (_top)" : "Πάνω frame (_top)", "URL:" : "URL:", "You must enter the URL where this link points to" : "Πρέπει να εισάγετε το URL που οδηγεί αυτός ο σύνδεσμος" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/el.js
JavaScript
art
3,861
// I18N constants : Vietnamese // LANG: "en", ENCODING: UTF-8 // Author: Nguyễn Đình Nam, <hncryptologist@yahoo.com> // Modified 21/07/2004 by Phạm Mai Quân <pmquan@4vn.org> HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "vn", tooltips: { bold: "Đậm", italic: "Nghiêng", underline: "Gạch Chân", strikethrough: "Gạch Xóa", subscript: "Viết Xuống Dưới", superscript: "Viết Lên Trên", justifyleft: "Căn Trái", justifycenter: "Căn Giữa", justifyright: "Căn Phải", justifyfull: "Căn Đều", insertorderedlist: "Danh Sách Có Thứ Tự (1, 2, 3)", insertunorderedlist: "Danh Sách Phi Thứ Tự (Chấm đầu dòng)", outdent: "Lùi Ra Ngoài", indent: "Thụt Vào Trong", forecolor: "Màu Chữ", hilitecolor: "Màu Nền", inserthorizontalrule: "Dòng Kẻ Ngang", createlink: "Tạo Liên Kết", insertimage: "Chèn Ảnh", inserttable: "Chèn Bảng", htmlmode: "Chế Độ Mã HTML", popupeditor: "Phóng To Ô Soạn Thảo", about: "Tự Giới Thiệu", showhelp: "Giúp Đỡ", textindicator: "Định Dạng Hiện Thời", undo: "Hủy thao tác trước", redo: "Lấy lại thao tác vừa bỏ", cut: "Cắt", copy: "Sao chép", paste: "Dán", lefttoright: "Viết từ trái sang phải", righttoleft: "Viết từ phải sang trái" }, buttons: { "ok": "Đồng ý", "cancel": "Hủy", "IE-sucks-full-screen" : // translate here "Chế độ phóng to ô soạn thảo có thể gây lỗi với Internet Explorer vì một số lỗi của trình duyệt này," + " vì thế chế độ này có thể sẽ không chạy. Hiển thị không đúng, lộn xộn, không có đầy đủ chức năng," + " và cũng có thể làm trình duyệt của bạn bị tắt ngang. Nếu bạn đang sử dụng Windows 9x " + "bạn có thể bị báo lỗi 'General Protection Fault' và máy tính của bạn buộc phải khởi động lại.\n\n" + "Chúng tôi đã cảnh báo bạn. Nhấn nút 'Đồng ý' nếu bạn vẫn muốn sử dụng tính năng này." }, msg: { "Path": "Đường Dẫn", "TEXT_MODE": "Bạn đang ở chế độ text. Sử dụng nút [<>] để chuyển lại chế độ WYSIWIG." }, dialogs: { "Cancel" : "Hủy", "Insert/Modify Link" : "Thêm/Chỉnh sửa đường dẫn", "New window (_blank)" : "Cửa sổ mới (_blank)", "None (use implicit)" : "Không (sử dụng implicit)", "OK" : "Đồng ý", "Other" : "Khác", "Same frame (_self)" : "Trên cùng khung (_self)", "Target:" : "Nơi hiện thị:", "Title (tooltip):" : "Tiêu đề (của hướng dẫn):", "Top frame (_top)" : "Khung trên cùng (_top)", "URL:" : "URL:", "You must enter the URL where this link points to" : "Bạn phải điền địa chỉ (URL) mà đường dẫn sẽ liên kết tới" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/vn.js
JavaScript
art
3,719
// 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.) HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "ro", tooltips: { bold: "Îngroşat", italic: "Italic", underline: "Subliniat", strikethrough: "Tăiat", subscript: "Indice jos", superscript: "Indice sus", justifyleft: "Aliniere la stânga", justifycenter: "Aliniere pe centru", justifyright: "Aliniere la dreapta", justifyfull: "Aliniere în ambele părţi", orderedlist: "Listă ordonată", unorderedlist: "Listă marcată", outdent: "Micşorează alineatul", indent: "Măreşte alineatul", forecolor: "Culoarea textului", hilitecolor: "Culoare de fundal", horizontalrule: "Linie orizontală", createlink: "Inserează/modifică link", insertimage: "Inserează/modifică imagine", inserttable: "Inserează un tabel", htmlmode: "Sursa HTML / WYSIWYG", popupeditor: "Maximizează editorul", about: "Despre editor", showhelp: "Documentaţie (devel)", textindicator: "Stilul curent", undo: "Anulează ultima acţiune", redo: "Reface ultima acţiune anulată", cut: "Taie în clipboard", copy: "Copie în clipboard", paste: "Aduce din clipboard", lefttoright: "Direcţia de scriere: stânga - dreapta", righttoleft: "Direcţia de scriere: dreapta - stânga" }, buttons: { "ok": "OK", "cancel": "Anulează" }, msg: { "Path": "Calea", "TEXT_MODE": "Eşti în modul TEXT. Apasă butonul [<>] pentru a te întoarce în modul WYSIWYG." }, dialogs: { "Cancel" : "Renunţă", "Insert/Modify Link" : "Inserează/modifcă link", "New window (_blank)" : "Fereastră nouă (_blank)", "None (use implicit)" : "Nimic (foloseşte ce-i implicit)", "OK" : "Acceptă", "Other" : "Alt target", "Same frame (_self)" : "Aceeaşi fereastră (_self)", "Target:" : "Ţinta:", "Title (tooltip):" : "Titlul (tooltip):", "Top frame (_top)" : "Fereastra principală (_top)", "URL:" : "URL:", "You must enter the URL where this link points to" : "Trebuie să introduceţi un URL" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/ro.js
JavaScript
art
3,037
// I18N constants // LANG: "he", ENCODING: UTF-8 // Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org> // 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: "he", tooltips: { bold: "מודגש", italic: "נטוי", underline: "קו תחתי", strikethrough: "קו אמצע", subscript: "כתב עילי", superscript: "כתב תחתי", justifyleft: " ישור לשמאל", justifycenter: "ישור למרכז", justifyright: "ישור לימין", justifyfull: "ישור לשורה מלאה", orderedlist: "רשימה ממוספרת", unorderedlist: "רשימה לא ממוספרת", outdent: "הקטן כניסה", indent: "הגדל כניסה", forecolor: "צבע גופן", hilitecolor: "צבע רקע", horizontalrule: "קו אנכי", createlink: "הכנס היפר-קישור", insertimage: "הכנס/שנה תמונה", inserttable: "הכנס טבלה", htmlmode: "שנה מצב קוד HTML", popupeditor: "הגדל את העורך", about: "אודות עורך זה", showhelp: "עזרה לשימוש בעורך", textindicator: "סגנון נוכחי", undo: "מבטל את פעולתך האחרונה", redo: "מבצע מחדש את הפעולה האחרונה שביטלת", cut: "גזור בחירה", copy: "העתק בחירה", paste: "הדבק מהלוח", lefttoright: "כיוון משמאל לימין", righttoleft: "כיוון מימין לשמאל" }, buttons: { "ok": "אישור", "cancel": "ביטול" }, msg: { "Path": "נתיב עיצוב", "TEXT_MODE": "אתה במצב טקסט נקי (קוד). השתמש בכפתור [<>] כדי לחזור למצב WYSIWYG (תצוגת עיצוב).", "IE-sucks-full-screen" : // translate here "מצב מסך מלא יוצר בעיות בדפדפן Internet Explorer, " + "עקב באגים בדפדפן לא יכולנו לפתור את זה. את/ה עלול/ה לחוות תצוגת זבל, " + "בעיות בתפקוד העורך ו/או קריסה של הדפדפן. אם המערכת שלך היא Windows 9x " + "סביר להניח שתקבל/י 'General Protection Fault' ותאלצ/י לאתחל את המחשב.\n\n" + "ראה/י הוזהרת. אנא לחץ/י אישור אם את/ה עדיין רוצה לנסות את העורך במסך מלא." }, dialogs: { "Cancel" : "ביטול", "Insert/Modify Link" : "הוסף/שנה קישור", "New window (_blank)" : "חלון חדש (_blank)", "None (use implicit)" : "ללא (השתמש ב-frame הקיים)", "OK" : "OK", "Other" : "אחר", "Same frame (_self)" : "אותו frame (_self)", "Target:" : "יעד:", "Title (tooltip):" : "כותרת (tooltip):", "Top frame (_top)" : "Frame עליון (_top)", "URL:" : "URL:", "You must enter the URL where this link points to" : "חובה לכתוב URL שאליו קישור זה מצביע" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/he.js
JavaScript
art
3,985
// I18N constants // LANG: "ch", ENCODING: UTF-8 // Samuel Stone, http://stonemicro.com/ HTMLArea.I18N = { // the following should be the filename without .js extension // it will be used for automatically load plugin language. lang: "ch", tooltips: { bold: "粗體", italic: "斜體", underline: "底線", strikethrough: "刪線", subscript: "下標", superscript: "上標", justifyleft: "靠左", justifycenter: "居中", justifyright: "靠右", justifyfull: "整齊", orderedlist: "順序清單", unorderedlist: "無序清單", outdent: "伸排", indent: "縮排", forecolor: "文字顏色", backcolor: "背景顏色", horizontalrule: "水平線", createlink: "插入連結", insertimage: "插入圖像", inserttable: "插入表格", htmlmode: "切換HTML原始碼", popupeditor: "伸出編輯系統", about: "關於 HTMLArea", help: "說明", textindicator: "字體例子", undo: "回原", redo: "重来", cut: "剪制选项", copy: "复制选项", paste: "贴上", lefttoright: "从左到右", righttoleft: "从右到左" }, buttons: { "ok": "好", "cancel": "取消" }, msg: { "Path": "途徑", "TEXT_MODE": "你在用純字編輯方式. 用 [<>] 按鈕轉回 所見即所得 編輯方式.", "IE-sucks-full-screen" : // translate here "整頁式在Internet Explorer 上常出問題, " + "因為這是 Internet Explorer 的無名問題,我們無法解決。" + "你可能看見一些垃圾,或遇到其他問題。" + "我們已警告了你. 如果要轉到 正頁式 請按 好.", "Moz-Clipboard" : "Unprivileged scripts cannot access Cut/Copy/Paste programatically " + "for security reasons. Click OK to see a technical note at mozilla.org " + "which shows you how to allow a script to access the clipboard." }, dialogs: { "Cancel" : "取消", "Insert/Modify Link" : "插入/改寫連結", "New window (_blank)" : "新窗户(_blank)", "None (use implicit)" : "無(use implicit)", "OK" : "好", "Other" : "其他", "Same frame (_self)" : "本匡 (_self)", "Target:" : "目標匡:", "Title (tooltip):" : "主題 (tooltip):", "Top frame (_top)" : "上匡 (_top)", "URL:" : "網址:", "You must enter the URL where this link points to" : "你必須輸入你要连结的網址" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/lang/ch.js
JavaScript
art
2,929
.htmlarea-object-inspector { border: 1px solid #7f9db9; } .htmlarea-object-inspector .content { padding: 0px 0.7em 0.7em 0.7em; } .htmlarea-object-inspector, .htmlarea-object-inspector table, .htmlarea-object-inspector select, .htmlarea-object-inspector button { font: 11px tahoma,verdana,sans-serif; } .htmlarea-object-inspector .section { -moz-border-radius: 4px; border: 1px solid #000; /* border: 2px groove ButtonFace; */ padding: 0.1em 0.6em; } .htmlarea-object-inspector .section .title { -moz-border-radius: 4px; position: relative; top: -1em; background-color: #555; color: #fff; /* float: left; */ padding: 1px 3px; border: 1px solid #000; /* border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; background-color: ButtonFace; */ font-weight: bold; } .htmlarea-object-inspector .section .title .tooltip { font-weight: normal; } .htmlarea-object-inspector .section .body { clear: both; position: relative; top: -0.5em; } .htmlarea-object-inspector .control-color-selector { width: 3em; border: 1px solid; border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; text-align: right; } .htmlarea-object-inspector .control-color-selector.hover { border-color: #00f; } .htmlarea-object-inspector .control-color-nuller { padding: 0px 1px 0px 0px; cursor: default; border-left: 1px solid ButtonShadow; background-color: ButtonFace; color: buttonText; } .htmlarea-object-inspector .control-color-nuller.hover { background-color: #fff; color: #f00; } .htmlarea-object-inspector .control-title h1 { overflow: hidden; white-space: nowrap; margin: 0px 0px 1em 0px; font-size: 120%; border-bottom: 1px solid ButtonShadow; padding: 0px 4px 2px 4px; } .htmlarea-object-inspector table.properties { border-collapse: collapse; } .htmlarea-object-inspector table.properties td { white-space: nowrap; } .htmlarea-object-inspector table.properties td.label { text-align: right; padding-right: 0.5em; } .htmlarea-object-inspector .control-input { display: inline; } .htmlarea-object-inspector input, .htmlarea-object-inspector select { border: 1px solid; border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; padding: 0px; margin: 0px; font: 11px tahoma,verdana,sans-serif; } .htmlarea-object-inspector input.active { border-color: #00f; background-color: #ff8; }
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ObjectInspector/object-inspector.css
CSS
art
2,410
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Pragma" content="no-cache"></meta> <title>Object inspector vertical</title> <script type="text/javascript"> function initDocument() { window.parent.ObjectInspector.editor.plugins["ObjectInspector"].instance.onDataLoaded(); } </script> </head> <body onload="initDocument()"> <div class="control-title"><code> args.onUpdate = function() { var spans = this.target.getElementsByTagName("span"); var source = this.oi.element; var txt = source.tagName.toLowerCase(); if (source.id) txt += "#" + source.id; if (source.className) txt += "." + source.className; spans[1].innerHTML = txt; }; </code><h1 title="Object Inspector"><span>O.I.</span> [<span></span>]</h1></div> <div class="content"> <table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;"> <tr> <td valign="top" style="padding-right: 5px"> <div class="section"> <div class="title"><span>Colors</span></div> <table border="0" cellpadding="0" cellspacing="0" class="body properties"> <tr> <td class="label"><span>Background color:</span></td> <td><div class="control-color-selector"><code> args.type = "style[backgroundColor]"; </code><span>Choose bg color</span></div></td> </tr> <tr> <td class="label"><span>Foreground color:</span></td> <td><div class="control-color-selector"><code> args.type = "style[color]"; </code><span>Choose text color</span></div></td> </tr> </table> </div> <div style="text-align: center; padding: 5px 0"> <button class="control-button-makeDiv">Make div</button> <button class="control-button-makeSpan">Make span</button> </div> </td> <td valign="top" style="padding-right: 5px"> <div class="section"> <div class="title"><span>Layout</span></div> <table border="0" cellpadding="0" cellspacing="0" class="body properties"> <tr> <td class="label"><span>Padding:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[paddingTop]"; </code><span>Top padding</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[paddingRight]"; </code><span>Right padding</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[paddingBottom]"; </code><span>Bottom padding</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[paddingLeft]"; </code><span>Left padding</span></div></td> </tr> <tr> <td class="label"><span>Margin:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[marginTop]"; </code><span>Top margin</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[marginRight]"; </code><span>Right margin</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[marginBottom]"; </code><span>Bottom margin</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[marginLeft]"; </code><span>Left margin</span></div></td> </tr> <tr> <td class="label"><span>Width:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[width]"; </code><span>Element width</span></div></td> <td class="label" colspan="2"><span>Height:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[height]"; </code><span>Element height</span></div></td> </tr> <tr> <td class="label"><span>Float:</span></td> <td colspan="4"><div class="control-select"><code> args.options = { "none" : "None", "left" : "Left", "right" : "Right" }; args.onUpdate = function() { if (HTMLArea.is_ie) this.setValue(this.oi.element.style.getAttribute("float")); else this.setValue(this.oi.element.style.getPropertyValue("float")); }; args.onSelect = function() { if (HTMLArea.is_ie) { this.oi.element.style.setAttribute("float", this.getValue(), ""); this.oi.redraw(); } else this.oi.element.style.setProperty("float", this.getValue(), ""); }; </code><span>Floating element?</span></div></td> </tr> </table> </div> </td> <td valign="top"> <div class="section"> <div class="title"><span>Borders</span></div> <table border="0" cellpadding="0" cellspacing="0" class="body properties" style="text-align: center"> <tr> <td rowspan="2" class="label"><span>Style:</span></td> <td colspan="2"><div class="control-select-border-style"><code> args.type = "borderTopStyle"; </code><span>Top border style</span></div></td> <td colspan="2"><div class="control-select-border-style"><code> args.type = "borderRightStyle"; </code><span>Right border style</span></div></td> </tr> <tr> <td colspan="2"><div class="control-select-border-style"><code> args.type = "borderBottomStyle"; </code><span>Bottom border style</span></div></td> <td colspan="2"><div class="control-select-border-style"><code> args.type = "borderLeftStyle"; </code><span>Left border style</span></div></td> </tr> <tr> <td class="label"><span>Thickness:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[borderTopWidth]"; </code><span>Top border thickness</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[borderRightWidth]"; </code><span>Right border thickness</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[borderBottomWidth]"; </code><span>Bottom border thickness</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[borderLeftWidth]"; </code><span>Left border thickness</span></div></td> </tr> <tr> <td class="label"><span>Color:</span></td> <td><div class="control-color-selector"><code> args.type = "style[borderTopColor]"; </code><span>Select top border color</span></div></td> <td><div class="control-color-selector"><code> args.type = "style[borderRightColor]"; </code><span>Select right border color</span></div></td> <td><div class="control-color-selector"><code> args.type = "style[borderBottomColor]"; </code><span>Select bottom border color</span></div></td> <td><div class="control-color-selector"><code> args.type = "style[borderLeftColor]"; </code><span>Select left border color</span></div></td> </tr> </table> </div> </td> </tr> </table> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ObjectInspector/oi-horizontal.html
HTML
art
9,248
// I18N for ObjectInspector ObjectInspector.I18N = { };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ObjectInspector/lang/en.js
JavaScript
art
57
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> --> <html> <head> <title>Test of ObjectInspector</title> <script type="text/javascript"> _editor_url = "../../"; </script> <!-- load the main HTMLArea files --> <script type="text/javascript" src="../../htmlarea.js"></script> <script type="text/javascript" src="../../lang/en.js"></script> <script type="text/javascript" src="../../dialog.js"></script> <!-- <script type="text/javascript" src="popupdiv.js"></script> --> <script type="text/javascript" src="../../popupwin.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("ObjectInspector"); HTMLArea.loadPlugin("TableOperations"); HTMLArea.loadPlugin("SpellChecker"); HTMLArea.loadPlugin("FullPage"); HTMLArea.loadPlugin("ContextMenu"); function initDocument() { var editor = new HTMLArea("editor"); editor.registerPlugin(ObjectInspector, { parent: 'object-inspector', layout: 'H' }); editor.registerPlugin(FullPage); editor.registerPlugin(TableOperations); editor.registerPlugin(SpellChecker); editor.registerPlugin(ContextMenu); editor.generate(); } HTMLArea.onload = initDocument; </script> <style type="text/css"> @import url(../../htmlarea.css); @import url(object-inspector.css); .htmlarea-object-inspector { } </style> </head> <body onload="HTMLArea.init()"> <h1>Test of ObjectInspector</h1> <p> This was sponsored by Fabio Rotondo of <a href="http://www.os3.it/">OS3.it</a>. I'm not sure it ended up what Fabio wanted, but nonetheless it's pretty nice. Enjoy! </p> <textarea id="editor" style="height: 20em; width: 100%;"> &lt;h1 style="border-style: solid; border-color: rgb(0, 102, 51) rgb(204, 0, 0) rgb(204, 0, 204) rgb(255, 255, 0); padding: 5px; background-color: rgb(0, 204, 255); color: rgb(0, 51, 153);"&gt;The code&lt;/h1&gt; &lt;p&gt;HTML &lt;span style="border-style: solid; border-color: rgb(0, 0, 0); border-width: 1px 1px 1px 3px; padding: 2px; font-weight: bold; background-color: rgb(255, 204, 0); color: rgb(255, 0, 0);"&gt;here&lt;/span&gt; ;-)&lt;br /&gt;this is a great editor..&lt;br /&gt;&lt;/p&gt; </textarea> <div id="object-inspector" class="htmlarea-object-inspector"> </div> <hr /> <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> <!-- Created: Wed Oct 1 19:55:37 EEST 2003 --> <!-- hhmts start --> Last modified: Thu Oct 25 17:14:38 EEST 2007 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ObjectInspector/test.html
HTML
art
2,779
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Pragma" content="no-cache"></meta> <title>Object inspector vertical</title> <script type="text/javascript"> function initDocument() { window.parent.ObjectInspector.editor.plugins["ObjectInspector"].instance.onDataLoaded(); } </script> </head> <body onload="initDocument()"> <div class="control-title"><code> args.onUpdate = function() { var spans = this.target.getElementsByTagName("span"); var source = this.oi.element; var txt = source.tagName.toLowerCase(); if (source.id) txt += "#" + source.id; if (source.className) txt += "." + source.className; spans[1].innerHTML = txt; }; </code><h1 title="Object Inspector"><span>O.I.</span> [<span></span>]</h1></div> <div class="content"> <table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;"> <tr> <td valign="top" style="padding-right: 5px"> <div class="section"> <div class="title"><span>Colors</span></div> <table border="0" cellpadding="0" cellspacing="0" class="body properties"> <tr> <td class="label"><span>Background color:</span></td> <td><div class="control-color-selector"><code> args.type = "style[backgroundColor]"; </code><span>Choose bg color</span></div></td> </tr> <tr> <td class="label"><span>Foreground color:</span></td> <td><div class="control-color-selector"><code> args.type = "style[color]"; </code><span>Choose text color</span></div></td> </tr> </table> </div> <div style="text-align: center; padding: 5px 0"> <button class="control-button-makeDiv">Make div</button> <button class="control-button-makeSpan">Make span</button> </div> </td> </tr> <tr><td>&nbsp;</td></tr> <tr> <td valign="top" style="padding-right: 5px"> <div class="section"> <div class="title"><span>Layout</span></div> <table border="0" cellpadding="0" cellspacing="0" class="body properties"> <tr> <td class="label"><span>Padding:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[paddingTop]"; </code><span>Top padding</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[paddingRight]"; </code><span>Right padding</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[paddingBottom]"; </code><span>Bottom padding</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[paddingLeft]"; </code><span>Left padding</span></div></td> </tr> <tr> <td class="label"><span>Margin:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[marginTop]"; </code><span>Top margin</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[marginRight]"; </code><span>Right margin</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[marginBottom]"; </code><span>Bottom margin</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[marginLeft]"; </code><span>Left margin</span></div></td> </tr> <tr> <td class="label"><span>Width:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[width]"; </code><span>Element width</span></div></td> <td class="label" colspan="2"><span>Height:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[height]"; </code><span>Element height</span></div></td> </tr> <tr> <td class="label"><span>Float:</span></td> <td colspan="4"><div class="control-select"><code> args.options = { "none" : "None", "left" : "Left", "right" : "Right" }; args.onUpdate = function() { if (HTMLArea.is_ie) this.setValue(this.oi.element.style.getAttribute("float")); else this.setValue(this.oi.element.style.getPropertyValue("float")); }; args.onSelect = function() { if (HTMLArea.is_ie) { this.oi.element.style.setAttribute("float", this.getValue(), ""); this.oi.redraw(); } else this.oi.element.style.setProperty("float", this.getValue(), ""); }; </code><span>Floating element?</span></div></td> </tr> </table> </div> </td> </tr> <tr><td>&nbsp;</td></tr> <tr> <td valign="top"> <div class="section"> <div class="title"><span>Borders</span></div> <table border="0" cellpadding="0" cellspacing="0" class="body properties" style="text-align: center"> <tr> <td rowspan="2" class="label"><span>Style:</span></td> <td colspan="2"><div class="control-select-border-style"><code> args.type = "borderTopStyle"; </code><span>Top border style</span></div></td> <td colspan="2"><div class="control-select-border-style"><code> args.type = "borderRightStyle"; </code><span>Right border style</span></div></td> </tr> <tr> <td colspan="2"><div class="control-select-border-style"><code> args.type = "borderBottomStyle"; </code><span>Bottom border style</span></div></td> <td colspan="2"><div class="control-select-border-style"><code> args.type = "borderLeftStyle"; </code><span>Left border style</span></div></td> </tr> <tr> <td class="label"><span>Thickness:</span></td> <td><div class="control-input"><code> args.type = "numeric length style[borderTopWidth]"; </code><span>Top border thickness</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[borderRightWidth]"; </code><span>Right border thickness</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[borderBottomWidth]"; </code><span>Bottom border thickness</span></div></td> <td><div class="control-input"><code> args.type = "numeric length style[borderLeftWidth]"; </code><span>Left border thickness</span></div></td> </tr> <tr> <td class="label"><span>Color:</span></td> <td><div class="control-color-selector"><code> args.type = "style[borderTopColor]"; </code><span>Select top border color</span></div></td> <td><div class="control-color-selector"><code> args.type = "style[borderRightColor]"; </code><span>Select right border color</span></div></td> <td><div class="control-color-selector"><code> args.type = "style[borderBottomColor]"; </code><span>Select bottom border color</span></div></td> <td><div class="control-color-selector"><code> args.type = "style[borderLeftColor]"; </code><span>Select left border color</span></div></td> </tr> </table> </div> </td> </tr> </table> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ObjectInspector/oi-vertical.html
HTML
art
9,368
.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; }
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/spell-check-style.css
CSS
art
449
<!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 &mdash; the spell checker plugin interface for HTMLArea</li> <li>spell-checker-ui.html &mdash; the HTML code for the user interface</li> <li>spell-checker-ui.js &mdash; functionality of the user interface</li> <li>spell-checker-logic.cgi &mdash; Perl CGI script that checks a text given through POST for spelling errors</li> <li>spell-checker-style.css &mdash; style for mispelled words</li> <li>lang/en.js &mdash; 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> &mdash; 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>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/readme-tech.html
HTML
art
4,612
#! /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: spell-check-logic.cgi,v 1.4 2005/10/06 13:48:06 mishoo Exp $ use strict; # use utf8; # use encoding 'utf8'; use Encode; use Text::Aspell; use XML::DOM; use CGI; sub shit { 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'; my $page_style = $cgi->param('page_style'); if ($page_style) { $page_style = "<style type='text/css'>$page_style</style>"; } else { $page_style = ''; } # 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; # Perl is beautiful. my $spellcheck = sub { 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; } }; my $text = $node->getNodeValue; while ($text =~ /(\w[\w']*)/i) { 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); } $text = $node->getNodeValue; } }; my $check_inner_text = sub { my $node = shift; my $text = ''; for (my $i = $node->getFirstChild; defined $i; $i = $i->getNextSibling) { if ($i->getNodeType == TEXT_NODE) { &$spellcheck($i); } } }; my $parse_with_dom = sub { 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; } 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" /> $page_style <script type="text/javascript"> var suggested_words = { $js_suggested_words }; var spellcheck_info = { $js_spellcheck_info }; </script> </head> <body class="msh_htmlarea" 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>'; } shit;
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/spell-check-logic.cgi
Perl
art
7,151
#! /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: spell-check-logic.cgi,v 1.4 2005/10/06 13:48:06 mishoo Exp $ use strict; # use utf8; # use encoding 'utf8'; use Encode; use Text::Aspell; use XML::DOM; use CGI; sub shit { 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'; my $page_style = $cgi->param('page_style'); if ($page_style) { $page_style = "<style type='text/css'>$page_style</style>"; } else { $page_style = ''; } # 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; # Perl is beautiful. my $spellcheck = sub { 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; } }; my $text = $node->getNodeValue; while ($text =~ /(\w[\w']*)/i) { 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); } $text = $node->getNodeValue; } }; my $check_inner_text = sub { my $node = shift; my $text = ''; for (my $i = $node->getFirstChild; defined $i; $i = $i->getNextSibling) { if ($i->getNodeType == TEXT_NODE) { &$spellcheck($i); } } }; my $parse_with_dom = sub { 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; } 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" /> $page_style <script type="text/javascript"> var suggested_words = { $js_suggested_words }; var spellcheck_info = { $js_spellcheck_info }; </script> </head> <body class="msh_htmlarea" 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>'; } shit;
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/.svn/text-base/spell-check-logic.cgi.svn-base
Perl
art
7,151
// I18N constants // LANG: "nl", ENCODING: UTF-8 | ISO-8859-1 // Author: A.H van den Broek http://www.kontaktfm.nl // Email : tonbroek@kontaktfm.nl // 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" : "Weet u zeker dat u deze link wilt openen?", "Cancel" : "Annuleer", "Dictionary" : "Woordenboek", "Finished list of mispelled words" : "klaar met de lijst van fouten woorden", "I will open it in a new page." : "Ik zal het in een nieuwe pagina openen.", "Ignore all" : "alles overslaan", "Ignore" : "Overslaan", "NO_ERRORS" : "Geen fouten gevonden met dit woordenboek.", "NO_ERRORS_CLOSING" : "Spell checking is klaar, geen fouten gevonden. spell checking word gesloten...", "OK" : "OK", "Original word" : "Originele woord", "Please wait. Calling spell checker." : "Even wachten. spell checker wordt geladen.", "Please wait: changing dictionary to" : "even wachten: woordenboek wordt veranderd naar", "QUIT_CONFIRMATION" : "Dit zal alle veranderingen annuleren en de spell checker sluiten. Weet u het zeker?", "Re-check" : "Opnieuw", "Replace all" : "Alles vervangen", "Replace with" : "Vervangen met", "Replace" : "Vervangen", "Revert" : "Omkeren", "SC-spell-check" : "Spell-check", "Suggestions" : "Suggestie", "pliz weit ;-)" : "Even wachten ;-)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/nl.js
JavaScript
art
2,043
// I18N constants // LANG: "it", ENCODING: UTF-8 | ISO-8859-1 // Author: Fabio Rotondo, <fabio@rotondo.it> 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 ;-)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/it.js
JavaScript
art
1,693
// I18N constants // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 // Author: Broxx, <broxx@broxx.com> 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 ;-)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/de.js
JavaScript
art
1,629
// I18N constants // LANG: "hu", ENCODING: UTF-8 // Author: Miklós Somogyi, <somogyine@vnet.hu> // 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 ;-)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/hu.js
JavaScript
art
1,905
// I18N constants // LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 // Author: Jiri Löw, <jirilow@jirilow.com> // 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 ;-)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/cz.js
JavaScript
art
2,045
// 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 ;-)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/en.js
JavaScript
art
1,941
// I18N constants // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 // Author: Steen Sønderup, <steen@soenderup.com> // 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" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/da.js
JavaScript
art
1,874
// 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 ;-)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/ro.js
JavaScript
art
1,982
// 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" : "אנא אשר שברצונך לפתוח קישור זה", "Cancel" : "ביטול", "Dictionary" : "מילון", "Finished list of mispelled words" : "הסתיימה רשימת המילים המאויתות באופן שגוי", "I will open it in a new page." : "אני אפתח את זה בחלון חדש.", "Ignore all" : "התעלם מהכל", "Ignore" : "התעלם", "NO_ERRORS" : "לא נמצאו מילים מאויתות באופן שגוי עם המילון הנבחר.", "NO_ERRORS_CLOSING" : "בדיקת האיות נסתיימה, לא נמצאו מילים מאויתות באופן שגוי. נסגר כעת...", "OK" : "אישור", "Original word" : "המילה המקורית", "Please wait. Calling spell checker." : "אנא המתן. קורא לבודק איות.", "Please wait: changing dictionary to" : "אנא המתן: מחליף מילון ל-", "QUIT_CONFIRMATION" : "זה יבטל את השינויים ויצא מבודק האיות. אנא אשר.", "Re-check" : "בדוק מחדש", "Replace all" : "החלף הכל", "Replace with" : "החלף ב-", "Replace" : "החלף", "Revert" : "החזר שינויים", "SC-spell-check" : "בדיקת איות", "Suggestions" : "הצעות", "pliz weit ;-)" : "ענא המטן ;-)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/lang/he.js
JavaScript
art
2,252
<!-- 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: spell-check-ui.html,v 1.3 2005/10/06 13:32:57 mishoo Exp $ --> <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; border-spacing: 0; border-collapse: collapse; font-family: tahoma,verdana,sans-serif; font-size: 8pt; } iframe { background-color: #fff; color: #000; height: 100%; width: 99%; } .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: 8pt tahoma,verdana,sans-serif; } 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" /><input type="hidden" name="page_style" id="f_page_style" value="" /></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>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/SpellChecker/spell-check-ui.html
HTML
art
4,592
// none
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/BreakQuote/lang/en.js
JavaScript
art
8
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>HTMLArea 3.0 core test</title> <script type="text/javascript"> _editor_url = "../../"; _editor_lang = "en"; </script> <script type="text/javascript" src="../../htmlarea.js"></script> <script type="text/javascript" src="break-quote.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("ContextMenu"); HTMLArea.onload = function() { var editor = new HTMLArea("editor"); editor.config.pageStyle = "div.quote { padding-left: 5px; border-left: 1px solid #080; color: #080; }"; editor.registerPlugin(BreakQuote); editor.registerPlugin(ContextMenu); editor.generate(); }; HTMLArea.init(); </script> </head> <body> <h1>BreakQuote plugin</h1> <p> The purpose is to allow replying to emails, or something, where the original text is enclosed in a DIV with class "quote". Whenever you type ENTER in this field it will actually break the element. Try it above. </p> <textarea id="editor" rows="20" cols="80" style="width: 100%"> <div class="attribution">At blah blah, foobar wrote:</div> <div class="quote"><p>Foo bar</p><p>Foo, I said</p> <div class="quote"><p>Foo bar</p><p>Foo, I said</p> </div> <p>buzz</p> </div> </textarea> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/BreakQuote/test.html
HTML
art
1,389
<? ################################################################### ## ## Plugin for htmlArea, to run code through the server's HTML Tidy ## By Adam Wright, for The University of Western Australia ## This is the server-side script, which dirty code is run through. ## ## Distributed under the same terms as HTMLArea itself. ## This notice MUST stay intact for use (see license.txt). ## // Get the original source $source = $_POST['htisource_name']; $source = stripslashes($source); // Open a tidy process - I hope it's installed! $descriptorspec = array( 0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("file", "/dev/null", "a") ); $process = proc_open("tidy -config html-tidy-config.cfg", $descriptorspec, $pipes); // Make sure the program started and we got the hooks... // Either way, get some source code into $source if (is_resource($process)) { // Feed untidy source into the stdin fwrite($pipes[0], $source); fclose($pipes[0]); // Read clean source out to the browser while (!feof($pipes[1])) { //echo fgets($pipes[1], 1024); $newsrc .= fgets($pipes[1], 1024); } fclose($pipes[1]); // Clean up after ourselves proc_close($process); } else { // Better give them back what they came with, so they don't lose it all... $newsrc = "<body>\n" .$source. "\n</body>"; } // Split our source into an array by lines $srcLines = explode("\n",$newsrc); // Get only the lines between the body tags $startLn = 0; while ( strpos( $srcLines[$startLn++], '<body' ) === false && $startLn < sizeof($srcLines) ); $endLn = $startLn; while ( strpos( $srcLines[$endLn++], '</body' ) === false && $endLn < sizeof($srcLines) ); $srcLines = array_slice( $srcLines, $startLn, ($endLn - $startLn - 1) ); // Create a set of javascript code to compile a new source string foreach ($srcLines as $line) { $jsMakeSrc .= "\tns += '" . str_replace("'","\'",$line) . "\\n';\n"; } ?> <html> <head> <script type="text/javascript"> function setNewHtml() { var htRef = window.parent._editorRef.plugins['HtmlTidy']; htRef.instance.processTidied(tidyString()); } function tidyString() { var ns = '\n'; <?=$jsMakeSrc;?> return ns; } </script> </head> <body id="htiNewBody" onload="setNewHtml()"> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/HtmlTidy/html-tidy-logic.php
PHP
art
2,302
// I18N constants // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 // Author: Adam Wright, http://blog.hipikat.org/ // 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.) HtmlTidy.I18N = { "tidying" : "\n Tidying up the HTML source, please wait...", "HT-html-tidy" : "HTML Tidy" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/HtmlTidy/lang/en.js
JavaScript
art
559
// I18N for the FullPage plugin // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 // Author: Holger Hees, http://www.systemconcept.de // 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.) FullPage.I18N = { "Alternate style-sheet:": "Alternativer Stylesheet:", "Background color:": "Hintergrundfarbe:", "Cancel": "Abbrechen", "DOCTYPE:": "DOCTYPE:", "Document properties": "Dokumenteigenschaften", "Document title:": "Dokumenttitel:", "OK": "OK", "Primary style-sheet:": "Stylesheet:", "Text color:": "Textfarbe:" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/FullPage/lang/de.js
JavaScript
art
767
// I18N for the FullPage plugin // LANG: "fr", ENCODING: UTF-8 | ISO-8859-1 // Author: Cédric Guillemette, http://www.ebdata.com // 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.) FullPage.I18N = { "Alternate style-sheet:": "Feuille de style alternative:", "Background color:": "Couleur d'arrière plan:", "Cancel": "Annuler", "DOCTYPE:": "DOCTYPE:", "Document properties": "Propriétés de document", "Document title:": "Titre du document:", "OK": "OK", "Primary style-sheet:": "Feuille de style primaire:", "Text color:": "Couleur de texte:" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/FullPage/lang/fr.js
JavaScript
art
808
// I18N for the FullPage plugin // 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.) FullPage.I18N = { "Alternate style-sheet:": "Alternate style-sheet:", "Background color:": "Background color:", "Cancel": "Cancel", "DOCTYPE:": "DOCTYPE:", "Document properties": "Document properties", "Document title:": "Document title:", "OK": "OK", "Primary style-sheet:": "Primary style-sheet:", "Text color:": "Text color:" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/FullPage/lang/en.js
JavaScript
art
769
// I18N for the FullPage plugin // 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.) FullPage.I18N = { "Alternate style-sheet:": "Template CSS alternativ:", "Background color:": "Culoare de fundal:", "Cancel": "Renunţă", "DOCTYPE:": "DOCTYPE:", "Document properties": "Proprietăţile documentului", "Document title:": "Titlul documentului:", "OK": "Acceptă", "Primary style-sheet:": "Template CSS principal:", "Text color:": "Culoare text:" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/FullPage/lang/ro.js
JavaScript
art
800
// I18N for the FullPage plugin // LANG: "he", ENCODING: UTF-8 // Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org> // 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.) FullPage.I18N = { "Alternate style-sheet:": "גיליון סגנון אחר:", "Background color:": "צבע רקע:", "Cancel": "ביטול", "DOCTYPE:": "DOCTYPE:", "Document properties": "מאפייני מסמך", "Document title:": "כותרת מסמך:", "OK": "אישור", "Primary style-sheet:": "גיליון סגנון ראשי:", "Text color:": "צבע טקסט:" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/FullPage/lang/he.js
JavaScript
art
852
<html> <head> <title>Test of FullPage plugin</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> _editor_url = "../../"; </script> <!-- load the main HTMLArea files --> <script type="text/javascript" src="../../htmlarea.js"></script> <script type="text/javascript" src="../../lang/en.js"></script> <script type="text/javascript" src="../../dialog.js"></script> <!-- <script type="text/javascript" src="popupdiv.js"></script> --> <script type="text/javascript" src="../../popupwin.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("TableOperations"); HTMLArea.loadPlugin("SpellChecker"); HTMLArea.loadPlugin("FullPage"); function initDocument() { var editor = new HTMLArea("editor"); editor.registerPlugin(TableOperations); editor.registerPlugin(SpellChecker); editor.registerPlugin(FullPage); editor.generate(); } </script> <style type="text/css"> @import url(../../htmlarea.css); </style> </head> <body onload="initDocument()"> <h1>Test of FullPage plugin</h1> <textarea id="editor" style="height: 30em; width: 100%;"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;FullPage plugin for HTMLArea&lt;/title&gt; &lt;link rel="alternate stylesheet" href="http://dynarch.com/mishoo/css/dark.css" /&gt; &lt;link rel="stylesheet" href="http://dynarch.com/mishoo/css/cool-light.css" /&gt; &lt;/head&gt; &lt;body style="background-color: #ddddee; color: #000077;"&gt; &lt;table style="width:60%; height: 90%; margin: 2% auto 1% auto;" align="center" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tr&gt; &lt;td style="background-color: #ddeedd; border: 2px solid #002; height: 1.5em; padding: 2px; font: bold 24px Verdana;"&gt; FullPage plugin &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="background-color: #fff; border: 1px solid #aab; padding: 1em 3em; font: 12px Verdana;"&gt; &lt;p&gt; This plugin enables one to edit a full HTML file in &lt;a href="http://dynarch.com/htmlarea/"&gt;HTMLArea&lt;/a&gt;. This is not normally possible with just the core editor since it only retrieves the HTML inside the &lt;code&gt;body&lt;/code&gt; tag. &lt;/p&gt; &lt;p&gt; It provides the ability to change the &lt;code&gt;DOCTYPE&lt;/code&gt; of the document, &lt;code&gt;body&lt;/code&gt; &lt;code&gt;bgcolor&lt;/code&gt; and &lt;code&gt;fgcolor&lt;/code&gt; attributes as well as to add additional &lt;code&gt;link&lt;/code&gt;-ed stylesheets. Cool, eh? &lt;/p&gt; &lt;p&gt; The development of this plugin was initiated and sponsored by &lt;a href="http://thycotic.com"&gt;Thycotic Software Ltd.&lt;/a&gt;. That's also cool, isn't it? ;-) &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </textarea> <hr /> <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> <!-- Created: Wed Oct 1 19:55:37 EEST 2003 --> <!-- hhmts start --> Last modified on Sat Oct 25 01:06:59 2003 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/FullPage/test.html
HTML
art
3,737
<html> <head> <title>Document properties</title> <script type="text/javascript" src="../../../popups/popup.js"></script> <script type="text/javascript"> FullPage = window.opener.FullPage; // load the FullPage plugin and lang file ;-) window.resizeTo(400, 100); var accepted = { f_doctype : true, f_title : true, f_body_bgcolor : true, f_body_fgcolor : true, f_base_style : true, f_alt_style : true, f_charset : true }; var editor = null; function Init() { __dlg_translate(FullPage.I18N); __dlg_init(); var params = window.dialogArguments; for (var i in params) { if (i in accepted) { var el = document.getElementById(i); el.value = params[i]; } } editor = params.editor; document.getElementById("f_title").focus(); document.getElementById("f_title").select(); }; function onOK() { var required = { }; for (var i in required) { var el = document.getElementById(i); if (!el.value) { alert(required[i]); el.focus(); return false; } } var param = {}; for (var i in accepted) { var el = document.getElementById(i); param[i] = 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; } select, input, button { font: 11px Tahoma,Verdana,sans-serif; } button { width: 70px; } table .label { text-align: right; width: 12em; } .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; } #buttons { margin-top: 1em; border-top: 1px solid #999; padding: 2px; text-align: right; } </style> </head> <body onload="Init()"> <div class="title"><span>Document properties</span></div> <table style="width: 100%"> <tr> <td class="label"><span>Document title:</span></td> <td><input type="text" id="f_title" style="width: 100%" /></td> </tr> <tr> <td class="label"><span>DOCTYPE:</span></td> <td><input type="text" id="f_doctype" style="width: 100%" /></td> </tr> <tr> <td class="label"><span>Primary style-sheet:</span></td> <td><input type="text" id="f_base_style" style="width: 100%" /></td> </tr> <tr> <td class="label"><span>Alternate style-sheet:</span></td> <td><input type="text" id="f_alt_style" style="width: 100%" /></td> </tr> <tr> <td class="label"><span>Background color:</span></td> <td><input type="text" id="f_body_bgcolor" size="7" /></td> </tr> <tr> <td class="label"><span>Text color:</span></td> <td><input type="text" id="f_body_fgcolor" size="7" /></td> </tr> <tr> <td class="label"><span>Character set:</span></td> <td><select id="f_charset"> <option value=""></option> <option value="utf-8">UTF-8 (recommended)</option> <option value="windows-1251">cyrillic (WINDOWS-1251)</option> <option value="koi8-r">cyrillic (KOI8-R)</option> <option value="iso-8859-5">cyrillic (ISO-8859-5)</option> <option value="iso-8859-1">western (ISO-8859-1)</option> </select></td> </tr> </table> <div id="buttons"> <button type="button" name="ok" onclick="return onOK();"><span>OK</span></button> <button type="button" name="cancel" onclick="return onCancel();"><span>Cancel</span></button> </div> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/FullPage/popups/docprop.html
HTML
art
3,812
// I18N constants // LANG: "nl", ENCODING: UTF-8 | ISO-8859-1 // Author: Michel Weegeerink (info@mmc-shop.nl), http://mmc-shop.nl // 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": "Uitlijning", "All four sides": "Alle 4 zijden", "Background": "Achtergrond", "Baseline": "Basis", "Border": "Rand", "Borders": "Randen", "Bottom": "Onder", "CSS Style": "CSS Style", "Caption": "Opmerking", "Cell Properties": "Celeigenschappen", "Center": "Centreren", "Char": "Karakter", "Collapsed borders": "Geen randen", "Color": "Kleur", "Description": "Omschrijving", "FG Color": "Voorgrond", "Float": "Zwevend", "Frames": "Frames", "Height": "Hoogte", "How many columns would you like to merge?": "Hoeveel kolommen wilt u samenvoegen?", "How many rows would you like to merge?": "Hoeveel rijen wilt u samenvoegen?", "Image URL": "Afbeelding URL", "Justify": "Uitvullen", "Layout": "Opmaak", "Left": "Links", "Margin": "Marge", "Middle": "Midden", "No rules": "Geen regels", "No sides": "Geen zijlijnen", "None": "Geen", "Padding": "Celmarge", "Please click into some cell": "Klik in een cel a.u.b.", "Right": "Rechts", "Row Properties": "Rijeigenschappen", "Rules will appear between all rows and columns": "Regels verschijnen tussen alle rijen en kolommen", "Rules will appear between columns only": "Regels verschijnen enkel tussen de kolommen", "Rules will appear between rows only": "Regels verschijnen enkel tussen de rijen", "Rules": "Regels", "Spacing and padding": "Celmarge en afstand tussen cellen", "Spacing": "marge", "Summary": "Overzicht", "TO-cell-delete": "Cel verwijderen", "TO-cell-insert-after": "Voeg cel toe achter", "TO-cell-insert-before": "Voeg cel toe voor", "TO-cell-merge": "Cellen samenvoegen", "TO-cell-prop": "Celeigenschappen", "TO-cell-split": "Cel splitsen", "TO-col-delete": "Kolom verwijderen", "TO-col-insert-after": "Kolom invoegen achter", "TO-col-insert-before": "Kolom invoegen voor", "TO-col-split": "Kolom splitsen", "TO-row-delete": "Rij verwijderen", "TO-row-insert-above": "Rij invoegen boven", "TO-row-insert-under": "Rij invoegen onder", "TO-row-prop": "Rij eigenschappen", "TO-row-split": "Rij splitsen", "TO-table-prop": "Tabel eigenschappen", "Table Properties": "Tabel eigenschappen", "Text align": "Text uitlijning", "The bottom side only": "Enkel aan de onderkant", "The left-hand side only": "Enkel aan de linkerkant", "The right and left sides only": "Enkel aan de linker en rechterkant", "The right-hand side only": "Enkel aan de rechterkant", "The top and bottom sides only": "Enkel aan de bovenen onderkant", "The top side only": "Enkel aan de bovenkant", "Top": "Boven", "Unset color": "Wis kleur", "Vertical align": "Vertikale uitlijning", "Width": "Breedte", "not-del-last-cell": "HTMLArea kan de laatste cel in deze tabel niet verwijderen.", "not-del-last-col": "HTMLArea kan de laatste kolom in deze tabel niet verwijderen.", "not-del-last-row": "HTMLArea kan de laatste rij in deze tabel niet verwijderen.", "percent": "procent", "pixels": "pixels" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/nl.js
JavaScript
art
4,105
// I18N constants // LANG: "it", ENCODING: UTF-8 | ISO-8859-1 // Author: Fabio Rotondo <fabio@rotondo.it> 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" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/it.js
JavaScript
art
4,051
// I18N constants // LANG: "de", ENCODING: UTF-8 | ISO-8859-1 // Author: broxx, <broxx@broxx.com> 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" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/de.js
JavaScript
art
3,743
// I18N constants // LANG: "hu", ENCODING: UTF-8 // Author: Miklós Somogyi, <somogyine@vnet.hu> // 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" } };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/hu.js
JavaScript
art
1,822
// I18N constants // LANG: "fr", ENCODING: UTF-8 | ISO-8859-1 // Author: Cédric Guillemette, http://www.ebdata.com // 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": "Aligner", "All four sides": "Quatre cotés", "Background": "Arrière plan", "Baseline": "Ligne de base", "Border": "Bordure", "Borders": "Bordures", "Bottom": "Bas", "CSS Style": "Style [CSS]", "Caption": "Étiquette", "Cell Properties": "Propriétés de cellule", "Center": "Centre", "Char": "Charactère", "Collapsed borders": "Bordure effondrés", "Color": "Couleur", "Description": "Description", "FG Color": "Couleur de face", "Float": "Flotteur", "Frames": "Vues", "Height": "Largeur", "How many columns would you like to merge?": "Combien de colonnes voulez-vous fusionner?", "How many rows would you like to merge?": "Combien de rangées voulez-vous fusionner?", "Image URL": "URL pour l'image", "Justify": "Justifié", "Layout": "Arrangement", "Left": "Gauche", "Margin": "Marge", "Middle": "Milieu", "No rules": "Aucun règlement", "No sides": "Aucun côtés", "None": "Aucun", "Padding": "Remplissage", "Please click into some cell": "Cliquer sur une cellule", "Right": "Droit", "Row Properties": "Propriétés de rangée", "Rules will appear between all rows and columns": "Les règles vont apparaître entre les rangées et les cellules", "Rules will appear between columns only": "Les règles vont apparaître entre les colonnes seulement", "Rules will appear between rows only": "Les règles vont apparaître entre les rangées seulement", "Rules": "Les règles", "Spacing and padding": "Espacement et remplissage", "Spacing": "Espacement", "Summary": "Sommaire", "TO-cell-delete": "Supprimer une cellule", "TO-cell-insert-after": "Insérer une cellule après", "TO-cell-insert-before": "Insérer une cellule avant", "TO-cell-merge": "Fusionner les cellules", "TO-cell-prop": "Cell properties", "TO-cell-split": "Diviser la cellule", "TO-col-delete": "Supprimer la colonne", "TO-col-insert-after": "Insérer une colonne après", "TO-col-insert-before": "Insérer une colonne avant", "TO-col-split": "Diviser une colonne", "TO-row-delete": "Supprimer une rangée", "TO-row-insert-above": "Insérer une rangée avant", "TO-row-insert-under": "Insérer une rangée après", "TO-row-prop": "Propriétés de rangée", "TO-row-split": "Diviser la rangée", "TO-table-prop": "Propriétés de table", "Table Properties": "Propriétés de table", "Text align": "Aligner le texte", "The bottom side only": "Côté du bas seulement", "The left-hand side only": "Côté gauche seulement", "The right and left sides only": "Côté gauche et droit seulement", "The right-hand side only": "Côté droit seulement", "The top and bottom sides only": "Côté haut et bas seulement", "The top side only": "Côté haut seulement", "Top": "Haut", "Unset color": "Enlever la couleur", "Vertical align": "Alignement vertical", "Width": "Longeur", "not-del-last-cell": "HTMLArea refuse de supprimer la dernière cellule de la rangée.", "not-del-last-col": "HTMLArea refuse de supprimer la dernière colonne de la table.", "not-del-last-row": "HTMLArea refuse de supprimer la dernière rangée de la table", "percent": "pourcentage", "pixels": "pixels" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/fr.js
JavaScript
art
4,494
// I18N constants // LANG: "cz", ENCODING: UTF-8 | ISO-8859-2 // Author: Jiri Löw, <jirilow@jirilow.com> // 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ů" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/cz.js
JavaScript
art
4,364
// 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", "Apply style to all cells": "Apply style to all cells", "Background": "Background", "Baseline": "Baseline", "Border": "Border", "Borders": "Borders", "Bottom": "Bottom", "CSS Style": "Style", "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", "Not set": "Not set", "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", "Aborted: please enter a positive integer": "Aborted: please enter a positive integer", "Top": "Top", "Unset color": "Unset color", "Vertical align": "Vertical align", "Width": "Width", "not-del-last-cell": "Cannot delete the last cell in a row.", "not-del-last-col": "Cannot delete the last column in a table.", "not-del-last-row": "Cannot delete the last row in a table.", "percent": "percent", "pixels": "pixels", "points": "points" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/en.js
JavaScript
art
4,355
// I18N constants // LANG: "da", ENCODING: UTF-8 | ISO-8859-1 // Author: Steen Sønderup, <steen@soenderup.com> // 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" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/da.js
JavaScript
art
3,751
// I18N constants // LANG: "el", ENCODING: UTF-8 | ISO-8859-7 // Author: Dimitris Glezos, dimitris@glezos.com TableOperations.I18N = { "Align": "Στοίχηση", "All four sides": "Και οι 4 πλευρές", "Background": "Φόντο", "Baseline": "Baseline", "Border": "Περίγραμμα", "Borders": "Περιγράμματα", "Bottom": "Κάτω μέρος", "CSS Style": "Στυλ [CSS]", "Caption": "Λεζάντα", "Cell Properties": "Ιδιότητες Κελιού", "Center": "Κέντρο", "Char": "Χαρακτήρας", "Collapsed borders": "Συμπτυγμένα περιγράμματα", "Color": "Χρώμα", "Description": "Περιγραφή", "FG Color": "Χρώμα αντικειμένων", "Float": "Float", "Frames": "Frames", "Height": "Ύψος", "How many columns would you like to merge?": "Πόσες στήλες θέλετε να ενώσετε;", "How many rows would you like to merge?": "Πόσες γραμμές θέλετε να ενώσετε;", "Image URL": "URL εικόνας", "Justify": "Πλήρης στοίχηση", "Layout": "Διάταξη", "Left": "Αριστερά", "Margin": "Περιθώριο", "Middle": "Κέντρο", "No rules": "Χωρίς Γραμμές", "No sides": "No sides", "None": "Τίποτα", "Padding": "Εσοχή", "Please click into some cell": "Κάντε κλικ μέσα σε κάποιο κελί", "Right": "Δεξιά", "Row Properties": "Ιδιότητες Γραμμής", "Rules will appear between all rows and columns": "Γραμμές θα εμφανίζονται μεταξύ όλων των γραμμών και στηλών", "Rules will appear between columns only": "Γραμμές θα εμφανίζονται μόνο μεταξύ στηλών", "Rules will appear between rows only": "Γραμμές θα εμφανίζονται μόνο μεταξύ γραμμών", "Rules": "Γραμμές", "Spacing and padding": "Αποστάσεις και εσοχές", "Spacing": "Αποστάσεις", "Summary": "Σύνοψη", "TO-cell-delete": "Διαγραφή κελιού", "TO-cell-insert-after": "Εισαγωγή κελιού μετά", "TO-cell-insert-before": "Εισαγωγή κελιού πριν", "TO-cell-merge": "Συγχώνευση κελιών", "TO-cell-prop": "Ιδιότητες κελιού", "TO-cell-split": "Διαίρεση κελιού", "TO-col-delete": "Διαγραφή στήλης", "TO-col-insert-after": "Εισαγωγή στήλης μετά", "TO-col-insert-before": "Εισαγωγή στήλης πριν", "TO-col-split": "Διαίρεση στήλης", "TO-row-delete": "Διαγραφή γραμμής", "TO-row-insert-above": "Εισαγωγή γραμμής μετά", "TO-row-insert-under": "Εισαγωγή γραμμής πριν", "TO-row-prop": "Ιδιότητες γραμμής", "TO-row-split": "Διαίρεση γραμμής", "TO-table-prop": "Ιδιότητες πίνακα", "Table Properties": "Ιδιότητες πίνακα", "Text align": "Στοίχηση κειμένου", "The bottom side only": "Η κάτω πλευρά μόνο", "The left-hand side only": "Η αριστερή πλευρά μόνο", "The right and left sides only": "Οι δεξιές και αριστερές πλευρές μόνο", "The right-hand side only": "Η δεξιά πλευρά μόνο", "The top and bottom sides only": "Οι πάνω και κάτω πλευρές μόνο", "The top side only": "Η πάνω πλευρά μόνο", "Top": "Πάνω", "Unset color": "Αναίρεση χρώματος", "Vertical align": "Κατακόρυφη στοίχηση", "Width": "Πλάτος", "not-del-last-cell": "Δεν μπορεί να διαγραφεί το τελευταίο κελί σε μια γραμμή.", "not-del-last-col": "Δεν μπορεί να διαγραφεί η τελευταία στήλη σε ένα πίνακα.", "not-del-last-row": "Δεν μπορεί να διαγραφεί η τελευταία γραμμή σε ένα πίνακα.", "percent": "τοις εκατόν", "pixels": "pixels" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/el.js
JavaScript
art
5,120
// 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.) 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 pe verticală", "Width": "Lăţime", "not-del-last-cell": "HTMLArea refuză cu laşitate să şteargă ultima celulă din rând.", "not-del-last-col": "HTMLArea refuză cu laşitate să şteargă ultima coloamă din tabela.", "not-del-last-row": "HTMLArea refuză cu laşitate să şteargă ultimul rând din tabela.", "percent": "procente", "pixels": "pixeli" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/ro.js
JavaScript
art
4,395
// I18N constants // LANG: "he", ENCODING: UTF-8 // Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org> // 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": "ישור", "All four sides": "כל ארבעת הצדדים", "Background": "רקע", "Baseline": "קו בסיס", "Border": "גבול", "Borders": "גבולות", "Bottom": "תחתון", "CSS Style": "סגנון [CSS]", "Caption": "כותרת", "Cell Properties": "מאפייני תא", "Center": "מרכז", "Char": "תו", "Collapsed borders": "גבולות קורסים", "Color": "צבע", "Description": "תיאור", "FG Color": "צבע קידמה", "Float": "מרחף", "Frames": "מסגרות", "Height": "גובה", "How many columns would you like to merge?": "כמה טורים ברצונך למזג?", "How many rows would you like to merge?": "כמה שורות ברצונך למזג?", "Image URL": "URL התמונה", "Justify": "ישור", "Layout": "פריסה", "Left": "שמאל", "Margin": "שוליים", "Middle": "אמצע", "No rules": "ללא קווים", "No sides": "ללא צדדים", "None": "אין", "Padding": "ריווח בשוליים", "Please click into some cell": "אנא לחץ על תא כלשהו", "Right": "ימין", "Row Properties": "מאפייני שורה", "Rules will appear between all rows and columns": "קווים יופיעו בין כל השורות והטורים", "Rules will appear between columns only": "קווים יופיעו בין טורים בלבד", "Rules will appear between rows only": "קווים יופיעו בין שורות בלבד", "Rules": "קווים", "Spacing and padding": "ריווח ושוליים", "Spacing": "ריווח", "Summary": "סיכום", "TO-cell-delete": "מחק תא", "TO-cell-insert-after": "הכנס תא אחרי", "TO-cell-insert-before": "הכנס תא לפני", "TO-cell-merge": "מזג תאים", "TO-cell-prop": "מאפייני תא", "TO-cell-split": "פצל תא", "TO-col-delete": "מחק טור", "TO-col-insert-after": "הכנס טור אחרי", "TO-col-insert-before": "הכנס טור לפני", "TO-col-split": "פצל טור", "TO-row-delete": "מחק שורה", "TO-row-insert-above": "הכנס שורה לפני", "TO-row-insert-under": "הכנס שורה אחרי", "TO-row-prop": "מאפייני שורה", "TO-row-split": "פצל שורה", "TO-table-prop": "מאפייני טבלה", "Table Properties": "מאפייני טבלה", "Text align": "ישור טקסט", "The bottom side only": "הצד התחתון בלבד", "The left-hand side only": "הצד השמאלי בלבד", "The right and left sides only": "הצדדים הימני והשמאלי בלבד", "The right-hand side only": "הצד הימני בלבד", "The top and bottom sides only": "הצדדים העליון והתחתון בלבד", "The top side only": "הצד העליון בלבד", "Top": "עליון", "Unset color": "צבע לא נבחר", "Vertical align": "יישור אנכי", "Width": "רוחב", "not-del-last-cell": "HTMLArea מסרב בפחדנות למחוק את התא האחרון בשורה.", "not-del-last-col": "HTMLArea מסרב בפחדנות למחוק את הטור האחרון בטבלה.", "not-del-last-row": "HTMLArea מסרב בפחדנות למחוק את השורה האחרונה בטבלה.", "percent": "אחוז", "pixels": "פיקסלים" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/TableOperations/lang/he.js
JavaScript
art
4,732
// I18N constants // LANG: "fr", ENCODING: UTF-8 | ISO-8859-1 // Sponsored by http://www.ebdata.com // Author: Cédric Guillemette, <cguillemette@ebdata.com> // // (c) www.ebdata.com 2004 // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). DynamicCSS.I18N = { "Default" : "Défaut", "Undefined" : "Non défini", "DynamicCSSStyleTooltip" : "Choisir feuille de style" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/DynamicCSS/lang/fr.js
JavaScript
art
483
// I18N constants // LANG: "de", ENCODING: UTF-8 | ISO-8859-1 // Sponsored by http://www.systemconcept.de // Author: Holger Hees, <hhees@systemconcept.de> // // (c) systemconcept.de 2004 // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). DynamicCSS.I18N = { "Default" : "Default", "Undefined" : "Undefined", "DynamicCSSStyleTooltip" : "Choose stylesheet" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/DynamicCSS/lang/en.js
JavaScript
art
473
// I18N constants // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 // Sponsored by http://www.systemconcept.de // Author: Holger Hees, <hhees@systemconcept.de> // // (c) systemconcept.de 2004 // Distributed under the same terms as HTMLArea itself. // This notice MUST stay intact for use (see license.txt). CharacterMap.I18N = { "CharacterMapTooltip" : "Insert special character", "Insert special character" : "Insert special character", "HTML value:" : "HTML value:", "Cancel" : "Cancel" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/CharacterMap/lang/en.js
JavaScript
art
533
<html> <head> <title>Insert special character</title> <style type="text/css"> @import url(../../../htmlarea.css); td.character { font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; text-align: center; background: #FFF; padding: 4px; } td.character-hilite { background: Highlight; color: HighlightText; } 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; } select, input, button { font: 11px Tahoma,Verdana,sans-serif; } button { width: 70px; } table .label { text-align: right; width: 8em; } .title { background: none; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; border-bottom: 1px solid black; letter-spacing: 2px; } #buttons { margin-top: 1em; border-top: 1px solid #999; padding: 2px; text-align: right; } </style> <script type="text/javascript" src="../../../popups/popup.js"></script> <script type="text/javascript"> // HTMLSource based on HTMLArea XTD 1.5 (http://mosforge.net/projects/htmlarea3xtd/) modified by Holger Hees // Original Author - Bernhard Pfeifer novocaine@gmx.net CharacterMap = window.opener.CharacterMap; // load the CharacterMap plugin and lang file ;-) window.resizeTo(480, 300); // center on parent var x = opener.screenX + (opener.outerWidth - window.outerWidth) / 2; var y = opener.screenY + (opener.outerHeight - window.outerHeight) / 2; window.moveTo(x, y); function _CloseOnEsc() { if ( event.keyCode == 27 ) { window.close(); return; } } function Init() // run on page load { __dlg_translate(CharacterMap.I18N); __dlg_init(); document.body.onkeypress = _CloseOnEsc; var character = ''; // set default input to empty View( null, character ); } var oldView = null; function View( td, character ) // preview character { if (oldView) oldView.className = oldView.className.replace(/\s+character-hilite/, ''); document.getElementById( 'characterPreview' ).value = character; document.getElementById( 'showCharacter' ).value = character; if (td) (oldView = td).className += " character-hilite"; } function Set( string ) // return character { var character = string; __dlg_close( character ); } function onCancel() // cancel selection { __dlg_close( null ); return false; }; </script> </head> <body style="background: Buttonface; margin: 0px; padding: 0px" onload="Init();self.focus();"> <form method="get" style="margin:2px; padding:2px" onSubmit="Set(document.getElementById('showCharacter').value); return false;"> <table border="0" cellspacing="0" cellpadding="4" width="100%"> <tr> <td style="background: Buttonface" valign="center"><div style="padding: 1px; white-space: nowrap; font-family: tahoma,arial,sans-serif; font-size: 11px; font-weight: normal;">HTML value:<div id="characterPreview"></div></div></td> <td style="background: Buttonface" valign="center"><input type="text" name="showcharacter" id="showCharacter" value="" size="15" style="background: #fff; font-size: 11px;" /></td> <td style="background: Buttonface" width="100%"></td> </tr> </table> </form> <table border="0" cellspacing="1" cellpadding="0" width="100%" style="cursor: pointer; background: #ADAD9C; border: 1px inset;"> <tr> <td class="character" onMouseOver="View(this,'&amp;Yuml;')" onClick="Set('&Yuml;')">&Yuml;</td> <td class="character" onMouseOver="View(this,'&amp;scaron;')" onClick="Set('&scaron;')">&scaron;</td> <td class="character" onMouseOver="View(this,'&amp;#064;')" onClick="Set('&#064;')">@</td> <td class="character" onMouseOver="View(this,'&amp;quot;')" onClick="Set('&quot;')">&quot;</td> <td class="character" onMouseOver="View(this,'&amp;iexcl;')" onClick="Set('&iexcl;')">&iexcl;</td> <td class="character" onMouseOver="View(this,'&amp;cent;')" onClick="Set('&cent;')">&cent;</td> <td class="character" onMouseOver="View(this,'&amp;pound;')" onClick="Set('&pound;')">&pound;</td> <td class="character" onMouseOver="View(this,'&amp;curren;')" onClick="Set('&curren;')">&curren;</td> <td class="character" onMouseOver="View(this,'&amp;yen;')" onClick="Set('&yen;')">&yen;</td> <td class="character" onMouseOver="View(this,'&amp;brvbar;')" onClick="Set('&brvbar;')">&brvbar;</td> <td class="character" onMouseOver="View(this,'&amp;sect;')" onClick="Set('&sect;')">&sect;</td> <td class="character" onMouseOver="View(this,'&amp;uml;')" onClick="Set('&uml;')">&uml;</td> <td class="character" onMouseOver="View(this,'&amp;copy;')" onClick="Set('&copy;')">&copy;</td> <td class="character" onMouseOver="View(this,'&amp;ordf;')" onClick="Set('&ordf;')">&ordf;</td> <td class="character" onMouseOver="View(this,'&amp;laquo;')" onClick="Set('&laquo;')">&laquo;</td> <td class="character" onMouseOver="View(this,'&amp;not;')" onClick="Set('&not;')">&not</td> </tr><tr> <td class="character" onMouseOver="View(this,'&amp;macr;')" onClick="Set('&macr;')">&macr;</td> <td class="character" onMouseOver="View(this,'&amp;deg;')" onClick="Set('&deg;')">&deg;</td> <td class="character" onMouseOver="View(this,'&amp;plusmn;')" onClick="Set('&plusmn;')">&plusmn;</td> <td class="character" onMouseOver="View(this,'&amp;sup2;')" onClick="Set('&sup2;')">&sup2;</td> <td class="character" onMouseOver="View(this,'&amp;sup3;')" onClick="Set('&sup3;')">&sup3;</td> <td class="character" onMouseOver="View(this,'&amp;acute;')" onClick="Set('&acute;')">&acute;</td> <td class="character" onMouseOver="View(this,'&amp;micro;')" onClick="Set('&micro;')">&micro;</td> <td class="character" onMouseOver="View(this,'&amp;para;')" onClick="Set('&para;')">&para;</td> <td class="character" onMouseOver="View(this,'&amp;middot;')" onClick="Set('&middot;')">&middot;</td> <td class="character" onMouseOver="View(this,'&amp;cedil;')" onClick="Set('&cedil;')">&cedil;</td> <td class="character" onMouseOver="View(this,'&amp;sup1;')" onClick="Set('&sup1;')">&sup1;</td> <td class="character" onMouseOver="View(this,'&amp;ordm;')" onClick="Set('&ordm;')">&ordm;</td> <td class="character" onMouseOver="View(this,'&amp;raquo;')" onClick="Set('&raquo;')">&raquo;</td> <td class="character" onMouseOver="View(this,'&amp;frac14;')" onClick="Set('&frac14;')">&frac14;</td> <td class="character" onMouseOver="View(this,'&amp;frac12;')" onClick="Set('&frac12;')">&frac12;</td> <td class="character" onMouseOver="View(this,'&amp;frac34;')" onClick="Set('&frac34;')">&frac34;</td> </tr><tr> <td class="character" onMouseOver="View(this,'&amp;iquest;')" onClick="Set('&iquest;')">&iquest;</td> <td class="character" onMouseOver="View(this,'&amp;times;')" onClick="Set('&times;')">&times;</td> <td class="character" onMouseOver="View(this,'&amp;Oslash;')" onClick="Set('&Oslash;')">&Oslash;</td> <td class="character" onMouseOver="View(this,'&amp;divide;')" onClick="Set('&divide;')">&divide;</td> <td class="character" onMouseOver="View(this,'&amp;oslash;')" onClick="Set('&oslash;')">&oslash;</td> <td class="character" onMouseOver="View(this,'&amp;fnof;')" onClick="Set('&fnof;')">&fnof;</td> <td class="character" onMouseOver="View(this,'&amp;circ;')" onClick="Set('&circ;')">&circ;</td> <td class="character" onMouseOver="View(this,'&amp;tilde;')" onClick="Set('&tilde;')">&tilde;</td> <td class="character" onMouseOver="View(this,'&amp;ndash;')" onClick="Set('&ndash;')">&ndash;</td> <td class="character" onMouseOver="View(this,'&amp;mdash;')" onClick="Set('&mdash;')">&mdash;</td> <td class="character" onMouseOver="View(this,'&amp;lsquo;')" onClick="Set('&lsquo;')">&lsquo;</td> <td class="character" onMouseOver="View(this,'&amp;rsquo;')" onClick="Set('&rsquo;')">&rsquo;</td> <td class="character" onMouseOver="View(this,'&amp;sbquo;')" onClick="Set('&sbquo;')">&sbquo;</td> <td class="character" onMouseOver="View(this,'&amp;ldquo;')" onClick="Set('&ldquo;')">&ldquo;</td> <td class="character" onMouseOver="View(this,'&amp;rdquo;')" onClick="Set('&rdquo;')">&rdquo;</td> <td class="character" onMouseOver="View(this,'&amp;bdquo;')" onClick="Set('&bdquo;')">&bdquo;</td> </tr><tr> <td class="character" onMouseOver="View(this,'&amp;dagger;')" onClick="Set('&dagger;')">&dagger;</td> <td class="character" onMouseOver="View(this,'&amp;Dagger;')" onClick="Set('&Dagger;')">&Dagger;</td> <td class="character" onMouseOver="View(this,'&amp;bull;')" onClick="Set('&bull;')">&bull;</td> <td class="character" onMouseOver="View(this,'&amp;hellip;')" onClick="Set('&hellip;')">&hellip;</td> <td class="character" onMouseOver="View(this,'&amp;permil;')" onClick="Set('&permil;')">&permil;</td> <td class="character" onMouseOver="View(this,'&amp;lsaquo;')" onClick="Set('&lsaquo;')">&lsaquo;</td> <td class="character" onMouseOver="View(this,'&amp;rsaquo;')" onClick="Set('&rsaquo;')">&rsaquo;</td> <td class="character" onMouseOver="View(this,'&amp;euro;')" onClick="Set('&euro;')">&euro;</td> <td class="character" onMouseOver="View(this,'&amp;trade;')" onClick="Set('&trade;')">&trade;</td> <td class="character" onMouseOver="View(this,'&amp;Agrave;')" onClick="Set('&Agrave;')">&Agrave;</td> <td class="character" onMouseOver="View(this,'&amp;Aacute;')" onClick="Set('&Aacute;')">&Aacute;</td> <td class="character" onMouseOver="View(this,'&amp;Acirc;')" onClick="Set('&Acirc;')">&Acirc;</td> <td class="character" onMouseOver="View(this,'&amp;Atilde;')" onClick="Set('&Atilde;')">&Atilde;</td> <td class="character" onMouseOver="View(this,'&amp;Auml;')" onClick="Set('&Auml;')">&Auml;</td> <td class="character" onMouseOver="View(this,'&amp;Aring;')" onClick="Set('&Aring;')">&Aring;</td> <td class="character" onMouseOver="View(this,'&amp;AElig;')" onClick="Set('&AElig;')">&AElig;</td> </tr><tr> <td class="character" onMouseOver="View(this,'&amp;Ccedil;')" onClick="Set('&Ccedil;')">&Ccedil;</td> <td class="character" onMouseOver="View(this,'&amp;Egrave;')" onClick="Set('&Egrave;')">&Egrave;</td> <td class="character" onMouseOver="View(this,'&amp;Eacute;')" onClick="Set('&Eacute;')">&Eacute;</td> <td class="character" onMouseOver="View(this,'&amp;Ecirc;')" onClick="Set('&Ecirc;')">&Ecirc;</td> <td class="character" onMouseOver="View(this,'&amp;Euml;')" onClick="Set('&Euml;')">&Euml;</td> <td class="character" onMouseOver="View(this,'&amp;Igrave;')" onClick="Set('&Igrave;')">&Igrave;</td> <td class="character" onMouseOver="View(this,'&amp;Iacute;')" onClick="Set('&Iacute;')">&Iacute;</td> <td class="character" onMouseOver="View(this,'&amp;Icirc;')" onClick="Set('&Icirc;')">&Icirc;</td> <td class="character" onMouseOver="View(this,'&amp;Iuml;')" onClick="Set('&Iuml;')">&Iuml;</td> <td class="character" onMouseOver="View(this,'&amp;ETH;')" onClick="Set('&ETH;')">&ETH;</td> <td class="character" onMouseOver="View(this,'&amp;Ntilde;')" onClick="Set('&Ntilde;')">&Ntilde;</td> <td class="character" onMouseOver="View(this,'&amp;Ograve;')" onClick="Set('&Ograve;')">&Ograve;</td> <td class="character" onMouseOver="View(this,'&amp;Oacute;')" onClick="Set('&Oacute;')">&Oacute;</td> <td class="character" onMouseOver="View(this,'&amp;Ocirc;')" onClick="Set('&Ocirc;')">&Ocirc;</td> <td class="character" onMouseOver="View(this,'&amp;Otilde;')" onClick="Set('&Otilde;')">&Otilde;</td> <td class="character" onMouseOver="View(this,'&amp;Ouml;')" onClick="Set('&Ouml;')">&Ouml;</td> </tr><tr> <td class="character" onMouseOver="View(this,'&amp;reg;')" onClick="Set('&reg;')">&reg;</td> <td class="character" onMouseOver="View(this,'&amp;times;')" onClick="Set('&times;')">&times;</td> <td class="character" onMouseOver="View(this,'&amp;Ugrave;')" onClick="Set('&Ugrave;')">&Ugrave;</td> <td class="character" onMouseOver="View(this,'&amp;Uacute;')" onClick="Set('&Uacute;')">&Uacute;</td> <td class="character" onMouseOver="View(this,'&amp;Ucirc;')" onClick="Set('&Ucirc;')">&Ucirc;</td> <td class="character" onMouseOver="View(this,'&amp;Uuml;')" onClick="Set('&Uuml;')">&Uuml;</td> <td class="character" onMouseOver="View(this,'&amp;Yacute;')" onClick="Set('&Yacute;')">&Yacute;</td> <td class="character" onMouseOver="View(this,'&amp;THORN;')" onClick="Set('&THORN;')">&THORN;</td> <td class="character" onMouseOver="View(this,'&amp;szlig;')" onClick="Set('&szlig;')">&szlig;</td> <td class="character" onMouseOver="View(this,'&amp;agrave;')" onClick="Set('&agrave;')">&agrave;</td> <td class="character" onMouseOver="View(this,'&amp;aacute;')" onClick="Set('&aacute;')">&aacute;</td> <td class="character" onMouseOver="View(this,'&amp;acirc;')" onClick="Set('&acirc;')">&acirc;</td> <td class="character" onMouseOver="View(this,'&amp;atilde;')" onClick="Set('&atilde;')">&atilde;</td> <td class="character" onMouseOver="View(this,'&amp;auml;')" onClick="Set('&auml;')">&auml;</td> <td class="character" onMouseOver="View(this,'&amp;aring;')" onClick="Set('&aring;')">&aring;</td> <td class="character" onMouseOver="View(this,'&amp;aelig;')" onClick="Set('&aelig;')">&aelig;</td> </tr><tr> <td class="character" onMouseOver="View(this,'&amp;ccedil;')" onClick="Set('&ccedil;')">&ccedil;</td> <td class="character" onMouseOver="View(this,'&amp;egrave;')" onClick="Set('&egrave;')">&egrave;</td> <td class="character" onMouseOver="View(this,'&amp;eacute;')" onClick="Set('&eacute;')">&eacute;</td> <td class="character" onMouseOver="View(this,'&amp;ecirc;')" onClick="Set('&ecirc;')">&ecirc;</td> <td class="character" onMouseOver="View(this,'&amp;euml;')" onClick="Set('&euml;')">&euml;</td> <td class="character" onMouseOver="View(this,'&amp;igrave;')" onClick="Set('&igrave;')">&igrave;</td> <td class="character" onMouseOver="View(this,'&amp;iacute;')" onClick="Set('&iacute;')">&iacute;</td> <td class="character" onMouseOver="View(this,'&amp;icirc;')" onClick="Set('&icirc;')">&icirc;</td> <td class="character" onMouseOver="View(this,'&amp;iuml;')" onClick="Set('&iuml;')">&iuml;</td> <td class="character" onMouseOver="View(this,'&amp;eth;')" onClick="Set('&eth;')">&eth;</td> <td class="character" onMouseOver="View(this,'&amp;ntilde;')" onClick="Set('&ntilde;')">&ntilde;</td> <td class="character" onMouseOver="View(this,'&amp;ograve;')" onClick="Set('&ograve;')">&ograve;</td> <td class="character" onMouseOver="View(this,'&amp;oacute;')" onClick="Set('&oacute;')">&oacute;</td> <td class="character" onMouseOver="View(this,'&amp;ocirc;')" onClick="Set('&ocirc;')">&ocirc;</td> <td class="character" onMouseOver="View(this,'&amp;otilde;')" onClick="Set('&otilde;')">&otilde;</td> <td class="character" onMouseOver="View(this,'&amp;ouml;')" onClick="Set('&ouml;')">&ouml;</td> </tr><tr> <td class="character" onMouseOver="View(this,'&amp;divide;')" onClick="Set('&divide;')">&divide;</td> <td class="character" onMouseOver="View(this,'&amp;oslash;')" onClick="Set('&oslash;')">&oslash;</td> <td class="character" onMouseOver="View(this,'&amp;ugrave;')" onClick="Set('&ugrave;')">&ugrave;</td> <td class="character" onMouseOver="View(this,'&amp;uacute;')" onClick="Set('&uacute;')">&uacute;</td> <td class="character" onMouseOver="View(this,'&amp;ucirc;')" onClick="Set('&ucirc;')">&ucirc;</td> <td class="character" onMouseOver="View(this,'&amp;uuml;')" onClick="Set('&uuml;')">&uuml;</td> <td class="character" onMouseOver="View(this,'&amp;yacute;')" onClick="Set('&yacute;')">&yacute;</td> <td class="character" onMouseOver="View(this,'&amp;thorn;')" onClick="Set('&thorn;')">&thorn;</td> <td class="character" onMouseOver="View(this,'&amp;yuml;')" onClick="Set('&yuml;')">&yuml;</td> <td class="character" onMouseOver="View(this,'&amp;OElig;')" onClick="Set('&OElig;')">&OElig;</td> <td class="character" onMouseOver="View(this,'&amp;oelig;')" onClick="Set('&oelig;')">&oelig;</td> <td class="character" onMouseOver="View(this,'&amp;Scaron;')" onClick="Set('&Scaron;')">&Scaron;</td> <td class="character">&nbsp;</td> <td class="character">&nbsp;</td> <td class="character">&nbsp;</td> <td class="character">&nbsp;</td> </table><br /> <form style="text-align: center;"><button type="button" name="cancel" onclick="return onCancel();" class="submitInsertTable">Cancel</button></form> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/CharacterMap/popups/select_character.html
HTML
art
16,512
// none yet; this file is a stub. CSS.I18N = {};
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/CSS/lang/en.js
JavaScript
art
49
// I18N constants // LANG: "fr", ENCODING: UTF-8 | ISO-8859-1 // Author: Cédric Guillemette, http://www.ebdata.com // 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.) ContextMenu.I18N = { // Items that appear in menu. Please note that an underscore (_) // character in the translation (right column) will cause the following // letter to become underlined and be shortcut for that menu option. "Cut" : "Couper", "Copy" : "Copier", "Paste" : "Coller", "Image Properties" : "_Propriétés de l'image...", "Modify Link" : "_Modifier le lien...", "Check Link" : "_Vérifier le lien...", "Remove Link" : "_Supprimer le lien...", "Cell Properties" : "P_ropriétés de la cellule...", "Row Properties" : "Pr_opriétés de la rangée...", "Insert Row Before" : "Insérer une rangée a_vant", "Insert Row After" : "Insér_er une rangée après", "Delete Row" : "Suppr_imer une rangée", "Table Properties" : "Proprié_tés de la table...", "Insert Column Before" : "I_nsérer une colonne avant", "Insert Column After" : "Insérer une colonne _après", "Delete Column" : "_Supprimer la colonne", "Justify Left" : "Justifier _gauche", "Justify Center" : "Justifier _centre", "Justify Right" : "Justifier _droit", "Justify Full" : "Justifier p_lein", "Make link" : "Convertir en lien...", "Remove the" : "Supprimer", "Element" : "Élément...", // Other labels (tooltips and alert/confirm box messages) "Please confirm that you want to remove this element:" : "Confirmer la suppression de cet élément:", "Remove this node from the document" : "Supprimer ce noeud du document", "How did you get here? (Please report!)" : "Comment êtes-vous arrivé ici? (Please report!)", "Show the image properties dialog" : "Afficher le dialogue des propriétés d'image", "Modify URL" : "Modifier le URL", "Current URL is" : "Le URL courant est", "Opens this link in a new window" : "Ouvrir ce lien dans une nouvelle fenêtre", "Please confirm that you want to unlink this element." : "Voulez-vous vraiment enlever le lien présent sur cet élément.", "Link points to:" : "Lier les points jusqu'à:", "Unlink the current element" : "Enlever le lien sur cet élément", "Show the Table Cell Properties dialog" : "Afficher le dialogue des propriétés des cellules", "Show the Table Row Properties dialog" : "Afficher le dialogue des propriétés des rangées", "Insert a new row before the current one" : "Insérer une nouvelle rangée avant celle-ci", "Insert a new row after the current one" : "Insérer une nouvelle rangée après celle-ci", "Delete the current row" : "Supprimer la rangée courante", "Show the Table Properties dialog" : "Afficher le dialogue des propriétés de table", "Insert a new column before the current one" : "Insérer une nouvelle rangée avant celle-ci", "Insert a new column after the current one" : "Insérer une nouvelle colonne après celle-ci", "Delete the current column" : "Supprimer cette colonne", "Create a link" : "Créer un lien" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ContextMenu/lang/fr.js
JavaScript
art
4,606
// 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.) ContextMenu.I18N = { // Items that appear in menu. Please note that an underscore (_) // character in the translation (right column) will cause the following // letter to become underlined and be shortcut for that menu option. "Cut" : "Cut", "Copy" : "Copy", "Create anchor" : "Create _anchor...", "Modify anchor" : "Modify _anchor...", "Paste" : "Paste", "Image Properties" : "_Image Properties...", "Modify Link" : "_Modify Link...", "Check Link" : "Chec_k Link...", "Remove Link" : "_Remove Link or Anchor...", "Cell Properties" : "C_ell Properties...", "Row Properties" : "Ro_w Properties...", "Insert Row Before" : "I_nsert Row Before", "Insert Row After" : "In_sert Row After", "Delete Row" : "_Delete Row", "Delete Cell" : "Delete Cell", "Table Properties" : "_Table Properties...", "Insert Column Before" : "Insert _Column Before", "Insert Column After" : "Insert C_olumn After", "Delete Column" : "De_lete Column", "Justify Left" : "Justify Left", "Justify Center" : "Justify Center", "Justify Right" : "Justify Right", "Justify Full" : "Justify Full", "Make link" : "Make lin_k...", "Remove the" : "Remove the", "Element" : "Element...", "Insert paragraph before" : "Insert paragraph before", "Insert paragraph after" : "Insert paragraph after", // Other labels (tooltips and alert/confirm box messages) "Create a link target (anchor) at the selection" : "Create a link target (anchor) at the selection", "Edit the link target (anchor) at the selection" : "Edit the link target (anchor) at the selection", "Please confirm that you want to remove this element:" : "Please confirm that you want to remove this element:", "Remove this node from the document" : "Remove this node from the document", "How did you get here? (Please report!)" : "How did you get here? (Please report!)", "Show the image properties dialog" : "Show the image properties dialog", "Modify URL" : "Modify URL", "Current URL is" : "Current URL is", "Opens this link in a new window" : "Opens this link in a new window", "Please confirm that you want to unlink this element." : "Please confirm that you want to unlink this element.", "Link points to:" : "Link points to:", "Unlink the current element" : "Unlink the current element", "Show the Table Cell Properties dialog" : "Show the Table Cell Properties dialog", "Show the Table Row Properties dialog" : "Show the Table Row Properties dialog", "Insert a new row before the current one" : "Insert a new row before the current one", "Insert a new row after the current one" : "Insert a new row after the current one", "Delete the current row" : "Delete the current row", "Show the Table Properties dialog" : "Show the Table Properties dialog", "Insert a new column before the current one" : "Insert a new column before the current one", "Insert a new column after the current one" : "Insert a new column after the current one", "Delete the current column" : "Delete the current column", "Create a link" : "Create a link", "Insert a paragraph before the current node" : "Insert a paragraph before the current node", "Insert a paragraph after the current node" : "Insert a paragraph after the current node", "ID already in use, please type a different one" : "ID already in use, please type a different one." };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ContextMenu/lang/en.js
JavaScript
art
5,296
// I18N constants // LANG: "el", ENCODING: UTF-8 | ISO-8859-7 // Author: Dimitris Glezos, dimitris@glezos.com ContextMenu.I18N = { // Items that appear in menu. Please note that an underscore (_) // character in the translation (right column) will cause the following // letter to become underlined and be shortcut for that menu option. "Cut" : "Αποκοπή", "Copy" : "Αντιγραφή", "Paste" : "Επικόλληση", "Image Properties" : "Ιδιότητες Εικόνας...", "Modify Link" : "Τροποποίηση συνδέσμου...", "Check Link" : "Έλεγχος συνδέσμων...", "Remove Link" : "Διαγραφή συνδέσμου...", "Cell Properties" : "Ιδιότητες κελιού...", "Row Properties" : "Ιδιότητες γραμμής...", "Insert Row Before" : "Εισαγωγή γραμμής πριν", "Insert Row After" : "Εισαγωγή γραμμής μετά", "Delete Row" : "Διαγραφή γραμμής", "Table Properties" : "Ιδιότητες πίνακα...", "Insert Column Before" : "Εισαγωγή στήλης πριν", "Insert Column After" : "Εισαγωγή στήλης μετά", "Delete Column" : "Διαγραφή στήλης", "Justify Left" : "Στοίχηση Αριστερά", "Justify Center" : "Στοίχηση Κέντρο", "Justify Right" : "Στοίχηση Δεξιά", "Justify Full" : "Πλήρης Στοίχηση", "Make link" : "Δημιουργία συνδέσμου...", "Remove the" : "Αφαίρεση", "Element" : "στοιχείου...", // Other labels (tooltips and alert/confirm box messages) "Please confirm that you want to remove this element:" : "Είστε βέβαιος πως θέλετε να αφαιρέσετε το στοιχείο ", "Remove this node from the document" : "Αφαίρεση αυτού του κόμβου από το έγγραφο", "How did you get here? (Please report!)" : "Πώς ήρθατε μέχρι εδώ; (Παρακαλούμε αναφέρετε το!)", "Show the image properties dialog" : "Εμφάνιση διαλόγου με τις Ιδιότητες εικόνας", "Modify URL" : "Τροποποίηση URL", "Current URL is" : "Το τρέχων URL είναι", "Opens this link in a new window" : "Ανοίγει αυτό τον σύνδεσμο σε ένα νέο παράθυρο", "Please confirm that you want to unlink this element." : "Είστε βέβαιος πως θέλετε να αφαιρέσετε τον σύνδεσμο από αυτό το στοιχείο:", "Link points to:" : "Ο σύνδεμος οδηγεί εδώ:", "Unlink the current element" : "Αφαίρεση συνδέσμου από το παρών στοιχείο", "Show the Table Cell Properties dialog" : "Εμφάνιση διαλόγου με τις Ιδιότητες κελιού Πίνακα", "Show the Table Row Properties dialog" : "Εμφάνιση διαλόγου με τις Ιδιότητες γραμμής Πίνακα", "Insert a new row before the current one" : "Εισαγωγή μιας νέας γραμμής πριν την επιλεγμένη", "Insert a new row after the current one" : "Εισαγωγή μιας νέας γραμμής μετά την επιλεγμένη", "Delete the current row" : "Διαγραφή επιλεγμένης γραμμής", "Show the Table Properties dialog" : "Εμφάνιση διαλόγου με τις Ιδιότητες Πίνακα", "Insert a new column before the current one" : "Εισαγωγή νέας στήλης πριν την επιλεγμένη", "Insert a new column after the current one" : "Εισαγωγή νέας στήλης μετά την επιλεγμένη", "Delete the current column" : "Διαγραφή επιλεγμένης στήλης", "Create a link" : "Δημιουργία συνδέσμου" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ContextMenu/lang/el.js
JavaScript
art
5,290
// I18N constants // LANG: "he", ENCODING: UTF-8 // Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org> // 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.) ContextMenu.I18N = { // Items that appear in menu. Please note that an underscore (_) // character in the translation (right column) will cause the following // letter to become underlined and be shortcut for that menu option. "Cut" : "גזור", "Copy" : "העתק", "Paste" : "הדבק", "Image Properties" : "_מאפייני תמונה...", "Modify Link" : "_שנה קישור...", "Check Link" : "בדו_ק קישור...", "Remove Link" : "_הסר קישור...", "Cell Properties" : "מאפייני ת_א...", "Row Properties" : "מאפייני _טור...", "Insert Row Before" : "ה_כנס שורה לפני", "Insert Row After" : "הכנ_ס שורה אחרי", "Delete Row" : "_מחק שורה", "Table Properties" : "מאפייני ט_בלה...", "Insert Column Before" : "הכנס _טור לפני", "Insert Column After" : "הכנס ט_ור אחרי", "Delete Column" : "מח_ק טור", "Justify Left" : "ישור לשמאל", "Justify Center" : "ישור למרכז", "Justify Right" : "ישור לימין", "Justify Full" : "ישור לשורה מלאה", "Make link" : "צור קי_שור...", "Remove the" : "הסר את אלמנט ה-", "Element" : "...", // Other labels (tooltips and alert/confirm box messages) "Please confirm that you want to remove this element:" : "אנא אשר שברצונך להסיר את האלמנט הזה:", "Remove this node from the document" : "הסרה של node זה מהמסמך", "How did you get here? (Please report!)" : "איך הגעת הנה? (אנא דווח!)", "Show the image properties dialog" : "מציג את חלון הדו-שיח של מאפייני תמונה", "Modify URL" : "שינוי URL", "Current URL is" : "URL נוכחי הוא", "Opens this link in a new window" : "פתיחת קישור זה בחלון חדש", "Please confirm that you want to unlink this element." : "אנא אשר שאתה רוצה לנתק את אלמנט זה.", "Link points to:" : "הקישור מצביע אל:", "Unlink the current element" : "ניתוק את האלמנט הנוכחי", "Show the Table Cell Properties dialog" : "מציג את חלון הדו-שיח של מאפייני תא בטבלה", "Show the Table Row Properties dialog" : "מציג את חלון הדו-שיח של מאפייני שורה בטבלה", "Insert a new row before the current one" : "הוספת שורה חדשה לפני הנוכחית", "Insert a new row after the current one" : "הוספת שורה חדשה אחרי הנוכחית", "Delete the current row" : "מחיקת את השורה הנוכחית", "Show the Table Properties dialog" : "מציג את חלון הדו-שיח של מאפייני טבלה", "Insert a new column before the current one" : "הוספת טור חדש לפני הנוכחי", "Insert a new column after the current one" : "הוספת טור חדש אחרי הנוכחי", "Delete the current column" : "מחיקת את הטור הנוכחי", "Create a link" : "יצירת קישור" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ContextMenu/lang/he.js
JavaScript
art
4,866
/* styles for the ContextMenu /HTMLArea */ /* The ContextMenu plugin is (c) dynarch.com 2003. */ /* Distributed under the same terms as HTMLArea itself */ div.htmlarea-context-menu { position: absolute; border: 1px solid #aca899; padding: 2px; background-color: #fff; color: #000; cursor: default; z-index: 1000; } div.htmlarea-context-menu table { font: 8pt tahoma,verdana,sans-serif; border-collapse: collapse; } div.htmlarea-context-menu tr.item td.icon img { width: 18px; height: 18px; } div.htmlarea-context-menu tr.item td { height: 20px; } div.htmlarea-context-menu tr.item td.icon { padding: 0px 3px; background-color: #cdf; } div.htmlarea-context-menu tr.item td.label { padding-right: 10px; padding-left: 3px; } div.htmlarea-context-menu tr.separator td { padding: 2px 0px; } div.htmlarea-context-menu tr.separator td div { background-color: #aca899; overflow: hidden; height: 1px; font-size: 1px; } div.htmlarea-context-menu tr.separator td.icon { background-color: #cdf; } div.htmlarea-context-menu tr.separator td.icon div { /* margin-left: 3px; */ background-color: #fff; } div.htmlarea-context-menu tr.separator td.label div { margin-right: 3px; } div.htmlarea-context-menu tr.item.hover { background-color: #316ac5; color: #fff; } div.htmlarea-context-menu tr.item.hover td.icon { background-color: #619af5; }
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ContextMenu/menu.css
CSS
art
1,393
// 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.) ListType.I18N = { "Decimal" : "Decimal numbers", "Lower roman" : "Lower roman numbers", "Upper roman" : "Upper roman numbers", "Lower latin" : "Lower latin letters", "Upper latin" : "Upper latin letters", "Lower greek" : "Lower greek letters", "ListStyleTooltip" : "Choose list style type (for ordered lists)" };
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/plugins/ListType/lang/en.js
JavaScript
art
809
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>HTMLArea-3.0 Reference</title> <style type="text/css"> @import url(htmlarea.css); body { font: 14px verdana,sans-serif; background: #fff; color: #000; } h1, h2 { font-family:tahoma,sans-serif; } h1 { border-bottom: 2px solid #000; } h2 { border-bottom: 1px solid #aaa; } h3, h4 { margin-bottom: 0px; font-family: Georgia,serif; font-style: italic; } h4 { font-size: 90%; margin-left: 1em; } acronym { border-bottom: 1px dotted #063; color: #063; } p { margin-left: 2em; margin-top: 0.3em; } li p { margin-left: 0px; } .abstract { padding: 5px; margin: 0px 10em; font-size: 90%; border: 1px dashed #aaa; background: #eee;} li { margin-left: 2em; } em { color: #042; } a { color: #00f; } a:hover { color: #f00; } a:active { color: #f80; } span.browser { font-weight: bold; color: #864; } .fixme { font-size: 20px; font-weight: bold; color: red; background: #fab; padding: 5px; text-align: center; } .code { background: #e4efff; padding: 5px; border: 1px dashed #abc; margin-left: 2em; margin-right: 2em; font-family: fixed,"lucidux mono","andale mono","courier new",monospace; } .note, .warning { font-weight: bold; color: #0a0; font-variant: small-caps; } .warning { color: #a00; } .string { color: #06c; } /* font-lock-string-face */ .comment { color: #840; } /* font-lock-comment-face */ .variable-name { color: #000; } /* font-lock-variable-name-face */ .type { color: #008; font-weight: bold; } /* font-lock-type-face */ .reference { color: #048; } /* font-lock-reference-face */ .preprocessor { color: #808; } /* font-lock-preprocessor-face */ .keyword { color: #00f; font-weight: bold; } /* font-lock-keyword-face */ .function-name { color: #044; } /* font-lock-function-name-face */ .html-tag { font-weight: bold; } /* html-tag-face */ .html-helper-italic { font-style: italic; } /* html-helper-italic-face */ .html-helper-bold { font-weight: bold; } /* html-helper-bold-face */ </style> <script type="text/javascript"> _editor_url = './'; _editor_lang = 'en'; </script> <script type="text/javascript" src="htmlarea.js"></script> <script type="text/javascript" src="dialog.js"></script> <script tyle="text/javascript" src="lang/en.js"></script> </head> <body onload="HTMLArea.replace('TA')"> <h1>HTMLArea-3.0 Documentation</h1> <div class="abstract" style="color: red; font-weight: bold"> This documentation contains valid information, but is outdated in the terms that it does not covers all the features of HTMLArea. A new documentation project will be started, based on LaTeX. </div> <h2>Introduction</h2> <h3>What is HTMLArea?</h3> <p>HTMLArea is a free <acronym title="What You See Is What You Get" >WYSIWYG</acronym> editor replacement for <code>&lt;textarea&gt;</code> fields. By adding a few simple lines of JavaScript code to your web page you can replace a regular textarea with a rich text editor that lets your users do the following:</p> <ul> <li>Format text to be bold, italicized, or underlined.</li> <li>Change the face, size, style and color.</li> <li>Left, center, or right-justify paragraphs.</li> <li>Make bulleted or numbered lists.</li> <li>Indent or un-indent paragraphs.</li> <li>Insert a horizontal line.</li> <li>Insert hyperlinks and images.</li> <li>View the raw HTML source of what they're editing.</li> <li>and much more...</li> </ul> <p>Some of the interesting features of HTMLArea that set's it apart from other web based WYSIWYG editors are as follows:</p> <ul> <li>It's lightweight, fast loading and can transform a regular textarea into a rich-text editor with a single line of JavaScript.</li> <li>Generates clean, valid HTML.</li> <li>It degrades gracefully to older or non-supported browsers (they get the original textarea field).</li> <li>It's free and can be incorporated into any free or commercial program.</li> <li>It works with any server-side languages (ASP, PHP, Perl, Java, etc).</li> <li>It's written in JavaScript and can be easily viewed, modified or extended.</li> <li>It remembers entered content when a user navigates away and then hits "back" in their browser.</li> <li>Since it replaces existing textareas it doesn't require a lot of code to add it to your pages (just one line).</li> <li>Did we mention it was free? ;-)</li> </ul> <h3>Is it really free? What's the catch?</h3> <p>Yes! It's really free. You can use it, modify it, distribute it with your software, or do just about anything you like with it.</p> <h3>What are the browser requirements?</h3> <p>HTMLArea requires <span class="browser"><a href="http://www.microsoft.com/ie">Internet Explorer</a> &gt;= 5.5</span> (Windows only), or <span class="browser"><a href="http://mozilla.org">Mozilla</a> &gt;= 1.3-Beta</span> on any platform. Any browser based on <a href="http://mozilla.org/newlayout">Gecko</a> will also work, provided that Gecko version is at least the one included in Mozilla-1.3-Beta (for example, <a href="http://galeon.sf.net">Galeon-1.2.8</a>). However, it degrades gracefully to other browsers. They will get a regular textarea field instead of a WYSIWYG editor.</p> <h3>Can I see an example of what it looks like?</h3> <p>Just make sure you're using one of the browsers mentioned above and see below.</p> <form onsubmit="return false;"> <textarea id="TA" style="width: 100%; height: 15em;"> <p>Here is some sample text in textarea that's been transformed with <font color="#0000CC"><b>HTMLArea</b></font>.<br /> You can make things <b>bold</b>, <i>italic</i>, <u>underline</u>. You can change the <font size="3">size</font> and <b><font color="#0000CC">c</font><font color="#00CC00">o</font><font color="#00CCCC">l</font><font color="#CC0000">o</font><font color="#CC00CC">r</font><font color="#CCCC00">s</font><font color="#CCCCCC">!</font></b> And lots more...</p> <p align="center"><font size="4" color="#ff0000"><b><u>Try HTMLArea today!</u></b></font><br /></p> </textarea> </form> <h3>Where can I find out more info, download the latest version and talk to other HTMLArea users?</h3> <p>You can find out more about HTMLArea and download the latest version on the <a href="http://dynarch.com/htmlarea/">HTMLArea homepage</a> and you can talk to other HTMLArea users and post any comments or suggestions you have in the <a href="http://www.interactivetools.com/iforum/Open_Source_C3/htmlArea_v3.0_-_Alpha_Release_F14/" >HTMLArea forum</a>.</p> <h2>Keyboard shortcuts</h2> <p>The editor provides the following key combinations:</p> <ul> <li>CTRL-A -- select all</li> <li>CTRL-B -- bold</li> <li>CTRL-I -- italic</li> <li>CTRL-U -- underline</li> <li>CTRL-S -- strikethrough</li> <li>CTRL-L -- justify left</li> <li>CTRL-E -- justify center</li> <li>CTRL-R -- justify right</li> <li>CTRL-J -- justify full</li> <li>CTRL-1 .. CTRL-6 -- headings (&lt;h1&gt; .. &lt;h6&gt;)</li> <li>CTRL-0 (zero) -- clean content pasted from Word</li> </ul> <h2>Installation</h2> <h3>How do I add HTMLArea to my web page?</h3> <p>It's easy. First you need to upload HTMLArea files to your website. Just follow these steps.</p> <ol> <li>Download the latest version from the <a href="http://www.interactivetools.com/products/htmlarea/">htmlArea homepage</a>.</li> <li>Unzip the files onto your local computer (making sure to maintain the directory structure contained in the zip).</li> <li>Create a new folder on your website called /htmlarea/ (make sure it's NOT inside the cgi-bin).</li> <li>Transfer all the HTMLArea files from your local computer into the /htmlarea/ folder on your website.</li> <li>Open the example page /htmlarea/examples/core.html with your browser to make sure everything works.</li> </ol> <p>Once htmlArea is on your website all you need to do is add some JavaScript to any pages that you want to add WYSIWYG editors to. Here's how to do that.</p> <ol> <li>Define some global variables. "_editor_url" has to be the absolute URL where HTMLArea resides within your website; as we discussed, this would be “/htmlarea/”. "_editor_lang" must be the language code in which you want HTMLArea to appear. This defaults to "en" (English); for a list of supported languages, please look into the "lang" subdirectory in the distribution. <pre class="code" ><span class="function-name">&lt;</span><span class="html-tag">script</span> <span class="variable-name">type=</span><span class="string">&quot;text/javascript&quot;</span><span class="function-name">&gt;</span> _editor_url = <span class="string">&quot;/htmlarea/&quot;</span>; _editor_lang = <span class="string">&quot;en&quot;</span>; <span class="function-name">&lt;</span><span class="html-tag">/script</span><span class="function-name">&gt;</span></pre> <li>Include the "htmlarea.js" script: <pre class="code" ><span class="function-name">&lt;</span><span class="html-tag">script</span> <span class="variable-name">type=</span><span class="string">&quot;text/javascript&quot;</span> <span class="variable-name">src=</span><span class="string">&quot;/htmlarea/htmlarea.js&quot;</span><span class="function-name">&gt;</span><span class="paren-face-match">&lt;</span><span class="html-tag">/script</span><span class="paren-face-match">&gt;</span></pre> </li> <li><p>If you want to change all your &lt;textarea&gt;-s into HTMLArea-s then you can use the simplest way to create HTMLArea:</p> <pre class="code" ><span class="function-name">&lt;</span><span class="html-tag">script</span> <span class="variable-name">type=</span><span class="string">&quot;text/javascript&quot;</span> <span class="variable-name">defer=</span><span class="string">&quot;1&quot;</span><span class="function-name">&gt;</span> HTMLArea.replaceAll<span class="function-name">()</span>; <span class="paren-face-match">&lt;</span><span class="html-tag">/script</span><span class="paren-face-match">&gt;</span></pre> <p><span class="note">Note:</span> you can also add the <code>HTMLArea.replaceAll()</code> code to the <code>onload</code> event handler for the <code>body</code> element, if you find it more appropriate.</p> <p>A different approach, if you have more than one textarea and only want to change one of them, is to use <code>HTMLArea.replace("id")</code> -- pass the <code>id</code> of your textarea. Do not use the <code>name</code> attribute anymore, it's not a standard solution!</p> </ol> <p>This section applies to HTMLArea-3.0 release candidate 1 or later; prior to this version, one needed to include more files; however, now HTMLArea is able to include other files too (such as stylesheet, language definition file, etc.) so you only need to define the editor path and load "htmlarea.js". Nice, eh? ;-)</p> <h3>I want to change the editor settings, how do I do that?</h3> <p>While it's true that all you need is one line of JavaScript to create an htmlArea WYSIWYG editor, you can also specify more config settings in the code to control how the editor works and looks. Here's an example of some of the available settings:</p> <pre class="code" ><span class="keyword">var</span> <span class="variable-name">config</span> = <span class="keyword">new</span> HTMLArea.Config(); <span class="comment">// create a new configuration object </span> <span class="comment">// having all the default values </span>config.width = '<span class="string">90%</span>'; config.height = '<span class="string">200px</span>'; <span class="comment">// the following sets a style for the page body (black text on yellow page) // and makes all paragraphs be bold by default </span>config.pageStyle = '<span class="string">body { background-color: yellow; color: black; font-family: verdana,sans-serif } </span>' + '<span class="string">p { font-width: bold; } </span>'; <span class="comment">// the following replaces the textarea with the given id with a new // HTMLArea object having the specified configuration </span>HTMLArea.replace('<span class="string">id</span>', config);</pre> <p><span class="warning">Important:</span> It's recommended that you add custom features and configuration to a separate file. This will ensure you that when we release a new official version of HTMLArea you'll have less trouble upgrading it.</p> <h3>How do I customize the toolbar?</h3> <p>Using the configuration object introduced above allows you to completely control what the toolbar contains. Following is an example of a one-line, customized toolbar, much simpler than the default one:</p> <pre class="code" ><span class="keyword">var</span> <span class="variable-name">config</span> = <span class="keyword">new</span> HTMLArea.Config(); config.toolbar = [ ['<span class="string">fontname</span>', '<span class="string">space</span>', '<span class="string">fontsize</span>', '<span class="string">space</span>', '<span class="string">formatblock</span>', '<span class="string">space</span>', '<span class="string">bold</span>', '<span class="string">italic</span>', '<span class="string">underline</span>'] ]; HTMLArea.replace('<span class="string">id</span>', config);</pre> <p>The toolbar is an Array of Array objects. Each array in the toolbar defines a new line. The default toolbar looks like this:</p> <pre class="code" >config.toolbar = [ [ &quot;<span class="string">fontname</span>&quot;, &quot;<span class="string">space</span>&quot;, &quot;<span class="string">fontsize</span>&quot;, &quot;<span class="string">space</span>&quot;, &quot;<span class="string">formatblock</span>&quot;, &quot;<span class="string">space</span>&quot;, &quot;<span class="string">bold</span>&quot;, &quot;<span class="string">italic</span>&quot;, &quot;<span class="string">underline</span>&quot;, &quot;<span class="string">separator</span>&quot;, &quot;<span class="string">strikethrough</span>&quot;, &quot;<span class="string">subscript</span>&quot;, &quot;<span class="string">superscript</span>&quot;, &quot;<span class="string">separator</span>&quot;, &quot;<span class="string">copy</span>&quot;, &quot;<span class="string">cut</span>&quot;, &quot;<span class="string">paste</span>&quot;, &quot;<span class="string">space</span>&quot;, &quot;<span class="string">undo</span>&quot;, &quot;<span class="string">redo</span>&quot; ], [ &quot;<span class="string">justifyleft</span>&quot;, &quot;<span class="string">justifycenter</span>&quot;, &quot;<span class="string">justifyright</span>&quot;, &quot;<span class="string">justifyfull</span>&quot;, &quot;<span class="string">separator</span>&quot;, &quot;<span class="string">insertorderedlist</span>&quot;, &quot;<span class="string">insertunorderedlist</span>&quot;, &quot;<span class="string">outdent</span>&quot;, &quot;<span class="string">indent</span>&quot;, &quot;<span class="string">separator</span>&quot;, &quot;<span class="string">forecolor</span>&quot;, &quot;<span class="string">hilitecolor</span>&quot;, &quot;<span class="string">textindicator</span>&quot;, &quot;<span class="string">separator</span>&quot;, &quot;<span class="string">inserthorizontalrule</span>&quot;, &quot;<span class="string">createlink</span>&quot;, &quot;<span class="string">insertimage</span>&quot;, &quot;<span class="string">inserttable</span>&quot;, &quot;<span class="string">htmlmode</span>&quot;, &quot;<span class="string">separator</span>&quot;, &quot;<span class="string">popupeditor</span>&quot;, &quot;<span class="string">separator</span>&quot;, &quot;<span class="string">showhelp</span>&quot;, &quot;<span class="string">about</span>&quot; ] ];</pre> <p>Except three strings, all others in the examples above need to be defined in the <code>config.btnList</code> object (detailed a bit later in this document). The three exceptions are: 'space', 'separator' and 'linebreak'. These three have the following meaning, and need not be present in <code>btnList</code>:</p> <ul> <li>'space' -- Inserts a space of 5 pixels (the width is configurable by external <acronym title="Cascading Style Sheets">CSS</acronym>) at the current position in the toolbar.</li> <li>'separator' -- Inserts a small vertical separator, for visually grouping related buttons.</li> <li>'linebreak' -- Starts a new line in the toolbar. Subsequent controls will be inserted on the new line.</li> </ul> <p><span class="warning">Important:</span> It's recommended that you add custom features and configuration to a separate file. This will ensure you that when we release a new official version of HTMLArea you'll have less trouble upgrading it.</p> <h3>How do I create custom buttons?</h3> <p>By design, the toolbar is easily extensible. For adding a custom button one needs to follow two steps.</p> <h4 id="regbtn">1. Register the button in <code>config.btnList</code>.</h4> <p>For each button in the toolbar, HTMLArea needs to know the following information:</p> <ul> <li>a name for it (we call it the ID of the button);</li> <li>the path to an image to be displayed in the toolbar;</li> <li>a tooltip for it;</li> <li>whether the button is enabled or not in text mode;</li> <li>what to do when the button is clicked;</li> </ul> <p>You need to provide all this information for registering a new button too. The button ID can be any string identifier and it's used when defining the toolbar, as you saw above. We recommend starting it with "my-" so that it won't clash with the standard ID-s (those from the default toolbar).</p> <p class="note">Register button example #1</p> <pre class="code" ><span class="comment">// get a default configuration </span><span class="keyword">var</span> <span class="variable-name">config</span> = <span class="keyword">new</span> HTMLArea.Config(); <span class="comment">// register the new button using Config.registerButton. // parameters: button ID, tooltip, image, textMode, </span>config.registerButton(&quot;<span class="string">my-hilite</span>&quot;, &quot;<span class="string">Highlight text</span>&quot;, &quot;<span class="string">my-hilite.gif</span>&quot;, <span class="keyword">false</span>, <span class="comment">// function that gets called when the button is clicked </span> <span class="keyword">function</span>(editor, id) { editor.surroundHTML('<span class="string">&lt;span class=&quot;hilite&quot;&gt;</span>', '<span class="string">&lt;/span&gt;</span>'); } );</pre> <p>An alternate way of calling registerButton is exemplified above. Though the code might be a little bit larger, using this form makes your code more maintainable. It doesn't even needs comments as it's pretty clear.</p> <p class="note">Register button example #2</p> <pre class="code" ><span class="keyword">var</span> <span class="variable-name">config</span> = <span class="keyword">new</span> HTMLArea.Config(); config.registerButton({ id : &quot;<span class="string">my-hilite</span>&quot;, tooltip : &quot;<span class="string">Highlight text</span>&quot;, image : &quot;<span class="string">my-hilite.gif</span>&quot;, textMode : <span class="keyword">false</span>, action : <span class="keyword">function</span>(editor, id) { editor.surroundHTML('<span class="string">&lt;span class=&quot;hilite&quot;&gt;</span>', '<span class="string">&lt;/span&gt;</span>'); } });</pre> <p>You might notice that the "action" function receives two parameters: <b>editor</b> and <b>id</b>. In the examples above we only used the <b>editor</b> parameter. But it could be helpful for you to understand both:</p> <ul> <li><b>editor</b> is a reference to the HTMLArea object. Since our entire code now has an <acronym title="Object Oriented Programming">OOP</acronym>-like design, you need to have a reference to the editor object in order to do things with it. In previous versions of HTMLArea, in order to identify the object an ID was used -- the ID of the HTML element. In this version ID-s are no longer necessary.</li> <li><b>id</b> is the button ID. Wondering why is this useful? Well, you could use the same handler function (presuming that it's not an anonymous function like in the examples above) for more buttons. You can <a href="#btnex">see an example</a> a bit later in this document.</li> </ul> <h4>2. Inserting it into the toolbar</h4> <p>At this step you need to specify where in the toolbar to insert the button, or just create the whole toolbar again as you saw in the previous section. You use the button ID, as shown in the examples of customizing the toolbar in the previous section.</p> <p>For the sake of completion, following there are another examples.</p> <p class="note">Append your button to the default toolbar</p> <pre class="code" >config.toolbar.push([ &quot;<span class="string">my-hilite</span>&quot; ]);</pre> <p class="note">Customized toolbar</p> <pre class="code" >config.toolbar = [ ['<span class="string">fontname</span>', '<span class="string">space</span>', '<span class="string">fontsize</span>', '<span class="string">space</span>', '<span class="string">formatblock</span>', '<span class="string">space</span>', '<span class="string">separator</span>', '<span class="string">my-hilite</span>', '<span class="string">separator</span>', '<span class="string">space</span>', <span class="comment">// here's your button </span> '<span class="string">bold</span>', '<span class="string">italic</span>', '<span class="string">underline</span>', '<span class="string">space</span>'] ];</pre> <p><span class="note">Note:</span> in the example above our new button is between two vertical separators. But this is by no means required. You can put it wherever you like. Once registered in the btnList (<a href="#regbtn">step 1</a>) your custom button behaves just like a default button.</p> <p><span class="warning">Important:</span> It's recommended that you add custom features and configuration to a separate file. This will ensure you that when we release a new official version of HTMLArea you'll have less trouble upgrading it.</p> <h4 id="btnex">A complete example</h4> <p>Please note that it is by no means necessary to include the following code into the htmlarea.js file. On the contrary, it might not work there. The configuration system is designed such that you can always customize the editor <em>from outside files</em>, thus keeping the htmlarea.js file intact. This will make it easy for you to upgrade your HTMLArea when we release a new official version. OK, I promise it's the last time I said this. ;)</p> <pre class="code" ><span class="comment">// All our custom buttons will call this function when clicked. // We use the <b>buttonId</b> parameter to determine what button // triggered the call. </span><span class="keyword">function</span> <span class="function-name">clickHandler</span>(editor, buttonId) { <span class="keyword">switch</span> (buttonId) { <span class="keyword">case</span> &quot;<span class="string">my-toc</span>&quot;: editor.insertHTML(&quot;<span class="string">&lt;h1&gt;Table Of Contents&lt;/h1&gt;</span>&quot;); <span class="keyword">break</span>; <span class="keyword">case</span> &quot;<span class="string">my-date</span>&quot;: editor.insertHTML((<span class="keyword">new</span> Date()).toString()); <span class="keyword">break</span>; <span class="keyword">case</span> &quot;<span class="string">my-bold</span>&quot;: editor.execCommand(&quot;<span class="string">bold</span>&quot;); editor.execCommand(&quot;<span class="string">italic</span>&quot;); <span class="keyword">break</span>; <span class="keyword">case</span> &quot;<span class="string">my-hilite</span>&quot;: editor.surroundHTML(&quot;<span class="string">&lt;span class=\&quot;hilite\&quot;&gt;</span>&quot;, &quot;<span class="string">&lt;/span&gt;</span>&quot;); <span class="keyword">break</span>; } }; <span class="comment">// Create a new configuration object </span><span class="keyword">var</span> <span class="variable-name">config</span> = <span class="keyword">new</span> HTMLArea.Config(); <span class="comment">// Register our custom buttons </span>config.registerButton(&quot;<span class="string">my-toc</span>&quot;, &quot;<span class="string">Insert TOC</span>&quot;, &quot;<span class="string">my-toc.gif</span>&quot;, <span class="keyword">false</span>, clickHandler); config.registerButton(&quot;<span class="string">my-date</span>&quot;, &quot;<span class="string">Insert date/time</span>&quot;, &quot;<span class="string">my-date.gif</span>&quot;, <span class="keyword">false</span>, clickHandler); config.registerButton(&quot;<span class="string">my-bold</span>&quot;, &quot;<span class="string">Toggle bold/italic</span>&quot;, &quot;<span class="string">my-bold.gif</span>&quot;, <span class="keyword">false</span>, clickHandler); config.registerButton(&quot;<span class="string">my-hilite</span>&quot;, &quot;<span class="string">Hilite selection</span>&quot;, &quot;<span class="string">my-hilite.gif</span>&quot;, <span class="keyword">false</span>, clickHandler); <span class="comment">// Append the buttons to the default toolbar </span>config.toolbar.push([&quot;<span class="string">linebreak</span>&quot;, &quot;<span class="string">my-toc</span>&quot;, &quot;<span class="string">my-date</span>&quot;, &quot;<span class="string">my-bold</span>&quot;, &quot;<span class="string">my-hilite</span>&quot;]); <span class="comment">// Replace an existing textarea with an HTMLArea object having the above config. </span>HTMLArea.replace(&quot;<span class="string">textAreaID</span>&quot;, config);</pre> <hr /> <address>&copy; <a href="http://interactivetools.com" title="Visit our website" >InteractiveTools.com</a> 2002-2004. <br /> © <a href="http://dynarch.com">dynarch.com</a> 2003-2004<br /> HTMLArea v3.0 developed by <a href="http://dynarch.com/mishoo/">Mihai Bazon</a>. <br /> Documentation written by Mihai Bazon. </address> <!-- hhmts start --> Last modified: Wed Jan 28 12:18:23 EET 2004 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/reference.html
HTML
art
26,366
<html> <head> <title>Test of ContextMenu plugin</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> _editor_url = "../"; _editor_lang = "en"; </script> <!-- load the main HTMLArea file --> <script type="text/javascript" src="../htmlarea.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("ContextMenu"); HTMLArea.loadPlugin("TableOperations"); function initDocument() { var editor = new HTMLArea("editor"); editor.registerPlugin(ContextMenu); editor.registerPlugin(TableOperations); editor.generate(); }; HTMLArea.onload = initDocument; </script> </head> <body onload="HTMLArea.init()"> <h1>Test of ContextMenu plugin</h1> <textarea id="editor" style="height: 30em; width: 100%;"> &lt;table border="1" style="border: 1px dotted rgb(0, 102, 255); width: 100%; background-color: rgb(255, 204, 51); background-image: none; float: none; text-align: left; vertical-align: top; border-collapse: collapse;" summary="" cellspacing="" cellpadding="" frame="box" rules="all"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border: 1px solid rgb(255, 0, 0); background-color: rgb(0, 51, 51); background-image: none; text-align: left; vertical-align: top;"&gt;&lt;a href="http://dynarch.com/mishoo/articles.epl?art_id=430"&gt;&lt;img src="http://127.0.0.1/~mishoo/htmlarea/examples/pieng.png" alt="" align="" border="0" hspace="0" vspace="0" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="border: 1px solid rgb(255, 0, 0); background-color: rgb(255, 255, 0); background-image: none; text-align: left; vertical-align: top;"&gt;The article linked on the left image presents a script that allows Internet Explorer to use PNG images. We hope to be able to implement IE PNG support in HTMLArea soon.&lt;br /&gt; &lt;br /&gt; Go on, right-click everywhere and test our new context menus. And be thankful to &lt;a href="http://www.americanbible.org/"&gt;American Bible Society&lt;/a&gt; who sponsored the development, &lt;a href="http://dynarch.com/mishoo/"&gt;mishoo&lt;/a&gt; who made it happen and God, Who keeps mishoo alife. ;-)&lt;br /&gt; &lt;br /&gt;&lt;span style="font-style: italic;"&gt;P.S.&lt;/span&gt; No animals were harmed while producing this movie.&lt;br /&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-style: none; background-color: rgb(255, 255, 51); background-image: none; text-align: left; vertical-align: top;"&gt;Welcome to HTMLArea, the best online editor.&lt;br /&gt;&lt;/td&gt;&lt;td&gt;HTMLArea is a project initiated by &lt;a href="http://interactivetools.com/"&gt;InteractiveTools.com&lt;/a&gt;. Other companies contributed largely by sponsoring the development of additional extensions. Many thanks to:&lt;br /&gt; &lt;br style="font-family: courier new,courier,monospace;" /&gt; &lt;div style="margin-left: 40px;"&gt;&lt;a href="http://www.zapatec.com/" style="font-family: courier new,courier,monospace;"&gt;http://www.zapatec.com&lt;/a&gt;&lt;br style="font-family: courier new,courier,monospace;" /&gt; &lt;a href="http://www.americanbible.org/" style="font-family: courier new,courier,monospace;"&gt;http://www.americanbible.org&lt;/a&gt;&lt;br style="font-family: courier new,courier,monospace;" /&gt; &lt;a href="http://www.neomedia.ro/" style="font-family: courier new,courier,monospace;"&gt;http://www.neomedia.ro&lt;/a&gt;&lt;br style="font-family: courier new,courier,monospace;" /&gt; &lt;a href="http://www.os3.it/" style="font-family: courier new,courier,monospace;"&gt;http://www.os3.it&lt;/a&gt;&lt;br style="font-family: courier new,courier,monospace;" /&gt; &lt;a href="http://www.miro.com.au/" style="font-family: courier new,courier,monospace;"&gt;http://www.miro.com.au&lt;/a&gt;&lt;br style="font-family: courier new,courier,monospace;" /&gt; &lt;a href="http://www.thycotic.com/" style="font-family: courier new,courier,monospace;"&gt;http://www.thycotic.com&lt;/a&gt;&lt;br /&gt; &lt;/div&gt; &lt;br /&gt; and to all the posters at <a href="http://www.interactivetools.com/iforum/Open_Source_C3/htmlArea_v3.0_-_Alpha_Release_F14/ ">InteractiveTools</a> HTMLArea forums, whose feedback is continually useful in polishing HTMLArea.&lt;br /&gt; &lt;br /&gt;&lt;div style="text-align: right;"&gt;-- developers and maintainers of version 3, &lt;a href="http://dynarch.com/"&gt;dynarch.com&lt;/a&gt;.&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; </textarea> <hr /> <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> <!-- Created: Wed Oct 1 19:55:37 EEST 2003 --> <!-- hhmts start --> Last modified: Wed Jan 28 11:10:29 EET 2004 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/context-menu.html
HTML
art
4,783
<html> <head> <title>Test of CharacterMap plugin</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> _editor_url = "../"; _editor_lang = "en"; </script> <!-- load the main HTMLArea files --> <script type="text/javascript" src="../htmlarea.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("CharacterMap"); function initDocument() { var editor = new HTMLArea("editor"); editor.registerPlugin(CharacterMap); editor.generate(); } </script> </head> <body onload="initDocument()"> <h1>Test of DynamicCSS plugin</h1> <textarea id="editor" style="height: 30em; width: 100%;"></textarea> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/character_map.html
HTML
art
799
body { background-color: #234; color: #dd8; font-family: tahoma; font-size: 12px; } a:link, a:visited { color: #8cf; } a:hover { color: #ff8; } h1 { background-color: #456; color: #ff8; padding: 2px 5px; border: 1px solid; border-color: #678 #012 #012 #678; } /* syntax highlighting (used by the first combo defined for the CSS plugin) */ pre { margin: 0px 1em; padding: 5px 1em; background-color: #000; border: 1px dotted #02d; border-left: 2px solid #04f; } .code { color: #f5deb3; } .string { color: #00ffff; } .comment { color: #8fbc8f; } .variable-name { color: #fa8072; } .type { color: #90ee90; font-weight: bold; } .reference { color: #ee82ee; } .preprocessor { color: #faf; } .keyword { color: #ffffff; font-weight: bold; } .function-name { color: #ace; } .html-tag { font-weight: bold; } .html-helper-italic { font-style: italic; } .warning { color: #ffa500; font-weight: bold; } .html-helper-bold { font-weight: bold; } /* info combo */ .quote { font-style: italic; color: #ee9; } .highlight { background-color: yellow; color: #000; } .deprecated { text-decoration: line-through; color: #aaa; }
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/custom.css
CSS
art
1,112
#! /usr/bin/perl -w use strict; use CGI; my $cgi = new CGI; my $text1 = $cgi->param('text1'); my $text2 = $cgi->param('text2'); print "Content-type: text/html\n\n"; print "<p>You submitted:</p>"; print "<table border='1'>"; print "<thead><tr bgcolor='#cccccc'><td width='50%'>text1</td><td width='50%'>text2</td></tr></thead>"; print "<tbody><tr><td>$text1</td><td>$text2</td></tr></tbody>"; print "</table>";
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/2-areas.cgi
Perl
art
414
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>HTMLArea 3.0 core test</title> <script type="text/javascript"> _editor_url = "../"; _editor_lang = "en"; </script> <script type="text/javascript" src="../htmlarea.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("ContextMenu"); HTMLArea.onload = function() { var editor = new HTMLArea("editor"); editor.registerPlugin(ContextMenu); editor.generate(); }; HTMLArea.init(); </script> </head> <body> <textarea id="editor" rows="20" cols="80" style="width: 100%"></textarea> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/empty.html
HTML
art
657
p { FONT-FAMILY: Arial, Helvetica; FONT-SIZE: 9pt; FONT-WEIGHT: normal; COLOR: #000000; } p.p1 { FONT-FAMILY: Arial, Helvetica; FONT-SIZE: 11pt; FONT-WEIGHT: normal; COLOR: #000000; } p.p2 { FONT-FAMILY: Arial, Helvetica; FONT-SIZE: 13pt; FONT-WEIGHT: normal; COLOR: #000000; } div { FONT-FAMILY: Arial, Helvetica; FONT-SIZE: 9pt; FONT-WEIGHT: bold; COLOR: #000000; } div.div1 { FONT-FAMILY: Arial, Helvetica; FONT-SIZE: 11pt; FONT-WEIGHT: bold; COLOR: #000000; } div.div2 { FONT-FAMILY: Arial, Helvetica; FONT-SIZE: 13pt; FONT-WEIGHT: bold; COLOR: #000000; } .quote { font-style: italic; color: #ee9; } .highlight { background-color: yellow; color: #000; } .deprecated { text-decoration: line-through; color: #aaa; }
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/dynamic.css
CSS
art
778
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Example with 2 HTMLAreas in the same form</title> <script type="text/javascript"> // the _editor_url is REQUIRED! don't forget to set it. _editor_url = "../"; // implicit language will be "en", but let's set it for brevity _editor_lang = "en"; </script> <script type="text/javascript" src="../htmlarea.js"></script> <script type="text/javascript"> // load the plugins that we will use // loading is necessary ONLY ONCE, regardless on how many editors you create // basically calling the following functions will load the plugin files as if // we would have wrote script src="..." but with easier and cleaner code HTMLArea.loadPlugin("TableOperations"); HTMLArea.loadPlugin("SpellChecker"); HTMLArea.loadPlugin("CSS"); // this function will get called at body.onload function initDocument() { // 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("text-area-1"); // 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); // 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.generate(); //--------------------------------------------------------------------- //--------------------------------------------------------------------- // CREATE SECOND EDITOR // var editor2 = new HTMLArea("text-area-2"); // we are using the same plugins editor2.registerPlugin(TableOperations); editor2.registerPlugin(SpellChecker); editor2.registerPlugin(CSS, css_plugin_args); // 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.generate(); }, 500); //--------------------------------------------------------------------- }; HTMLArea.onload = initDocument; </script> </head> <body onload="HTMLArea.init()"> <h1>Example with 2 HTMLAreas in the same form</h1> <form action="2-areas.cgi" method="post" target="_blank"> <input type="submit" value=" Submit " /> <br /> <textarea id="text-area-1" name="text1" style="width: 100%; height: 12em"> &lt;h3&gt;HTMLArea #1&lt;/h3&gt; &lt;p&gt;This will submit a field named &lt;em&gt;text1&lt;/em&gt;.&lt;/p&gt; </textarea> <br /> <textarea id="text-area-2" name="text2" style="width: 100%; height: 12em"> &lt;h3&gt;Second HTMLArea&lt;/h3&gt; &lt;p&gt;&lt;em&gt;text2&lt;/em&gt; submission. Both are located in the same FORM element and the script action is 2-areas.cgi (see it in the examples directory)&lt;/p&gt; </textarea> <br /> <input type="submit" value=" Submit " /> </form> <hr> <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> <!-- Created: Fri Oct 31 09:37:10 EET 2003 --> <!-- hhmts start --> Last modified: Wed Jan 28 11:10:40 EET 2004 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/2-areas.html
HTML
art
6,474
<html> <head> <title>The "htmlRemoveTags" feature</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> _editor_url = "../"; _editor_lang = "en"; </script> <!-- load the main HTMLArea file --> <script type="text/javascript" src="../htmlarea.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("ContextMenu"); HTMLArea.loadPlugin("TableOperations"); HTMLArea.onload = function() { var editor = new HTMLArea("editor"); // the following line ensures that FONT tags won't be reported by HTMLArea editor.config.htmlRemoveTags = /^(font)$/i; editor.registerPlugin(ContextMenu); editor.registerPlugin(TableOperations); editor.generate(); } </script> </head> <body onload="HTMLArea.init()"> <h1>Remove FONT tags</h1> <textarea id="editor" style="height: 30em; width: 100%;"></textarea> <hr /> <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> <!-- Created: Wed Oct 1 19:55:37 EEST 2003 --> <!-- hhmts start --> Last modified: Wed Apr 28 15:09:09 EEST 2004 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/remove-font-tags.html
HTML
art
1,251
<html> <head> <title>Test of FullPage plugin</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> _editor_url = "../"; _editor_lang = "en"; </script> <!-- load the main HTMLArea files --> <script type="text/javascript" src="../htmlarea.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("FullPage"); function initDocument() { var editor = new HTMLArea("editor"); editor.registerPlugin(FullPage); editor.generate(); } HTMLArea.onload = initDocument; </script> </head> <body onload="HTMLArea.init()"> <h1>Test of FullPage plugin</h1> <textarea id="editor" style="height: 30em; width: 100%;"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;FullPage plugin for HTMLArea&lt;/title&gt; &lt;link rel="alternate stylesheet" href="http://dynarch.com/mishoo/css/dark.css" /&gt; &lt;link rel="stylesheet" href="http://dynarch.com/mishoo/css/cool-light.css" /&gt; &lt;/head&gt; &lt;body style="background-color: #ddddee; color: #000077;"&gt; &lt;table style="width:60%; height: 90%; margin: 2% auto 1% auto;" align="center" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tr&gt; &lt;td style="background-color: #ddeedd; border: 2px solid #002; height: 1.5em; padding: 2px; font: bold 24px Verdana;"&gt; FullPage plugin &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="background-color: #fff; border: 1px solid #aab; padding: 1em 3em; font: 12px Verdana;"&gt; &lt;p&gt; This plugin enables one to edit a full HTML file in &lt;a href="http://dynarch.com/htmlarea/"&gt;HTMLArea&lt;/a&gt;. This is not normally possible with just the core editor since it only retrieves the HTML inside the &lt;code&gt;body&lt;/code&gt; tag. &lt;/p&gt; &lt;p&gt; It provides the ability to change the &lt;code&gt;DOCTYPE&lt;/code&gt; of the document, &lt;code&gt;body&lt;/code&gt; &lt;code&gt;bgcolor&lt;/code&gt; and &lt;code&gt;fgcolor&lt;/code&gt; attributes as well as to add additional &lt;code&gt;link&lt;/code&gt;-ed stylesheets. Cool, eh? &lt;/p&gt; &lt;p&gt; The development of this plugin was initiated and sponsored by &lt;a href="http://thycotic.com"&gt;Thycotic Software Ltd.&lt;/a&gt;. That's also cool, isn't it? ;-) &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </textarea> <hr /> <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address> <!-- Created: Wed Oct 1 19:55:37 EEST 2003 --> <!-- hhmts start --> Last modified: Wed Aug 11 13:59:07 CEST 2004 <!-- hhmts end --> <!-- doc-lang: English --> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/full-page.html
HTML
art
3,261
#! /usr/bin/perl -w # # # use CGI; print "Content-type: text/html\n\n"; $c = new CGI; $ta = $c->param('ta'); print <<EOF; <html> <body> <textarea style="width: 100%; height: 200px">$ta</textarea> $ta </body> </html> EOF
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/.svn/text-base/test.cgi.svn-base
Perl
art
225
#! /usr/bin/perl -w use strict; use CGI; my $cgi = new CGI; my $text1 = $cgi->param('text1'); my $text2 = $cgi->param('text2'); print "Content-type: text/html\n\n"; print "<p>You submitted:</p>"; print "<table border='1'>"; print "<thead><tr bgcolor='#cccccc'><td width='50%'>text1</td><td width='50%'>text2</td></tr></thead>"; print "<tbody><tr><td>$text1</td><td>$text2</td></tr></tbody>"; print "</table>";
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/.svn/text-base/2-areas.cgi.svn-base
Perl
art
414
<html> <head> <title>Example of HTMLArea 3.0</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Configure the path to the editor. We make it relative now, so that the example ZIP file will work anywhere, but please NOTE THAT it's better to have it an absolute path, such as '/htmlarea/'. --> <script type="text/javascript"> _editor_url = "../"; _editor_lang = "en"; </script> <script type="text/javascript" src="../htmlarea.js"></script> <style type="text/css"> html, body { font-family: Verdana,sans-serif; background-color: #fea; color: #000; } a:link, a:visited { color: #00f; } a:hover { color: #048; } a:active { color: #f00; } textarea { background-color: #fff; border: 1px solid 00f; } </style> <script type="text/javascript"> var editor = null; function initEditor() { editor = new HTMLArea("ta"); // comment the following two lines to see how customization works editor.generate(); return false; var cfg = editor.config; // this is the default configuration cfg.registerButton({ id : "my-hilite", tooltip : "Highlight text", image : "ed_custom.gif", textMode : false, action : function(editor) { editor.surroundHTML("<span class=\"hilite\">", "</span>"); }, context : 'table' }); cfg.toolbar.push(["linebreak", "my-hilite"]); // add the new button to the toolbar // BEGIN: code that adds a custom button // uncomment it to test var cfg = editor.config; // this is the default configuration /* cfg.registerButton({ id : "my-hilite", tooltip : "Highlight text", image : "ed_custom.gif", textMode : false, action : function(editor) { editor.surroundHTML("<span class=\"hilite\">", "</span>"); } }); */ function clickHandler(editor, buttonId) { switch (buttonId) { case "my-toc": editor.insertHTML("<h1>Table Of Contents</h1>"); break; case "my-date": editor.insertHTML((new Date()).toString()); break; case "my-bold": editor.execCommand("bold"); editor.execCommand("italic"); break; case "my-hilite": editor.surroundHTML("<span class=\"hilite\">", "</span>"); break; } }; cfg.registerButton("my-toc", "Insert TOC", "ed_custom.gif", false, clickHandler); cfg.registerButton("my-date", "Insert date/time", "ed_custom.gif", false, clickHandler); cfg.registerButton("my-bold", "Toggle bold/italic", "ed_custom.gif", false, clickHandler); cfg.registerButton("my-hilite", "Hilite selection", "ed_custom.gif", false, clickHandler); cfg.registerButton("my-sample", "Class: sample", "ed_custom.gif", false, function(editor) { if (HTMLArea.is_ie) { editor.insertHTML("<span class=\"sample\">&nbsp;&nbsp;</span>"); var r = editor._doc.selection.createRange(); r.move("character", -2); r.moveEnd("character", 2); r.select(); } else { // Gecko/W3C compliant var n = editor._doc.createElement("span"); n.className = "sample"; editor.insertNodeAtSelection(n); var sel = editor._iframe.contentWindow.getSelection(); sel.removeAllRanges(); var r = editor._doc.createRange(); r.setStart(n, 0); r.setEnd(n, 0); sel.addRange(r); } } ); /* cfg.registerButton("my-hilite", "Highlight text", "ed_custom.gif", false, function(editor) { editor.surroundHTML('<span class="hilite">', '</span>'); } ); */ cfg.pageStyle = "body { background-color: #efd; } .hilite { background-color: yellow; } "+ ".sample { color: green; font-family: monospace; }"; cfg.toolbar.push(["linebreak", "my-toc", "my-date", "my-bold", "my-hilite", "my-sample"]); // add the new button to the toolbar // END: code that adds a custom button editor.generate(); } 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>'); } HTMLArea.onload = initEditor; </script> </head> <!-- use <body onload="HTMLArea.replaceAll()" if you don't care about customizing the editor. It's the easiest way! :) --> <body onload="HTMLArea.init();"> <h1>HTMLArea 3.0</h1> <p>A replacement for <code>TEXTAREA</code> elements. &copy; <a href="http://interactivetools.com">InteractiveTools.com</a>, 2003-2004.</p> <form action="test.cgi" method="post" id="edit" name="edit"> <textarea id="ta" name="ta" style="width:100%" rows="20" cols="80"> &lt;p&gt;Here is some sample text: &lt;b&gt;bold&lt;/b&gt;, &lt;i&gt;italic&lt;/i&gt;, &lt;u&gt;underline&lt;/u&gt;. &lt;/p&gt; &lt;p align=center&gt;Different fonts, sizes and colors (all in bold):&lt;/p&gt; &lt;p&gt;&lt;b&gt; &lt;font face="arial" size="7" color="#000066"&gt;arial&lt;/font&gt;, &lt;font face="courier new" size="6" color="#006600"&gt;courier new&lt;/font&gt;, &lt;font face="georgia" size="5" color="#006666"&gt;georgia&lt;/font&gt;, &lt;font face="tahoma" size="4" color="#660000"&gt;tahoma&lt;/font&gt;, &lt;font face="times new roman" size="3" color="#660066"&gt;times new roman&lt;/font&gt;, &lt;font face="verdana" size="2" color="#666600"&gt;verdana&lt;/font&gt;, &lt;font face="tahoma" size="1" color="#666666"&gt;tahoma&lt;/font&gt; &lt;/b&gt;&lt;/p&gt; &lt;p&gt;Click on &lt;a href="http://www.interactivetools.com/"&gt;this link&lt;/a&gt; and then on the link button to the details ... OR ... select some text and click link to create a &lt;b&gt;new&lt;/b&gt; link.&lt;/p&gt; </textarea> <p /> <input type="submit" name="ok" value=" submit " /> <input type="button" name="ins" value=" insert html " onclick="return insertHTML();" /> <input type="button" name="hil" value=" highlight text " onclick="return highlight();" /> <a href="javascript:mySubmit()">submit</a> <script type="text/javascript"> function mySubmit() { // document.edit.save.value = "yes"; document.edit.onsubmit(); // workaround browser bugs. document.edit.submit(); }; </script> </form> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/core.html
HTML
art
6,208
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Example of HTMLArea 3.0 -- ListType plugin</title> <script type="text/javascript"> _editor_lang = "en"; _editor_url = "../"; </script> <!-- load the main HTMLArea files --> <script type="text/javascript" src="../htmlarea.js"></script> <style type="text/css"> html, body { font-family: Verdana,sans-serif; background-color: #fea; color: #000; } a:link, a:visited { color: #00f; } a:hover { color: #048; } a:active { color: #f00; } textarea { background-color: #fff; border: 1px solid 00f; } </style> <script type="text/javascript"> // load the plugin files HTMLArea.loadPlugin("ListType"); var editor = null; function initEditor() { editor = new HTMLArea("ta"); editor.registerPlugin(ListType); editor.generate(); return false; }; HTMLArea.onload = initEditor; </script> </head> <body onload="HTMLArea.init()"> <h1>HTMLArea :: the ListType plugin</h1> <form action="test.cgi" method="post" id="edit" name="edit"> <textarea id="ta" name="ta" style="width:100%" rows="24" cols="80"> <p>List style type is selected using the CSS property &quot;list-style-type&quot;. Hopefully it will work with Internet Explorer, right? ;-) Let's start the monster to test it out.<br /></p><p>Cool, it works. Except for &quot;lower-greek&quot;, which doesn't seem to be supported (and worse, a gross error message is displayed). Therefore, I hide that proerty from IE--it will only be available if the browser is not IE.<br /></p><ol style="list-style-type: decimal;"><li>This is a list<br /></li><li>with decimal numbers<br /></li><li>blah blah<br /></li><li>dolor sic amet<br /></li></ol><ol style="list-style-type: lower-greek;"><li>yet another</li><li>list with greek<br /></li><li>letters<br /></li><li>lorem ipsum<br /></li><li>yada yada<br /></li></ol> </textarea> </form> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/list-type.html
HTML
art
1,903
<html> <head> <title>Example of HTMLArea 3.0</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Configure the path to the editor. We make it relative now, so that the example ZIP file will work anywhere, but please NOTE THAT it's better to have it an absolute path, such as '/htmlarea/'. --> <script type="text/javascript"> _editor_lang = "en"; _editor_url = "../"; </script> <!-- load the main HTMLArea files --> <script type="text/javascript" src="../htmlarea.js"></script> <style type="text/css"> html, body { font-family: Verdana,sans-serif; background-color: #fea; color: #000; } a:link, a:visited { color: #00f; } a:hover { color: #048; } a:active { color: #f00; } textarea { background-color: #fff; border: 1px solid 00f; } </style> <script type="text/javascript"> HTMLArea.loadPlugin("SpellChecker"); var editor = null; function initEditor() { // create an editor for the "ta" textbox editor = new HTMLArea("ta"); // register the SpellChecker plugin editor.registerPlugin(SpellChecker); editor.generate(); return false; } HTMLArea.onload = initEditor; 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> </head> <!-- use <body onload="HTMLArea.replaceAll()" if you don't care about customizing the editor. It's the easiest way! :) --> <body onload="HTMLArea.init()"> <h1>HTMLArea 3.0</h1> <p>A replacement for <code>TEXTAREA</code> elements. &copy; <a href="http://interactivetools.com">InteractiveTools.com</a>, 2003-2004.</p> <p>Plugins: <tt>SpellChecker</tt> (sponsored by <a href="http://americanbible.org">American Bible Society</a>). </p> <form action="test.cgi" method="post" id="edit" name="edit"> <textarea id="ta" name="ta" style="width:100%" rows="24" cols="80"> <h1>The <tt>SpellChecker</tt> plugin</h1> <p>This file deminstrates the <tt>SpellChecker</tt> plugin of HTMLArea. To inwoke the spell checkert you need to press the <em>spell-check</em> buton in the toolbar.</p> <p>The spell-checker uses a serverside script written in Perl. The Perl script calls <a href="http://aspell.net">aspell</a> for any word in the text and reports wordz that aren't found in the dyctionari.</p> <p>The document that yu are reading now <b>intentionaly</b> containes some errorz, so that you have something to corect ;-)</p> <p>Credits for the <tt>SpellChecker</tt> plugin go to:</p> <ul> <li><a href="http://aspell.net">Aspell</a> -- spell checker</li> <li>The <a href="http://perl.org">Perl</a> programming language</li> <li><tt><a href="http://cpan.org/modules/by-module/Text/Text-Aspell-0.02.readme">Text::Aspell</a></tt> -- Perl interface to Aspell</li> <li><a href="http://americanbible.org">American Bible Society</a> -- for sponsoring the <tt>SpellChecker</tt> plugin for <tt>HTMLArea</tt></li> <li><a href="http://dynarch.com/mishoo/">Your humble servant</a> for implementing it ;-)</li> </ul> </textarea> <p /> <input type="submit" name="ok" value=" submit " /> <input type="button" name="ins" value=" insert html " onclick="return insertHTML();" /> <input type="button" name="hil" value=" highlight text " onclick="return highlight();" /> <a href="javascript:mySubmit()">submit</a> <script type="text/javascript"> function mySubmit() { // document.edit.save.value = "yes"; document.edit.onsubmit(); // workaround browser bugs. document.edit.submit(); }; </script> </form> </body> </html>
zzh-simple-hr
ZJs/webapp/html-editor/HTMLArea/examples/spell-checker.html
HTML
art
3,798