forked from extern/egroupware
update the rest of the htmlarea-tree
This commit is contained in:
parent
df41169804
commit
9ab15364c4
@ -1,3 +1,16 @@
|
||||
// htmlArea v3.0 - Copyright (c) 2003-2004 interactivetools.com, inc.
|
||||
// This copyright notice MUST stay intact for use (see license.txt).
|
||||
//
|
||||
// Portions (c) dynarch.com, 2003-2004
|
||||
//
|
||||
// A free WYSIWYG editor replacement for <textarea> fields.
|
||||
// For full source code and docs, visit http://www.interactivetools.com/
|
||||
//
|
||||
// Version 3.0 developed by Mihai Bazon.
|
||||
// http://dynarch.com/mishoo
|
||||
//
|
||||
// $Id$
|
||||
|
||||
// Though "Dialog" looks like an object, it isn't really an object. Instead
|
||||
// it's just namespace for protecting global symbols.
|
||||
|
||||
@ -5,26 +18,13 @@ 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._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();
|
||||
HTMLArea._stopEvent(ev);
|
||||
}
|
||||
};
|
||||
|
||||
@ -38,23 +38,23 @@ Dialog._modal = null;
|
||||
Dialog._arguments = null;
|
||||
|
||||
Dialog._geckoOpenModal = function(url, action, init) {
|
||||
var dlg = window.open(url, "ha_dialog",
|
||||
var dlg = window.open(url, "hadialog",
|
||||
"toolbar=no,menubar=no,personalbar=no,width=10,height=10," +
|
||||
"scrollbars=no,resizable=no");
|
||||
"scrollbars=no,resizable=yes");
|
||||
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);
|
||||
HTMLArea._addEvent(w, "click", Dialog._parentEvent);
|
||||
HTMLArea._addEvent(w, "mousedown", Dialog._parentEvent);
|
||||
HTMLArea._addEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
// release the captured events
|
||||
function relwin(w) {
|
||||
w.removeEventListener("focus", Dialog._parentEvent, true);
|
||||
w.removeEventListener("mousedown", Dialog._parentEvent, true);
|
||||
w.removeEventListener("click", Dialog._parentEvent, true);
|
||||
HTMLArea._removeEvent(w, "click", Dialog._parentEvent);
|
||||
HTMLArea._removeEvent(w, "mousedown", Dialog._parentEvent);
|
||||
HTMLArea._removeEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
capwin(window);
|
||||
// capture other frames
|
||||
|
@ -17,6 +17,8 @@
|
||||
border: 1px solid ButtonFace;
|
||||
padding: 1px;
|
||||
margin: 0px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
.htmlarea .toolbar .buttonHover {
|
||||
border: 1px solid;
|
||||
@ -39,11 +41,9 @@
|
||||
border: 1px solid ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .buttonDisabled { background-color: #aaa; }
|
||||
|
||||
.htmlarea .toolbar .buttonDisabled img {
|
||||
filter: alpha(opacity = 25);
|
||||
-moz-opacity: 25%;
|
||||
-moz-opacity: 0.25;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .separator {
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -14,13 +14,13 @@
|
||||
<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>
|
||||
<td class="label">Version:</td><td><% $version %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Release:</td><td>beta (<a href="release-notes.html">release notes</a>)</td>
|
||||
<td class="label">Release:</td><td><% $release %> (<a href="release-notes.html">release notes</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label bline">Compiled at:</td><td class="bline">Aug 11, 2003 [21:30] GMT</td>
|
||||
<td class="label bline">Compiled at:</td><td class="bline"><% $time %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">SourceForge page:</td><td><a href="http://sf.net/projects/itools-htmlarea/">http://sf.net/projects/itools-htmlarea/</a></td>
|
||||
@ -37,30 +37,41 @@
|
||||
|
||||
<p>
|
||||
HTMLArea is copyright <a
|
||||
href="http://interactivetools.com">InteractiveTools.com</a> and
|
||||
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://students.infoiasi.ro/~mishoo/">Mihai Bazon</a> for
|
||||
InteractiveTools. It contains code sponsored by other companies as
|
||||
well.
|
||||
<a href="http://dynarch.com/mishoo/">Mihai Bazon</a> for
|
||||
InteractiveTools. It contains code sponsored by third-party companies as well.
|
||||
Please see our About Box for details about who sponsored what plugins.
|
||||
</p>
|
||||
|
||||
<h2>Online demos</h2>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><a href="example.html">HTMLArea standard</a> -- contains the core
|
||||
<li><a href="examples/core.html">HTMLArea standard</a> -- contains the core
|
||||
editor.</li>
|
||||
|
||||
<li><a href="example-table-operations.html">HTMLArea + tables</a> --
|
||||
loads the <tt>TableOperations</tt> plugin, sponsored by <a
|
||||
href="http://bloki.com">Zapatec Inc.</a></li>
|
||||
<li><a href="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="example-spell-checker.html">HTMLArea + spell checher</a>
|
||||
-- loads the <tt>SpellChecker</tt> plugin, sponsored by <a
|
||||
href="http://americanbible.org">American Bible Society</a>.</li>
|
||||
<li><a href="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="example-fully-loaded.html">HTMLArea fully loaded</a> ;-)</li>
|
||||
<li><a href="examples/full-page.html">HTMLArea Full HTML Editor</a> --
|
||||
loads the <tt>FullPage</tt> plugin which allows you to edit a full
|
||||
HTML page, including <title>, <!DOCTYPE...> and some
|
||||
other options.</li>
|
||||
|
||||
<li><a href="examples/context-menu.html">HTMLArea with Context
|
||||
Menu</a> -- this plugin provides a nice and useful context menu.</li>
|
||||
|
||||
<li><a href="examples/fully-loaded.html">HTMLArea fully loaded</a> --
|
||||
all of the above. ;-)</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@ -78,14 +89,15 @@
|
||||
<pre style="margin-left: 2em"
|
||||
>
|
||||
cd /var/www/html
|
||||
unzip /path/to/archive/HTMLArea-3.0-beta.zip
|
||||
mv HTMLArea-3.0-beta htmlarea
|
||||
unzip /path/to/archive/<% $basename %>.zip
|
||||
mv <% $basename %> htmlarea
|
||||
find htmlarea/ -type f -exec chmod 644 {} \;
|
||||
find htmlarea/ -type d -exec chmod 755 {} \;
|
||||
find htmlarea/ -name "*.cgi" -exec chmod 755 {} \;</pre>
|
||||
|
||||
<p>
|
||||
<strong>Notes.</strong> You may chose to symlink "htmlarea" to "HTMLArea-3.0-beta", in which case your server needs to be configured to
|
||||
<strong>Notes.</strong> You may chose to symlink "htmlarea" to "<%
|
||||
$basename %>", in which case your server needs to be configured to
|
||||
"<tt>FollowSymLinks</tt>". You need to make sure that *.cgi files are
|
||||
interpreted as CGI scripts. If you want to use the SpellChecker
|
||||
plugin you need to have a recent version of Perl installed (I
|
||||
@ -146,7 +158,7 @@ find htmlarea/ -name "*.cgi" -exec chmod 755 {} \;</pre>
|
||||
latest news.</p>
|
||||
|
||||
<p>Sometimes I post news about the latest developments on <a
|
||||
href="http://students.infoiasi.ro/~mishoo/">my personal homepage</a>.</p>
|
||||
href="http://dynarch.com/mishoo/">my personal homepage</a>.</p>
|
||||
|
||||
<h2>"It doesn't work, what's wrong?"</h2>
|
||||
|
||||
@ -178,13 +190,21 @@ find htmlarea/ -name "*.cgi" -exec chmod 755 {} \;</pre>
|
||||
get back into the public HTMLArea distribution) I'll be cheaper. ;-)</p>
|
||||
|
||||
<hr />
|
||||
<address><a href="http://students.infoiasi.ro/~mishoo/">Mihai Bazon</a></address>
|
||||
<address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address>
|
||||
<!-- Created: Sun Aug 3 14:11:26 EEST 2003 -->
|
||||
<!-- hhmts start -->
|
||||
Last modified on Tue Aug 12 00:23:26 2003
|
||||
<!-- hhmts end -->
|
||||
<!-- hhmts start --> Last modified: Wed Jan 28 11:54:47 EET 2004 <!-- hhmts end -->
|
||||
<!-- doc-lang: English -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%ARGS>
|
||||
$project => 'HTMLArea'
|
||||
$version => '3.0'
|
||||
$release => 'rc1'
|
||||
$basename => 'HTMLArea-3.0-rc1'
|
||||
</%ARGS>
|
||||
|
||||
<%INIT>;
|
||||
use POSIX qw(strftime);
|
||||
my $time = strftime '%b %e, %Y [%H:%M] GMT', gmtime;
|
||||
</%INIT>
|
||||
|
63
phpgwapi/js/htmlarea/lang/cz.js
Normal file
63
phpgwapi/js/htmlarea/lang/cz.js
Normal file
@ -0,0 +1,63 @@
|
||||
// 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."
|
||||
}
|
||||
};
|
@ -1,6 +1,7 @@
|
||||
// german version for htmlArea v3.0 - Alpha Release
|
||||
// - translated by AtK<atk@chello.at>
|
||||
// term´s and licenses are equal to htmlarea!
|
||||
// translation improved by broxx<broxx@broxx.com>
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
@ -13,41 +14,41 @@ HTMLArea.I18N = {
|
||||
italic: "Kursiv",
|
||||
underline: "Unterstrichen",
|
||||
strikethrough: "Durchgestrichen",
|
||||
subscript: "hochgestellt",
|
||||
superscript: "tiefgestellt",
|
||||
subscript: "Hochgestellt",
|
||||
superscript: "Tiefgestellt",
|
||||
justifyleft: "Links ausrichten",
|
||||
justifycenter: "Zentrieren",
|
||||
justifyright: "Rechts ausrichten",
|
||||
justifyfull: "Blocksatz",
|
||||
orderedlist: "Nummerierung",
|
||||
unorderedlist: "Aufzählungszeichen",
|
||||
unorderedlist: "Aufzaehlungszeichen",
|
||||
outdent: "Einzug verkleinern",
|
||||
indent: "Einzug vergrössern",
|
||||
forecolor: "Text Farbe",
|
||||
backcolor: "Hintergrund Farbe",
|
||||
hilitecolor: "Hintergrund Farbe",
|
||||
horizontalrule: "Horizontale Linie",
|
||||
createlink: "Hyperlink einfügen",
|
||||
insertimage: "Bild einfügen",
|
||||
inserttable: "Tabelle einfügen",
|
||||
createlink: "Hyperlink einfuegen",
|
||||
insertimage: "Bild einfuegen",
|
||||
inserttable: "Tabelle einfuegen",
|
||||
htmlmode: "HTML Modus",
|
||||
popupeditor: "Editor im Popup öffnen",
|
||||
about: "Über htmlarea",
|
||||
help: "Hilfe",
|
||||
about: "Ueber HtmlArea",
|
||||
showhelp: "Hilfe",
|
||||
textindicator: "derzeitiger Stil",
|
||||
undo: "macht ihre letzte Aktion rückgängig",
|
||||
redo: "führt ihre letzte Aktion wieder aus",
|
||||
cut: "Auswahl ausschneiden",
|
||||
copy: "Auswahl kopieren",
|
||||
paste: "einfügen aus Zwischenablage"
|
||||
undo: "Rueckgaengig",
|
||||
redo: "Wiederholen",
|
||||
cut: "Ausschneiden",
|
||||
copy: "Kopieren",
|
||||
paste: "Einfuegen"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Abruch"
|
||||
"cancel": "Abbrechen"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Pfad",
|
||||
"TEXT_MODE": "Sie sind in TEXT MODE. Benützen sie den [<>] Knopf um zu WYSIWIG zurück zu wechseln."
|
||||
"TEXT_MODE": "Du befindest dich im HTML Modus. Benuetze die [<>] Schaltflaeche um in den WYSIWIG-Modus zu wechseln."
|
||||
}
|
||||
};
|
||||
|
63
phpgwapi/js/htmlarea/lang/ee.js
Normal file
63
phpgwapi/js/htmlarea/lang/ee.js
Normal file
@ -0,0 +1,63 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "ee", ENCODING: UTF-8 | ISO-8859-1
|
||||
// Author: Martin Raie, <albertvill@hot.ee>
|
||||
|
||||
// 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: "ee",
|
||||
|
||||
tooltips: {
|
||||
bold: "Paks",
|
||||
italic: "Kursiiv",
|
||||
underline: "Allakriipsutatud",
|
||||
strikethrough: "Läbikriipsutatud",
|
||||
subscript: "Allindeks",
|
||||
superscript: "Ülaindeks",
|
||||
justifyleft: "Joonda vasakule",
|
||||
justifycenter: "Joonda keskele",
|
||||
justifyright: "Joonda paremale",
|
||||
justifyfull: "Rööpjoonda",
|
||||
insertorderedlist: "Nummerdus",
|
||||
insertunorderedlist: "Täpploend",
|
||||
outdent: "Vähenda taanet",
|
||||
indent: "Suurenda taanet",
|
||||
forecolor: "Fondi värv",
|
||||
hilitecolor: "Tausta värv",
|
||||
inserthorizontalrule: "Horisontaaljoon",
|
||||
createlink: "Lisa viit",
|
||||
insertimage: "Lisa pilt",
|
||||
inserttable: "Lisa tabel",
|
||||
htmlmode: "HTML/tavaline vaade",
|
||||
popupeditor: "Suurenda toimeti aken",
|
||||
about: "Teave toimeti kohta",
|
||||
showhelp: "Spikker",
|
||||
textindicator: "Kirjastiil",
|
||||
undo: "Võta tagasi",
|
||||
redo: "Tee uuesti",
|
||||
cut: "Lõika",
|
||||
copy: "Kopeeri",
|
||||
paste: "Kleebi"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Loobu"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Path",
|
||||
"TEXT_MODE": "Sa oled tekstireziimis. Kasuta nuppu [<>] lülitamaks tagasi WYSIWIG reziimi."
|
||||
}
|
||||
};
|
84
phpgwapi/js/htmlarea/lang/el.js
Normal file
84
phpgwapi/js/htmlarea/lang/el.js
Normal file
@ -0,0 +1,84 @@
|
||||
// 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: "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 που οδηγεί αυτός ο σύνδεσμος"
|
||||
}
|
||||
};
|
@ -1,7 +1,7 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "en", ENCODING: UTF-8 | ISO-8859-1
|
||||
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
|
||||
// Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
|
||||
// FOR TRANSLATORS:
|
||||
//
|
||||
@ -37,7 +37,7 @@ HTMLArea.I18N = {
|
||||
hilitecolor: "Background Color",
|
||||
horizontalrule: "Horizontal Rule",
|
||||
createlink: "Insert Web Link",
|
||||
insertimage: "Insert Image",
|
||||
insertimage: "Insert/Modify Image",
|
||||
inserttable: "Insert Table",
|
||||
htmlmode: "Toggle HTML Source",
|
||||
popupeditor: "Enlarge Editor",
|
||||
@ -48,7 +48,9 @@ HTMLArea.I18N = {
|
||||
redo: "Redoes your last action",
|
||||
cut: "Cut selection",
|
||||
copy: "Copy selection",
|
||||
paste: "Paste from clipboard"
|
||||
paste: "Paste from clipboard",
|
||||
lefttoright: "Direction left to right",
|
||||
righttoleft: "Direction right to left"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
@ -58,6 +60,29 @@ HTMLArea.I18N = {
|
||||
|
||||
msg: {
|
||||
"Path": "Path",
|
||||
"TEXT_MODE": "You are in TEXT MODE. Use the [<>] button to switch back to WYSIWIG."
|
||||
"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."
|
||||
},
|
||||
|
||||
dialogs: {
|
||||
"Cancel" : "Cancel",
|
||||
"Insert/Modify Link" : "Insert/Modify Link",
|
||||
"New window (_blank)" : "New window (_blank)",
|
||||
"None (use implicit)" : "None (use implicit)",
|
||||
"OK" : "OK",
|
||||
"Other" : "Other",
|
||||
"Same frame (_self)" : "Same frame (_self)",
|
||||
"Target:" : "Target:",
|
||||
"Title (tooltip):" : "Title (tooltip):",
|
||||
"Top frame (_top)" : "Top frame (_top)",
|
||||
"URL:" : "URL:",
|
||||
"You must enter the URL where this link points to" : "You must enter the URL where this link points to"
|
||||
}
|
||||
};
|
||||
|
@ -7,30 +7,45 @@ HTMLArea.I18N = {
|
||||
lang: "es",
|
||||
|
||||
tooltips: {
|
||||
bold: "Negritas",
|
||||
bold: "Negrita",
|
||||
italic: "Cursiva",
|
||||
underline: "Subrayado",
|
||||
strikethrough: "Texto Cruzado",
|
||||
subscript: "Subscript",
|
||||
superscript: "Superscript",
|
||||
strikethrough: "Tachado",
|
||||
subscript: "Subíndice",
|
||||
superscript: "Superíndice",
|
||||
justifyleft: "Alinear a la Izquierda",
|
||||
justifycenter: "Centrar",
|
||||
justifyright: "Alinear a la Derecha",
|
||||
justifyfull: "Justificar",
|
||||
orderedlist: "Lista Ordenada",
|
||||
unorderedlist: "Lista No Ordenada",
|
||||
insertorderedlist: "Lista Ordenada",
|
||||
insertunorderedlist: "Lista No Ordenada",
|
||||
outdent: "Aumentar Sangría",
|
||||
indent: "Disminuir Sangría",
|
||||
forecolor: "Color del Texto",
|
||||
backcolor: "Color del Fondo",
|
||||
horizontalrule: "Línea Horizontal",
|
||||
hilitecolor: "Color del Fondo",
|
||||
inserthorizontalrule: "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"
|
||||
showhelp: "Ayuda",
|
||||
textindicator: "Estilo Actual",
|
||||
undo: "Deshacer",
|
||||
redo: "Rehacer",
|
||||
cut: "Cortar selección",
|
||||
copy: "Copiar selección",
|
||||
paste: "Pegar desde el portapapeles"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "Aceptar",
|
||||
"cancel": "Cancelar"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Ruta",
|
||||
"TEXT_MODE": "Esta en modo TEXTO. Use el boton [<>] para cambiar a WYSIWIG",
|
||||
}
|
||||
};
|
||||
|
@ -1,4 +1,14 @@
|
||||
// I18N constants
|
||||
// Author: Jonathan Ernst, <Jonathan.Ernst@NetOxygen.ch>
|
||||
|
||||
// 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 = {
|
||||
|
||||
@ -22,7 +32,7 @@ HTMLArea.I18N = {
|
||||
outdent: "Augmenter le retrait",
|
||||
indent: "Diminuer le retrait",
|
||||
forecolor: "Couleur du texte",
|
||||
backcolor: "Couleur du fond",
|
||||
hilitecolor: "Couleur du fond",
|
||||
horizontalrule: "Ligne horizontale",
|
||||
createlink: "Insérer un lien",
|
||||
insertimage: "Insérer une image",
|
||||
@ -30,7 +40,22 @@ HTMLArea.I18N = {
|
||||
htmlmode: "Passer au code source HTML",
|
||||
popupeditor: "Agrandir l'éditeur",
|
||||
about: "A propos de cet éditeur",
|
||||
help: "Aide sur l'éditeur",
|
||||
textindicator: "Style courant"
|
||||
showhelp: "Aide sur l'éditeur",
|
||||
textindicator: "Style courant",
|
||||
undo: "Annule la dernière action",
|
||||
redo: "Refait la dernière action",
|
||||
cut: "Coupe la sélection",
|
||||
copy: "Copie la sélection",
|
||||
paste: "Colle depuis le presse papiers"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Annuler"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Chemin",
|
||||
"TEXT_MODE": "Vous êtes en mode texte. Utilisez le bouton [<>] pour revenir au mode WYSIWIG."
|
||||
}
|
||||
};
|
||||
|
63
phpgwapi/js/htmlarea/lang/he.js
Normal file
63
phpgwapi/js/htmlarea/lang/he.js
Normal file
@ -0,0 +1,63 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "he", ENCODING: UTF-8
|
||||
// Author: Liron Newman, <plastish@ultinet.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: "הדבק מהלוח"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "ביטול"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "נתיב עיצוב",
|
||||
"TEXT_MODE": "אתה במצב טקסט נקי (קוד). השתמש בכפתור [<>] כדי לחזור למצב WYSIWYG (תצוגת עיצוב)."
|
||||
}
|
||||
};
|
63
phpgwapi/js/htmlarea/lang/hu.js
Normal file
63
phpgwapi/js/htmlarea/lang/hu.js
Normal file
@ -0,0 +1,63 @@
|
||||
// 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"
|
||||
}
|
||||
};
|
@ -1,5 +1,8 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "it", ENCODING: UTF-8 | ISO-8859-1
|
||||
// Author: Fabio Rotondo <fabio@rotondo.it>
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
@ -8,29 +11,44 @@ HTMLArea.I18N = {
|
||||
|
||||
tooltips: {
|
||||
bold: "Grassetto",
|
||||
italic: "Corsivo",
|
||||
italic: "Italico",
|
||||
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"
|
||||
justifyleft: "Giustifica a Sinistra",
|
||||
justifycenter: "Giustifica in Centro",
|
||||
justifyright: "Giustifica a Destra",
|
||||
justifyfull: "Giustifica Completamente",
|
||||
orderedlist: "Lista Ordinata",
|
||||
unorderedlist: "Lista Puntata",
|
||||
outdent: "Decrementa Indentazione",
|
||||
indent: "Incrementa Indentazione",
|
||||
forecolor: "Colore del Carattere",
|
||||
hilitecolor: "Colore di Sfondo",
|
||||
horizontalrule: "Linea Orizzontale",
|
||||
createlink: "Inserisci un Link",
|
||||
insertimage: "Inserisci un'Immagine",
|
||||
inserttable: "Inserisci una Tabella",
|
||||
htmlmode: "Attiva il codice HTML",
|
||||
popupeditor: "Allarga l'editor",
|
||||
about: "Info sull'editor",
|
||||
showhelp: "Aiuto sull'editor",
|
||||
textindicator: "Stile Attuale",
|
||||
undo: "Elimina l'ultima modifica",
|
||||
redo: "Ripristina l'ultima modifica",
|
||||
cut: "Taglia l'area selezionata",
|
||||
copy: "Copia l'area selezionata",
|
||||
paste: "Incolla dalla memoria"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Annulla"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Percorso",
|
||||
"TEXT_MODE": "Sei in MODALITA' TESTO. Usa il bottone [<>] per tornare alla modalità WYSIWYG."
|
||||
}
|
||||
};
|
||||
|
55
phpgwapi/js/htmlarea/lang/lt.js
Normal file
55
phpgwapi/js/htmlarea/lang/lt.js
Normal file
@ -0,0 +1,55 @@
|
||||
// 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: "lt",
|
||||
|
||||
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."
|
||||
}
|
||||
};
|
55
phpgwapi/js/htmlarea/lang/lv.js
Normal file
55
phpgwapi/js/htmlarea/lang/lv.js
Normal file
@ -0,0 +1,55 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "lv", ENCODING: UTF-8 | ISO-8859-1
|
||||
// Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
// Translated by: Janis Klavins, <janis.klavins@devia.lv>
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "lv",
|
||||
|
||||
tooltips: {
|
||||
bold: "Trekniem burtiem",
|
||||
italic: "Kursîvâ",
|
||||
underline: "Pasvîtrots",
|
||||
strikethrough: "Pârsvîtrots",
|
||||
subscript: "Novietot zem rindas",
|
||||
superscript: "Novietot virs rindas",
|
||||
justifyleft: "Izlîdzinât pa kreisi",
|
||||
justifycenter: "Izlîdzinât centrâ",
|
||||
justifyright: "Izlîdzinât pa labi",
|
||||
justifyfull: "Izlîdzinât pa visu lapu",
|
||||
orderedlist: "Numurçts saraksts",
|
||||
unorderedlist: "Saraksts",
|
||||
outdent: "Samazinât atkâpi",
|
||||
indent: "Palielinât atkâpi",
|
||||
forecolor: "Burtu krâsa",
|
||||
hilitecolor: "Fona krâsa",
|
||||
horizontalrule: "Horizontâla atdalîtâjsvîtra",
|
||||
createlink: "Ievietot hipersaiti",
|
||||
insertimage: "Ievietot attçlu",
|
||||
inserttable: "Ievietot tabulu",
|
||||
htmlmode: "Skatît HTML kodu",
|
||||
popupeditor: "Palielinât Rediìçtâju",
|
||||
about: "Par ðo rediìçtâju",
|
||||
showhelp: "Rediìçtâja palîgs",
|
||||
textindicator: "Patreizçjais stils",
|
||||
undo: "Atcelt pçdçjo darbîbu",
|
||||
redo: "Atkârtot pçdçjo darbîbu",
|
||||
cut: "Izgriezt iezîmçto",
|
||||
copy: "Kopçt iezîmçto",
|
||||
paste: "Ievietot iezîmçto"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "Labi",
|
||||
"cancel": "Atcelt"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Ceïð",
|
||||
"TEXT_MODE": "Jûs patlaban darbojaties TEKSTA REÞÎMÂ. Lai pârietu atpakaï uz GRAFISKO REÞÎMU (WYSIWIG), lietojiet [<>] pogu."
|
||||
}
|
||||
};
|
3
phpgwapi/js/htmlarea/lang/makefile.xml
Normal file
3
phpgwapi/js/htmlarea/lang/makefile.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<files>
|
||||
<file name="*.js" />
|
||||
</files>
|
@ -1,5 +1,16 @@
|
||||
// Dutch version
|
||||
// Author: Wouter Meeus alias Redspider <webmaster@tielt.be>
|
||||
// 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.)
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
@ -8,30 +19,72 @@ HTMLArea.I18N = {
|
||||
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"
|
||||
bold: "Vet",
|
||||
italic: "Cursief",
|
||||
underline: "Onderstrepen",
|
||||
strikethrough: "Doorhalen",
|
||||
subscript: "Subscript",
|
||||
superscript: "Superscript",
|
||||
justifyleft: "Links uitlijnen",
|
||||
justifycenter: "Centreren",
|
||||
justifyright: "Rechts uitlijnen",
|
||||
justifyfull: "Uitvullen",
|
||||
insertorderedlist: "Nummering",
|
||||
insertunorderedlist: "Opsommingstekens",
|
||||
outdent: "Inspringing verkleinen",
|
||||
indent: "Inspringing vergroten",
|
||||
forecolor: "Tekstkleur",
|
||||
hilitecolor: "Achtergrondkleur",
|
||||
inserthorizontalrule: "Horizontale lijn",
|
||||
createlink: "Hyperlink invoegen/aanpassen",
|
||||
insertimage: "Afbeelding invoegen/aanpassen",
|
||||
inserttable: "Tabel invoegen",
|
||||
htmlmode: "HTML broncode",
|
||||
popupeditor: "Vergroot Editor",
|
||||
about: "Over deze editor",
|
||||
showhelp: "HTMLArea help",
|
||||
textindicator: "Huidige stijl",
|
||||
undo: "Ongedaan maken",
|
||||
redo: "Herhalen",
|
||||
cut: "Knippen",
|
||||
copy: "Kopiëren",
|
||||
paste: "Plakken",
|
||||
lefttoright: "Tekstrichting links naar rechts",
|
||||
righttoleft: "Tekstrichting rechts naar links"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Annuleren"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Pad",
|
||||
"TEXT_MODE": "Je bent in TEKST-mode. Gebruik de [<>] knop om terug te keren naar WYSIWYG-mode.",
|
||||
|
||||
"IE-sucks-full-screen" :
|
||||
// translate here
|
||||
"Fullscreen-mode veroorzaakt problemen met Internet Explorer door bugs in de webbrowser " +
|
||||
"die we niet kunnen omzeilen. Hierdoor kunnen de volgende effecten optreden: verknoeide teksten, " +
|
||||
"een verlies aan editor-functionaliteit en/of willekeurig vastlopen van de webbrowser. " +
|
||||
"Als u Windows 95 of 98 gebruikt, is het zeer waarschijnlijk dat u een algemene beschermingsfout " +
|
||||
"('General Protection Fault') krijgt en de computer opnieuw zal moeten opstarten.\n\n" +
|
||||
"U bent gewaarschuwd. Druk OK als u toch nog de Fullscreen-editor wil gebruiken."
|
||||
},
|
||||
|
||||
dialogs: {
|
||||
"Cancel" : "Annuleren",
|
||||
"Insert/Modify Link" : "Hyperlink invoegen/aanpassen",
|
||||
"New window (_blank)" : "Nieuw venster (_blank)",
|
||||
"None (use implicit)" : "Geen",
|
||||
"OK" : "OK",
|
||||
"Other" : "Ander",
|
||||
"Same frame (_self)" : "Zelfde frame (_self)",
|
||||
"Target:" : "Doel:",
|
||||
"Title (tooltip):" : "Titel (tooltip):",
|
||||
"Top frame (_top)" : "Bovenste frame (_top)",
|
||||
"URL:" : "URL:",
|
||||
"You must enter the URL where this link points to" : "Geef de URL in waar de link naar verwijst"
|
||||
}
|
||||
};
|
||||
|
||||
|
48
phpgwapi/js/htmlarea/lang/no.js
Normal file
48
phpgwapi/js/htmlarea/lang/no.js
Normal file
@ -0,0 +1,48 @@
|
||||
// Norwegian version for htmlArea v3.0 - Alpha Release
|
||||
// - translated by ses<ses@online.no>
|
||||
// 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: "no",
|
||||
|
||||
tooltips: {
|
||||
bold: "Fet",
|
||||
italic: "Kursiv",
|
||||
underline: "Understreket",
|
||||
strikethrough: "Gjennomstreket",
|
||||
subscript: "Nedsenket",
|
||||
superscript: "Opphøyet",
|
||||
justifyleft: "Venstrejuster",
|
||||
justifycenter: "Midtjuster",
|
||||
justifyright: "Høyrejuster",
|
||||
justifyfull: "Blokkjuster",
|
||||
orderedlist: "Nummerert liste",
|
||||
unorderedlist: "Punktliste",
|
||||
outdent: "Reduser innrykk",
|
||||
indent: "Øke innrykk",
|
||||
forecolor: "Tekstfarge",
|
||||
backcolor: "Bakgrundsfarge",
|
||||
horizontalrule: "Vannrett linje",
|
||||
createlink: "Lag lenke",
|
||||
insertimage: "Sett inn bilde",
|
||||
inserttable: "Sett inn tabell",
|
||||
htmlmode: "Vis kildekode",
|
||||
popupeditor: "Vis i eget vindu",
|
||||
about: "Om denne editor",
|
||||
help: "Hjelp",
|
||||
textindicator: "Nåværende stil"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Avbryt"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Tekstvelger",
|
||||
"TEXT_MODE": "Du er i tekstmodus Klikk på [<>] for å gå tilbake til WYSIWIG."
|
||||
}
|
||||
};
|
@ -1,7 +1,7 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "ro", ENCODING: UTF-8
|
||||
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
|
||||
// Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
|
||||
// FOR TRANSLATORS:
|
||||
//
|
||||
@ -23,8 +23,8 @@ HTMLArea.I18N = {
|
||||
italic: "Italic",
|
||||
underline: "Subliniat",
|
||||
strikethrough: "Tăiat",
|
||||
subscript: "Subscript",
|
||||
superscript: "Superscript",
|
||||
subscript: "Indice jos",
|
||||
superscript: "Indice sus",
|
||||
justifyleft: "Aliniere la stânga",
|
||||
justifycenter: "Aliniere pe centru",
|
||||
justifyright: "Aliniere la dreapta",
|
||||
@ -36,8 +36,8 @@ HTMLArea.I18N = {
|
||||
forecolor: "Culoarea textului",
|
||||
hilitecolor: "Culoare de fundal",
|
||||
horizontalrule: "Linie orizontală",
|
||||
createlink: "Inserează link",
|
||||
insertimage: "Inserează o imagine",
|
||||
createlink: "Inserează/modifică link",
|
||||
insertimage: "Inserează/modifică imagine",
|
||||
inserttable: "Inserează un tabel",
|
||||
htmlmode: "Sursa HTML / WYSIWYG",
|
||||
popupeditor: "Maximizează editorul",
|
||||
@ -48,7 +48,9 @@ HTMLArea.I18N = {
|
||||
redo: "Reface ultima acţiune anulată",
|
||||
cut: "Taie în clipboard",
|
||||
copy: "Copie în clipboard",
|
||||
paste: "Aduce din clipboard"
|
||||
paste: "Aduce din clipboard",
|
||||
lefttoright: "Direcţia de scriere: stânga - dreapta",
|
||||
righttoleft: "Direcţia de scriere: dreapta - stânga"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
@ -59,5 +61,20 @@ HTMLArea.I18N = {
|
||||
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"
|
||||
}
|
||||
};
|
||||
|
@ -1,4 +1,16 @@
|
||||
// I18N constants
|
||||
// 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 = {
|
||||
|
||||
@ -7,30 +19,45 @@ HTMLArea.I18N = {
|
||||
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: "Данный стиль"
|
||||
bold: "Полужирный",
|
||||
italic: "Наклонный",
|
||||
underline: "Подчеркнутый",
|
||||
strikethrough: "Перечеркнутый",
|
||||
subscript: "Нижний индекс",
|
||||
superscript: "Верхний индекс",
|
||||
justifyleft: "По левому краю",
|
||||
justifycenter: "По центру",
|
||||
justifyright: "По правому краю",
|
||||
justifyfull: "По ширине",
|
||||
insertorderedlist: "Нумерованный лист",
|
||||
insertunorderedlist: "Маркированный лист",
|
||||
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-кода. нажмите кнопку [<>], чтобы переключиться в визуальный режим."
|
||||
}
|
||||
};
|
||||
|
63
phpgwapi/js/htmlarea/lang/si.js
Normal file
63
phpgwapi/js/htmlarea/lang/si.js
Normal file
@ -0,0 +1,63 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "si", ENCODING: ISO-8859-2
|
||||
// Author: Tomaz Kregar, x_tomo_x@email.si
|
||||
|
||||
// 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: "si",
|
||||
|
||||
tooltips: {
|
||||
bold: "Krepko",
|
||||
italic: "Le¾eèe",
|
||||
underline: "Podèrtano",
|
||||
strikethrough: "Preèrtano",
|
||||
subscript: "Podpisano",
|
||||
superscript: "Nadpisano",
|
||||
justifyleft: "Poravnaj levo",
|
||||
justifycenter: "Na sredino",
|
||||
justifyright: "Poravnaj desno",
|
||||
justifyfull: "Porazdeli vsebino",
|
||||
orderedlist: "O¹tevilèevanje",
|
||||
unorderedlist: "Oznaèevanje",
|
||||
outdent: "Zmanj¹aj zamik",
|
||||
indent: "Poveèaj zamik",
|
||||
forecolor: "Barva pisave",
|
||||
hilitecolor: "Barva ozadja",
|
||||
horizontalrule: "Vodoravna èrta",
|
||||
createlink: "Vstavi hiperpovezavo",
|
||||
insertimage: "Vstavi sliko",
|
||||
inserttable: "Vstavi tabelo",
|
||||
htmlmode: "Preklopi na HTML kodo",
|
||||
popupeditor: "Poveèaj urejevalnik",
|
||||
about: "Vizitka za urejevalnik",
|
||||
showhelp: "Pomoè za urejevalnik",
|
||||
textindicator: "Trenutni slog",
|
||||
undo: "Razveljavi zadnjo akcijo",
|
||||
redo: "Uveljavi zadnjo akcijo",
|
||||
cut: "Izre¾i",
|
||||
copy: "Kopiraj",
|
||||
paste: "Prilepi"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "V redu",
|
||||
"cancel": "Preklièi"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Pot",
|
||||
"TEXT_MODE": "Si v tekstovnem naèinu. Uporabi [<>] gumb za prklop nazaj na WYSIWYG."
|
||||
}
|
||||
};
|
@ -1,6 +1,6 @@
|
||||
// I18N constants : Vietnamese
|
||||
// mviet: download the free Vietnamese script addon for htmlArea at: www.mviet.org
|
||||
// email: mviet@socal.rr.com
|
||||
// LANG: "en", ENCODING: UTF-8
|
||||
// Author: Nguyễn Đình Nam, <hncryptologist@yahoo.com>
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
@ -11,28 +11,41 @@ HTMLArea.I18N = {
|
||||
tooltips: {
|
||||
bold: "Đậm",
|
||||
italic: "Nghiêng",
|
||||
underline: "Gạch Đít",
|
||||
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: "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",
|
||||
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",
|
||||
orderedlist: "Danh Sách Có Thứ Tự",
|
||||
unorderedlist: "Danh Sách Phi Thứ Tự",
|
||||
outdent: "Lùi Ra Ngoài",
|
||||
indent: "Thụt Vào Trong",
|
||||
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"
|
||||
horizontalrule: "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: "Undo",
|
||||
redo: "Redo",
|
||||
cut: "Cắt",
|
||||
copy: "Copy",
|
||||
paste: "Dán"
|
||||
},
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Hủy"
|
||||
},
|
||||
msg: {
|
||||
"Path": "Đường Dẫn",
|
||||
"TEXT_MODE": "Bạn đang ở chế độ text. Sử dụng nút [<>] để chuyển lại chế độ WYSIWIG."
|
||||
}
|
||||
};
|
||||
|
@ -1,13 +1,30 @@
|
||||
htmlArea License (based on BSD license)
|
||||
Copyright (c) 2002, interactivetools.com, inc.
|
||||
Copyright (c) 2002-2004, interactivetools.com, inc.
|
||||
Copyright (c) 2003-2004 dynarch.com
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
1) Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
2) Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3) Neither the name of interactivetools.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
3) Neither the name of interactivetools.com, inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
37
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/cz.js
Normal file
37
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/cz.js
Normal file
@ -0,0 +1,37 @@
|
||||
// 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 ;-)"
|
||||
};
|
37
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/da.js
Normal file
37
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/da.js
Normal file
@ -0,0 +1,37 @@
|
||||
// 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"
|
||||
};
|
28
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/de.js
Normal file
28
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/de.js
Normal file
@ -0,0 +1,28 @@
|
||||
// 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 ;-)"
|
||||
};
|
@ -1,7 +1,7 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "en", ENCODING: UTF-8 | ISO-8859-1
|
||||
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
|
||||
// Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
|
||||
// FOR TRANSLATORS:
|
||||
//
|
||||
|
37
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/hu.js
Normal file
37
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/hu.js
Normal file
@ -0,0 +1,37 @@
|
||||
// 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 ;-)"
|
||||
};
|
28
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/it.js
Normal file
28
phpgwapi/js/htmlarea/plugins/SpellChecker/lang/it.js
Normal file
@ -0,0 +1,28 @@
|
||||
// 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 ;-)"
|
||||
};
|
@ -1,7 +1,7 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "ro", ENCODING: UTF-8
|
||||
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
|
||||
// Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
|
||||
// FOR TRANSLATORS:
|
||||
//
|
||||
|
@ -105,11 +105,9 @@
|
||||
others are likely to be available by default in most Perl distributions.</p>
|
||||
|
||||
<hr />
|
||||
<address><a href="http://students.infoiasi.ro/~mishoo/">Mihai Bazon</a></address>
|
||||
<address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address>
|
||||
<!-- Created: Thu Jul 17 13:22:27 EEST 2003 -->
|
||||
<!-- hhmts start -->
|
||||
Last modified on Sun Aug 10 12:28:24 2003
|
||||
<!-- hhmts end -->
|
||||
<!-- hhmts start --> Last modified: Wed Jan 28 11:13:13 EET 2004 <!-- hhmts end -->
|
||||
<!-- doc-lang: English -->
|
||||
</body>
|
||||
</html>
|
||||
|
@ -10,7 +10,7 @@
|
||||
# For full source code and docs, visit http://www.interactivetools.com/
|
||||
#
|
||||
# Version 3.0 developed by Mihai Bazon for InteractiveTools.
|
||||
# http://students.infoiasi.ro/~mishoo
|
||||
# http://dynarch.com/mishoo
|
||||
#
|
||||
# $Id$
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
For full source code and docs, visit http://www.interactivetools.com/
|
||||
|
||||
Version 3.0 developed by Mihai Bazon for InteractiveTools.
|
||||
http://students.infoiasi.ro/~mishoo
|
||||
http://dynarch.com/mishoo
|
||||
|
||||
$Id$
|
||||
|
||||
|
@ -1,15 +1,11 @@
|
||||
// Spell Checker Plugin for HTMLArea-3.0
|
||||
// Implementation by Mihai Bazon. Sponsored by www.americanbible.org
|
||||
// Sponsored by www.americanbible.org
|
||||
// Implementation by Mihai Bazon, http://dynarch.com/mishoo/
|
||||
//
|
||||
// htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc.
|
||||
// (c) dynarch.com 2003.
|
||||
// Distributed under the same terms as HTMLArea itself.
|
||||
// This notice MUST stay intact for use (see license.txt).
|
||||
//
|
||||
// A free WYSIWYG editor replacement for <textarea> fields.
|
||||
// For full source code and docs, visit http://www.interactivetools.com/
|
||||
//
|
||||
// Version 3.0 developed by Mihai Bazon for InteractiveTools.
|
||||
// http://students.infoiasi.ro/~mishoo
|
||||
//
|
||||
// $Id$
|
||||
|
||||
// internationalization file was already loaded in parent ;-)
|
||||
@ -71,13 +67,15 @@ function cancelClicked() {
|
||||
|
||||
function replaceWord(el) {
|
||||
var replacement = document.getElementById("v_replacement").value;
|
||||
modified = (el.innerHTML != replacement);
|
||||
var this_word_modified = (el.innerHTML != replacement);
|
||||
if (this_word_modified)
|
||||
modified = true;
|
||||
if (el) {
|
||||
el.className = el.className.replace(/\s*HA-spellcheck-(hover|fixed)\s*/g, " ");
|
||||
}
|
||||
el.className += " HA-spellcheck-fixed";
|
||||
el.__msh_fixed = true;
|
||||
if (!modified) {
|
||||
if (!this_word_modified) {
|
||||
return false;
|
||||
}
|
||||
el.innerHTML = replacement;
|
||||
|
@ -8,7 +8,7 @@
|
||||
// For full source code and docs, visit http://www.interactivetools.com/
|
||||
//
|
||||
// Version 3.0 developed by Mihai Bazon for InteractiveTools.
|
||||
// http://students.infoiasi.ro/~mishoo
|
||||
// http://dynarch.com/mishoo
|
||||
//
|
||||
// $Id$
|
||||
|
||||
@ -28,7 +28,7 @@ function SpellChecker(editor) {
|
||||
toolbar.push("separator");
|
||||
} else {
|
||||
var id = "SC-" + btn[0];
|
||||
cfg.registerButton(id, tt[id], "plugins/SpellChecker/img/" + btn[0] + ".gif", false,
|
||||
cfg.registerButton(id, tt[id], editor.imgURL(btn[0] + ".gif", "SpellChecker"), false,
|
||||
function(editor, id) {
|
||||
// dispatch button press event
|
||||
self.buttonPress(editor, id);
|
||||
@ -42,6 +42,17 @@ function SpellChecker(editor) {
|
||||
}
|
||||
};
|
||||
|
||||
SpellChecker._pluginInfo = {
|
||||
name : "SpellChecker",
|
||||
version : "1.0",
|
||||
developer : "Mihai Bazon",
|
||||
developer_url : "http://dynarch.com/mishoo/",
|
||||
c_owner : "Mihai Bazon",
|
||||
sponsor : "American Bible Society",
|
||||
sponsor_url : "http://www.americanbible.org",
|
||||
license : "htmlArea"
|
||||
};
|
||||
|
||||
SpellChecker.btnList = [
|
||||
null, // separator
|
||||
["spell-check"]
|
||||
@ -52,7 +63,7 @@ SpellChecker.prototype.buttonPress = function(editor, id) {
|
||||
case "SC-spell-check":
|
||||
SpellChecker.editor = editor;
|
||||
SpellChecker.init = true;
|
||||
var uiurl = editor.config.editorURL + "plugins/SpellChecker/spell-check-ui.html";
|
||||
var uiurl = _editor_url + "plugins/SpellChecker/spell-check-ui.html";
|
||||
var win;
|
||||
if (HTMLArea.is_ie) {
|
||||
win = window.open(uiurl, "SC_spell_checker",
|
||||
|
@ -1,55 +1,391 @@
|
||||
<html style="width: 380px; height: 250px;">
|
||||
<head><title>About HTMLArea</title>
|
||||
<!--
|
||||
|
||||
(c) dynarch.com, 2003-2004
|
||||
Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
Distributed as part of HTMLArea 3.0
|
||||
|
||||
"You are not expected to understand this... I don't neither."
|
||||
|
||||
(from The Linux Kernel Source Code,
|
||||
./arch/x86_64/ia32/ptrace.c:90)
|
||||
|
||||
;-)
|
||||
|
||||
-->
|
||||
|
||||
<html style="height: 100%">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>About HTMLArea</title>
|
||||
<script type="text/javascript" src="popup.js"></script>
|
||||
<script type="text/javascript">
|
||||
function closeAbout() {
|
||||
__dlg_close(null);
|
||||
window.resizeTo(450, 250);
|
||||
var TABS = [];
|
||||
var CURRENT_TAB = 0;
|
||||
var CONTENT_HEIGHT_DIFF = 0;
|
||||
var CONTENT_WIDTH_DIFF = 0;
|
||||
function selectTab(idx) {
|
||||
var ct = TABS[CURRENT_TAB];
|
||||
ct.className = ct.className.replace(/\s*tab-current\s*/, ' ');
|
||||
ct = TABS[CURRENT_TAB = idx];
|
||||
ct.className += ' tab-current';
|
||||
for (var i = TABS.length; --i >= 0;) {
|
||||
var area = document.getElementById("tab-area-" + i);
|
||||
if (CURRENT_TAB == i) {
|
||||
area.style.display = "block";
|
||||
} else {
|
||||
area.style.display = "none";
|
||||
}
|
||||
}
|
||||
document.body.style.visibility = "hidden";
|
||||
document.body.style.visibility = "visible";
|
||||
document.cookie = "HTMLAREA-ABOUT-TAB=" + idx;
|
||||
}
|
||||
var editor = null;
|
||||
function initDocument() {
|
||||
editor = window.dialogArguments;
|
||||
HTMLArea = window.opener.HTMLArea;
|
||||
|
||||
var plugins = document.getElementById("plugins");
|
||||
var j = 0;
|
||||
var html = "<table width='99%' cellpadding='0' style='margin-top: 1em; collapse-borders: collapse; border: 1px solid #8b8;'>" +
|
||||
"<thead><tr>" +
|
||||
"<td>Name</td>" +
|
||||
"<td>Developer</td>" +
|
||||
"<td>Sponsored by</td>" +
|
||||
"<td>License<sup>*</sup></td>" +
|
||||
"</tr></thead><tbody>";
|
||||
for (var i in editor.plugins) {
|
||||
var info = editor.plugins[i];
|
||||
html += "<tr><td>" + info.name + " v" + info.version + "</td>" +
|
||||
"<td><a href='" + info.developer_url + "' target='_blank' title='Visit developer website'>" +
|
||||
info.developer + "</a></td>" +
|
||||
"<td><a href='" + info.sponsor_url + "' target='_blank' title='Visit sponsor website'>" +
|
||||
info.sponsor + "</a></td>" +
|
||||
"<td>" + info.license + "</td></tr>";
|
||||
++j;
|
||||
}
|
||||
|
||||
if (j) {
|
||||
html += "</tbody></table>" +
|
||||
"<p><sup>*</sup> License \"htmlArea\" means that the plugin is distributed under the same terms " +
|
||||
"as HTMLArea itself. Such plugins are likely to be those included in the official " +
|
||||
"HTMLArea distribution</p>";
|
||||
plugins.innerHTML = "<p>The following plugins have been loaded.</p>" + html;
|
||||
} else {
|
||||
plugins.innerHTML = "<p>No plugins have been loaded</p>";
|
||||
}
|
||||
|
||||
plugins.innerHTML += "<p>User agent reports:<br/>" + navigator.userAgent + "</p>";
|
||||
|
||||
var content = document.getElementById("content");
|
||||
if (window.innerHeight) {
|
||||
CONTENT_HEIGHT_DIFF = window.innerHeight - 250;
|
||||
CONTENT_WIDTH_DIFF = window.innerWidth - content.offsetWidth;
|
||||
} else {
|
||||
CONTENT_HEIGHT_DIFF = document.body.offsetHeight - 250;
|
||||
CONTENT_WIDTH_DIFF = document.body.offsetWidth - 400;
|
||||
}
|
||||
window.onresize();
|
||||
var bar = document.getElementById("tabbar");
|
||||
j = 0;
|
||||
for (var i = bar.firstChild; i; i = i.nextSibling) {
|
||||
TABS.push(i);
|
||||
i.__msh_tab = j;
|
||||
i.onmousedown = function(ev) { selectTab(this.__msh_tab); HTMLArea._stopEvent(ev || window.event); };
|
||||
var area = document.getElementById("tab-area-" + j);
|
||||
if (/tab-current/.test(i.className)) {
|
||||
CURRENT_TAB = j;
|
||||
area.style.display = "block";
|
||||
} else {
|
||||
area.style.display = "none";
|
||||
}
|
||||
++j;
|
||||
}
|
||||
if (document.cookie.match(/HTMLAREA-ABOUT-TAB=([0-9]+)/))
|
||||
selectTab(RegExp.$1);
|
||||
}
|
||||
window.onresize = function() {
|
||||
var content = document.getElementById("content");
|
||||
if (window.innerHeight) {
|
||||
content.style.height = (window.innerHeight - CONTENT_HEIGHT_DIFF) + "px";
|
||||
content.style.width = (window.innerWidth - CONTENT_WIDTH_DIFF) + "px";
|
||||
} else {
|
||||
content.style.height = (document.body.offsetHeight - CONTENT_HEIGHT_DIFF) + "px";
|
||||
//content.style.width = (document.body.offsetWidth - CONTENT_WIDTH_DIFF) + "px";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
html,body,textarea { font-family: tahoma,verdana,arial; font-size: 11px;
|
||||
html,body,textarea,table { font-family: tahoma,verdana,arial; font-size: 11px;
|
||||
padding: 0px; margin: 0px; }
|
||||
tt { font-size: 120%; }
|
||||
body { padding: 0px; background: ButtonFace; color: ButtonText; }
|
||||
body { padding: 0px; background: #cea; color: 000; }
|
||||
a:link, a:visited { color: #00f; }
|
||||
a:hover { color: #f00; }
|
||||
a:active { color: #f80; }
|
||||
button { font: 11px tahoma,verdana,sans-serif; }
|
||||
button { font: 11px tahoma,verdana,sans-serif; background-color: #cea;
|
||||
border-width: 1px; }
|
||||
|
||||
p { margin: 0.5em 0px; }
|
||||
|
||||
h1 { font: bold 130% georgia,"times new roman",serif; margin: 0px; border-bottom: 1px solid #6a6; }
|
||||
h2 { font: bold 110% georgia,"times new roman",serif; margin: 0.7em 0px; }
|
||||
|
||||
thead {
|
||||
font-weight: bold;
|
||||
background-color: #dfb;
|
||||
}
|
||||
|
||||
.logo, .logo-hover {
|
||||
white-space: nowrap;
|
||||
background-color: #8f4; color: #040; padding: 3px; border-bottom: 1px solid #555;
|
||||
height: 5em;
|
||||
}
|
||||
.logo .brand, .logo-hover .brand {
|
||||
margin-left: 0.5em; margin-right: 0.5em; padding-bottom: 0.1em;
|
||||
font-family: impact,'arial black',arial,sans-serif; font-size: 28px;
|
||||
border-bottom: 1px solid #595; text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.logo-hover {
|
||||
background-color: #fff;
|
||||
}
|
||||
.logo-hover .brand {
|
||||
color: #800;
|
||||
border-color: #04f;
|
||||
}
|
||||
.logo .letter, .logo-hover .letter { position: relative; font-family: monospace; }
|
||||
.logo .letter1 { top: 0.1em; }
|
||||
.logo .letter2 { top: 0.05em; }
|
||||
.logo .letter3 { top: -0.05em; }
|
||||
.logo .letter4 { top: -0.1em; }
|
||||
|
||||
.logo-hover .letter1 { top: -0.1em; }
|
||||
.logo-hover .letter2 { top: -0.05em; }
|
||||
.logo-hover .letter3 { top: 0.05em; }
|
||||
.logo-hover .letter4 { top: 0.1em; }
|
||||
.logo .version, .logo-hover .version { font-family: georgia,"times new roman",serif; }
|
||||
.logo .release {
|
||||
font-size: 90%; margin-bottom: 1em;
|
||||
text-align: center; color: #484;
|
||||
}
|
||||
.logo .visit { display: none; }
|
||||
.logo-hover .release { display: none; }
|
||||
.logo-hover .visit {
|
||||
font-size: 90%; margin-bottom: 1em;
|
||||
text-align: center; color: #448;
|
||||
}
|
||||
.buttons {
|
||||
text-align: right; padding: 3px; background-color: #8f4;
|
||||
border-top: 1px solid #555;
|
||||
}
|
||||
#tabbar {
|
||||
position: relative;
|
||||
left: 10px;
|
||||
}
|
||||
.tab {
|
||||
color: #454;
|
||||
cursor: pointer;
|
||||
margin-left: -5px;
|
||||
float: left; position: relative;
|
||||
border: 1px solid #555;
|
||||
top: -3px; left: -2px;
|
||||
padding: 2px 10px 3px 10px;
|
||||
border-top: none; background-color: #9b7;
|
||||
-moz-border-radius: 0px 0px 4px 4px;
|
||||
z-index: 0;
|
||||
}
|
||||
.tab-current {
|
||||
color: #000;
|
||||
top: -4px;
|
||||
background-color: #cea;
|
||||
padding: 3px 10px 4px 10px;
|
||||
z-index: 10;
|
||||
}
|
||||
table.sponsors { border-top: 1px solid #aca; }
|
||||
table.sponsors td {
|
||||
border-bottom: 1px solid #aca; vertical-align: top;
|
||||
}
|
||||
table.sponsors tr td { padding: 2px 0px; }
|
||||
table.sponsors tr td.sponsor { text-align: right; padding-right: 0.3em; white-space: nowrap; }
|
||||
li, ol, ul { margin-top: 0px; margin-bottom: 0px; }
|
||||
</style></head>
|
||||
<body onload="__dlg_init()">
|
||||
<body onload="__dlg_init(); initDocument();"
|
||||
><table cellspacing="0" cellpadding="0" style="border-collapse: collapse;
|
||||
width: 100%; height: 100%;">
|
||||
|
||||
<div style="background-color: #fff; color: #000; padding: 3px; border-bottom: 1px solid #000;">
|
||||
<div style="font-family: 'arial black',arial,sans-serif; font-size: 28px;
|
||||
letter-spacing: -1px;">
|
||||
<span style="position: relative; top: -0.2em">H</span><span
|
||||
style="position: relative; top: 0.1em">T</span><span
|
||||
style="position: relative; top: -0.1em">M</span><span
|
||||
style="position: relative; top: 0.2em">L</span> Area
|
||||
3.0 <span style="position: relative; top: -0.6em; font-size: 50%; font-weight: normal">[ rev. beta ]</span></div>
|
||||
<tr style="height: 1em"><td id="tdheader">
|
||||
|
||||
<div style="text-align: right; font-size: 90%; margin-bottom: 1em">
|
||||
Released on Aug 11, 2003 [21:30] GMT
|
||||
</div>
|
||||
<div class="logo">
|
||||
<div class="brand"
|
||||
onmouseover="this.parentNode.className='logo-hover';"
|
||||
onmouseout="this.parentNode.className='logo';"
|
||||
onclick="window.open('http://dynarch.com/htmlarea/');">
|
||||
<span class="letter letter1"><H</span><span
|
||||
class="letter letter2">T</span><span
|
||||
class="letter letter3">M</span><span
|
||||
class="letter letter4">L</span>Area <span class="letter">/></span>
|
||||
<span class="version"><% $version.$release %></span></div>
|
||||
<div class="release">Compiled on <% $time %></div>
|
||||
<div class="visit">Go to http://dynarch.com/htmlarea/ [latest milestone release]</div>
|
||||
</div>
|
||||
|
||||
<div style="margin: 1em">
|
||||
</td></tr>
|
||||
<tr><td id="tdcontent" style="padding: 0.5em;">
|
||||
|
||||
<p>A free WYSIWYG editor replacement for <tt><textarea></tt> fields.</p>
|
||||
<div style="overflow: auto; height: 250px;" id="content">
|
||||
<div id="tab-areas">
|
||||
|
||||
<p>For full source code and docs, visit:<br />
|
||||
<a href="http://www.interactivetools.com/products/htmlarea/" target="_blank"
|
||||
>http://www.interactivetools.com/products/htmlarea/</a></p>
|
||||
<div id="tab-area-0">
|
||||
|
||||
<p>Version 3.0 developed and maintained by <a href="http://students.infoiasi.ro/~mishoo/" target="_blank">mishoo</a>.</p>
|
||||
<h1>HTMLArea</h1>
|
||||
|
||||
<p>A free WYSIWYG editor replacement for <tt><textarea></tt> fields.<br />
|
||||
For Mozilla 1.3+ (any platform) or Internet Explorer 5.5+ (Windows).
|
||||
</p>
|
||||
|
||||
<p>© 2002, 2003 <a href="http://interactivetools.com" target="_blank">interactivetools.com</a>, inc. All Rights Reserved.</p>
|
||||
<p style="text-align: center"
|
||||
>© 2002-2004 <a href="http://interactivetools.com" target="_blank">interactivetools.com</a>, inc.<br />
|
||||
© 2003-2004 <a href="http://dynarch.com" target="_blank">dynarch.com</a> LLC.<br />
|
||||
All Rights Reserved.</p>
|
||||
|
||||
<h2>Project resources</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://sourceforge.net/projects/itools-htmlarea/" target="_blank"
|
||||
>Project page</a> (@ sourceforge.net)</li>
|
||||
<li><a href="http://sourceforge.net/cvs/?group_id=69750" target="_blank"
|
||||
>Anonymous CVS access</a> (@ sourceforge.net)</li>
|
||||
<li><a href="http://sourceforge.net/tracker/?atid=525656&group_id=69750&func=browse" target="_blank"
|
||||
>Bug system</a> (@ sourceforge.net)</li>
|
||||
<li><a href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;" target="_blank"
|
||||
>Forum</a> (@ interactivetools.com)</li>
|
||||
<li><a href="http://www.dynarch.com/htmlarea/" target="_blank"
|
||||
>Last public release</a> (@ dynarch.com)</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
For download section please see the <a href="http://sourceforge.net/projects/itools-htmlarea/" target="_blank"
|
||||
>project page @ SourceForge</a>.
|
||||
</p>
|
||||
|
||||
<p style="margin-top: 1em; text-align: center;">Version 3.0 developed and maintained by <a
|
||||
href="http://dynarch.com/mishoo/" title="http://dynarch.com/mishoo/" target="_blank">Mihai Bazon</a> / <a
|
||||
href="http://dynarch.com" title="http://dynarch.com/" target="_blank">dynarch.com</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div style="text-align: right; padding: 0px 3px 3px 0px;">
|
||||
<button type="button" onclick="closeAbout()">I agree it's cool</button>
|
||||
<div id="tab-area-1">
|
||||
<h1>Thank you</h1>
|
||||
|
||||
<p>
|
||||
<a href="http://dynarch.com" target="_blank">dynarch.com</a> would like to thank the following
|
||||
companies/persons for their <em>donations</em> to support development of HTMLArea (listed alphabetically):
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://www.neomedia.ro">Neomedia</a> (Romania)</li>
|
||||
<li><a href="http://www.os3.it" target="_blank">OS3</a> (Italy)</li>
|
||||
<li><a href="http://www.softwerk.net">SoftWerk</a> (Italy)</li>
|
||||
</ul>
|
||||
|
||||
<p>Also many thanks to all people at InteractiveTools.com
|
||||
<a href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;">HTMLArea forums</a> for
|
||||
contributing translations, feedback, bug reports and fixes.</p>
|
||||
|
||||
<p>
|
||||
Last but not least, this project wouldn't have existed without
|
||||
<a href="http://interactivetools.com" target="_blank">InteractiveTools.com</a>.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="tab-area-2">
|
||||
<h1>htmlArea License (based on BSD license)</h1>
|
||||
|
||||
<p style="text-align: center">© 2002-2004, interactivetools.com, inc.<br />
|
||||
© 2003-2004 dynarch.com LLC<br />
|
||||
All rights reserved.</p>
|
||||
|
||||
<p>
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
</p>
|
||||
|
||||
<ol>
|
||||
<li>
|
||||
Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
Neither the name of interactivetools.com, inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<p>
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="tab-area-3">
|
||||
<h1>Plugins</h1>
|
||||
<div id="plugins">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div></div>
|
||||
|
||||
|
||||
</tr></td>
|
||||
<tr style="height: 1em"><td id="tdfooter">
|
||||
|
||||
|
||||
<div class="buttons">
|
||||
<div id="tabbar"
|
||||
><div class="tab tab-current"
|
||||
>About</div><div class="tab"
|
||||
>Thanks</div><div class="tab"
|
||||
>License</div><div class="tab"
|
||||
>Plugins</div></div>
|
||||
<button type="button" onclick="__dlg_close(null);">I agree it's cool</button>
|
||||
</div>
|
||||
|
||||
</td></tr></table>
|
||||
|
||||
</body></html>
|
||||
|
||||
<%ARGS>
|
||||
$version => '3.0'
|
||||
$release => 'beta+'
|
||||
$basename => 'HTMLArea-3.0-beta'
|
||||
</%ARGS>
|
||||
|
||||
<%INIT>;
|
||||
if ($release =~ /\S/) {
|
||||
$release = ' <span style="position: relative; top: -0.6em; font-size: 50%; font-weight: normal">[ rev. '.$release.' ]</span>';
|
||||
}
|
||||
|
||||
use POSIX qw(strftime);
|
||||
my $time = strftime '%b %e, %Y %H:%M GMT', gmtime;
|
||||
</%INIT>
|
||||
|
@ -0,0 +1,2 @@
|
||||
<html>
|
||||
</html>
|
@ -1,162 +1,133 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html>
|
||||
<head><title>Fullscreen Editor</title>
|
||||
<style type="text/css">
|
||||
@import url(../htmlarea.css);
|
||||
html, body { margin: 0px; border: 0px; background-color: buttonface; } </style>
|
||||
<head>
|
||||
<title>Fullscreen HTMLArea</title>
|
||||
<script type="text/javascript">
|
||||
_editor_url = window.opener._editor_url;
|
||||
_editor_lang = window.opener._editor_lang;
|
||||
var BASE = window.opener.document.baseURI || window.opener.document.URL;
|
||||
var head = document.getElementsByTagName("head")[0];
|
||||
var base = document.createElement("base");
|
||||
base.href = BASE;
|
||||
head.appendChild(base);
|
||||
</script>
|
||||
|
||||
<!--
|
||||
<script type="text/javascript" src="../htmlarea.js"></script>
|
||||
<script type="text/javascript" src="../htmlarea-lang-en.js"></script>
|
||||
<script type="text/javascript" src="../dialog.js"></script>
|
||||
-->
|
||||
<script type="text/javascript" src="../htmlarea.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
// load same scripts that were present in the opener page
|
||||
var scripts = opener.document.getElementsByTagName("script");
|
||||
var head = document.getElementsByTagName("head")[0];
|
||||
for (var i = 0; i < scripts.length; ++i) {
|
||||
var script = scripts[i];
|
||||
if (typeof script.src != "undefined" && /\S/.test(script.src)) {
|
||||
// document.write("<scr" + "ipt type=" + "\"script/javascript\"");
|
||||
// document.write(" src=\"../" + script.src + "\"></scr" + "ipt>");
|
||||
var new_script = document.createElement("script");
|
||||
if (/^http:/i.test(script.src)) {
|
||||
new_script.src = script.src;
|
||||
} else {
|
||||
new_script.src = "../" + script.src;
|
||||
}
|
||||
head.appendChild(new_script);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
// load HTMLArea scripts that are present in the opener frame
|
||||
var scripts = window.opener.HTMLArea._scripts;
|
||||
for (var i = 4; i < scripts.length; ++i) {
|
||||
document.write("<scr" + "ipt type='text/javascript' src='" + scripts[i] + "'></scr" + "ipt>");
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- browser takes a coffee break here -->
|
||||
<script type="text/javascript">
|
||||
var parent_object = null;
|
||||
var editor = null; // to be initialized later [ function init() ]
|
||||
var editor = null; // to be initialized later [ function init() ]
|
||||
|
||||
/* ---------------------------------------------------------------------- *\
|
||||
Function :
|
||||
Description :
|
||||
Function :
|
||||
Description :
|
||||
\* ---------------------------------------------------------------------- */
|
||||
|
||||
function _CloseOnEsc(ev) {
|
||||
if (document.all) {
|
||||
// IE
|
||||
ev = window.event;
|
||||
}
|
||||
if (ev.keyCode == 27) {
|
||||
// update_parent();
|
||||
window.close();
|
||||
return;
|
||||
}
|
||||
ev || (ev = window.event);
|
||||
if (ev.keyCode == 27) {
|
||||
// update_parent();
|
||||
window.close();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- *\
|
||||
Function : cloneObject
|
||||
Description : copy an object by value instead of by reference
|
||||
Usage : var newObj = cloneObject(oldObj);
|
||||
\* ---------------------------------------------------------------------- */
|
||||
|
||||
function cloneObject(obj) {
|
||||
var newObj = new Object;
|
||||
|
||||
// check for array objects
|
||||
if (obj.constructor.toString().indexOf("function Array(") == 1) {
|
||||
newObj = obj.constructor();
|
||||
}
|
||||
|
||||
// check for function objects (as usual, IE is fucked up)
|
||||
if (obj.constructor.toString().indexOf("function Function(") == 1) {
|
||||
newObj = obj; // just copy reference to it
|
||||
} else for (var n in obj) {
|
||||
var node = obj[n];
|
||||
if (typeof node == 'object') { newObj[n] = cloneObject(node); }
|
||||
else { newObj[n] = node; }
|
||||
}
|
||||
|
||||
return newObj;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- *\
|
||||
Function : resize_editor
|
||||
Description : resize the editor when the user resizes the popup
|
||||
Function : resize_editor
|
||||
Description : resize the editor when the user resizes the popup
|
||||
\* ---------------------------------------------------------------------- */
|
||||
|
||||
function resize_editor() { // resize editor to fix window
|
||||
var newHeight;
|
||||
if (document.all) {
|
||||
// IE
|
||||
newHeight = document.body.offsetHeight - editor._toolbar.offsetHeight;
|
||||
if (newHeight < 0) { newHeight = 0; }
|
||||
} else {
|
||||
// Gecko
|
||||
newHeight = window.innerHeight - editor._toolbar.offsetHeight;
|
||||
}
|
||||
if (editor.config.statusBar) {
|
||||
newHeight -= editor._statusBar.offsetHeight;
|
||||
}
|
||||
editor._textArea.style.height = editor._iframe.style.height = newHeight + "px";
|
||||
var newHeight;
|
||||
if (document.all) {
|
||||
// IE
|
||||
newHeight = document.body.offsetHeight - editor._toolbar.offsetHeight;
|
||||
if (newHeight < 0) { newHeight = 0; }
|
||||
} else {
|
||||
// Gecko
|
||||
newHeight = window.innerHeight - editor._toolbar.offsetHeight;
|
||||
}
|
||||
if (editor.config.statusBar) {
|
||||
newHeight -= editor._statusBar.offsetHeight;
|
||||
}
|
||||
editor._textArea.style.height = editor._iframe.style.height = newHeight + "px";
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- *\
|
||||
Function : init
|
||||
Description : run this code on page load
|
||||
Function : init
|
||||
Description : run this code on page load
|
||||
\* ---------------------------------------------------------------------- */
|
||||
|
||||
function init() {
|
||||
parent_object = opener.HTMLArea._object;
|
||||
var config = cloneObject( parent_object.config );
|
||||
config.editorURL = "../";
|
||||
config.width = "100%";
|
||||
config.height = "auto";
|
||||
parent_object = opener.HTMLArea._object;
|
||||
var config = HTMLArea.cloneObject( parent_object.config );
|
||||
config.width = "100%";
|
||||
config.height = "auto";
|
||||
|
||||
// change maximize button to minimize button
|
||||
config.btnList["popupeditor"] = [ 'Minimize Editor', 'images/fullscreen_minimize.gif', true,
|
||||
function() { window.close(); } ];
|
||||
// change maximize button to minimize button
|
||||
config.btnList["popupeditor"] = [ 'Minimize Editor', _editor_url + 'images/fullscreen_minimize.gif', true,
|
||||
function() { window.close(); } ];
|
||||
|
||||
// generate editor and resize it
|
||||
editor = new HTMLArea("editor", config);
|
||||
editor.generate();
|
||||
editor._iframe.style.width = "100%";
|
||||
editor._textArea.style.width = "100%";
|
||||
resize_editor();
|
||||
// generate editor and resize it
|
||||
editor = new HTMLArea("editor", config);
|
||||
|
||||
// set child window contents and event handlers, after a small delay
|
||||
setTimeout(function() {
|
||||
editor.setHTML(parent_object.getInnerHTML());
|
||||
// register the plugins, if any
|
||||
for (var i in parent_object.plugins) {
|
||||
var plugin = parent_object.plugins[i];
|
||||
editor.registerPlugin2(plugin.name, plugin.args);
|
||||
}
|
||||
// and restore the original toolbar
|
||||
config.toolbar = parent_object.config.toolbar;
|
||||
editor.generate();
|
||||
editor._iframe.style.width = "100%";
|
||||
editor._textArea.style.width = "100%";
|
||||
resize_editor();
|
||||
|
||||
// switch mode if needed
|
||||
if (parent_object._mode == "textmode") { editor.setMode("textmode"); }
|
||||
editor.doctype = parent_object.doctype;
|
||||
|
||||
// continuously update parent editor window
|
||||
setInterval(update_parent, 500);
|
||||
// set child window contents and event handlers, after a small delay
|
||||
setTimeout(function() {
|
||||
editor.setHTML(parent_object.getInnerHTML());
|
||||
|
||||
// setup event handlers
|
||||
document.body.onkeypress = _CloseOnEsc;
|
||||
editor._doc.body.onkeypress = _CloseOnEsc;
|
||||
editor._textArea.onkeypress = _CloseOnEsc;
|
||||
window.onresize = resize_editor;
|
||||
}, 333); // give it some time to meet the new frame
|
||||
// switch mode if needed
|
||||
if (parent_object._mode == "textmode") { editor.setMode("textmode"); }
|
||||
|
||||
// continuously update parent editor window
|
||||
setInterval(update_parent, 500);
|
||||
|
||||
// setup event handlers
|
||||
document.body.onkeypress = _CloseOnEsc;
|
||||
editor._doc.body.onkeypress = _CloseOnEsc;
|
||||
editor._textArea.onkeypress = _CloseOnEsc;
|
||||
window.onresize = resize_editor;
|
||||
}, 333); // give it some time to meet the new frame
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- *\
|
||||
Function : update_parent
|
||||
Description : update parent window editor field with contents from child window
|
||||
\* ---------------------------------------------------------------------- */
|
||||
Function : update_parent
|
||||
Description : update parent window editor field with contents from child window
|
||||
\* ---------------------------------------------------------------------- */
|
||||
|
||||
function update_parent() {
|
||||
// use the fast version
|
||||
parent_object.setHTML(editor.getInnerHTML());
|
||||
// use the fast version
|
||||
parent_object.setHTML(editor.getInnerHTML());
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body scroll="no" onload="init()" onunload="update_parent()">
|
||||
|
||||
<form style="margin: 0px; border: 1px solid; border-color: threedshadow threedhighlight threedhighlight threedshadow;">
|
||||
<textarea name="editor" id="editor" style="width:100%; height:300px"> </textarea>
|
||||
</form>
|
||||
|
||||
</body></html>
|
||||
</script>
|
||||
<style type="text/css"> html, body { height: 100%; margin: 0px; border: 0px; background-color: buttonface; } </style>
|
||||
</head>
|
||||
<body scroll="no" onload="setTimeout(function(){init();}, 500)" onunload="update_parent()">
|
||||
<form style="margin: 0px; border: 1px solid; border-color: threedshadow threedhighlight threedhighlight threedshadow;">
|
||||
<textarea name="editor" id="editor" style="width:100%; height:300px"> </textarea>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<html style="width: 398; height: 218">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Insert Image</title>
|
||||
@ -6,17 +6,27 @@
|
||||
<script type="text/javascript" src="popup.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var preview_window = null;
|
||||
|
||||
window.resizeTo(400, 100);
|
||||
|
||||
function Init() {
|
||||
__dlg_init();
|
||||
var param = window.dialogArguments;
|
||||
if (param) {
|
||||
document.getElementById("f_url").value = param["f_url"];
|
||||
document.getElementById("f_alt").value = param["f_alt"];
|
||||
document.getElementById("f_border").value = param["f_border"];
|
||||
document.getElementById("f_align").value = param["f_align"];
|
||||
document.getElementById("f_vert").value = param["f_vert"];
|
||||
document.getElementById("f_horiz").value = param["f_horiz"];
|
||||
window.ipreview.location.replace(param.f_url);
|
||||
}
|
||||
document.getElementById("f_url").focus();
|
||||
};
|
||||
|
||||
function onOK() {
|
||||
var required = {
|
||||
"f_url": "You must enter the URL",
|
||||
"f_alt": "Please enter the alternate text"
|
||||
"f_url": "You must enter the URL"
|
||||
};
|
||||
for (var i in required) {
|
||||
var el = document.getElementById(i);
|
||||
@ -35,23 +45,16 @@ function onOK() {
|
||||
var el = document.getElementById(id);
|
||||
param[id] = el.value;
|
||||
}
|
||||
if (preview_window) {
|
||||
preview_window.close();
|
||||
}
|
||||
__dlg_close(param);
|
||||
return false;
|
||||
};
|
||||
|
||||
function onCancel() {
|
||||
if (preview_window) {
|
||||
preview_window.close();
|
||||
}
|
||||
__dlg_close(null);
|
||||
return false;
|
||||
};
|
||||
|
||||
function onPreview() {
|
||||
alert("FIXME: preview needs rewritten:\n show the image inside this window instead of opening a new one.");
|
||||
var f_url = document.getElementById("f_url");
|
||||
var url = f_url.value;
|
||||
if (!url) {
|
||||
@ -59,40 +62,7 @@ function onPreview() {
|
||||
f_url.focus();
|
||||
return false;
|
||||
}
|
||||
var img = new Image();
|
||||
img.src = url;
|
||||
var win = null;
|
||||
if (!document.all) {
|
||||
win = window.open("about:blank", "ha_imgpreview", "toolbar=no,menubar=no,personalbar=no,innerWidth=100,innerHeight=100,scrollbars=no,resizable=yes");
|
||||
} else {
|
||||
win = window.open("about:blank", "ha_imgpreview", "channelmode=no,directories=no,height=100,width=100,location=no,menubar=no,resizable=yes,scrollbars=no,toolbar=no");
|
||||
}
|
||||
preview_window = win;
|
||||
var doc = win.document;
|
||||
var body = doc.body;
|
||||
if (body) {
|
||||
body.innerHTML = "";
|
||||
body.style.padding = "0px";
|
||||
body.style.margin = "0px";
|
||||
var el = doc.createElement("img");
|
||||
el.src = url;
|
||||
|
||||
var table = doc.createElement("table");
|
||||
body.appendChild(table);
|
||||
table.style.width = "100%";
|
||||
table.style.height = "100%";
|
||||
var tbody = doc.createElement("tbody");
|
||||
table.appendChild(tbody);
|
||||
var tr = doc.createElement("tr");
|
||||
tbody.appendChild(tr);
|
||||
var td = doc.createElement("td");
|
||||
tr.appendChild(td);
|
||||
td.style.textAlign = "center";
|
||||
|
||||
td.appendChild(el);
|
||||
win.resizeTo(el.offsetWidth + 30, el.offsetHeight + 30);
|
||||
}
|
||||
win.focus();
|
||||
window.ipreview.location.replace(url);
|
||||
return false;
|
||||
};
|
||||
</script>
|
||||
@ -131,7 +101,7 @@ form { padding: 0px; margin: 0px; }
|
||||
<body onload="Init()">
|
||||
|
||||
<div class="title">Insert Image</div>
|
||||
|
||||
<!--- new stuff --->
|
||||
<form action="" method="get">
|
||||
<table border="0" width="100%" style="padding: 0px; margin: 0px">
|
||||
<tbody>
|
||||
@ -203,14 +173,19 @@ title="Vertical padding" />
|
||||
<div class="space"></div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<div style="margin-top: 85px; text-align: right;">
|
||||
<hr />
|
||||
<button type="button" name="ok" onclick="return onOK();">OK</button>
|
||||
<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
|
||||
</div>
|
||||
|
||||
<br clear="all" />
|
||||
<table width="100%" style="margin-bottom: 0.2em">
|
||||
<tr>
|
||||
<td valign="bottom">
|
||||
Image Preview:<br />
|
||||
<iframe name="ipreview" id="ipreview" frameborder="0" style="border : 1px solid gray;" height="200" width="300" src=""></iframe>
|
||||
</td>
|
||||
<td valign="bottom" style="text-align: right">
|
||||
<button type="button" name="ok" onclick="return onOK();">OK</button><br>
|
||||
<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<html style="width: 398; height: 218">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Insert Table</title>
|
||||
@ -7,6 +7,8 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
window.resizeTo(400, 100);
|
||||
|
||||
function Init() {
|
||||
__dlg_init();
|
||||
document.getElementById("f_rows").focus();
|
||||
@ -161,8 +163,7 @@ title="Space between content and border in cell" />
|
||||
|
||||
</fieldset>
|
||||
|
||||
<div style="margin-top: 85px; text-align: right;">
|
||||
<hr />
|
||||
<div style="margin-top: 85px; border-top: 1px solid #999; padding: 2px; text-align: right;">
|
||||
<button type="button" name="ok" onclick="return onOK();">OK</button>
|
||||
<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
|
||||
</div>
|
||||
|
142
phpgwapi/js/htmlarea/popups/link.html
Normal file
142
phpgwapi/js/htmlarea/popups/link.html
Normal file
@ -0,0 +1,142 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Insert/Modify Link</title>
|
||||
<script type="text/javascript" src="popup.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.resizeTo(400, 200);
|
||||
|
||||
//I18N = window.opener.HTMLArea.I18N.dialogs;
|
||||
|
||||
function i18n(str) {
|
||||
// return (I18N[str] || str);
|
||||
};
|
||||
|
||||
function onTargetChanged() {
|
||||
var f = document.getElementById("f_other_target");
|
||||
if (this.value == "_other") {
|
||||
f.style.visibility = "visible";
|
||||
f.select();
|
||||
f.focus();
|
||||
} else f.style.visibility = "hidden";
|
||||
};
|
||||
|
||||
function Init() {
|
||||
__dlg_translate(I18N);
|
||||
__dlg_init();
|
||||
var param = window.dialogArguments;
|
||||
var target_select = document.getElementById("f_target");
|
||||
if (param) {
|
||||
document.getElementById("f_href").value = param["f_href"];
|
||||
document.getElementById("f_title").value = param["f_title"];
|
||||
comboSelectValue(target_select, param["f_target"]);
|
||||
if (target_select.value != param.f_target) {
|
||||
var opt = document.createElement("option");
|
||||
opt.value = param.f_target;
|
||||
opt.innerHTML = opt.value;
|
||||
target_select.appendChild(opt);
|
||||
opt.selected = true;
|
||||
}
|
||||
}
|
||||
var opt = document.createElement("option");
|
||||
opt.value = "_other";
|
||||
opt.innerHTML = i18n("Other");
|
||||
target_select.appendChild(opt);
|
||||
target_select.onchange = onTargetChanged;
|
||||
document.getElementById("f_href").focus();
|
||||
document.getElementById("f_href").select();
|
||||
};
|
||||
|
||||
function onOK() {
|
||||
var required = {
|
||||
"f_href": i18n("You must enter the URL where this link points to")
|
||||
};
|
||||
for (var i in required) {
|
||||
var el = document.getElementById(i);
|
||||
if (!el.value) {
|
||||
alert(required[i]);
|
||||
el.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// pass data back to the calling window
|
||||
var fields = ["f_href", "f_title", "f_target" ];
|
||||
var param = new Object();
|
||||
for (var i in fields) {
|
||||
var id = fields[i];
|
||||
var el = document.getElementById(id);
|
||||
param[id] = el.value;
|
||||
}
|
||||
if (param.f_target == "_other")
|
||||
param.f_target = document.getElementById("f_other_target").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: 8em; }
|
||||
|
||||
.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">Insert/Modify Link</div>
|
||||
|
||||
<table border="0" style="width: 100%;">
|
||||
<tr>
|
||||
<td class="label">URL:</td>
|
||||
<td><input type="text" id="f_href" style="width: 100%" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Title (tooltip):</td>
|
||||
<td><input type="text" id="f_title" style="width: 100%" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Target:</td>
|
||||
<td><select id="f_target">
|
||||
<option value="">None (use implicit)</option>
|
||||
<option value="_blank">New window (_blank)</option>
|
||||
<option value="_self">Same frame (_self)</option>
|
||||
<option value="_top">Top frame (_top)</option>
|
||||
</select>
|
||||
<input type="text" name="f_other_target" id="f_other_target" size="10" style="visibility: hidden" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="buttons">
|
||||
<button type="button" name="ok" onclick="return onOK();">OK</button>
|
||||
<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,42 +1,109 @@
|
||||
function __dlg_onclose() {
|
||||
if (!document.all) {
|
||||
opener.Dialog._return(null);
|
||||
// htmlArea v3.0 - Copyright (c) 2002, 2003 interactivetools.com, inc.
|
||||
// This copyright notice MUST stay intact for use (see license.txt).
|
||||
//
|
||||
// Portions (c) dynarch.com, 2003
|
||||
//
|
||||
// A free WYSIWYG editor replacement for <textarea> fields.
|
||||
// For full source code and docs, visit http://www.interactivetools.com/
|
||||
//
|
||||
// Version 3.0 developed by Mihai Bazon.
|
||||
// http://dynarch.com/mishoo
|
||||
//
|
||||
// $Id$
|
||||
|
||||
function getAbsolutePos(el) {
|
||||
var r = { x: el.offsetLeft, y: el.offsetTop };
|
||||
if (el.offsetParent) {
|
||||
var tmp = getAbsolutePos(el.offsetParent);
|
||||
r.x += tmp.x;
|
||||
r.y += tmp.y;
|
||||
}
|
||||
return r;
|
||||
};
|
||||
|
||||
function __dlg_init() {
|
||||
function comboSelectValue(c, val) {
|
||||
var ops = c.getElementsByTagName("option");
|
||||
for (var i = ops.length; --i >= 0;) {
|
||||
var op = ops[i];
|
||||
op.selected = (op.value == val);
|
||||
}
|
||||
c.value = val;
|
||||
};
|
||||
|
||||
function __dlg_onclose() {
|
||||
opener.Dialog._return(null);
|
||||
};
|
||||
|
||||
function __dlg_init(bottom) {
|
||||
var body = document.body;
|
||||
var body_height = 0;
|
||||
if (typeof bottom == "undefined") {
|
||||
var div = document.createElement("div");
|
||||
body.appendChild(div);
|
||||
var pos = getAbsolutePos(div);
|
||||
body_height = pos.y;
|
||||
} else {
|
||||
var pos = getAbsolutePos(bottom);
|
||||
body_height = pos.y + bottom.offsetHeight;
|
||||
}
|
||||
window.dialogArguments = opener.Dialog._arguments;
|
||||
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;
|
||||
var x = opener.screenX + (opener.outerWidth - window.outerWidth) / 2;
|
||||
var y = opener.screenY + (opener.outerHeight - window.outerHeight) / 2;
|
||||
window.moveTo(x, y);
|
||||
var body = document.body;
|
||||
window.innerHeight = body.offsetHeight;
|
||||
window.innerWidth = body.offsetWidth;
|
||||
window.innerWidth = body.offsetWidth + 5;
|
||||
window.innerHeight = body_height + 2;
|
||||
} else {
|
||||
var body = document.body;
|
||||
window.dialogHeight = body.offsetHeight + 50 + "px";
|
||||
window.dialogWidth = body.offsetWidth + "px";
|
||||
// window.dialogHeight = body.offsetHeight + 50 + "px";
|
||||
// window.dialogWidth = body.offsetWidth + "px";
|
||||
window.resizeTo(body.offsetWidth, body_height);
|
||||
var ch = body.clientHeight;
|
||||
var cw = body.clientWidth;
|
||||
window.resizeBy(body.offsetWidth - cw, body_height - ch);
|
||||
var W = body.offsetWidth;
|
||||
var H = 2 * body_height - ch;
|
||||
var x = (screen.availWidth - W) / 2;
|
||||
var y = (screen.availHeight - H) / 2;
|
||||
window.moveTo(x, y);
|
||||
}
|
||||
document.body.onkeypress = __dlg_close_on_esc;
|
||||
};
|
||||
|
||||
function __dlg_translate(i18n) {
|
||||
var types = ["span", "option", "td", "button", "div"];
|
||||
for (var type in types) {
|
||||
var spans = document.getElementsByTagName(types[type]);
|
||||
for (var i = spans.length; --i >= 0;) {
|
||||
var span = spans[i];
|
||||
if (span.firstChild && span.firstChild.data) {
|
||||
var txt = i18n[span.firstChild.data];
|
||||
if (txt)
|
||||
span.firstChild.data = txt;
|
||||
}
|
||||
}
|
||||
}
|
||||
var txt = i18n[document.title];
|
||||
if (txt)
|
||||
document.title = txt;
|
||||
};
|
||||
|
||||
// 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);
|
||||
}
|
||||
opener.Dialog._return(val);
|
||||
window.close();
|
||||
};
|
||||
|
||||
function __dlg_close_on_esc(ev) {
|
||||
ev || (ev = window.event);
|
||||
if (ev.keyCode == 27) {
|
||||
window.close();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
@ -1,11 +1,12 @@
|
||||
<!-- note: this version of the color picker is optimized for IE 5.5+ only -->
|
||||
|
||||
<html style="width: 238px; height: 182px"><head><title>Select Color</title>
|
||||
<html><head><title>Select Color</title>
|
||||
|
||||
<script type="text/javascript" src="popup.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
window.resizeTo(240, 182);
|
||||
function _CloseOnEsc() {
|
||||
if (event.keyCode == 27) { window.close(); return; }
|
||||
}
|
||||
|
@ -1,8 +1,11 @@
|
||||
// (c) dynarch.com 2003-2004
|
||||
// Distributed under the same terms as HTMLArea itself.
|
||||
|
||||
function PopupWin(editor, title, handler, initFunction) {
|
||||
this.editor = editor;
|
||||
this.handler = handler;
|
||||
var dlg = window.open("", "__ha_dialog",
|
||||
"toolbar=no,menubar=no,personalbar=no,width=600,height=600," +
|
||||
"toolbar=no,menubar=no,personalbar=no,width=600,height=600,left=20,top=40" +
|
||||
"scrollbars=no,resizable=no");
|
||||
this.window = dlg;
|
||||
var doc = dlg.document;
|
||||
@ -13,6 +16,17 @@ function PopupWin(editor, title, handler, initFunction) {
|
||||
if (base && base.match(/(.*)\/([^\/]+)/)) {
|
||||
base = RegExp.$1 + "/";
|
||||
}
|
||||
if (typeof _editor_url != "undefined" && !/^\//.test(_editor_url)) {
|
||||
// _editor_url doesn't start with '/' which means it's relative
|
||||
// FIXME: there's a problem here, it could be http:// which
|
||||
// doesn't start with slash but it's not relative either.
|
||||
base += _editor_url;
|
||||
} else
|
||||
base = _editor_url;
|
||||
if (!/\/$/.test(base)) {
|
||||
// base does not end in slash, add it now
|
||||
base += '/';
|
||||
}
|
||||
this.baseURL = base;
|
||||
|
||||
doc.open();
|
||||
|
@ -1,5 +1,6 @@
|
||||
<!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">
|
||||
@ -67,6 +68,10 @@ padding: 5px; text-align: center; }
|
||||
|
||||
</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>
|
||||
@ -116,7 +121,7 @@ other web based WYSIWYG editors are as follows:</p>
|
||||
<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's 100% backwards compatible with older or non-supported browsers
|
||||
<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>
|
||||
@ -145,8 +150,8 @@ href="http://mozilla.org">Mozilla</a> >= 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 is backwards
|
||||
compatible with other browsers. They will get a regular textarea field
|
||||
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>
|
||||
@ -171,7 +176,7 @@ today!</u></b></font><br /></p>
|
||||
other HTMLArea users?</h3>
|
||||
|
||||
<p>You can find out more about HTMLArea and download the latest version on
|
||||
the <a href="http://www.interactivetools.com/products/htmlarea/">HTMLArea
|
||||
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/"
|
||||
@ -192,6 +197,7 @@ href="http://www.interactivetools.com/iforum/Open_Source_C3/htmlArea_v3.0_-_Alph
|
||||
<li>CTRL-R -- justify right</li>
|
||||
<li>CTRL-J -- justify full</li>
|
||||
<li>CTRL-1 .. CTRL-6 -- headings (<h1> .. <h6>)</li>
|
||||
<li>CTRL-0 (zero) -- clean content pasted from Word</li>
|
||||
</ul>
|
||||
|
||||
<h2>Installation</h2>
|
||||
@ -211,7 +217,7 @@ Just follow these steps.</p>
|
||||
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/example.html with your browser to make
|
||||
<li>Open the example page /htmlarea/examples/core.html with your browser to make
|
||||
sure everything works.</li>
|
||||
</ol>
|
||||
|
||||
@ -221,32 +227,23 @@ 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"><</span><span class="html-tag">script</span> <span class="variable-name">type=</span><span class="string">"text/javascript"</span><span class="function-name">></span>
|
||||
_editor_url = <span class="string">"/htmlarea/"</span>;
|
||||
_editor_lang = <span class="string">"en"</span>;
|
||||
<span class="function-name"><</span><span class="html-tag">/script</span><span class="function-name">></span></pre>
|
||||
|
||||
<li>Include the "htmlarea.js" script:
|
||||
<pre class="code"
|
||||
><span class="function-name"><</span><span class="html-tag">script</span> <span class="variable-name">type=</span><span class="string">"text/javascript"</span> <span class="variable-name">src=</span><span class="string">"/htmlarea/htmlarea.js"</span><span class="function-name">></span><span class="paren-face-match"><</span><span class="html-tag">/script</span><span class="paren-face-match">></span></pre>
|
||||
</li>
|
||||
|
||||
<li>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.
|
||||
<pre class="code"
|
||||
><span class="function-name"><</span><span class="html-tag">script</span> <span class="variable-name">type=</span><span class="string">"text/javascript"</span> <span class="variable-name">src=</span><span class="string">"/htmlarea/dialog.js"</span><span class="paren-face-match">></span><span class="function-name"><</span><span class="html-tag">/script</span><span class="function-name">></span></pre>
|
||||
</li>
|
||||
|
||||
<li>Include the corresponding language definition file. <span
|
||||
class="note">Note</span>:
|
||||
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.
|
||||
<pre class="code"
|
||||
><span class="function-name"><</span><span class="html-tag">script</span> <span class="variable-name">type=</span><span class="string">"text/javascript"</span> <span class="variable-name">src=</span><span class="string">"/htmlarea/lang/en.js"</span><span class="function-name">></span><span class="paren-face-match"><</span><span class="html-tag">/script</span><span class="paren-face-match">></span></pre>
|
||||
|
||||
<li>Include the stylesheet (be sure to put this inside the HEAD tag):
|
||||
<pre class="code"
|
||||
><span class="function-name"><</span><span class="html-tag">style</span> <span class="variable-name">type=</span><span class="string">"text/css"</span><span class="function-name">></span>@import url<span class="function-name">(</span>/htmlarea/htmlarea.css<span class="function-name">)</span><span class="paren-face-match"><</span><span class="html-tag">/style</span><span class="paren-face-match">></span></pre>
|
||||
</li>
|
||||
|
||||
<li><p>If you want to change all your <textarea>-s into
|
||||
HTMLArea-s then you can use the simplest way to create HTMLArea:</p>
|
||||
<pre class="code"
|
||||
@ -264,6 +261,12 @@ to do that.</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
|
||||
@ -289,7 +292,7 @@ config.height = '<span class="string">200px</span>';
|
||||
|
||||
<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 no
|
||||
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>
|
||||
@ -345,7 +348,7 @@ These three have the following meaning, and need not be present in
|
||||
|
||||
<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 no
|
||||
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>
|
||||
@ -454,7 +457,7 @@ 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 no
|
||||
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>
|
||||
@ -507,16 +510,14 @@ config.registerButton("<span class="string">my-hilite</span>", "<
|
||||
|
||||
<hr />
|
||||
<address>© <a href="http://interactivetools.com" title="Visit our website"
|
||||
>InteractiveTools.com</a> 2002, 2003.
|
||||
>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://students.infoiasi.ro/~mishoo">Mihai Bazon</a> for
|
||||
InteractiveTools.com.
|
||||
href="http://dynarch.com/mishoo/">Mihai Bazon</a>.
|
||||
<br />
|
||||
Documentation written by Mihai Bazon.
|
||||
</address>
|
||||
<!-- hhmts start -->
|
||||
Last modified on Sun Aug 3 16:11:23 2003
|
||||
<!-- hhmts end -->
|
||||
<!-- hhmts start --> Last modified: Wed Jan 28 12:18:23 EET 2004 <!-- hhmts end -->
|
||||
<!-- doc-lang: English -->
|
||||
</body> </html>
|
||||
|
@ -1,15 +1,74 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
|
||||
<html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>HTMLArea-3.0-beta release notes</title>
|
||||
<title><% $basename %> release notes</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>HTMLArea-3.0-beta release notes</h1>
|
||||
<h1><% $basename %> release notes</h1>
|
||||
|
||||
<p>This release was compiled on Aug 11, 2003 [21:30] GMT.</p>
|
||||
<p>This release was compiled on <% $time %>.</p>
|
||||
|
||||
<h2>3.0-rc1</h2>
|
||||
|
||||
<p>Changes since 3.0-Beta:</p>
|
||||
|
||||
<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 <body>.)
|
||||
</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 ;-)
|
||||
</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>
|
||||
<a href="ChangeLog">Full CVS ChangeLog</a> is now
|
||||
automatically generated from the CVS logs.
|
||||
</li>
|
||||
<li>
|
||||
Lots of bug fixes!
|
||||
</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>
|
||||
|
||||
@ -35,7 +94,7 @@
|
||||
<li>Cut, copy, paste, undo, redo buttons.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<%doc>
|
||||
<h2>Rationale for Beta</h2>
|
||||
|
||||
<p>Why was this released as "Beta"? The code is quite stable and it
|
||||
@ -67,16 +126,23 @@
|
||||
<li><strong>Documentation</strong>.</li>
|
||||
|
||||
</ol>
|
||||
|
||||
|
||||
</%doc>
|
||||
<hr />
|
||||
<address><a href="http://students.infoiasi.ro/~mishoo/">Mihai Bazon</a></address>
|
||||
<address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address>
|
||||
<!-- Created: Sun Aug 3 16:55:08 EEST 2003 -->
|
||||
<!-- hhmts start -->
|
||||
Last modified on Sun Aug 10 19:31:39 2003
|
||||
<!-- hhmts end -->
|
||||
<!-- hhmts start --> Last modified: Wed Jan 28 12:53:03 EET 2004 <!-- hhmts end -->
|
||||
<!-- doc-lang: English -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%ARGS>
|
||||
$project => 'HTMLArea'
|
||||
$version => '3.0'
|
||||
$release => 'rc1'
|
||||
$basename => 'HTMLArea-3.0-rc1'
|
||||
</%ARGS>
|
||||
|
||||
<%INIT>;
|
||||
use POSIX qw(strftime);
|
||||
my $time = strftime '%b %e, %Y [%H:%M] GMT', gmtime;
|
||||
</%INIT>
|
||||
|
Loading…
Reference in New Issue
Block a user