Index: openacs-4/packages/acs-templating/www/resources/htmlarea/dialog.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/dialog.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/dialog.js 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,72 @@ +// Though "Dialog" looks like an object, it isn't really an object. Instead +// it's just namespace for protecting global symbols. + +function Dialog(url, action, init) { + if (typeof init == "undefined") { + init = window; // pass this window object by default + } + if (document.all) { // here we hope that Mozilla will never support document.all + var value = + showModalDialog(url, init, +// window.open(url, '_blank', + "resizable: no; help: no; status: no; scroll: no"); + if (action) { + action(value); + } + } else { + return Dialog._geckoOpenModal(url, action, init); + } +}; + +Dialog._parentEvent = function(ev) { + if (Dialog._modal && !Dialog._modal.closed) { + Dialog._modal.focus(); + // we get here in Mozilla only, anyway, so we can safely use + // the DOM version. + ev.preventDefault(); + ev.stopPropagation(); + } +}; + +// should be a function, the return handler of the currently opened dialog. +Dialog._return = null; + +// constant, the currently opened dialog +Dialog._modal = null; + +// the dialog will read it's args from this variable +Dialog._arguments = null; + +Dialog._geckoOpenModal = function(url, action, init) { + var dlg = window.open(url, "ha_dialog", + "toolbar=no,menubar=no,personalbar=no,width=10,height=10," + + "scrollbars=no,resizable=no"); + Dialog._modal = dlg; + Dialog._arguments = init; + + // capture some window's events + function capwin(w) { + w.addEventListener("click", Dialog._parentEvent, true); + w.addEventListener("mousedown", Dialog._parentEvent, true); + w.addEventListener("focus", Dialog._parentEvent, true); + }; + // release the captured events + function relwin(w) { + w.removeEventListener("focus", Dialog._parentEvent, true); + w.removeEventListener("mousedown", Dialog._parentEvent, true); + w.removeEventListener("click", Dialog._parentEvent, true); + }; + capwin(window); + // capture other frames + for (var i = 0; i < window.frames.length; capwin(window.frames[i++])); + // make up a function to be called when the Dialog ends. + Dialog._return = function (val) { + if (val && action) { + action(val); + } + relwin(window); + // capture other frames + for (var i = 0; i < window.frames.length; relwin(window.frames[i++])); + Dialog._modal = null; + }; +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/example-fully-loaded.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/Attic/example-fully-loaded.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/example-fully-loaded.html 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,137 @@ + + +Example of HTMLArea 3.0 + + + + + + + + + + + + + + + + + + + + + + +

HTMLArea 3.0

+ +

A replacement for TEXTAREA elements. © InteractiveTools.com, 2003.

+ +

Plugins: + TableOperations | + SpellChecker +

+ +
+ + + +

+ + + + + +submit + + + +

+ + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/example-spell-checker.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/Attic/example-spell-checker.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/example-spell-checker.html 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,134 @@ + + +Example of HTMLArea 3.0 + + + + + + + + + + + + + + + + + + + + + + + +

HTMLArea 3.0

+ +

A replacement for TEXTAREA elements. © InteractiveTools.com, 2003.

+ +

Plugins: + SpellChecker (sponsored by American Bible Society). +

+ +
+ + + +

+ + + + + +submit + + + +

+ + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/example-table-operations.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/Attic/example-table-operations.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/example-table-operations.html 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,116 @@ + + +Example of HTMLArea 3.0 + + + + + + + + + + + + + + + + + + + + + + + +

HTMLArea 3.0

+ +

A replacement for TEXTAREA elements. © InteractiveTools.com, 2003.

+ +

Page that demonstrates the additional features of the +TableOperations plugin (sponsored by Zapatec Inc.).

+ +
+ + + +

+ + + + + +submit + + + +

+ + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/example.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/Attic/example.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/example.html 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,181 @@ + + +Example of HTMLArea 3.0 + + + + + + + + + + + + + + + + +

HTMLArea 3.0

+ +

A replacement for TEXTAREA elements. © InteractiveTools.com, 2003.

+ +
+ + + +

+ + + + + +submit + + + +

+ + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/htmlarea.css =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/htmlarea.css,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/htmlarea.css 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,180 @@ +.htmlarea { background: #fff; } + +.htmlarea .toolbar { + cursor: default; + background: ButtonFace; + padding: 1px 1px 2px 1px; + border: 1px solid; + border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; +} +.htmlarea .toolbar table { font-family: tahoma,verdana,sans-serif; font-size: 11px; } +.htmlarea .toolbar img { border: none; } +.htmlarea .toolbar .label { padding: 0px 3px; } + +.htmlarea .toolbar .button { + background: ButtonFace; + color: ButtonText; + border: 1px solid ButtonFace; + padding: 1px; + margin: 0px; +} +.htmlarea .toolbar .buttonHover { + border: 1px solid; + border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; +} +.htmlarea .toolbar .buttonActive, .htmlarea .toolbar .buttonPressed { + padding: 2px 0px 0px 2px; + border: 1px solid; + border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; +} +.htmlarea .toolbar .buttonPressed { + background: ButtonHighlight; +} +.htmlarea .toolbar .indicator { + padding: 0px 3px; + overflow: hidden; + width: 20px; + text-align: center; + cursor: default; + border: 1px solid ButtonShadow; +} + +.htmlarea .toolbar .buttonDisabled { background-color: #aaa; } + +.htmlarea .toolbar .buttonDisabled img { + filter: alpha(opacity = 25); + -moz-opacity: 25%; +} + +.htmlarea .toolbar .separator { + position: relative; + margin: 3px; + border-left: 1px solid ButtonShadow; + border-right: 1px solid ButtonHighlight; + width: 0px; + height: 16px; + padding: 0px; +} + +.htmlarea .toolbar .space { width: 5px; } + +.htmlarea .toolbar select { font: 11px Tahoma,Verdana,sans-serif; } + +.htmlarea .toolbar select, +.htmlarea .toolbar select:hover, +.htmlarea .toolbar select:active { background: FieldFace; color: ButtonText; } + +.htmlarea .statusBar { + border: 1px solid; + border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; + padding: 2px 4px; + background-color: ButtonFace; + color: ButtonText; + font: 11px Tahoma,Verdana,sans-serif; +} + +.htmlarea .statusBar .statusBarTree a { + padding: 2px 5px; + color: #00f; +} + +.htmlarea .statusBar .statusBarTree a:visited { color: #00f; } +.htmlarea .statusBar .statusBarTree a:hover { + background-color: Highlight; + color: HighlightText; + padding: 1px 4px; + border: 1px solid HighlightText; +} + + +/* Hidden DIV popup dialogs (PopupDiv) */ + +.dialog { + color: ButtonText; + background: ButtonFace; +} + +.dialog .content { padding: 2px; } + +.dialog, .dialog button, .dialog input, .dialog select, .dialog textarea, .dialog table { + font: 11px Tahoma,Verdana,sans-serif; +} + +.dialog table { border-collapse: collapse; } + +.dialog .title { + background: #008; + color: #ff8; + border-bottom: 1px solid #000; + padding: 1px 0px 2px 5px; + font-size: 12px; + font-weight: bold; + cursor: default; +} + +.dialog .title .button { + float: right; + border: 1px solid #66a; + padding: 0px 1px 0px 2px; + margin-right: 1px; + color: #fff; + text-align: center; +} + +.dialog .title .button-hilite { border-color: #88f; background: #44c; } + +.dialog button { + width: 5em; + padding: 0px; +} + +.dialog .buttonColor { + padding: 1px; + cursor: default; + border: 1px solid; + border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; +} + +.dialog .buttonColor-hilite { + border-color: #000; +} + +.dialog .buttonColor .chooser, .dialog .buttonColor .nocolor { + height: 0.6em; + border: 1px solid; + padding: 0px 1em; + border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; +} + +.dialog .buttonColor .nocolor { padding: 0px; } +.dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; } + +.dialog .label { text-align: right; width: 6em; } +.dialog .value input { width: 100%; } +.dialog .buttons { text-align: right; padding: 2px 4px 0px 4px; } + +.dialog legend { font-weight: bold; } +.dialog fieldset table { margin: 2px 0px; } + +.popupdiv { + border: 2px solid; + border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; +} + +.popupwin { + padding: 0px; + margin: 0px; +} + +.popupwin .title { + background: #fff; + color: #000; + font-weight: bold; + font-size: 120%; + padding: 3px 10px; + margin-bottom: 10px; + border-bottom: 1px solid black; + letter-spacing: 2px; +} + +form { margin: 0px; border: none; } Index: openacs-4/packages/acs-templating/www/resources/htmlarea/htmlarea.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/htmlarea.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/htmlarea.js 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,1629 @@ +// +// htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc. +// This copyright notice MUST stay intact for use (see license.txt). +// +// A free WYSIWYG editor replacement for + + +

Where can I find out more info, download the latest version and talk to +other HTMLArea users?

+ +

You can find out more about HTMLArea and download the latest version on +the HTMLArea +homepage and you can talk to other HTMLArea users and post any comments +or suggestions you have in the HTMLArea forum.

+ +

Keyboard shortcuts

+ +

The editor provides the following key combinations:

+ + + +

Installation

+ +

How do I add HTMLArea to my web page?

+ +

It's easy. First you need to upload HTMLArea files to your website. +Just follow these steps.

+ +
    +
  1. Download the latest version from the htmlArea + homepage.
  2. +
  3. Unzip the files onto your local computer (making sure to maintain the + directory structure contained in the zip).
  4. +
  5. Create a new folder on your website called /htmlarea/ (make sure it's + NOT inside the cgi-bin).
  6. +
  7. Transfer all the HTMLArea files from your local computer into the + /htmlarea/ folder on your website.
  8. +
  9. Open the example page /htmlarea/example.html with your browser to make + sure everything works.
  10. +
+ +

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.

+ +
    + +
  1. Include the "htmlarea.js" script: +
    <script type="text/javascript" src="/htmlarea/htmlarea.js"></script>
    +
  2. + +
  3. If you are using popup dialogs, i.e. for insert table, insert image, + select color, then you need to include the "dialog.js" file. This is + recommended anyway. +
    <script type="text/javascript" src="/htmlarea/dialog.js"></script>
    +
  4. + +
  5. Include the corresponding language definition file. Note: + internationalization is available only since version 3.0. Check the files + containing "lang" in the distribution ZIP. If your preferred language is + not there yet and you decide to write it, please consider sending it to + us so that it gets included in the next release. +
    <script type="text/javascript" src="/htmlarea/lang/en.js"></script>
    + +
  6. Include the stylesheet (be sure to put this inside the HEAD tag): +
    <style type="text/css">@import url(/htmlarea/htmlarea.css)</style>
    +
  7. + +
  8. If you want to change all your <textarea>-s into + HTMLArea-s then you can use the simplest way to create HTMLArea:

    +
    <script type="text/javascript" defer="1">
    +    HTMLArea.replaceAll();
    +</script>
    +

    Note: you can also add the + HTMLArea.replaceAll() code to the onload + event handler for the body element, if you find it more appropriate.

    + +

    A different approach, if you have more than one textarea and only want + to change one of them, is to use HTMLArea.replace("id") -- + pass the id of your textarea. Do not use the + name attribute anymore, it's not a standard solution!

    + +
+ +

I want to change the editor settings, how do I do that?

+ +

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:

+ +
var config = new HTMLArea.Config(); // create a new configuration object
+                                    // having all the default values
+config.width = '90%';
+config.height = '200px';
+
+// the following sets a style for the page body (black text on yellow page)
+// and makes all paragraphs be bold by default
+config.pageStyle =
+  'body { background-color: yellow; color: black; font-family: verdana,sans-serif } ' +
+  'p { font-width: bold; } ';
+
+// the following replaces the textarea with the given id with a new
+// HTMLArea object having the specified configuration
+HTMLArea.replace('id', config);
+ +

Important: 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 no +trouble upgrading it.

+ +

How do I customize the toolbar?

+ +

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:

+ +
var config = new HTMLArea.Config();
+config.toolbar = [
+  ['fontname', 'space',
+   'fontsize', 'space',
+   'formatblock', 'space',
+   'bold', 'italic', 'underline']
+];
+HTMLArea.replace('id', config);
+ +

The toolbar is an Array of Array objects. Each array in the toolbar +defines a new line. The default toolbar looks like this:

+ +
config.toolbar = [
+[ "fontname", "space",
+  "fontsize", "space",
+  "formatblock", "space",
+  "bold", "italic", "underline", "separator",
+  "strikethrough", "subscript", "superscript", "separator",
+  "copy", "cut", "paste", "space", "undo", "redo" ],
+		
+[ "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator",
+  "insertorderedlist", "insertunorderedlist", "outdent", "indent", "separator",
+  "forecolor", "hilitecolor", "textindicator", "separator",
+  "inserthorizontalrule", "createlink", "insertimage", "inserttable", "htmlmode", "separator",
+  "popupeditor", "separator", "showhelp", "about" ]
+];
+ +

Except three strings, all others in the examples above need to be defined +in the config.btnList 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 +btnList:

+ + + +

Important: 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 no +trouble upgrading it.

+ +

How do I create custom buttons?

+ +

By design, the toolbar is easily extensible. For adding a custom button +one needs to follow two steps.

+ +

1. Register the button in config.btnList.

+ +

For each button in the toolbar, HTMLArea needs to know the following +information:

+ +

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).

+ +

Register button example #1

+ +
// get a default configuration
+var config = new HTMLArea.Config();
+// register the new button using Config.registerButton.
+// parameters:        button ID,   tooltip,          image,           textMode,
+config.registerButton("my-hilite", "Highlight text", "my-hilite.gif", false,
+// function that gets called when the button is clicked
+  function(editor, id) {
+    editor.surroundHTML('<span class="hilite">', '</span>');
+  }
+);
+ +

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.

+ +

Register button example #2

+ +
var config = new HTMLArea.Config();
+config.registerButton({
+  id        : "my-hilite",
+  tooltip   : "Highlight text",
+  image     : "my-hilite.gif",
+  textMode  : false,
+  action    : function(editor, id) {
+                editor.surroundHTML('<span class="hilite">', '</span>');
+              }
+});
+ +

You might notice that the "action" function receives two parameters: +editor and id. In the examples above we only used the +editor parameter. But it could be helpful for you to understand +both:

+ + + +

2. Inserting it into the toolbar

+ +

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.

+ +

For the sake of completion, following there are another examples.

+ +

Append your button to the default toolbar

+ +
config.toolbar.push([ "my-hilite" ]);
+ +

Customized toolbar

+ +
config.toolbar = [
+  ['fontname', 'space',
+   'fontsize', 'space',
+   'formatblock', 'space',
+   'separator', 'my-hilite', 'separator', 'space', // here's your button
+   'bold', 'italic', 'underline', 'space']
+];
+ +

Note: 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 (step 1) your custom button behaves just like a default +button.

+ +

Important: 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 no +trouble upgrading it.

+ +

A complete example

+ +

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 from outside files, 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. ;)

+ +
// All our custom buttons will call this function when clicked.
+// We use the buttonId parameter to determine what button
+// triggered the call.
+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;
+  }
+};
+
+// Create a new configuration object
+var config = new HTMLArea.Config();
+
+// Register our custom buttons
+config.registerButton("my-toc",  "Insert TOC", "my-toc.gif", false, clickHandler);
+config.registerButton("my-date", "Insert date/time", "my-date.gif", false, clickHandler);
+config.registerButton("my-bold", "Toggle bold/italic", "my-bold.gif", false, clickHandler);
+config.registerButton("my-hilite", "Hilite selection", "my-hilite.gif", false, clickHandler);
+
+// Append the buttons to the default toolbar
+config.toolbar.push(["linebreak", "my-toc", "my-date", "my-bold", "my-hilite"]);
+
+// Replace an existing textarea with an HTMLArea object having the above config.
+HTMLArea.replace("textAreaID", config);
+ + +
+
© InteractiveTools.com 2002, 2003. +
+HTMLArea v3.0 developed by Mihai Bazon for +InteractiveTools.com. +
+Documentation written by Mihai Bazon. +
+ +Last modified on Sun Aug 3 16:11:23 2003 + + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/release-notes.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/release-notes.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/release-notes.html 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,82 @@ + + + + HTMLArea-3.0-beta release notes + + + + +

HTMLArea-3.0-beta release notes

+ +

This release was compiled on Aug 11, 2003 [21:30] GMT.

+ + +

Changes since 3.0-Alpha:

+ + + +

Rationale for Beta

+ +

Why was this released as "Beta"? The code is quite stable and it + didn't deserve a "Beta" qualification. However, there are some things + left to do for the real 3.0 version. These things will not affect the + API to work with HTMLArea, in other words, you can install the Beta + right now and then install the final release without modifying your + code. That's if you don't modify HTMLArea itself. ;-)

+ +

To-Do before 3.0 final

+ +
    + +
  1. We should use a single popup interface. Currently there are two: + dialog.js and popupwin.js; dialog.js emulates modal dialogs, which + sucks when you want to open "select-color" from another popup and not + from the editor itself. Very buggy in IE. We should probably use only + modeless dialogs (that is, popupwin.js).
  2. + +
  3. Internationalization for the SpellChecker plugin.
  4. + +
  5. Internationalization for the TableOperations plugin.
  6. + +
  7. People who sent translations are invited to re-iterate through + their work and make it up-to-date with lang/en.js which is the main + lang file for HTMLArea-3.0. Some things have changed but not all + translations are updated.
  8. + +
  9. Documentation.
  10. + +
+ + +
+
Mihai Bazon
+ + +Last modified on Sun Aug 10 19:31:39 2003 + + + + + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/test.cgi =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/Attic/test.cgi,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/test.cgi 4 Mar 2004 18:32:10 -0000 1.1 @@ -0,0 +1,21 @@ +#! /usr/bin/perl -w +# +# +# + + + +use CGI; + +print "Content-type: text/html\n\n"; +$c = new CGI; +$ta = $c->param('ta'); + +print < + + +$ta + + +EOF Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_about.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_about.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_align_center.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_align_center.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_align_justify.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_align_justify.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_align_left.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_align_left.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_align_right.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_align_right.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_blank.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_blank.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_charmap.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_charmap.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_color_bg.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_color_bg.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_color_fg.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_color_fg.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_copy.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_copy.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_custom.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_custom.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_cut.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_cut.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_delete.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_delete.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_bold.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_bold.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_italic.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_italic.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_strike.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_strike.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_sub.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_sub.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_sup.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_sup.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_underline.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_format_underline.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_help.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_help.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_hr.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_hr.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_html.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_html.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_image.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_image.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_indent_less.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_indent_less.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_indent_more.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_indent_more.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_link.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_link.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_list_bullet.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_list_bullet.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_list_num.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_list_num.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_paste.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_paste.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_redo.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_redo.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_show_border.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_show_border.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_splitcel.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_splitcel.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_undo.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/ed_undo.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/fullscreen_maximize.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/fullscreen_maximize.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/fullscreen_minimize.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/fullscreen_minimize.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/images/insert_table.gif =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/images/insert_table.gif,v diff -u Binary files differ Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/b5.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/b5.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/b5.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,36 @@ +// I18N constants -- Chinese Big-5 +// by Dave Lo -- dlo@interactivetools.com +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "b5", + + tooltips: { + bold: "����", + italic: "����", + underline: "���u", + strikethrough: "�R���u", + subscript: "�U��", + superscript: "�W��", + justifyleft: "��m�a��", + justifycenter: "��m�~��", + justifyright: "��m�a�k", + justifyfull: "��m���k����", + orderedlist: "���DzM��", + unorderedlist: "�L�DzM��", + outdent: "��p��e�ť�", + indent: "�[�e��e�ť�", + forecolor: "��r�C��", + backcolor: "�I���C��", + horizontalrule: "�����u", + createlink: "���J�s��", + insertimage: "���J�ϧ�", + inserttable: "���J���", + htmlmode: "����HTML��l�X", + popupeditor: "��j", + about: "���� HTMLArea", + help: "����", + textindicator: "�r��Ҥl" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/da.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/da.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/da.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,38 @@ +// danish version for htmlArea v3.0 - Alpha Release +// - translated by rene +// term�s and licenses are equal to htmlarea! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "da", + + tooltips: { + bold: "Fed", + italic: "Kursiv", + underline: "Understregning", + strikethrough: "Overstregning ", + subscript: "S�nket skrift", + superscript: "H�vet skrift", + justifyleft: "Venstrejuster", + justifycenter: "Centrer", + justifyright: "H�jrejuster", + justifyfull: "Lige margener", + orderedlist: "Opstilling med tal", + unorderedlist: "Opstilling med punkttegn", + outdent: "Formindsk indrykning", + indent: "For�g indrykning", + forecolor: "Skriftfarve", + backcolor: "Baggrundsfarve", + horizontalrule: "Horisontal linie", + createlink: "Inds�t hyperlink", + insertimage: "Inds�t billede", + inserttable: "Inds�t tabel", + htmlmode: "HTML visning", + popupeditor: "Vis editor i popup", + about: "Om htmlarea", + help: "Hj�lp", + textindicator: "Anvendt stil" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/de.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/de.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/de.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,38 @@ +// german version for htmlArea v3.0 - Alpha Release +// - translated by AtK +// term�s and licenses are equal to htmlarea! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "de", + + tooltips: { + bold: "Fett", + italic: "Kursiv", + underline: "Unterstrichen", + strikethrough: "Durchgestrichen", + subscript: "hochgestellt", + superscript: "tiefgestellt", + justifyleft: "Links ausrichten", + justifycenter: "Zentrieren", + justifyright: "Rechts ausrichten", + justifyfull: "Blocksatz", + orderedlist: "Nummerierung", + unorderedlist: "Aufz�hlungszeichen", + outdent: "Einzug verkleinern", + indent: "Einzug vergr�ssern", + forecolor: "Text Farbe", + backcolor: "Hintergrund Farbe", + horizontalrule: "Horizontale Linie", + createlink: "Hyperlink einf�gen", + insertimage: "Bild einf�gen", + inserttable: "Tabelle einf�gen", + htmlmode: "HTML Modus", + popupeditor: "Editor im Popup �ffnen", + about: "�ber htmlarea", + help: "Hilfe", + textindicator: "derzeitiger Stil" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/en.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/en.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/en.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,63 @@ +// I18N constants + +// LANG: "en", ENCODING: UTF-8 | ISO-8859-1 +// Author: Mihai Bazon, + +// 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 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", + copy: "Copy selection", + paste: "Paste from clipboard" + }, + + buttons: { + "ok": "OK", + "cancel": "Cancel" + }, + + msg: { + "Path": "Path", + "TEXT_MODE": "You are in TEXT MODE. Use the [<>] button to switch back to WYSIWIG." + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/es.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/es.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/es.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,36 @@ +// I18N constants + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "es", + + tooltips: { + bold: "Negritas", + italic: "Cursiva", + underline: "Subrayado", + strikethrough: "Texto Cruzado", + subscript: "Subscript", + superscript: "Superscript", + justifyleft: "Alinear a la Izquierda", + justifycenter: "Centrar", + justifyright: "Alinear a la Derecha", + justifyfull: "Justificar", + orderedlist: "Lista Ordenada", + unorderedlist: "Lista No Ordenada", + outdent: "Aumentar Sangr�a", + indent: "Disminuir Sangr�a", + forecolor: "Color del Texto", + backcolor: "Color del Fondo", + horizontalrule: "L�nea Horizontal", + createlink: "Insertar Enlace", + insertimage: "Insertar Imagen", + inserttable: "Insertar Tabla", + htmlmode: "Ver Documento en HTML", + popupeditor: "Ampliar Editor", + about: "Acerca del Editor", + help: "Ayuda", + textindicator: "Estilo Actual" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/fi.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/fi.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/fi.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,46 @@ +// I18N constants + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "en", + + tooltips: { + bold: "Lihavoitu", + italic: "Kursivoitu", + underline: "Alleviivattu", + strikethrough: "Yliviivattu", + subscript: "Alaindeksi", + superscript: "Yl�indeksi", + justifyleft: "Tasaa vasemmat reunat", + justifycenter: "Keskit�", + justifyright: "Tasaa oikeat reunat", + justifyfull: "Tasaa molemmat reunat", + insertorderedlist: "Numerointi", + insertunorderedlist: "Luettelomerkit", + outdent: "Lis�� sisennyst�", + indent: "Pienenn� sisennyst�", + forecolor: "Fontin v�ri", + hilitecolor: "Taustav�ri", + inserthorizontalrule: "Vaakaviiva", + createlink: "Lis�� Linkki", + insertimage: "Lis�� Kuva", + inserttable: "Lis�� Taulu", + htmlmode: "HTML L�hdekoodi vs WYSIWYG", + popupeditor: "Suurenna Editori", + about: "Tietoja Editorista", + showhelp: "N�yt� Ohje", + textindicator: "Nykyinen tyyli", + undo: "Peruuta viimeinen toiminto", + redo: "Palauta viimeinen toiminto", + cut: "Leikkaa maalattu", + copy: "Kopioi maalattu", + paste: "Liit� leikepy�d�lt�" + }, + + buttons: { + "ok": "Hyv�ksy", + "cancel": "Peruuta" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/fr.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/fr.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/fr.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,36 @@ +// I18N constants + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "fr", + + tooltips: { + bold: "Gras", + italic: "Italique", + underline: "Soulign�", + strikethrough: "Barr�", + subscript: "Subscript", + superscript: "Superscript", + justifyleft: "Align� � gauche", + justifycenter: "Centr�", + justifyright: "Align� � droite", + justifyfull: "Justifi�", + orderedlist: "Num�rotation", + unorderedlist: "Puces", + outdent: "Augmenter le retrait", + indent: "Diminuer le retrait", + forecolor: "Couleur du texte", + backcolor: "Couleur du fond", + horizontalrule: "Ligne horizontale", + createlink: "Ins�rer un lien", + insertimage: "Ins�rer une image", + inserttable: "Ins�rer un tableau", + htmlmode: "Passer au code source HTML", + popupeditor: "Agrandir l'�diteur", + about: "A propos de cet �diteur", + help: "Aide sur l'�diteur", + textindicator: "Style courant" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/gb.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/gb.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/gb.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,36 @@ +// I18N constants -- Chinese GB +// by Dave Lo -- dlo@interactivetools.com +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "gb", + + 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: "��������" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/it.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/it.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/it.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,36 @@ +// I18N constants + +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: "Centra", + justifyright: "Allinea a destra", + justifyfull: "Giustifica", + orderedlist: "Elenco numerato", + unorderedlist: "Elenco puntato", + outdent: "Riduci rientro", + indent: "Aumenta rientro", + forecolor: "Colore carattere", + backcolor: "Colore di sfondo", + horizontalrule: "Linea orizzontale", + createlink: "Inserisci collegamento ipertestuale", + insertimage: "Inserisci immagine", + inserttable: "Inserisci tabella", + htmlmode: "Passa alla visualizzazione HTML", + popupeditor: "Ingrandisci editor", + about: "Info", + help: "Aiuto", + textindicator: "Stile utilizzato" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-euc.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-euc.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-euc.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,37 @@ +// I18N constants -- Japanese EUC +// 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-euc", + + 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: "���ߤΥ�������" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-jis.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-jis.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-jis.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,37 @@ +// 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: "$BC$7@~(B", + subscript: "$B2eIU$-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" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-sjis.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-sjis.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-sjis.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,37 @@ +// I18N constants -- Japanese Shift-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-sjis", + + tooltips: { + bold: "����", + italic: "�Α�", + underline: "����", + strikethrough: "�ł�������", + subscript: "���t���Y����", + superscript: "��t���Y����", + justifyleft: "����", + justifycenter: "������", + justifyright: "�E��", + justifyfull: "�ϓ����t", + orderedlist: "�ԍ��t���ӏ�����", + unorderedlist: "�L���t���ӏ�����", + outdent: "�C���f���g����", + indent: "�C���f���g�ݒ�", + forecolor: "�����F", + backcolor: "�w�i�F", + horizontalrule: "������", + createlink: "�����N�쐬", + insertimage: "�摜�}��", + inserttable: "�e�[�u���}��", + htmlmode: "HTML�\���ؑ�", + popupeditor: "�G�f�B�^�g��", + about: "�o�[�W�������", + help: "�w���v", + textindicator: "���݂̃X�^�C��" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-utf8.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-utf8.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ja-utf8.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,37 @@ +// 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: "現在のスタイル" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/nb.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/nb.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/nb.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,36 @@ +// I18N constants + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "nb", + + tooltips: { + bold: "Fet", + italic: "Kursiv", + underline: "Understreket", + strikethrough: "Gjennomstreket", + subscript: "Senket", + superscript: "Hevet", + justifyleft: "Venstrejuster", + justifycenter: "Midtjuster", + justifyright: "H�yrejuster", + justifyfull: "Blokkjuster", + orderedlist: "Nummerert liste", + unorderedlist: "Punktmerket liste", + outdent: "�ke innrykk", + indent: "Reduser innrykk", + forecolor: "Skriftfarge", + backcolor: "Bakgrunnsfarge", + horizontalrule: "Horisontal linje", + createlink: "Sett inn lenke", + insertimage: "Sett inn bilde", + inserttable: "Sett inn tabell", + htmlmode: "Vis HTML kode", + popupeditor: "Forst�rr redigeringsvindu", + about: "Om..", + help: "Hjelp", + textindicator: "Gjeldende stil" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/nl.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/nl.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/nl.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,37 @@ +// Dutch version +// Author: Wouter Meeus alias Redspider + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "nl", + + tooltips: { + bold: "Vet", + italic: "Cursief", + underline: "Onderlijnen", + strikethrough: "Doorstrepen", + subscript: "Subscript", + superscript: "Superscript", + justifyleft: "Links Uitlijnen", + justifycenter: "Centreren", + justifyright: "Rechts Uitlijnen", + justifyfull: "Uitvullen", + orderedlist: "Nummering", + unorderedlist: "Opsomming", + outdent: "Verklein insprong", + indent: "Vergroot insprong", + forecolor: "Tekst Kleur", + backcolor: "Achtergrond Kleur", + horizontalrule: "Horizontale lijn", + createlink: "Hyperlink invoegen", + insertimage: "Afbeelding invoegen", + inserttable: "Tabel invoegen", + htmlmode: "HTML broncode", + popupeditor: "Vergroot Editor", + about: "Over deze editor", + help: "Help", + textindicator: "Huidige stijl" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/pl.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/pl.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/pl.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,36 @@ +// I18N constants + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "pl", + + tooltips: { + bold: "Pogrubienie", + italic: "Pochylenie", + underline: "Podkre�lenie", + strikethrough: "Przekre�lenie", + subscript: "Indeks dolny", + superscript: "Indeks g�rny", + justifyleft: "Wyr�wnaj do lewej", + justifycenter: "Wy�rodkuj", + justifyright: "Wyr�wnaj do prawej", + justifyfull: "Wyjustuj", + orderedlist: "Numerowanie", + unorderedlist: "Wypunktowanie", + outdent: "Zmniejsz wci�cie", + indent: "Zwi�ksz wci�cie", + forecolor: "Kolor czcionki", + backcolor: "Kolor t�a", + horizontalrule: "Linia pozioma", + createlink: "Wstaw adres sieci Web", + insertimage: "Wstaw obraz", + inserttable: "Wstaw tabel�", + htmlmode: "Edycja WYSIWYG/w �r�dle strony", + popupeditor: "Pe�ny ekran", + about: "Informacje o tym edytorze", + help: "Pomoc", + textindicator: "Obecny styl" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/pt_br.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/pt_br.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/pt_br.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,37 @@ +// I18N constants +// Brazilian Portuguese Translation by Alex Piaz + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "pt_br", + + tooltips: { + bold: "Negrito", + italic: "It�lico", + underline: "Sublinhado", + strikethrough: "Tachado", + subscript: "Subescrito", + superscript: "Sobrescrito", + justifyleft: "Alinhar � Esquerda", + justifycenter: "Centralizar", + justifyright: "Alinhar � Direita", + justifyfull: "Justificar", + orderedlist: "Lista Numerada", + unorderedlist: "Lista Marcadores", + outdent: "Diminuir Indenta��o", + indent: "Aumentar Indenta��o", + forecolor: "Cor da Fonte", + backcolor: "Cor do Fundo", + horizontalrule: "Linha Horizontal", + createlink: "Inserir Link", + insertimage: "Inserir Imagem", + inserttable: "Inserir Tabela", + htmlmode: "Ver C�digo-Fonte", + popupeditor: "Expandir Editor", + about: "Sobre", + help: "Ajuda", + textindicator: "Estilo Atual" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ro.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ro.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ro.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,63 @@ +// I18N constants + +// LANG: "ro", ENCODING: UTF-8 +// Author: Mihai Bazon, + +// 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: "Subscript", + superscript: "Superscript", + 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ă link", + insertimage: "Inserează o 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" + }, + + buttons: { + "ok": "OK", + "cancel": "Anulează" + }, + + msg: { + "Path": "Calea", + "TEXT_MODE": "Eşti în modul TEXT. Apasă butonul [<>] pentru a te întoarce în modul WYSIWYG." + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ru.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ru.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/ru.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,36 @@ +// I18N constants + +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: "���� ������", + backcolor: "���� ����", + horizontalrule: "�������������� �����", + createlink: "�������� ������", + insertimage: "�������� ��������", + inserttable: "�������� �������", + htmlmode: "������ HTML ���", + popupeditor: "��������� ��������", + about: "� ���������", + help: "������ � �������������", + textindicator: "������ �����" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/se.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/se.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/se.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,38 @@ +// Swedish version for htmlArea v3.0 - Alpha Release +// - translated by pat +// term�s and licenses are equal to htmlarea! + +HTMLArea.I18N = { + + // the following should be the filename without .js extension + // it will be used for automatically load plugin language. + lang: "se", + + tooltips: { + bold: "Fet", + italic: "Kursiv", + underline: "Understruken", + strikethrough: "Genomstruken", + subscript: "Neds�nkt", + superscript: "Upph�jd", + justifyleft: "V�nsterjustera", + justifycenter: "Centrera", + justifyright: "H�gerjustera", + justifyfull: "Marginaljustera", + orderedlist: "Numrerad lista", + unorderedlist: "Punktlista", + outdent: "Minska indrag", + indent: "�ka indrag", + forecolor: "Textf�rg", + backcolor: "Bakgrundsf�rg", + horizontalrule: "V�gr�t linje", + createlink: "Infoga l�nk", + insertimage: "Infoga bild", + inserttable: "Infoga tabell", + htmlmode: "Visa k�llkod", + popupeditor: "Visa i eget f�nster", + about: "Om denna editor", + help: "Hj�lp", + textindicator: "Nuvarande stil" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/lang/vn.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/lang/vn.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/lang/vn.js 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,38 @@ +// I18N constants : Vietnamese +// mviet: download the free Vietnamese script addon for htmlArea at: www.mviet.org +// email: mviet@socal.rr.com + +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 Đít", + strikethrough: "Gạch Xóa", + subscript: "Viết Xuống Dưới", + superscript: "Viết Lên Trên ", + justifyleft: "Ngay Hàng Bên Trái ", + justifycenter: "Ngay Hàng Giữa", + justifyright: "Ngay Hàng Lên Phải", + justifyfull: "Ngay Hàng Trái & Phải", + orderedlist: "Chuỗi Thứ Tự 123", + unorderedlist: "Chuỗi Nút", + outdent: "Giảm Vào Hàng", + indent: "Tăng Vào Hàng", + forecolor: "Màu Chữ", + backcolor: "Màu Nền", + horizontalrule: "Thước Ngang", + createlink: "Tạo Nối", + insertimage: "Mang Hình Vô", + inserttable: "Mang Khuôn Vô", + htmlmode: "Bật / Tắt Nguồn HTML", + popupeditor: "Póp Lớn Khung Viết", + about: "Nói Về Chương Trình", + help: "Giúp Đỡ", + textindicator: "Loại Kiểu Viết" + } +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/plugins/SpellChecker/readme-tech.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/plugins/SpellChecker/readme-tech.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/plugins/SpellChecker/readme-tech.html 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,115 @@ + + + + HTMLArea Spell Checker + + + +

HTMLArea Spell Checker

+ +

The HTMLArea Spell Checker subsystem consists of the following + files:

+ +
    + +
  • spell-checker.js — the spell checker plugin interface for + HTMLArea
  • + +
  • spell-checker-ui.html — the HTML code for the user + interface
  • + +
  • spell-checker-ui.js — functionality of the user + interface
  • + +
  • spell-checker-logic.cgi — Perl CGI script that checks a text + given through POST for spelling errors
  • + +
  • spell-checker-style.css — style for mispelled words
  • + +
  • lang/en.js — main language file (English).
  • + +
+ +

Process overview

+ +

+ 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 + window.opener.SpellChecker.editor 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. +

+ +

+ 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. +

+ +

The server-side script (spell-check-logic.cgi)

+ +

+ Unicode safety — the program is + Unicode safe. HTML entities are expanded into their corresponding + Unicode characters. These characters will be matched as part of the + word passed to Aspell. All texts passed to Aspell are in Unicode + (when appropriate). However, Aspell seems to not support Unicode + yet (thread concerning Aspell and Unicode). + This mean that words containing Unicode + characters that are not in 0..255 are likely to be reported as "mispelled" by Aspell. +

+ +

+ I digged the Net for a couple of hours today and I can't seem to find + any open-source spell checker that has Unicode support. For this + reason we keep using Aspell, because it also seems to have the + best suggestions engine. Unicode support will eventually be + implemented in Aspell. Email + Kevin Atkinson (Aspell author and maintainer) about this ;-) +

+ +

+ The Perl Unicode manual (man perluniintro) states: +

+ +
+ + 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. + +
+ +

In other words, do not assume that this script is + Unicode-safe on Perl interpreters older than 5.8.0.

+ +

The following Perl modules are required:

+ + + +

Of these, only Text::Aspell might need to be installed manually. The + others are likely to be available by default in most Perl distributions.

+ +
+
Mihai Bazon
+ + +Last modified on Sun Aug 10 12:28:24 2003 + + + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/plugins/SpellChecker/spell-check-logic.cgi =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/plugins/SpellChecker/spell-check-logic.cgi,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/plugins/SpellChecker/spell-check-logic.cgi 4 Mar 2004 18:32:11 -0000 1.1 @@ -0,0 +1,155 @@ +#! /usr/bin/perl -w + +# Spell Checker Plugin for HTMLArea-3.0 +# Implementation by Mihai Bazon. Sponsored by www.americanbible.org +# +# htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc. +# This notice MUST stay intact for use (see license.txt). +# +# A free WYSIWYG editor replacement for + + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/popups/insert_image.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/popups/insert_image.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/popups/insert_image.html 4 Mar 2004 18:32:14 -0000 1.1 @@ -0,0 +1,216 @@ + + + + Insert Image + + + + + + + + + + + +
Insert Image
+ +
+ + + + + + + + + + + + + +
Image URL: + +
Alternate text:
+ +

+ +

+Layout + +
+ +
Alignment:
+ + +

+ +

Border thickness:
+ + +
+ +
+ +
+Spacing + +
+ +
Horizontal:
+ + +

+ +

Vertical:
+ + +
+ +
+ +
+
+ + +
+ +
+ + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/popups/insert_table.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/popups/insert_table.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/popups/insert_table.html 4 Mar 2004 18:32:14 -0000 1.1 @@ -0,0 +1,173 @@ + + + + Insert Table + + + + + + + + + + + +
Insert Table
+ +
+ + + + + + + + + + + + + + + + + + + +
Rows:
Cols:Width:
+ +

+ +

+Layout + +
+ +
Alignment:
+ + +

+ +

Border thickness:
+ + +
+ +
+ +
+Spacing + +
+ +
Cell spacing:
+ + +

+ +

Cell padding:
+ + +
+ +
+ +
+
+ + +
+ +
+ + + Index: openacs-4/packages/acs-templating/www/resources/htmlarea/popups/old-fullscreen.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/popups/old-fullscreen.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/popups/old-fullscreen.html 4 Mar 2004 18:32:14 -0000 1.1 @@ -0,0 +1,131 @@ + +Fullscreen Editor + + + + + + +
+ +
+ + \ No newline at end of file Index: openacs-4/packages/acs-templating/www/resources/htmlarea/popups/old_insert_image.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/popups/old_insert_image.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/popups/old_insert_image.html 4 Mar 2004 18:32:14 -0000 1.1 @@ -0,0 +1,206 @@ + + + + + + + +Insert Image + + + + + +
Image URL:
+ + +
Alternate Text:
+ + +
+Layout +
+ +
+Spacing +
+ +
Alignment:
+ + +
Horizontal:
+ + +
Border Thickness:
+ + +
Vertical:
+ + + + + + + \ No newline at end of file Index: openacs-4/packages/acs-templating/www/resources/htmlarea/popups/popup.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/popups/popup.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/popups/popup.js 4 Mar 2004 18:32:14 -0000 1.1 @@ -0,0 +1,42 @@ +function __dlg_onclose() { + if (!document.all) { + opener.Dialog._return(null); + } +}; + +function __dlg_init() { + if (!document.all) { + // init dialogArguments, as IE gets it + window.dialogArguments = opener.Dialog._arguments; + window.sizeToContent(); + window.sizeToContent(); // for reasons beyond understanding, + // only if we call it twice we get the + // correct size. + window.addEventListener("unload", __dlg_onclose, true); + // center on parent + var px1 = opener.screenX; + var px2 = opener.screenX + opener.outerWidth; + var py1 = opener.screenY; + var py2 = opener.screenY + opener.outerHeight; + var x = (px2 - px1 - window.outerWidth) / 2; + var y = (py2 - py1 - window.outerHeight) / 2; + window.moveTo(x, y); + var body = document.body; + window.innerHeight = body.offsetHeight; + window.innerWidth = body.offsetWidth; + } else { + var body = document.body; + window.dialogHeight = body.offsetHeight + 50 + "px"; + window.dialogWidth = body.offsetWidth + "px"; + } +}; + +// closes the dialog and passes the return info upper. +function __dlg_close(val) { + if (document.all) { // IE + window.returnValue = val; + } else { + opener.Dialog._return(val); + } + window.close(); +}; Index: openacs-4/packages/acs-templating/www/resources/htmlarea/popups/select_color.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/popups/select_color.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/popups/select_color.html 4 Mar 2004 18:32:14 -0000 1.1 @@ -0,0 +1,346 @@ + + +Select Color + + + + + + + +
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +