Upgrade to xinha svn head to fix issues with xinha editors not appearing in Firefox 1.5

This commit is contained in:
Chris Morgan
2005-12-07 03:37:36 +00:00
committed by WineHQ
parent 369b40b046
commit 8786179180
175 changed files with 2371 additions and 1919 deletions

View File

@@ -92,17 +92,20 @@ foreach($plugins as $pluginDir)
{
$fp = fopen($file, "r");
$data = "";
while(!feof($fp)) {
$data .= fread($fp, 1024);
}
preg_match_all('#_lc\("([^"]+)"|_lc\(\'([^\']+)\'#', $data, $m);
foreach($m[1] as $i) {
if(trim(strip_tags($i))=="") continue;
$ret[] = $i;
}
foreach($m[2] as $i) {
if(trim(strip_tags($i))=="") continue;
$ret[] = $i;
if($fp) {
echo "$file open...<br>";
while(!feof($fp)) {
$data .= fread($fp, 1024);
}
preg_match_all('#_lc\("([^"]+)"|_lc\(\'([^\']+)\'#', $data, $m);
foreach($m[1] as $i) {
if(trim(strip_tags($i))=="") continue;
$ret[] = $i;
}
foreach($m[2] as $i) {
if(trim(strip_tags($i))=="") continue;
$ret[] = $i;
}
}
}
@@ -258,4 +261,4 @@ function getFiles($rootdirpath, $eregi_match='') {
?>
?>

View File

@@ -19,7 +19,7 @@ function Dialog(url, action, init) {
init = window; // pass this window object by default
}
Dialog._geckoOpenModal(url, action, init);
};
}
Dialog._parentEvent = function(ev) {
setTimeout( function() { if (Dialog._modal && !Dialog._modal.closed) { Dialog._modal.focus() } }, 50);
@@ -50,13 +50,13 @@ Dialog._geckoOpenModal = function(url, action, init) {
HTMLArea._addEvent(w, "click", Dialog._parentEvent);
HTMLArea._addEvent(w, "mousedown", Dialog._parentEvent);
HTMLArea._addEvent(w, "focus", Dialog._parentEvent);
};
}
// release the captured events
function relwin(w) {
HTMLArea._removeEvent(w, "click", Dialog._parentEvent);
HTMLArea._removeEvent(w, "mousedown", Dialog._parentEvent);
HTMLArea._removeEvent(w, "focus", Dialog._parentEvent);
};
}
capwin(window);
// capture other frames, note the exception trapping, this is because
// we are not permitted to add events to frames outside of the current
@@ -73,4 +73,4 @@ Dialog._geckoOpenModal = function(url, action, init) {
Dialog._modal = null;
};
Dialog._modal.focus();
};
};

View File

@@ -0,0 +1,220 @@
<html>
<head>
<title>Settings</title>
<link rel="stylesheet" type="text/css" href="../popups/popup.css" />
<script type="text/javascript">
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 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);
};
// closes the dialog and passes the return info upper.
function __dlg_close(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;
};
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) {
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);
window.innerWidth = body.offsetWidth + 5;
window.innerHeight = body_height + 2;
// center on parent
var x = opener.screenX + (opener.outerWidth - window.outerWidth) / 2;
var y = opener.screenY + (opener.outerHeight - window.outerHeight) / 2;
window.moveTo(x, y);
} else {
// 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 Init() {
__dlg_init();
var param = window.dialogArguments;
if (param) {
document.getElementById("width").value = param["width"];
document.getElementById("height").value = param["height"];
document.getElementById("sizeIncludesBars").checked = (param["sizeIncludesBars"] == 'true');
document.getElementById("statusBar").checked = (param["statusBar"] == 'true');
document.getElementById("mozParaHandler").value = param["mozParaHandler"];
document.getElementById("undoSteps").value = param["undoSteps"];
document.getElementById("baseHref").value = param["baseHref"];
document.getElementById("stripBaseHref").checked = (param["stripBaseHref"] == 'true');
document.getElementById("stripSelfNamedAnchors").checked = (param["stripSelfNamedAnchors"] == 'true');
document.getElementById("only7BitPrintablesInURLs").checked = (param["only7BitPrintablesInURLs"] == 'true');
document.getElementById("sevenBitClean").checked = (param["sevenBitClean"] == 'true');
document.getElementById("killWordOnPaste").checked = (param["killWordOnPaste"] == 'true');
document.getElementById("flowToolbars").checked = (param["flowToolbars"] == 'true');
document.getElementById("CharacterMapMode").value = param["CharacterMapMode"];
document.getElementById("ListTypeMode").value = param["ListTypeMode"];
}
document.getElementById("width").focus();
window.resizeTo(420, 500);
};
function onOK() {
// pass data back to the calling window
var param = { width: document.getElementById("width").value,
height: document.getElementById("height").value,
sizeIncludesBars: (document.getElementById("sizeIncludesBars").checked?true:""),
statusBar: (document.getElementById("statusBar").checked?true:""),
mozParaHandler: document.getElementById("mozParaHandler").value,
undoSteps: document.getElementById("undoSteps").value,
baseHref: document.getElementById("baseHref").value,
stripBaseHref: (document.getElementById("stripBaseHref").checked?true:""),
stripSelfNamedAnchors: (document.getElementById("stripSelfNamedAnchors").checked?true:""),
only7BitPrintablesInURLs: (document.getElementById("only7BitPrintablesInURLs").checked?true:""),
sevenBitClean: (document.getElementById("sevenBitClean").checked?true:""),
killWordOnPaste: (document.getElementById("killWordOnPaste").checked?true:""),
flowToolbars: (document.getElementById("flowToolbars").checked?true:""),
CharacterMapMode: document.getElementById("CharacterMapMode").value,
ListTypeOptions: document.getElementById("ListTypeMode").value
};
__dlg_close(param);
return false;
};
function onCancel() {
__dlg_close(null);
return false;
};
</script>
<style type="text/css">
.fr { width: 16em; float: left; padding: 2px 5px; text-align: right; }
</style>
</head>
<body class="dialog" onload="Init()">
<div class="title">Settings</div>
<form action="" method="get">
<div class="fr">Editor width:</div>
<input type="text" name="width" id="width" title="" />
<p />
<div class="fr">Editor height:</div>
<input type="text" name="height" id="height" title="" />
<p />
<div class="fr">Size includes bars</div>
<input type="checkbox" name="sizeIncludesBars" id="sizeIncludesBars" />
<p />
<div class="fr">Status Bar</div>
<input type="checkbox" name="statusBar" id="statusBar" />
<p />
<div class="fr">Mozilla Parameter Handler:</div>
<select name="mozParaHandler" id="mozParaHandler">
<option value="built-in">built-in</option>
<option value="dirty">dirty</option>
<option value="best">best</option>
</select>
<div class="space"></div>
<div class="fr">Undo steps:</div>
<input type="text" name="undoSteps" id="undoSteps" title="" />
<p />
<div class="fr">Base href:</div>
<input type="text" name="baseHref" id="baseHref" title="" />
<p />
<div class="fr">Strip base href</div>
<input type="checkbox" name="stripBaseHref" id="stripBaseHref" />
<p />
<div class="fr">Strip self named anchors</div>
<input type="checkbox" name="stripSelfNamedAnchors" id="stripSelfNamedAnchors" />
<p />
<div class="fr">only 7bit printables in URLs</div>
<input type="checkbox" name="only7BitPrintablesInURLs" id="only7BitPrintablesInURLs" />
<p />
<div class="fr">7bit Clean</div>
<input type="checkbox" name="sevenBitClean" id="sevenBitClean" />
<p />
<div class="fr">kill Word on paste</div>
<input type="checkbox" name="killWordOnPaste" id="killWordOnPaste" />
<p />
<div class="fr">flow toolbars</div>
<input type="checkbox" name="flowToolbars" id="flowToolbars" />
<p />
<div id="CharacterMapOptions" class="options">
<hr size="0.5">
<div class="fr">CharacterMap mode :</div>
<select id="CharacterMapMode" name="CharacterMapMode">
<option value="popup">popup</option>
<option value="panel">panel</option>
</select>
</div>
<p />
<div id="ListTypeOptions" class="options">
<hr size="0.5">
<div class="fr">ListType mode :</div>
<select id="ListTypeMode" name="ListTypeMode">
<option value="toolbar">toolbar</option>
<option value="panel">panel</option>
</select>
</div>
<p />
<div id="buttons">
<button type="submit" name="ok" onclick="return onOK();">OK</button>
<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
</div>
</form>
</body>
</html>

View File

@@ -4,7 +4,7 @@
-- @TODO Make this CSS more useful.
--
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/custom.css $
-- $LastChangedDate: 2005-02-19 17:10:03 +1300 (Sat, 19 Feb 2005) $
-- $LastChangedDate: 2005-02-18 23:10:03 -0500 (Fri, 18 Feb 2005) $
-- $LastChangedRevision: 14 $
-- $LastChangedBy: gogo $
--------------------------------------------------------------------------*/

View File

@@ -4,7 +4,7 @@
-- @TODO Make this CSS more useful.
--
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/dynamic.css $
-- $LastChangedDate: 2005-02-19 17:10:03 +1300 (Sat, 19 Feb 2005) $
-- $LastChangedDate: 2005-02-18 23:10:03 -0500 (Fri, 18 Feb 2005) $
-- $LastChangedRevision: 14 $
-- $LastChangedBy: gogo $
--------------------------------------------------------------------------*/

View File

@@ -0,0 +1,200 @@
<!DOCTYPE BHTML PUBLIC "-//BC//DTD BHTML 3.2 Final//EN">
<html>
<head>
<!-- ---------------------------------------------------------------------
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/ext_example-body.html $
-- $LastChangedDate: 2005-07-27 16:43:19 +0200 (Mi, 27 Jul 2005) $
-- $LastChangedRevision: 287 $
-- $LastChangedBy: gocher $
------------------------------------------------------------------------ -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Example of Xinha</title>
<link rel="stylesheet" href="full_example.css" />
<script type="text/javascript">
function showError( sMsg, sUrl, sLine){
document.getElementById('errors').value += 'Error: ' + sMsg + '\n' +
'Source File: ' + sUrl + '\n' +
'Line: ' + sLine + '\n';
return false;
}
window.onerror = showError;
document.onerror = showError;
var f = window.parent.menu.document.forms[0];
// You must set _editor_url to the URL (including trailing slash) where
// where xinha is installed, it's highly recommended to use an absolute URL
// eg: _editor_url = "/path/to/xinha/";
// You may try a relative URL if you wish]
// eg: _editor_url = "../";
// in this example we do a little regular expression to find the absolute path.
_editor_url = document.location.href.replace(/examples\/ext_example-body\.html.*/, '')
_editor_lang = f.lang.value; // And the language we need to use in the editor.
_editor_skin = f.skin.value; // the skin we use in the editor
</script>
<!-- Load up the actual editor core -->
<script type="text/javascript" src="../htmlarea.js"></script>
<script type="text/javascript">
xinha_editors = null;
xinha_init = null;
xinha_config = null;
xinha_plugins = null;
xinha_init = xinha_init ? xinha_init : function() {
var f = window.parent.menu.document.forms[0];
// What are the plugins you will be using in the editors on this page.
// List all the plugins you will need, even if not all the editors will use all the plugins.
xinha_plugins = [ ];
for(var x = 0; x < f.plugins.length; x++) {
if(f.plugins[x].checked) xinha_plugins.push(f.plugins[x].value);
}
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
if(!HTMLArea.loadPlugins(xinha_plugins, xinha_init)) return;
// What are the names of the textareas you will be turning into editors?
var num = 1;
num = parseInt(f.num.value);
if(isNaN(num)) {
num = 1;
f.num.value = 1;
}
var dest = document.getElementById("editors_here");
var lipsum = window.parent.menu.document.getElementById('myTextarea0').value;
xinha_editors = [ ]
for(var x = 0; x < num; x++) {
var ta = 'myTextarea' + x;
xinha_editors.push(ta);
var div = document.createElement('div');
div.className = 'area_holder';
var txta = document.createElement('textarea');
txta.id = ta;
txta.name = ta;
txta.value = lipsum;
txta.style.width="100%";
txta.style.height="420px";
div.appendChild(txta);
dest.appendChild(div);
}
// Create a default configuration to be used by all the editors.
xinha_config = new HTMLArea.Config();
if (f.width) xinha_config.width = f.width.value;
if (f.height) xinha_config.height = f.height.value;
if (f.sizeIncludesBars) xinha_config.sizeIncludesBars = f.sizeIncludesBars.value;
if (f.statusBar) xinha_config.statusBar = f.statusBar.value;
if (f.mozParaHandler) xinha_config.mozParaHandler = f.mozParaHandler.value;
if (f.undoSteps) xinha_config.undoSteps = f.undoSteps.value;
if (f.baseHref) xinha_config.baseHref = f.baseHref.value;
if (f.stripBaseHref) xinha_config.stripBaseHref = f.stripBaseHref.value;
if (f.stripSelfNamedAnchors) xinha_config.stripSelfNamedAnchors = f.stripSelfNamedAnchors.value;
if (f.only7BitPrintablesInURLs) xinha_config.only7BitPrintablesInURLs = f.only7BitPrintablesInURLs.value;
if (f.sevenBitClean) xinha_config.sevenBitClean = f.sevenBitClean.value;
if (f.killWordOnPaste) xinha_config.killWordOnPaste = f.killWordOnPaste.value;
if (f.flowToolbars) xinha_config.flowToolbars = f.flowToolbars.value;
if ((typeof CharacterMap != 'undefined') && (f.CharacterMapMode)) xinha_config.CharacterMap.mode = f.CharacterMapMode.value;
if ((typeof ListType != 'undefined') && (f.ListTypeMode)) xinha_config.ListType.mode = f.ListTypeMode.value;
if(typeof CSS != 'undefined') {
xinha_config.pageStyle = "@import url(custom.css);";
}
if(typeof Stylist != 'undefined') {
// We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL
// otherwise it won't work!
xinha_config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css'));
// Or we can load styles directly
xinha_config.stylistLoadStyles('p.red_text { color:red }');
// If you want to provide "friendly" names you can do so like
// (you can do this for stylistLoadStylesheet as well)
xinha_config.stylistLoadStyles('p.pink_text { color:pink }', {'p.pink_text' : 'Pretty Pink'});
}
if(typeof DynamicCSS != 'undefined') {
xinha_config.pageStyle = "@import url(dynamic.css);";
}
if(typeof InsertWords != 'undefined') {
// Register the keyword/replacement list
var keywrds1 = new Object();
var keywrds2 = new Object();
keywrds1['-- Dropdown Label --'] = '';
keywrds1['onekey'] = 'onevalue';
keywrds1['twokey'] = 'twovalue';
keywrds1['threekey'] = 'threevalue';
keywrds2['-- Insert Keyword --'] = '';
keywrds2['Username'] = '%user%';
keywrds2['Last login date'] = '%last_login%';
xinha_config.InsertWords = {
combos : [ { options: keywrds1, context: "body" },
{ options: keywrds2, context: "li" } ]
}
}
if(typeof InsertPicture != 'undefined') {
// Path for InsertPicture plugin
InsertPicture.PicturePath = '/schmal/pictures/';
}
if(typeof Filter != 'undefined') {
xinha_config.Filters = ["Word", "Paragraph"];
}
// First create editors for the textareas.
// You can do this in two ways, either
// xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
// if you want all the editor objects to use the same set of plugins, OR;
// xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config);
// xinha_editors['myTextArea'].registerPlugins(['Stylist','FullScreen']);
// xinha_editors['anotherOne'].registerPlugins(['CSS','SuperClean']);
// if you want to use a different set of plugins for one or more of the editors.
xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
// If you want to change the configuration variables of any of the editors,
// this is the place to do that, for example you might want to
// change the width and height of one of the editors, like this...
// xinha_editors.myTextArea.config.width = '640px';
// xinha_editors.myTextArea.config.height = '480px';
// Finally we "start" the editors, this turns the textareas into Xinha editors.
HTMLArea.startEditors(xinha_editors);
}
window.onload = xinha_init;
</script>
</head>
<body>
<form id="to_submit" method="post" action="ext_example-dest.php">
<div id="editors_here"></div>
<button type="submit">Submit</button>
<textarea id="errors" style="width:100%; height:100px; background:silver;"></textarea><!-- style="display:none;"> -->
</form>
<script type="text/javascript">
var _oldSubmitHandler = null;
if (document.forms[0].onsubmit != null) {
_oldSubmitHandler = document.forms[0].onsubmit;
}
function frame_onSubmit(){
document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value.replace(/^[\r\n]+|\s+$/, '')
window.parent.menu.document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value;
if (_oldSubmitHandler != null) {
_oldSubmitHandler();
}
}
document.forms[0].onsubmit = frame_onSubmit;
</script>
</body>
</html>

View File

@@ -0,0 +1,23 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Example of Xinha</title>
<link rel="stylesheet" href="full_example.css" />
</head>
</body>
<?php
if (get_magic_quotes_gpc()) {
$_REQUEST = array_map('stripslashes',$_REQUEST);
}
// or in php.ini
//; Magic quotes for incoming GET/POST/Cookie data.
//magic_quotes_gpc = Off
foreach($_REQUEST as $key=>$value){
if(substr($key,0,10) == 'myTextarea') {
echo '<h3 style="border-bottom:1px solid black;">'.$key.'(source):</h3><xmp style="border:1px solid black; width: 100%; height: 200px; overflow: auto;">'.$value.'</xmp><br/>';
echo '<h3 style="border-bottom:1px solid black;">'.$key.'(preview):</h3>'.$value;
}
}
?>
</body>
</html>

View File

@@ -0,0 +1,326 @@
<?PHP
$LocalPluginPath = dirname(dirname(__FILE__)).'\plugins';
$LocalSkinPath = dirname(dirname(__File__)).'\skins';
?>
<html>
<head>
<!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
-- Xinha example menu. This file is used by full_example.html within a
-- frame to provide a menu for generating example editors using
-- full_example-body.html, and full_example.js.
--
-- $HeadURL$
-- $LastChangedDate$
-- $LastChangedRevision$
-- $LastChangedBy$
--------------------------------------------------------------------------->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Example of Xinha</title>
<link rel="stylesheet" href="full_example.css" />
<style type="text/css">
h1 {font: bold 22px "Staccato222 BT", cursive;}
form, p {margin: 0px; padding: 0px;}
label { display:block;}
</style>
<script language="JavaScript" type="text/javascript">
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function getCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function setCookie (name, value) {
var argv = setCookie.arguments;
var argc = setCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function _onResize() {
var sHeight;
if (window.innerHeight) sHeight = window.innerHeight;
else if (document.body && document.body.offsetHeight) sHeight = document.body.offsetHeight;
else return;
if (sHeight>270) {
sHeight = sHeight - 245;
} else {
sHeight = 30
}
var div = document.getElementById("div_plugins");
div.style.height = sHeight + "px";
}
function Dialog(url, action, init) {
if (typeof init == "undefined") {
init = window; // pass this window object by default
}
Dialog._geckoOpenModal(url, action, init);
};
Dialog._parentEvent = function(ev) {
setTimeout( function() { if (Dialog._modal && !Dialog._modal.closed) { Dialog._modal.focus() } }, 50);
if (Dialog._modal && !Dialog._modal.closed) {
agt = navigator.userAgent.toLowerCase();
is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
if (is_ie) {
ev.cancelBubble = true;
ev.returnValue = false;
} else {
ev.preventDefault();
ev.stopPropagation();
}
}
};
// should be a function, the return handler of the currently opened dialog.
Dialog._return = null;
// constant, the currently opened dialog
Dialog._modal = null;
// the dialog will read it's args from this variable
Dialog._arguments = null;
Dialog._geckoOpenModal = function(url, action, init) {
var dlg = window.open(url, "hadialog",
"toolbar=no,menubar=no,personalbar=no,width=10,height=10," +
"scrollbars=no,resizable=yes,modal=yes,dependable=yes");
Dialog._modal = dlg;
Dialog._arguments = init;
// capture some window's events
function capwin(w) {
// HTMLArea._addEvent(w, "click", Dialog._parentEvent);
// HTMLArea._addEvent(w, "mousedown", Dialog._parentEvent);
// HTMLArea._addEvent(w, "focus", Dialog._parentEvent);
};
// release the captured events
function relwin(w) {
// HTMLArea._removeEvent(w, "click", Dialog._parentEvent);
// HTMLArea._removeEvent(w, "mousedown", Dialog._parentEvent);
// HTMLArea._removeEvent(w, "focus", Dialog._parentEvent);
};
capwin(window);
// capture other frames
for (var i = 0; i < window.frames.length; capwin(window.frames[i++]));
// make up a function to be called when the Dialog ends.
Dialog._return = function (val) {
if (val && action) {
action(val);
}
relwin(window);
// capture other frames
for (var i = 0; i < window.frames.length; relwin(window.frames[i++]));
Dialog._modal = null;
};
};
function fExtended () {
var outparam = { width: document.getElementById("width").value,
height: document.getElementById("height").value,
sizeIncludesBars: document.getElementById("sizeIncludesBars").value,
statusBar: document.getElementById("statusBar").value,
mozParaHandler: document.getElementById("mozParaHandler").value,
undoSteps: document.getElementById("undoSteps").value,
baseHref: document.getElementById("baseHref").value,
stripBaseHref: document.getElementById("stripBaseHref").value,
stripSelfNamedAnchors: document.getElementById("stripSelfNamedAnchors").value,
only7BitPrintablesInURLs: document.getElementById("only7BitPrintablesInURLs").value,
sevenBitClean: document.getElementById("sevenBitClean").value,
killWordOnPaste: document.getElementById("killWordOnPaste").value,
flowToolbars: document.getElementById("flowToolbars").value,
CharacterMapMode: document.getElementById("CharacterMapMode").value,
ListTypeMode: document.getElementById("ListTypeMode").value
};
Dialog("Extended.html", function(param) {
if(param) {
document.getElementById("width").value = param["width"];
document.getElementById("height").value = param["height"];
document.getElementById("sizeIncludesBars").value = param["sizeIncludesBars"];
document.getElementById("statusBar").value = param["statusBar"];
document.getElementById("mozParaHandler").value = param["mozParaHandler"];
document.getElementById("undoSteps").value = param["undoSteps"];
document.getElementById("baseHref").value = param["baseHref"];
document.getElementById("stripBaseHref").value = param["stripBaseHref"];
document.getElementById("stripSelfNamedAnchors").value = param["stripSelfNamedAnchors"];
document.getElementById("only7BitPrintablesInURLs").value = param["only7BitPrintablesInURLs"];
document.getElementById("sevenBitClean").value = param["sevenBitClean"];
document.getElementById("killWordOnPaste").value = param["killWordOnPaste"];
document.getElementById("flowToolbars").value = param["flowToolbars"];
document.getElementById("CharacterMapMode").value = param["CharacterMapMode"];
document.getElementById("ListTypeMode").value = param["ListTypeMode"];
}
}, outparam );
}
function init(){
var co = getCookie('co_ext_Xinha');
if(co!=null){
var co_values;
var co_entries = co.split('###');
for (var i in co_entries) {
co_values = co_entries[i].split('=');
if(co_values[0]=='plugins') {
for(var x = 0; x < document.forms[0].plugins.length; x++) {
if(co_values[1].indexOf(document.forms[0].plugins[x].value)!=-1) {
document.forms[0].plugins[x].checked = true;
}
}
} else if(co_values[0]!='') {
document.getElementById(co_values[0]).value = co_values[1];
}
}
}
_onResize();
};
window.onresize = _onResize;
window.onload = init;
</script>
</head>
<body>
<form action="ext_example-body.html" target="body">
<h1>Xinha Example</h1>
<fieldset>
<legend>Settings</legend>
<label>
Number of Editors: <input type="text" name="num" id="num" value="1" style="width:25;" maxlength="2"/>
</label>
<label>
Language:
<select name="lang" id="lang">
<option value="en">English</option>
<option value="de">German</option>
<option value="fr">French</option>
<option value="it">Italian</option>
<option value="no">Norwegian</option>
<option value="pl">Polish</option>
</select>
</label>
<label>
Skin:
<select name="skin" id="skin">
<option value="">-- no skin --</option>
<?php
$d = @dir($LocalSkinPath);
while (false !== ($entry = $d->read())) //not a dot file or directory
{ if(substr($entry,0,1) != '.')
{ echo '<option value="' . $entry . '"> ' . $entry . '</option>';
}
}
$d->close();
?>
</select>
</label>
<input type="hidden" id="width" name="width" value="auto" />
<input type="hidden" id="height" name="height" value="auto" />
<input type="hidden" id="sizeIncludesBars" name="sizeIncludeBars" value="true" />
<input type="hidden" id="statusBar" name="statusBar" value="true" />
<input type="hidden" id="mozParaHandler" name="mozParaHandler" value="best" />
<input type="hidden" id="undoSteps" name="undoSteps" value="20" />
<input type="hidden" id="baseHref" name="baseHref" value="null" />
<input type="hidden" id="stripBaseHref" name="stripBaseHref" value="true" />
<input type="hidden" id="stripSelfNamedAnchors" name="stripSelfNamedAnchors" value="true" />
<input type="hidden" id="only7BitPrintablesInURLs" name="only7BitPrintablesInURLs" value="true" />
<input type="hidden" id="sevenBitClean" name="sevenBitClean" value="false" />
<input type="hidden" id="killWordOnPaste" name="killWordOnPaste" value="true" />
<input type="hidden" id="flowToolbars" name="flowToolbars" value="true" />
<input type="hidden" id="CharacterMapMode" name="CharacterMapMode" value="popup" />
<input type="hidden" id="ListTypeMode" name="ListTypeMode" value="toolbar" />
<center><input type="button" value="extended Settings" onClick="fExtended();" /></center>
</fieldset>
<fieldset>
<legend>Plugins</legend>
<div id="div_plugins" style="width:100%; overflow:auto">
<?php
$d = @dir($LocalPluginPath);
while (false !== ($entry = $d->read())) //not a dot file or directory
{ if(substr($entry,0,1) != '.')
{ echo '<label><input type="checkbox" name="plugins" value="' . $entry . '"> ' . $entry . '</label>';
}
}
$d->close();
?>
</div>
</fieldset>
<center><button type="submit">reload editor</button></center>
<textarea id="myTextarea0" style="display:none">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam et tellus vitae justo varius placerat. Suspendisse iaculis
velit semper dolor. Donec gravida tincidunt mi. Curabitur tristique
ante elementum turpis. Aliquam nisl. Nulla posuere neque non
tellus. Morbi vel nibh. Cum sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus. Nam nec wisi. In wisi.
Curabitur pharetra bibendum lectus.</p>
<ul>
<li> Phasellus et massa sed diam viverra semper. </li>
<li> Mauris tincidunt felis in odio. </li>
<li> Nulla placerat nunc ut pede. </li>
<li> Vivamus ultrices mi sit amet urna. </li>
<li> Quisque sed augue quis nunc laoreet volutpat.</li>
<li> Nunc sit amet metus in tortor semper mattis. </li>
</ul>
</textarea>
</form>
<script type="text/javascript">
top.frames["body"].location.href = document.location.href.replace(/ext_example-menu\.php.*/, 'ext_example-body.html')
var _oldSubmitHandler = null;
if (document.forms[0].onsubmit != null) {
_oldSubmitHandler = document.forms[0].onsubmit;
}
function frame_onSubmit(){
var thenewdate = new Date ();
thenewdate.setTime(thenewdate.getTime() + (5*24*60*60*1000));
var co_value = 'skin=' + document.getElementById('skin').options[document.getElementById('skin').selectedIndex].value + '###' +
'lang=' + document.getElementById('lang').options[document.getElementById('lang').selectedIndex].value + '###' +
'num=' + document.getElementById('num').value + '###';
var s_value='';
for(var x = 0; x < document.forms[0].plugins.length; x++) {
if(document.forms[0].plugins[x].checked)
s_value += document.forms[0].plugins[x].value + '/';
}
if(s_value!='') {
co_value += 'plugins=' + s_value + '###'
}
setCookie('co_ext_Xinha', co_value, thenewdate);
if (_oldSubmitHandler != null) {
_oldSubmitHandler();
}
}
document.forms[0].onsubmit = frame_onSubmit;
</script>
</body>
</html>

View File

@@ -0,0 +1,16 @@
<html>
<!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
-- Xinha example frameset.
--
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.html $
-- $LastChangedDate: 2005-06-02 11:14:41 +0200 (Thu, 02 Jun 2005) $
-- $LastChangedRevision: 212 $
-- $LastChangedBy: gocher $
--------------------------------------------------------------------------->
<frameset cols="240,*">
<frame src="ext_example-menu.php" name="menu">
<frame src="about:blank" name="body">
</frameset>
</html>

View File

@@ -11,7 +11,7 @@
-- use of the file as a boilerplate.
--
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example-body.html $
-- $LastChangedDate: 2005-07-28 02:43:19 +1200 (Thu, 28 Jul 2005) $
-- $LastChangedDate: 2005-07-27 10:43:19 -0400 (Wed, 27 Jul 2005) $
-- $LastChangedRevision: 287 $
-- $LastChangedBy: gocher $
--------------------------------------------------------------------------->

View File

@@ -1,4 +1,4 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!--
@@ -47,6 +47,7 @@ function toggleOnChange(elt) {
<option value="de">German</option>
<option value="fr">French</option>
<option value="it">Italian</option>
<option value="no">Norwegian</option>
</select>
</label>
<label>
@@ -58,6 +59,7 @@ function toggleOnChange(elt) {
<option value="xp-green">xp-green</option>
<option value="inditreuse">inditreuse</option>
<option value="blue-metallic">blue-metallic</option>
<option value="titan">titan</option>
</select>
</label>
</fieldset>
@@ -67,6 +69,9 @@ function toggleOnChange(elt) {
<label>
<input type="checkbox" name="plugins" value="Abbreviation"> Abbreviation
</label>
<label>
<input type="checkbox" name="plugins" value="BackgroundImage"> BackgroundImage
</label>
<label>
<input type="checkbox" name="plugins" value="CharacterMap" checked="checked" onchange="toggleOnChange(this);"> CharacterMap
</label>
@@ -79,6 +84,9 @@ function toggleOnChange(elt) {
<label>
<input type="checkbox" name="plugins" value="CharCounter"> CharCounter
</label>
<label>
<input type="checkbox" name="plugins" value="ClientsideSpellcheck" checked="checked"> ClientsideSpellcheck
</label>
<label>
<input type="checkbox" name="plugins" value="ContextMenu" checked="checked"> ContextMenu
</label>
@@ -94,6 +102,9 @@ function toggleOnChange(elt) {
<label>
<input type="checkbox" name="plugins" value="EditTag"> EditTag
</label>
<label>
<input type="checkbox" name="plugins" value="EnterParagraphs"> EnterParagraphs
</label>
<label>
<input type="checkbox" name="plugins" value="Equation"> Equation
</label>
@@ -112,12 +123,21 @@ function toggleOnChange(elt) {
<label>
<input type="checkbox" name="plugins" value="FullScreen" checked="checked"> FullScreen
</label>
<label>
<input type="checkbox" name="plugins" value="GetHtml" checked="checked"> GetHtml
</label>
<label>
<input type="checkbox" name="plugins" value="HorizontalRule"> HorizontalRule
</label>
<label>
<input type="checkbox" name="plugins" value="InsertAnchor" checked="checked"> InsertAnchor
</label>
<label>
<input type="checkbox" name="plugins" value="InsertMarquee"> InsertMarquee
</label>
<label>
<input type="checkbox" name="plugins" value="InsertPagebreak"> InsertPagebreak
</label>
<label>
<input type="checkbox" name="plugins" value="InsertSmiley"> InsertSmiley
</label>
@@ -139,6 +159,9 @@ function toggleOnChange(elt) {
<label>
<input type="checkbox" name="plugins" value="NoteServer"> NoteServer
</label>
<label>
<input type="checkbox" name="plugins" value="PasteText" checked="checked"> PasteText
</label>
<label>
<input type="checkbox" name="plugins" value="QuickTag"> QuickTag
</label>
@@ -152,7 +175,7 @@ function toggleOnChange(elt) {
<input type="checkbox" name="plugins" value="Template"> Template
</label>
<label>
<input type="checkbox" name="plugins" value="BackgroundImage"> BackgroundImage
<input type="checkbox" name="plugins" value="UnFormat"> UnFormat
</label>
</fieldset>
@@ -167,6 +190,9 @@ function toggleOnChange(elt) {
<label>
<input type="checkbox" name="plugins" value="ImageManager"> ImageManager
</label>
<label>
<input type="checkbox" name="plugins" value="InsertPicture"> InsertPicture
</label>
<label>
<input type="checkbox" name="plugins" value="Linker"> Linker
</label>
@@ -184,4 +210,4 @@ function toggleOnChange(elt) {
</script>
</body>
</html>
</html>

View File

@@ -2,7 +2,7 @@
-- Xinha example CSS file. This is ripped from Trac ;)
--
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.css $
-- $LastChangedDate: 2005-02-19 17:10:03 +1300 (Sat, 19 Feb 2005) $
-- $LastChangedDate: 2005-02-18 23:10:03 -0500 (Fri, 18 Feb 2005) $
-- $LastChangedRevision: 14 $
-- $LastChangedBy: gogo $
--------------------------------------------------------------------------*/

View File

@@ -4,7 +4,7 @@
-- Xinha example frameset.
--
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.html $
-- $LastChangedDate: 2005-09-08 01:12:14 +1200 (Thu, 08 Sep 2005) $
-- $LastChangedDate: 2005-09-07 09:12:14 -0400 (Wed, 07 Sep 2005) $
-- $LastChangedRevision: 312 $
-- $LastChangedBy: gocher $
--------------------------------------------------------------------------->

View File

@@ -5,17 +5,18 @@
-- from full_example-body.html.
--
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.js $
-- $LastChangedDate: 2005-09-15 00:09:22 +1200 (Thu, 15 Sep 2005) $
-- $LastChangedRevision: 318 $
-- $LastChangedBy: mokhet $
-- $LastChangedDate: 2005-10-29 12:28:08 -0400 (Sat, 29 Oct 2005) $
-- $LastChangedRevision: 416 $
-- $LastChangedBy: gogo $
--------------------------------------------------------------------------*/
var num = 1;
if(window.parent && window.parent != window)
{
var f = window.parent.menu.document.forms[0];
_editor_lang = f.lang.value;
_editor_skin = f.skin.value;
_editor_lang = f.lang[f.lang.selectedIndex].value;
_editor_skin = f.skin[f.skin.selectedIndex].value;
num = parseInt(f.num.value);
if(isNaN(num))
{
@@ -102,6 +103,10 @@
config.CharacterMap.mode = f.elements['CharacterMapMode'].options[f.elements['CharacterMapMode'].selectedIndex].value;
}
}
if(typeof Filter != 'undefined') {
xinha_config.Filters = ["Word", "Paragraph"]
}
return config;
}

View File

@@ -3,7 +3,7 @@
-- when the Stylist plugin is included in an auto-generated example.
--
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/stylist.css $
-- $LastChangedDate: 2005-07-19 18:23:58 +1200 (Tue, 19 Jul 2005) $
-- $LastChangedDate: 2005-07-19 02:23:58 -0400 (Tue, 19 Jul 2005) $
-- $LastChangedRevision: 277 $
-- $LastChangedBy: gogo $
--------------------------------------------------------------------------*/

View File

@@ -102,7 +102,7 @@
}
/* Hidden DIV popup dialogs (PopupDiv) */
/* popup dialogs */
.dialog {
color: ButtonText;
@@ -172,11 +172,6 @@
.dialog legend { font-weight: bold; }
.dialog fieldset table { margin: 2px 0px; }
.popupdiv {
border: 2px solid;
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
}
.popupwin {
padding: 0px;
margin: 0px;

File diff suppressed because it is too large Load Diff

View File

@@ -24,14 +24,14 @@ HTMLArea.Dialog = function(editor, html, localizer)
this._lc = function(string)
{
return HTMLArea._lc(string,localizer);
}
};
}
else
{
this._lc = function(string)
{
return string;
}
};
}
html = html.replace(/\[([a-z0-9_]+)\]/ig,
@@ -70,12 +70,12 @@ HTMLArea.Dialog = function(editor, html, localizer)
dialog.onresize();
}
);
}
};
HTMLArea.Dialog.prototype.onresize = function()
{
return true;
}
};
HTMLArea.Dialog.prototype.show = function(values)
{
@@ -94,7 +94,7 @@ HTMLArea.Dialog.prototype.show = function(values)
this.editor._textArea.style.display = 'none';
this.editor._iframe.style.visibility = 'hidden';
this.rootElem.style.display = '';
}
};
HTMLArea.Dialog.prototype.hide = function()
{
@@ -110,7 +110,7 @@ HTMLArea.Dialog.prototype.hide = function()
}
this.editor.updateToolbar();
return this.getValues();
}
};
HTMLArea.Dialog.prototype.toggle = function()
{
@@ -122,7 +122,7 @@ HTMLArea.Dialog.prototype.toggle = function()
{
this.hide();
}
}
};
HTMLArea.Dialog.prototype.setValues = function(values)
{
@@ -207,7 +207,7 @@ HTMLArea.Dialog.prototype.setValues = function(values)
}
}
}
}
};
HTMLArea.Dialog.prototype.getValues = function()
{
@@ -314,14 +314,14 @@ HTMLArea.Dialog.prototype.getValues = function()
values[this.r_id[i.name]] = v;
}
return values;
}
};
HTMLArea.Dialog.prototype.getElementById = function(id)
{
return this.document.getElementById(this.id[id] ? this.id[id] : id);
}
};
HTMLArea.Dialog.prototype.getElementsByName = function(name)
{
return this.document.getElementsByName(this.id[name] ? this.id[name] : name);
}
};

View File

@@ -1,138 +1,148 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
{
"Bold": "Fett",
"Italic": "Kursiv",
"Underline": "Unterstrichen",
"Strikethrough": "Durchgestrichen",
"Subscript": "Tiefgestellt",
"Superscript": "Hochgestellt",
"Justify Left": "Linksbündig",
"Justify Center": "Zentriert",
"Justify Right": "Rechtsbündig",
"Justify Full": "Blocksatz",
"Ordered List": "Nummerierte Liste",
"Bulleted List": "Aufzählungsliste",
"Decrease Indent": "Einzug verkleinern",
"Increase Indent": "Einzug vergrößern",
"Font Color": "Schriftfarbe",
"Background Color": "Hindergrundfarbe",
"Horizontal Rule": "Horizontale Linie",
"Insert Web Link": "Hyperlink einfügen",
"Insert/Modify Image": "Bild einfügen/verändern",
"Insert Table": "Tabelle einfügen",
"Toggle HTML Source": "HTML Quelltext ein/ausschalten",
"Enlarge Editor": "Editor vergrößern",
"About this editor": "Über diesen Editor",
"Help using editor": "Hilfe",
"Current style": "Derzeitiger Stil",
"Undoes your last action": "Rückgängig",
"Redoes your last action": "Wiederholen",
"Cut selection": "Ausschneiden",
"Copy selection": "Kopieren",
"Paste from clipboard": "Einfügen aus der Zwischenablage",
"Direction left to right": "Textrichtung von Links nach Rechts",
"Direction right to left": "Textrichtung von Rechts nach Links",
"Remove formatting": "Formatierung entfernen",
"Select all": "Alles markieren",
"Print document": "Dokument ausdrucken",
"Clear MSOffice tags": "MSOffice filter",
"Clear Inline Font Specifications": "Zeichensatz Formatierungen entfernen",
"Split Block": "Block teilen",
"Toggle Borders": "Tabellenränder ein/ausblenden",
"Save as": "speichern unter",
"Insert/Overwrite": "Einfügen/Überschreiben",
"&mdash; format &mdash;": "&mdash; Format &mdash;",
"Heading 1": "Überschrift 1",
"Heading 2": "Überschrift 2",
"Heading 3": "Überschrift 3",
"Heading 4": "Überschrift 4",
"Heading 5": "Überschrift 5",
"Heading 6": "Überschrift 6",
"Normal": "Normal (Absatz)",
"Address": "Adresse",
"Formatted": "Formatiert",
//dialogs
"OK": "OK",
"Cancel": "Abbrechen",
"Path": "Pfad",
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Sie sind im Text-Modus. Benutzen Sie den [<>] Button, um in den visuellen Modus (WYSIWIG) zu gelangen.",
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Aus Sicherheitsgründen dürfen Skripte normalerweise nicht auf Ausschneiden/Kopieren/Einfügen zugreifen. Bitte klicken Sie OK um die technische Erläuterung auf mozilla.org zu öffnen, in der erklärt wird, wie einem Skript Zugriff gewährt werden kann.",
"You need to select some text before create a link": "Sie müssen einen Text markieren, um einen Link zu erstellen",
"Your Document is not well formed. Check JavaScript console for details.": "Ihr Dokument ist in keinem sauberen Format. Benutzen Sie die Javascript Console für weitere Informationen.",
"Bold": "Fett",
"Italic": "Kursiv",
"Underline": "Unterstrichen",
"Strikethrough": "Durchgestrichen",
"Subscript": "Tiefgestellt",
"Superscript": "Hochgestellt",
"Justify Left": "Linksbündig",
"Justify Center": "Zentriert",
"Justify Right": "Rechtsbündig",
"Justify Full": "Blocksatz",
"Ordered List": "Nummerierte Liste",
"Bulleted List": "Aufzählungsliste",
"Decrease Indent": "Einzug verkleinern",
"Increase Indent": "Einzug vergrößern",
"Font Color": "Schriftfarbe",
"Background Color": "Hindergrundfarbe",
"Horizontal Rule": "Horizontale Linie",
"Insert Web Link": "Hyperlink einfügen",
"Insert/Modify Image": "Bild einfügen/verändern",
"Insert Table": "Tabelle einfügen",
"Toggle HTML Source": "HTML Quelltext ein/ausschalten",
"Enlarge Editor": "Editor vergrößern",
"About this editor": "Über diesen Editor",
"Help using editor": "Hilfe",
"Current style": "Derzeitiger Stil",
"Undoes your last action": "Rückgängig",
"Redoes your last action": "Wiederholen",
"Cut selection": "Ausschneiden",
"Copy selection": "Kopieren",
"Paste from clipboard": "Einfügen aus der Zwischenablage",
"Direction left to right": "Textrichtung von Links nach Rechts",
"Direction right to left": "Textrichtung von Rechts nach Links",
"Remove formatting": "Formatierung entfernen",
"Select all": "Alles markieren",
"Print document": "Dokument ausdrucken",
"Clear MSOffice tags": "MSOffice filter",
"Clear Inline Font Specifications": "Zeichensatz Formatierungen entfernen",
"Would you like to clear font typefaces?": "Wollen Sie Zeichensatztypen entfernen",
"Would you like to clear font sizes?": "Wollen Sie Zeichensatzgrößen entfernen",
"Would you like to clear font colours?": "Wollen sie Zeichensatzfarben entfernen",
"Split Block": "Block teilen",
"Toggle Borders": "Tabellenränder ein/ausblenden",
"Save as": "speichern unter",
"Insert/Overwrite": "Einfügen/Überschreiben",
"&mdash; format &mdash;": "&mdash; Format &mdash;",
"Heading 1": "Überschrift 1",
"Heading 2": "Überschrift 2",
"Heading 3": "Überschrift 3",
"Heading 4": "Überschrift 4",
"Heading 5": "Überschrift 5",
"Heading 6": "Überschrift 6",
"Normal": "Normal (Absatz)",
"Address": "Adresse",
"Formatted": "Formatiert",
"Alignment:": "Ausrichtung:",
"Not set": "nicht eingestellt",
"Left": "links",
"Right": "rechts",
"Texttop": "oben bündig",
"Absmiddle": "mittig",
"Baseline": "Grundlinie",
"Absbottom": "unten bündig",
"Bottom": "unten",
"Middle": "zentriert",
"Top": "oben",
//dialogs
"OK": "OK",
"Cancel": "Abbrechen",
"Path": "Pfad",
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Sie sind im Text-Modus. Benutzen Sie den [<>] Button, um in den visuellen Modus (WYSIWIG) zu gelangen.",
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Aus Sicherheitsgründen dürfen Skripte normalerweise nicht auf Ausschneiden/Kopieren/Einfügen zugreifen. Bitte klicken Sie OK um die technische Erläuterung auf mozilla.org zu öffnen, in der erklärt wird, wie einem Skript Zugriff gewährt werden kann.",
"Layout": "Layout",
"Spacing": "Abstand",
"Horizontal:": "horizontal:",
"Horizontal padding": "horizontaler Inhaltsabstand",
"Vertical:": "vertikal:",
"Vertical padding": "vertikaler Inhaltsabstand",
"Border thickness:": "Randstärke:",
"Leave empty for no border": "leer lassen für keinen Rand",
"You need to select some text before create a link": "Sie müssen einen Text markieren, um einen Link zu erstellen",
"Your Document is not well formed. Check JavaScript console for details.": "Ihr Dokument ist in keinem sauberen Format. Benutzen Sie die Javascript Console für weitere Informationen.",
//Insert Link
"Insert/Modify Link": "Verknüpfung hinzufügen/ändern",
"None (use implicit)": "k.A. (implizit)",
"New window (_blank)": "Neues Fenster (_blank)",
"Same frame (_self)": "Selber Rahmen (_self)",
"Top frame (_top)": "Oberster Rahmen (_top)",
"Other": "Anderes",
"Target:": "Ziel:",
"Title (tooltip):": "Titel (Tooltip):",
"URL:": "URL:",
"You must enter the URL where this link points to": "Sie müssen eine Ziel-URL angeben für die Verknüpfung angeben",
"Alignment:": "Ausrichtung:",
"Not set": "nicht eingestellt",
"Left": "links",
"Right": "rechts",
"Texttop": "oben bündig",
"Absmiddle": "mittig",
"Baseline": "Grundlinie",
"Absbottom": "unten bündig",
"Bottom": "unten",
"Middle": "zentriert",
"Top": "oben",
// Insert Table
"Insert Table": "Table einfügen",
"Rows:": "Zeilen:",
"Number of rows": "Zeilenanzahl",
"Cols:": "Spalten:",
"Number of columns": "Spaltenanzahl",
"Width:": "Breite:",
"Width of the table": "Tabellenbreite",
"Percent": "Prozent",
"Pixels": "Pixel",
"Em": "Geviert",
"Width unit": "Größeneinheit",
"Fixed width columns": "Spalten mit fester Breite",
"Positioning of this table": "Positionierung der Tabelle",
"Cell spacing:": "Zellenabstand:",
"Space between adjacent cells": "Raum zwischen angrenzenden Zellen",
"Cell padding:": "Innenabstand:",
"Space between content and border in cell": "Raum zwischen Inhalt und Rand der Zelle",
"You must enter a number of rows": "Bitte geben Sie die Anzahl der Zeilen an",
"You must enter a number of columns": "Bitte geben Sie die Anzahl der Spalten an",
"Layout": "Layout",
"Spacing": "Abstand",
"Horizontal:": "horizontal:",
"Horizontal padding": "horizontaler Inhaltsabstand",
"Vertical:": "vertikal:",
"Vertical padding": "vertikaler Inhaltsabstand",
"Border thickness:": "Randstärke:",
"Leave empty for no border": "leer lassen für keinen Rand",
// Insert Image
"Insert Image": "Bild einfügen",
"Image URL:": "Bild URL:",
"Enter the image URL here": "Bitte geben sie hier die Bild URL ein",
"Preview": "Voransicht",
"Preview the image in a new window": "Voransicht des Bildes in einem neuen Fenster",
"Alternate text:": "Alternativer Text:",
"For browsers that don't support images": "für Browser, die keine Bilder unterstützen",
"Positioning of this image": "Positionierung dieses Bildes",
"Image Preview:": "Bild Voransicht:",
"You must enter the URL": "Bitte geben Sie die URL ein",
//Insert Link
"Insert/Modify Link": "Verknüpfung hinzufügen/ändern",
"None (use implicit)": "k.A. (implizit)",
"New window (_blank)": "Neues Fenster (_blank)",
"Same frame (_self)": "Selber Rahmen (_self)",
"Top frame (_top)": "Oberster Rahmen (_top)",
"Other": "Anderes",
"Target:": "Ziel:",
"Title (tooltip):": "Titel (Tooltip):",
"URL:": "URL:",
"You must enter the URL where this link points to": "Sie müssen eine Ziel-URL angeben für die Verknüpfung angeben",
"button_bold": "de/bold.gif",
"button_italic": "de/italic.gif",
"button_underline": "de/underline.gif"
}
// Insert Table
"Insert Table": "Table einfügen",
"Rows:": "Zeilen:",
"Number of rows": "Zeilenanzahl",
"Cols:": "Spalten:",
"Number of columns": "Spaltenanzahl",
"Width:": "Breite:",
"Width of the table": "Tabellenbreite",
"Percent": "Prozent",
"Pixels": "Pixel",
"Em": "Geviert",
"Width unit": "Größeneinheit",
"Fixed width columns": "Spalten mit fester Breite",
"Positioning of this table": "Positionierung der Tabelle",
"Cell spacing:": "Zellenabstand:",
"Space between adjacent cells": "Raum zwischen angrenzenden Zellen",
"Cell padding:": "Innenabstand:",
"Space between content and border in cell": "Raum zwischen Inhalt und Rand der Zelle",
"You must enter a number of rows": "Bitte geben Sie die Anzahl der Zeilen an",
"You must enter a number of columns": "Bitte geben Sie die Anzahl der Spalten an",
// Insert Image
"Insert Image": "Bild einfügen",
"Image URL:": "Bild URL:",
"Enter the image URL here": "Bitte geben sie hier die Bild URL ein",
"Preview": "Voransicht",
"Preview the image in a new window": "Voransicht des Bildes in einem neuen Fenster",
"Alternate text:": "Alternativer Text:",
"For browsers that don't support images": "für Browser, die keine Bilder unterstützen",
"Positioning of this image": "Positionierung dieses Bildes",
"Image Preview:": "Bild Voransicht:",
"You must enter the URL": "Bitte geben Sie die URL ein",
"button_bold": "de/bold.gif",
"button_italic": "de/italic.gif",
"button_underline": "de/underline.gif",
// Editor Help
"Keyboard shortcuts": "Tastaturkürzel",
"The editor provides the following key combinations:": "Der Editor unterstützt die folgenden kombinationen:",
"new paragraph": "Neuer Absatz(Paragraph)",
"insert linebreak": "Harter Umbruch einfügen",
"Set format to paragraph": "Setze Formatierung auf Absatz",
"Clean content pasted from Word": "Von Word eingefügter Text bereinigen",
"Headings": "Überschrift Typ 1 bis 6",
"Close": "Schließen"
};

View File

@@ -90,9 +90,10 @@
"Top frame (_top)": "Frame principale (_top)",
"Other": "Autre",
"Target:": "Cible",
"Title (tooltip):": "Text alternatif",
"Title (tooltip):": "Texte alternatif",
"URL:": "URL:",
"You must enter the URL where this link points to": "Vous devez entrer l'URL de ce lien",
"You need to select some text before creating a link": "Vous devez sélectionner du texte avant de créer un lien",
// Insert Table
"Insert Table": "Insérer un tableau",
@@ -126,4 +127,4 @@
"Positioning of this image": "Position de l'image",
"Image Preview:": "Prévisualisation",
"You must enter the URL": "Vous devez entrer l'URL"
}
};

View File

@@ -57,5 +57,13 @@
"Title (tooltip):": "Tittel (tooltip):",
"Top frame (_top)": "Toppramme (_top)",
"URL:": "Adresse:",
"You must enter the URL where this link points to": "Du må skrive inn en adresse som denne lenken skal peke til"
}
"You must enter the URL where this link points to": "Du må skrive inn en adresse som denne lenken skal peke til",
"Clear Inline Font Specifications": "Fjerne inline font spesifikasjoner",
"Would you like to clear font typefaces?": "Ønsker du å fjerne skrifttyper",
"Would you like to clear font sizes?": "Ønsker du å fjerne skrift størrelser",
"Would you like to clear font colours?": "Ønsker du å fjerne farger på skriften",
"Print document": "Skriv ut dokumentet",
"Split Block": "Seperasjonsblokk",
"Toggle Borders": "Skru av/på hjelpelinjer på tabeller",
"Select all": "Merk alt"
};

View File

@@ -17,14 +17,14 @@ HTMLArea.PanelDialog = function(editor, side, html, localizer)
this._lc = function(string)
{
return HTMLArea._lc(string,localizer);
}
};
}
else
{
this._lc = function(string)
{
return string;
}
};
}
html = html.replace(/\[([a-z0-9_]+)\]/ig,
@@ -50,18 +50,18 @@ HTMLArea.PanelDialog = function(editor, side, html, localizer)
);
this.rootElem.innerHTML = html;
}
};
HTMLArea.PanelDialog.prototype.show = function(values)
{
this.editor.showPanel(this.rootElem);
}
};
HTMLArea.PanelDialog.prototype.hide = function()
{
this.editor.hidePanel(this.rootElem);
return this.getValues();
}
};
HTMLArea.PanelDialog.prototype.onresize = HTMLArea.Dialog.prototype.onresize;
@@ -73,4 +73,4 @@ HTMLArea.PanelDialog.prototype.getValues = HTMLArea.Dialog.prototype.getValues;
HTMLArea.PanelDialog.prototype.getElementById = HTMLArea.Dialog.prototype.getElementById;
HTMLArea.PanelDialog.prototype.getElementsByName = HTMLArea.Dialog.prototype.getElementsByName;
HTMLArea.PanelDialog.prototype.getElementsByName = HTMLArea.Dialog.prototype.getElementsByName;

View File

@@ -70,7 +70,7 @@ function CSS(editor, params) {
cfg.registerDropdown(css_class);
cfg.addToolbarElement(["T[" + combo.label + "]", id, "separator"] , "formatblock", -1);
}
};
}
CSS._pluginInfo = {
name : "CSS",
@@ -146,4 +146,4 @@ CSS.prototype.updateValue = function(editor, obj) {
}
}
select.selectedIndex = 0;
};
};

View File

@@ -5,7 +5,7 @@
function CharCounter(editor) {
this.editor = editor;
};
}
CharCounter._pluginInfo = {
name : "CharCounter",
@@ -24,10 +24,11 @@ CharCounter.prototype._lc = function(string) {
CharCounter.prototype.onGenerate = function() {
var self = this;
var self = this;
if (this.charCount==null) {
var charCount = document.createElement("span");
charCount.style.padding = "2px 5px";
if(HTMLArea.is_ie) {
if(HTMLArea.is_ie) {
charCount.style.styleFloat = "right";
} else {
charCount.style.cssFloat = "right";
@@ -46,11 +47,12 @@ CharCounter.prototype.onGenerate = function() {
this.editor._statusBar.appendChild(charCount);
this.editor._statusBar.appendChild(brk);
this.charCount = charCount;
}
};
CharCounter.prototype.onUpdateToolbar = function() {
this.updateCharCount();
}
};
CharCounter.prototype.onMode = function (mode)
{
@@ -67,7 +69,7 @@ CharCounter.prototype.onMode = function (mode)
alert("Mode <" + mode + "> not defined!");
return false;
}
}
};
CharCounter.prototype.updateCharCount = function(ev) {
editor = this.editor;
@@ -84,4 +86,4 @@ CharCounter.prototype.updateCharCount = function(ev) {
// this.charCount.innerHTML = this._lc("Words") + ": " + words + " | " + this._lc("Chars") + ": " + contents.length;
this.charCount.innerHTML = this._lc("Chars") + ": " + contents.length;
return(contents.length);
}
};

View File

@@ -1,12 +1,6 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// Author: Udo Schmal, <udo.schmal@t-online.de>
//
// (c) Udo Schmal & L.N.Schaffrath NeueMedien 2004
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
// Author: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
{
"Chars": "Zeichen"
}
};

View File

@@ -2,4 +2,4 @@
// LANG: "fr", ENCODING: UTF-8
{
"Chars": "Caractères"
}
};

View File

@@ -1,7 +1,6 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Chars": "Tegn"
}
};

View File

@@ -53,13 +53,13 @@ function CharacterMap( editor )
editor.hidePanel( editor._CharacterMap );
}
};
}
// configuration mode : panel or popup
HTMLArea.Config.prototype.CharacterMap =
{
'mode': 'popup' // configuration mode : panel or popup
}
};
CharacterMap._pluginInfo =
{

View File

@@ -1,13 +1,10 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// Sponsored by http://www.systemconcept.de
// Author: Holger Hees, <hhees@systemconcept.de>
//
// (c) systemconcept.de 2004
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
{
"Insert special character": "Sonderzeichen einfügen",
"Cancel": "Abbrechen"

View File

@@ -1,18 +1,6 @@
// I18N constants
// LANG: "fr", ENCODING: UTF-8
// Author: Laurent Vilday, mokhet@mokhet.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.)
{
"Insert special character": "Insérer caractère spécial",
"Cancel": "Annuler"
}
};

View File

@@ -1,10 +1,6 @@
// I18N constants
// LANG: "it", ENCODING: UTF-8
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
{
"Insert special character" : "Inserisca il carattere speciale",
"Cancel" : "Annullamento"
}
"Insert special character": "Inserisca il carattere speciale",
"Cancel": "Annullamento"
};

View File

@@ -1,14 +1,11 @@
// I18N constants
// LANG: "nl", ENCODING: UTF-8
// Sponsored by http://www.systemconcept.de
// Author: Holger Hees, <hhees@systemconcept.de>
//
// (c) systemconcept.de 2004
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
{
"Insert special character": "Speciaal character invoegen",
"Cancel": "Annuleer"
}
};

View File

@@ -1,8 +1,7 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Insert special character": "Sett inn tegn",
"Cancel": "Avbryt"
}
};

View File

@@ -37,7 +37,7 @@ function onCancel() // cancel selection
{
__dlg_close( null );
return false;
};
}
</script>
</head>

View File

@@ -12,7 +12,7 @@ HTMLArea.loadStyle("menu.css", "ContextMenu");
function ContextMenu(editor) {
this.editor = editor;
};
}
ContextMenu._pluginInfo = {
name : "ContextMenu",
@@ -60,7 +60,7 @@ ContextMenu.prototype.getContextMenu = function(target) {
function tableOperation(opcode) {
tbo.buttonPress(editor, opcode);
};
}
function insertPara(after) {
var el = currentTarget;
@@ -80,7 +80,7 @@ ContextMenu.prototype.getContextMenu = function(target) {
range.collapse(true);
range.select();
}
};
}
for (; target; target = target.parentNode) {
var tag = target.tagName;
@@ -258,7 +258,7 @@ ContextMenu.prototype.popupMenu = function(ev) {
r.y += tmp.y;
}
return r;
};
}
function documentClick(ev) {
ev || (ev = window.event);
if (!self.currentMenu) {
@@ -271,7 +271,7 @@ ContextMenu.prototype.popupMenu = function(ev) {
self.closeMenu();
//HTMLArea._stopEvent(ev);
//return false;
};
}
var keys = [];
function keyPress(ev) {
ev || (ev = window.event);
@@ -286,7 +286,7 @@ ContextMenu.prototype.popupMenu = function(ev) {
if (k[0].toLowerCase() == key)
k[1].__msh.activate();
}
};
}
self.closeMenu = function() {
self.currentMenu.parentNode.removeChild(self.currentMenu);
self.currentMenu = null;
@@ -296,7 +296,7 @@ ContextMenu.prototype.popupMenu = function(ev) {
HTMLArea._removeEvent(self.editordoc, "keypress", keyPress);
if (HTMLArea.is_ie)
self.iePopup.hide();
};
}
var target = HTMLArea.is_ie ? ev.srcElement : ev.target;
var ifpos = getPos(self.editor._htmlArea);//_iframe);
var x = ev.clientX + ifpos.x;
@@ -445,4 +445,4 @@ ContextMenu.prototype.popupMenu = function(ev) {
HTMLArea._stopEvent(ev);
return false;
};
};

View File

@@ -1,16 +1,12 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// translated: Raimund Meyer xinha@ray-of-light.org
{
"Cut": "Ausschneiden",
"Copy": "Kopieren",
"Paste": "Einfügen",
"_Image Properties...": "Eigenschaften",
"Show the image properties dialog": "Fenster für die Bildoptionen anzeigen",
"Show the image properties dialog": "Fenster für die Bildoptionen anzeigen",
"_Modify Link...": "Link ändern",
"Current URL is": "Aktuelle URL ist",
"Chec_k Link...": "Link testen",
@@ -51,4 +47,4 @@
"Insert paragraph after": "Absatz einfügen hinter Position",
"Insert a paragraph after the current node": "Absatz einfügen hinter der aktuellen Position",
"How did you get here? (Please report!)": "Wie sind Sie denn hier hin gekommen? (Please report!)"
}
};

View File

@@ -1,8 +1,6 @@
// I18N constants
// LANG: "el", ENCODING: UTF-8
// Author: Dimitris Glezos, dimitris@glezos.com
{
"Cut": ‘ποκοπΞ<C280>",
"Copy": ‘ντιγραφΞ<C286>",
@@ -46,4 +44,4 @@
"Insert a new column after the current one": •ισαγωγΞ<C2B3> Ξ½Ξ­Ξ±Ο‚ στΞ<C284>λης μΡτά την ΡπιλΡγμένη",
"Delete the current column": ”ιαγραφΞ<C286> ΡπιλΡγμένης στΞ<C284>λης",
"Create a link": "Δημιουργία συνδέσμου"
}
};

View File

@@ -47,4 +47,4 @@
"Create a link": "Créer un lien",
"Insert a paragraph before the current node": "Insérer un paragraphe avant le noeud courant",
"Insert a paragraph after the current node": "Insérer un paragraphe après le noeud courant"
}
};

View File

@@ -1,17 +1,6 @@
// I18N constants
// LANG: "he", ENCODING: UTF-8
// Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org>
// FOR TRANSLATORS:
//
// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
// (at least a valid email address)
//
// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
// (if this is not possible, please include a comment
// that states what encoding is necessary.)
{
"Cut": "גזור",
"Copy": "העתק",
@@ -55,4 +44,4 @@
"Insert a new column after the current one": "הוספת טור חדש אחרי הנוכחי",
"Delete the current column": "מחיקת את הטור הנוכחי",
"Create a link": "יצירת קישור"
}
};

View File

@@ -1,17 +1,6 @@
// I18N constants
// LANG: "nl", ENCODING: UTF-8
// 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.)
{
"Cut": "Knippen",
"Copy": "Kopiëren",
@@ -55,4 +44,4 @@
"Insert a new column after the current one": "Voeg een nieuwe kolom in na de huidige",
"Delete the current column": "Verwijder de huidige kolom",
"Create a link": "Maak een hyperlink"
}
};

View File

@@ -1,11 +1,9 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
// Used key commands
// C,D,e, ,I, ,k,k,l,M, ,n,o,R, ,s,T, ,w : English
// H B j R m F v : Norwegian
{
"Cut": "Klipp ut",
"Copy": "Kopier",
@@ -52,4 +50,4 @@
"Insert paragraph after": "Sett inn paragraf etter",
"Insert a paragraph after the current node": "Sett inn paragraf etter gjeldende node",
"How did you get here? (Please report!)": "Hva skjedde? (Vennligst beskriv)"
}
};

View File

@@ -39,8 +39,7 @@
"Justify Full": "Wyjustuj",
"Make lin_k...": "Utwórz odnośnik",
"Create a link": "Utwórz odnośnik",
"Remove the": "Usuń",
"Element...": "element...",
"Remove the $elem Element...": "Usuń $elem...",
"Please confirm that you want to remove this element:": "Na pewno chcesz usunąć ten element?",
"Remove this node from the document": "Usuń ten element z dokumentu",
"Insert paragraph before": "Wstaw akapit przed",

View File

@@ -48,7 +48,7 @@ function DoubleClick(editor) {
img: [ function(e) {e.execCommand("insertimage");} ],
td: [ function(e) {e.execCommand("inserttable");} ]
};
};
}
DoubleClick.prototype.onGenerate = function() {
var self = this;
@@ -67,4 +67,4 @@ DoubleClick.prototype.onDoubleClick = function(ev) {
if (this.editor.dblClickList[tagName] != undefined) {
this.editor.dblClickList[tagName][0](this.editor, target);
}
}
};

View File

@@ -25,7 +25,7 @@ function DynamicCSS(editor, args) {
};
cfg.registerDropdown(css_class);
cfg.addToolbarElement(["T[CSS]", "DynamicCSS-class", "separator"] , "formatblock", -1);
};
}
DynamicCSS.parseStyleSheet=function(editor){
iframe = editor._iframe.contentWindow.document;
@@ -65,7 +65,7 @@ DynamicCSS.parseStyleSheet=function(editor){
}
}
DynamicCSS.cssArray=cssArray;
}
};
DynamicCSS.applyCSSRule=function(cssRules,cssArray){
for(rule in cssRules){
@@ -106,7 +106,7 @@ DynamicCSS.applyCSSRule=function(cssRules,cssArray){
}
}
return cssArray;
}
};
DynamicCSS._pluginInfo = {
name : "DynamicCSS",
@@ -121,7 +121,7 @@ DynamicCSS._pluginInfo = {
DynamicCSS.prototype._lc = function(string) {
return HTMLArea._lc(string, 'DynamicCSS');
}
};
DynamicCSS.prototype.onSelect = function(editor, obj) {
var tbobj = editor._toolbarObjects[obj.id];
@@ -164,7 +164,7 @@ DynamicCSS.prototype.reparseTimer = function(editor, obj, instance) {
},DynamicCSS.parseCount*1000);
DynamicCSS.parseCount=DynamicCSS.parseCount*2;
}
}
};
DynamicCSS.prototype.updateValue = function(editor, obj) {
cssArray=DynamicCSS.cssArray;
@@ -234,4 +234,4 @@ DynamicCSS.prototype.updateValue = function(editor, obj) {
if(select.length>1) select.disabled=false;
else select.disabled=true;
}
};
};

View File

@@ -1,15 +1,12 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// Sponsored by http://www.systemconcept.de
// Author: Holger Hees, <hhees@systemconcept.de>
//
// (c) systemconcept.de 2004
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
{
"Default": "Standard",
"Undefined": "Nicht definiert",
"Choose stylesheet": "Wählen Sie einen StyleSheet aus"
}
};

View File

@@ -1,15 +1,7 @@
// I18N constants
// LANG: "fr", ENCODING: UTF-8
// Sponsored by http://www.ebdata.com
// Author: Cédric Guillemette, <cguillemette@ebdata.com>
//
// (c) www.ebdata.com 2004
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
{
"Default": "Défaut",
"Undefined": "Non défini",
"Choose stylesheet": "Choisir feuille de style"
}
};

View File

@@ -1,15 +1,12 @@
// I18N constants
// LANG: "nl", ENCODING: UTF-8
// Sponsored by http://www.systemconcept.de
// Author: Holger Hees, <hhees@systemconcept.de>
//
// (c) systemconcept.de 2004
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
{
"Default": "Default",
"Undefined": "Ungedefinieerd",
"Choose stylesheet": "Kies stylesheet"
}
};

View File

@@ -1,9 +1,8 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Default": "Standard",
"Undefined": "Udefinert",
"Choose stylesheet": "Velg stilsett"
}
};

View File

@@ -113,7 +113,7 @@ function EnterParagraphs(editor)
this.onKeyPress = this.__onKeyPress;
}
}; // end of constructor.
} // end of constructor.
// ------------------------------------------------------------------
@@ -1084,4 +1084,4 @@ EnterParagraphs.prototype.handleEnter = function(ev)
}; // end of handleEnter()
// END
// END

View File

@@ -13,7 +13,7 @@ cfg.registerButton("FR-findreplace", this._lc("Find and Replace"),
editor.imgURL("ed_find.gif", "FindReplace"), false,
function(editor) { self.buttonPress(editor); });
cfg.addToolbarElement(["FR-findreplace","separator"], ["formatblock","fontsize","fontname"], -1);
};
}
FindReplace.prototype.buttonPress = function(editor) {
FindReplace.editor = editor;
@@ -39,4 +39,4 @@ FindReplace._pluginInfo = {
FindReplace.prototype._lc = function(string) {
return HTMLArea._lc(string, 'FindReplace');
}
};

View File

@@ -49,7 +49,7 @@ var ihtml = editor._doc.body.innerHTML;
}
spanWalker(params['fr_pattern'],params['fr_replacement'],params['fr_replaceall']);
};
}
function spanWalker(pattern,replacement,replaceall) {
var foundtrue = false;
@@ -95,7 +95,7 @@ clearMarks();
} else { message += '"'+pattern+'" '+_lc("not found"); }
alert(message+'.');
}
};
}
function clearDoc() {
var doc = editor._doc.body.innerHTML;
@@ -107,9 +107,9 @@ fr_spans = new Array();
matches = 0;
replaces = 0;
disab("fr_hiliteall,fr_clear",true);
};
}
function clearMarks() {
function clearMarks() {
var getall = editor._doc.body.getElementsByTagName("span");
for (var i = 0; i < getall.length; i++) {
var elm = getall[i];
@@ -120,7 +120,7 @@ var getall = editor._doc.body.getElementsByTagName("span");
objStyle.fontWeight = "";
}
}
};
}
function hiliteAll() {
var getall = editor._doc.body.getElementsByTagName("span");
@@ -133,17 +133,17 @@ var getall = editor._doc.body.getElementsByTagName("span");
objStyle.fontWeight = "bold";
}
}
};
}
function resetContents() {
if(buffer == null) return;
var transp = editor._doc.body.innerHTML;
editor._doc.body.innerHTML = buffer;
buffer = transp;
};
}
function disab(elms,toset) {
var names = elms.split(/[,; ]+/);
for(var i = 0; i < names.length; i++)
document.getElementById(names[i]).disabled = toset;
};
}

View File

@@ -1,38 +1,27 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// translated: gocher / udo.schmal@t-online.de
// FOR TRANSLATORS:
//
// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
// (at least a valid email address)
//
// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
// (if this is not possible, please include a comment
// that states what encoding is necessary.)
// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
{
// messages
"Substitute this occurrence?": "Treffer ersetzen?",
"Substitute this occurrence?": "Treffer ersetzen?",
"Enter the text you want to find": "Geben Sie einen Text ein den Sie finden möchten",
"Inform a replacement word": "Geben sie einen Text zum ersetzen ein",
"found items": "alle Treffer",
"replaced items": "ersetzte Treffer",
"found item": "Treffer",
"replaced item": "ersetzter Treffer",
"not found": "kein Teffer",
"Inform a replacement word": "Geben sie einen Text zum ersetzen ein",
"found items": "alle Treffer",
"replaced items": "ersetzte Treffer",
"found item": "Treffer",
"replaced item": "ersetzter Treffer",
"not found": "kein Teffer",
// window
"Find and Replace": "Suchen und ersetzen",
"Search for:": "Suchen nach:",
"Replace with:": "Ersetzen durch:",
"Options": "Optionen",
"Whole words only": "Ganze Wörter",
"Case sensitive search": "Groß-/Kleinschreibung",
"Substitute all occurrences": "alle Treffer ersetzen",
"Clear": "Nächstes ersetzen",
"Highlight": "Hervorheben",
"Undo": "Rückgängig",
"Next": "Nächster",
"Done": "Fertig"
}
"Find and Replace": "Suchen und ersetzen",
"Search for:": "Suchen nach:",
"Replace with:": "Ersetzen durch:",
"Options": "Optionen",
"Whole words only": "Ganze Wörter",
"Case sensitive search": "Groß-/Kleinschreibung",
"Substitute all occurrences": "alle Treffer ersetzen",
"Clear": "Nächstes ersetzen",
"Highlight": "Hervorheben",
"Undo": "Rückgängig",
"Next": "Nächster",
"Done": "Fertig"
};

View File

@@ -2,25 +2,25 @@
// LANG: "fr", ENCODING: UTF-8
{
// messages
"Substitute this occurrence?": "Remplacer cette occurrence ?",
"Substitute this occurrence?": "Remplacer cette occurrence ?",
"Enter the text you want to find": "Texte à trouver",
"Inform a replacement word": "Geben sie einen Text zum ersetzen ein",
"found items": "éléments trouvés",
"replaced items": "éléments remplacés",
"found item": "élément trouvé",
"replaced item": "élément remplacé",
"not found": "non trouvé",
"Inform a replacement word": "Indiquez un mot de remplacement",
"found items": "éléments trouvés",
"replaced items": "éléments remplacés",
"found item": "élément trouvé",
"replaced item": "élément remplacé",
"not found": "non trouvé",
// window
"Find and Replace": "Chercher et Remplacer",
"Search for:": "Chercher",
"Replace with:": "Remplacer par",
"Options": "Options",
"Whole words only": "Mots entiers seulement",
"Case sensitive search": "Recherche sensible à la casse",
"Substitute all occurrences": "Remplacer toutes les occurences",
"Clear": "Effacer",
"Highlight": "Surligner",
"Undo": "Annuler",
"Next": "Suivant",
"Done": "Fin"
}
"Find and Replace": "Chercher et Remplacer",
"Search for:": "Chercher",
"Replace with:": "Remplacer par",
"Options": "Options",
"Whole words only": "Mots entiers seulement",
"Case sensitive search": "Recherche sensible à la casse",
"Substitute all occurrences": "Remplacer toutes les occurences",
"Clear": "Effacer",
"Highlight": "Surligner",
"Undo": "Annuler",
"Next": "Suivant",
"Done": "Fin"
};

View File

@@ -1,28 +1,27 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
// messages
"Substitute this occurrence?": "Vennligst bekreft at du vil erstatte?",
"Substitute this occurrence?": "Vennligst bekreft at du vil erstatte?",
"Enter the text you want to find": "Skriv inn teksten du ønsker å finne",
"Inform a replacement word": "Vennligst skriv inn et erstattningsord / settning",
"found items": "forekomster funnet i søket",
"replaced items": "forekomster erstattet",
"found item": "Treff",
"replaced item": "erstattet treff",
"not found": "ikke funnet",
"Inform a replacement word": "Vennligst skriv inn et erstatningsord / setning",
"found items": "forekomster funnet i søket",
"replaced items": "forekomster erstattet",
"found item": "Treff",
"replaced item": "erstattet treff",
"not found": "ikke funnet",
// window
"Find and Replace": "Søk og erstatt",
"Search for:": "Søk etter:",
"Replace with:": "Erstatt med:",
"Options": "Valg",
"Whole words only": "Bare hele ord",
"Case sensitive search": "Skille mellom store og små bokstaver",
"Substitute all occurrences": "Erstatt alle treff",
"Clear": "Tøm",
"Highlight": "Uthev",
"Undo": "Tilbake",
"Next": "Neste",
"Done": "Ferdig"
}
"Find and Replace": "Søk og erstatt",
"Search for:": "Søk etter:",
"Replace with:": "Erstatt med:",
"Options": "Valg",
"Whole words only": "Bare hele ord",
"Case sensitive search": "Skille mellom store og små bokstaver",
"Substitute all occurrences": "Erstatt alle treff",
"Clear": "Tøm",
"Highlight": "Uthev",
"Undo": "Tilbake",
"Next": "Neste",
"Done": "Ferdig"
};

View File

@@ -1,38 +1,27 @@
/ I18N constants
// I18N constants
// LANG: "pl", ENCODING: UTF-8
// translated: Krzysztof Kotowicz, koto1sa@o2.pl, http://www.eskot.krakow.pl/portfolio
// 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.)
{
// messages
"Substitute this occurrence?": "Zamienić to wystąpienie?",
"Substitute this occurrence?": "Zamienić to wystąpienie?",
"Enter the text you want to find": "Podaj tekst, jaki chcesz wyszukać",
"Inform a replacement word": "Podaj tekst do zamiany",
"found items": "znalezionych",
"replaced items": "zamienionych",
"found item": "znaleziony",
"replaced item": "zamieniony",
"not found": "nie znaleziony",
"Inform a replacement word": "Podaj tekst do zamiany",
"found items": "znalezionych",
"replaced items": "zamienionych",
"found item": "znaleziony",
"replaced item": "zamieniony",
"not found": "nie znaleziony",
// window
"Find and Replace": "Znajdź i zamień",
"Search for:": "Szukaj:",
"Replace with:": "Zamień na:",
"Options": "Opcje",
"Whole words only": "Całe słowa",
"Case sensitive search": "Wg wielkości liter",
"Substitute all occurrences": "Zamień wszystkie wystąpienia",
"Clear": "Wyczyść",
"Highlight": "Podświetl",
"Undo": "Cofnij",
"Next": "Następny",
"Done": "Gotowe"
}
"Find and Replace": "Znajdź i zamień",
"Search for:": "Szukaj:",
"Replace with:": "Zamień na:",
"Options": "Opcje",
"Whole words only": "Całe słowa",
"Case sensitive search": "Wg wielkości liter",
"Substitute all occurrences": "Zamień wszystkie wystąpienia",
"Clear": "Wyczyść",
"Highlight": "Podświetl",
"Undo": "Cofnij",
"Next": "Następny",
"Done": "Gotowe"
};

View File

@@ -1,35 +1,27 @@
/*---------------------------------------*\
Find and Replace Plugin for HTMLArea-3.0
by Cau guanabara (independent developer)
e-mail: caugb@ibest.com.br
* Feito no Brasil *
\*---------------------------------------*/
// I18N {pt-br) for FindReplace plugin
// I18N constants
// LANG: "pt-br"
// Author: Cau guanabara (independent developer), caugb@ibest.com.br
{
// mensagens
"Substitute this occurrence?": "Substituir?",
"Enter the text you want to find": "Digite um termo para a busca",
"Inform a replacement word": "Informe um termo para a substituição",
"found items": "itens localizados",
"replaced items": "itens substituídos",
"found item": "item localizado",
"replaced item": "item substituído",
"not found": "não encontrado",
// janela
"Find and Replace": "Localizar e Substituir",
"Search for:": "Localizar:",
"Replace with:": "Substituir por:",
"Options": "Opções",
"Whole words only": "Apenas palavras inteiras",
"Case sensitive search": "Diferenciar caixa alta/baixa",
"Substitute all occurrences": "Substituir todas",
"Highlight": "Remarcar",
"Clear": "Limpar",
"Undo": "Desfazer",
"Next": "Próxima",
"Done": "Concluído"
"Substitute this occurrence?": "Substituir?",
"Enter the text you want to find": "Digite um termo para a busca",
"Inform a replacement word": "Informe um termo para a substituição",
"found items": "itens localizados",
"replaced items": "itens substituídos",
"found item": "item localizado",
"replaced item": "item substituído",
"not found": "não encontrado",
// janela
"Find and Replace": "Localizar e Substituir",
"Search for:": "Localizar:",
"Replace with:": "Substituir por:",
"Options": "Opções",
"Whole words only": "Apenas palavras inteiras",
"Case sensitive search": "Diferenciar caixa alta/baixa",
"Substitute all occurrences": "Substituir todas",
"Highlight": "Remarcar",
"Clear": "Limpar",
"Undo": "Desfazer",
"Next": "Próxima",
"Done": "Concluído"
};

View File

@@ -40,13 +40,13 @@ var params = window.dialogArguments;
}
document.body.onkeypress = __dlg_key_press;
};
}
function onCancel() {
clearDoc();
__dlg_close(null);
return false;
};
}
function onOK() {
var required = {'fr_pattern' : _lc("Enter the text you want to find")};
@@ -66,7 +66,7 @@ function onOK() {
}
execSearch(param);
return false;
};
}
function __dlg_key_press(ev) {
ev || (ev = window.event);
@@ -81,7 +81,7 @@ ev || (ev = window.event);
return false;
}
return true;
};
}
</script>
@@ -159,4 +159,4 @@ letter-spacing: 2px;
</div>
</form>
</body>
</html>
</html>

View File

@@ -26,7 +26,7 @@ function Forms(editor) {
}
// add a new line in the toolbar
cfg.toolbar.push(toolbar);
};
}
Forms._pluginInfo = {
name : "Forms",
@@ -65,7 +65,7 @@ Forms.btnList = [
Forms.prototype._lc = function(string) {
return HTMLArea._lc(string, 'Forms');
}
};
Forms.prototype.onGenerate = function() {
var style_id = "Form-style"
@@ -77,7 +77,7 @@ Forms.prototype.onGenerate = function() {
style.href = _editor_url + 'plugins/Forms/forms.css';
this.editor._doc.getElementsByTagName("HEAD")[0].appendChild(style);
}
}
};
Forms.prototype.buttonPress = function(editor,button_id, node) {
function optionValues(text,value) {
@@ -173,7 +173,7 @@ Forms.prototype.buttonPress = function(editor,button_id, node) {
var a_options = new Array();
for (var i=0; i<=node.options.length-1; i++) {
a_options[i] = new optionValues(node.options[i].text, node.options[i].value);
};
}
outparam.f_options = a_options;
break;
case "text":
@@ -267,7 +267,7 @@ Forms.prototype.buttonPress = function(editor,button_id, node) {
outparam.f_for = "";
outparam.f_text = "";
outparam.f_legend = "";
};
}
editor._popupDialog("plugin://Forms/" + tagName + ".html", function(param) {
if (param) {
if(param["f_cols"])
@@ -351,4 +351,4 @@ Forms.prototype.buttonPress = function(editor,button_id, node) {
}
}, outparam);
}
};
};

View File

@@ -13,7 +13,7 @@ function Init() {
var param = window.dialogArguments;
document.getElementById("f_text").value = param["f_text"];
document.getElementById("f_text").focus();
};
}
function onOK() {
// pass data back to the calling window
@@ -21,12 +21,12 @@ function onOK() {
param["f_text"] = document.getElementById("f_text").value;
__dlg_close(param);
return false;
};
}
function onCancel() {
__dlg_close(null);
return false;
};
}
</script>
</head>
@@ -43,4 +43,4 @@ function onCancel() {
</div>
</form>
</body>
</html>
</html>

View File

@@ -18,7 +18,7 @@ function Init() {
document.getElementById(fields[i]).value = param[fields[i]];
}
document.getElementById("f_name").focus();
};
}
function onOK() {
var required = {
@@ -39,12 +39,12 @@ function onOK() {
}
__dlg_close(param);
return false;
};
}
function onCancel() {
__dlg_close(null);
return false;
};
}
</script>
</head>
@@ -87,4 +87,4 @@ function onCancel() {
</form>
</body>
</html>
</html>

View File

@@ -72,7 +72,7 @@ function Init() {
}
window.resizeTo(320,height);
document.getElementById("f_name").focus();
};
}
function onOK() {
var el = document.getElementById("f_name");
@@ -99,12 +99,12 @@ function onOK() {
}
__dlg_close(param);
return false;
};
}
function onCancel() {
__dlg_close(null);
return false;
};
}
</script>
</head>
@@ -176,4 +176,4 @@ function onCancel() {
</form>
</body>
</html>
</html>

View File

@@ -17,7 +17,7 @@ function Init() {
document.getElementById(fields[i]).value = param[fields[i]];
}
document.getElementById("f_text").focus();
};
}
function onOK() {
// pass data back to the calling window
@@ -28,12 +28,12 @@ function onOK() {
}
__dlg_close(param);
return false;
};
}
function onCancel() {
__dlg_close(null);
return false;
};
}
</script>
</head>
@@ -56,4 +56,4 @@ function onCancel() {
</div>
</form>
</body>
</html>
</html>

View File

@@ -28,7 +28,7 @@ function Init() {
document.getElementById("f_select").options[i] = new Option(param.f_options[i].text, param.f_options[i].value);
}
document.getElementById("f_name").focus();
};
}
function onOK() {
var el = document.getElementById("f_name");
@@ -64,12 +64,12 @@ function onOK() {
param["f_options"] = optionNodes;
__dlg_close(param);
return false;
};
}
function onCancel() {
__dlg_close(null);
return false;
};
}
//functions to build select options list
@@ -206,4 +206,4 @@ function swapOptions(obj,i,j) {
</div>
</form>
</body>
</html>
</html>

View File

@@ -24,7 +24,7 @@ function Init() {
}
}
document.getElementById("f_name").focus();
};
}
function onOK() {
var el = document.getElementById("f_name");
@@ -50,12 +50,12 @@ function onOK() {
}
__dlg_close(param);
return false;
};
}
function onCancel() {
__dlg_close(null);
return false;
};
}
</script>
</head>
@@ -110,4 +110,4 @@ function onCancel() {
</form>
</body>
</html>
</html>

View File

@@ -26,7 +26,7 @@ function FullPage(editor) {
// add a new line in the toolbar
cfg.addToolbarElement(["separator","FP-docprop"],"separator",-1);
};
}
FullPage._pluginInfo = {
name : "FullPage",
@@ -41,7 +41,7 @@ FullPage._pluginInfo = {
FullPage.prototype._lc = function(string) {
return HTMLArea._lc(string, 'FullPage');
}
};
FullPage.prototype.buttonPress = function(editor, id) {
var self = this;
@@ -69,9 +69,9 @@ FullPage.prototype.buttonPress = function(editor, id) {
if (/content-type/i.test(meta.httpEquiv)) {
r = /^text\/html; *charset=(.*)$/i.exec(meta.content);
charset = r[1];
} else if (/keywords/i.test(meta.name)) {
} else if ((/keywords/i.test(meta.name)) || (/keywords/i.test(meta.id))) {
keywords = meta.content;
} else if (/description/i.test(meta.name)) {
} else if ((/description/i.test(meta.name)) || (/description/i.test(meta.id))) {
description = meta.content;
}
}
@@ -123,9 +123,9 @@ FullPage.prototype.setDocProp = function(params) {
r = /^text\/html; *charset=(.*)$/i.exec(meta.content);
charset = r[1];
charset_meta = meta;
} else if (/keywords/i.test(meta.name)) {
} else if ((/keywords/i.test(meta.name)) || (/keywords/i.test(meta.id))) {
keywords = meta;
} else if (/description/i.test(meta.name)) {
} else if ((/description/i.test(meta.name)) || (/description/i.test(meta.id))) {
description = meta;
}
}
@@ -134,15 +134,16 @@ FullPage.prototype.setDocProp = function(params) {
link.rel = alt ? "alternate stylesheet" : "stylesheet";
head.appendChild(link);
return link;
};
}
function createMeta(httpEquiv, name, content) {
var meta = doc.createElement("meta");
if (httpEquiv!="") meta.httpEquiv = httpEquiv;
if (name!="") meta.name = name;
if (name!="") meta.id = name;
meta.content = content;
head.appendChild(meta);
return meta;
};
}
if (!style1 && params.f_base_style)
style1 = createLink(false);
@@ -205,4 +206,4 @@ FullPage.prototype.setDocProp = function(params) {
break;
}
}
};
};

View File

@@ -1,17 +1,6 @@
// I18N for the FullPage plugin
// LANG: "de", ENCODING: UTF-8
// Author: Holger Hees, http://www.systemconcept.de
// FOR TRANSLATORS:
//
// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
// (at least a valid email address)
//
// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
// (if this is not possible, please include a comment
// that states what encoding is necessary.)
{
"Alternate style-sheet:": "Alternativer Stylesheet:",
"Background color:": "Hintergrundfarbe:",
@@ -22,8 +11,8 @@
"OK": "OK",
"Primary style-sheet:": "Stylesheet:",
"Text color:": "Textfarbe:",
"Character set:": "Zeichensatz",
"Description:": "Beschreibung",
"Keywords:": "Schlüsselworte",
"UTF-8 (recommended)": "UTF-8 (empfohlen)"
"Character set:": "Zeichensatz",
"Description:": "Beschreibung",
"Keywords:": "Schlüsselworte",
"UTF-8 (recommended)": "UTF-8 (empfohlen)"
}

View File

@@ -14,4 +14,4 @@
"Description:": "Description",
"Keywords:": "Mots clés",
"UTF-8 (recommended)": "UTF-8 (recommandé)"
}
};

View File

@@ -1,17 +1,6 @@
// I18N for the FullPage plugin
// LANG: "he", ENCODING: UTF-8
// Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org>
// FOR TRANSLATORS:
//
// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
// (at least a valid email address)
//
// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
// (if this is not possible, please include a comment
// that states what encoding is necessary.)
{
"Alternate style-sheet:": "גיליון סגנון אחר:",
"Background color:": "צבע רקע:",
@@ -22,4 +11,4 @@
"OK": "אישור",
"Primary style-sheet:": "גיליון סגנון ראשי:",
"Text color:": "צבע טקסט:"
}
};

View File

@@ -1,24 +1,13 @@
// I18N for the FullPage plugin
// LANG: "nl", ENCODING: UTF-8
// FOR TRANSLATORS:
// Nederlands: MadMiner basura@sitter.nl [2/2005]
// 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.)
{
"Alternate style-sheet:": "Wisselen van style-sheet:",
"Background color:": "Achtergrondkleur:",
"Cancel": "Annuleren",
"DOCTYPE:": "DOCTYPE:",
"Document properties": "Documenteigenschappen",
"Document title:": "Documenttitel:",
"OK": "OK",
"Primary style-sheet:": "Primaire style-sheet:",
"Text color:": "Tekstkleur:"
}
"Alternate style-sheet:": "Wisselen van style-sheet:",
"Background color:": "Achtergrondkleur:",
"Cancel": "Annuleren",
"DOCTYPE:": "DOCTYPE:",
"Document properties": "Documenteigenschappen",
"Document title:": "Documenttitel:",
"OK": "OK",
"Primary style-sheet:": "Primaire style-sheet:",
"Text color:": "Tekstkleur:"
};

View File

@@ -1,15 +1,17 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Alternate style-sheet:": "Alternativt stilsett:",
"Background color:": "Bakgrunnsfarge:",
"Cancel": "Avbryt",
"DOCTYPE:": "DOCTYPE:",
"Keywords:": "Nøkkelord",
"Description:": "Beskrivelse",
"Character set:": "Tegnsett",
"Document properties": "Egenskaper for dokument",
"Document title:": "Tittel på dokument:",
"OK": "OK",
"Primary style-sheet:": "Stilsett:",
"Text color:": "Tekstfarge:"
}
};

View File

@@ -1,17 +1,6 @@
// I18N for the FullPage plugin
// LANG: "pl", ENCODING: UTF-8
// translated: Krzysztof Kotowicz, koto1sa@o2.pl, http://www.eskot.krakow.pl/portfolio
// 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.)
{
"Alternate style-sheet:": "Alternatywny arkusz stylów:",
"Background color:": "Kolor tła:",
@@ -26,4 +15,4 @@
"Description:": "Opis",
"Keywords:": "Słowa kluczowe",
"UTF-8 (recommended)": "UTF-8 (zalecany)"
}
};

View File

@@ -1,17 +1,6 @@
// I18N for the FullPage plugin
// LANG: "en", ENCODING: UTF-8
// Author: Mihai Bazon, http://dynarch.com/mishoo
// FOR TRANSLATORS:
//
// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
// (at least a valid email address)
//
// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
// (if this is not possible, please include a comment
// that states what encoding is necessary.)
{
"Alternate style-sheet:": "Template CSS alternativ:",
"Background color:": "Culoare de fundal:",
@@ -22,4 +11,4 @@
"OK": "Acceptă",
"Primary style-sheet:": "Template CSS principal:",
"Text color:": "Culoare text:"
}
};

View File

@@ -44,7 +44,7 @@ function Init() {
document.getElementById("f_title").focus();
document.getElementById("f_title").select();
};
}
function onOK() {
var required = {
@@ -65,12 +65,12 @@ function onOK() {
}
__dlg_close(param);
return false;
};
}
function onCancel() {
__dlg_close(null);
return false;
};
}
</script>
<style type="text/css">
.fr { width: 11em; float: left; padding: 2px 5px; text-align: right; }

View File

@@ -40,7 +40,7 @@ FullScreen._pluginInfo =
FullScreen.prototype._lc = function(string) {
return HTMLArea._lc(string, 'FullScreen');
}
};
/** fullScreen makes an editor take up the full window space (and resizes when the browser is resized)
* the principle is the same as the "popupwindow" functionality in the original htmlArea, except
@@ -200,4 +200,4 @@ HTMLArea.prototype._fullScreen = function()
this.activateEditor();
}
this.focusEditor();
}
};

View File

@@ -1,17 +1,6 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// translated: Raimund Meyer xinha@ray-of-light.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.)
{
"Maximize/Minimize Editor": "Editor maximieren/verkleinern"
}
};

View File

@@ -1,17 +1,5 @@
// I18N constants
// LANG: "fr", ENCODING: UTF-8
// Author: Laurent Vilday, mokhet@mokhet.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.)
{
"Maximize/Minimize Editor": "Agrandir/Réduire l'éditeur"
}
};

View File

@@ -1,7 +1,6 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Maximize/Minimize Editor": "Maksimer/Minimer WYSIWYG vindu"
}
};

View File

@@ -1,17 +1,6 @@
// I18N constants
// LANG: "pl", ENCODING: UTF-8
// translated: Krzysztof Kotowicz, koto1sa@o2.pl, http://www.eskot.krakow.pl/portfolio
// 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.)
{
"Maximize/Minimize Editor": "Maksymalizuj/minimalizuj edytor"
}
};

View File

@@ -11,13 +11,14 @@
// Get the original source
$source = $_POST['htisource_name'];
$source = stripslashes($source);
$cwd = str_replace("\\","/",getcwd())."/";
// Open a tidy process - I hope it's installed!
$descriptorspec = array(
0 => array("pipe", "r"),
1 => array("pipe", "w")
);
$process = proc_open("tidy -utf8 -config html-tidy-config.cfg", $descriptorspec, $pipes);
$process = @proc_open("tidy -utf8 -config {$cwd}html-tidy-config.cfg", $descriptorspec, $pipes);
// Make sure the program started and we got the hooks...
@@ -39,12 +40,22 @@
proc_close($process);
} else {
// Better give them back what they came with, so they don't lose it all...
$newsrc = "<body>\n" .$source. "\n</body>";
/* Use tidy if it's available from PECL */
if( function_exists('tidy_parse_string') )
{
$tempsrc = tidy_parse_string($source);
tidy_clean_repair();
$newsrc = tidy_get_output();
}
else
{
// Better give them back what they came with, so they don't lose it all...
$newsrc = "<body>\n" .$source. "\n</body>";
}
}
// Split our source into an array by lines
$srcLines = explode("\n",$newsrc);
$srcLines = preg_split("/\n/",$newsrc,-1,PREG_SPLIT_NO_EMPTY);
// Get only the lines between the body tags
$startLn = 0;

View File

@@ -44,7 +44,7 @@ function HtmlTidy(editor) {
for (var i in toolbar) {
cfg.toolbar[0].push(toolbar[i]);
}
};
}
HtmlTidy._pluginInfo = {
name : "HtmlTidy",
@@ -58,7 +58,7 @@ HtmlTidy._pluginInfo = {
HtmlTidy.prototype._lc = function(string) {
return HTMLArea._lc(string, 'HtmlTidy');
}
};
HtmlTidy.prototype.__onSelect = function(editor, obj) {
// Get the toolbar element object
@@ -102,4 +102,4 @@ HtmlTidy.prototype.buttonPress = function(editor, id) {
HtmlTidy.prototype.processTidied = function(newSrc) {
editor = this.editor;
editor.setHTML(newSrc);
};
};

View File

@@ -1,17 +1,7 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// Author: Raimund Meyer ray@ray-of-light.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.)
{
"HTML Tidy": "HTML Tidy"
}
"HTML Tidy": "HTML Tidy",
"Tidy failed. Check your HTML for syntax errors.": "Tidy fehlgeschlagen. Prüfen Sie den HTML Code nach Syntax-Fehlern."
};

View File

@@ -1,17 +1,8 @@
// I18N constants
// LANG: "fr", ENCODING: UTF-8
// Author: Laurent Vilday, mokhet@mokhet.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.)
{
"HTML Tidy": "HTML Tidy"
}
"HTML Tidy": "HTML Tidy",
"Auto-Tidy": "Tidy automatique",
"Don't Tidy": "Tidy non utilisé",
"Tidy failed. Check your HTML for syntax errors.": "Tidy a échoué. Vérifiez votre HTML for des erreurs de syntaxe"
};

View File

@@ -1,16 +1,5 @@
// I18N constants
// LANG: "nl", ENCODING: UTF-8
// FOR TRANSLATORS:
// Nederlands: MadMiner basura@sitter.nl [2/2005]
// 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.)
{
"HT-html-tidy": "HTML opschonen"
}
"HT-html-tidy": "HTML opschonen"
};

View File

@@ -1,7 +1,7 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"HTML Tidy": "HTML Tidy"
}
"HTML Tidy": "HTML Tidy",
"Tidy failed. Check your HTML for syntax errors.": "Tidy feilet. Sjekk HTML koden for syntax feil."
};

View File

@@ -1,97 +1,97 @@
function InsertAnchor(editor) {
this.editor = editor;
var cfg = editor.config;
var self = this;
// register the toolbar buttons provided by this plugin
cfg.registerButton({
id : "insert-anchor",
tooltip : this._lc("Insert Anchor"),
image : editor.imgURL("insert-anchor.gif", "InsertAnchor"),
textMode : false,
action : function(editor) {
self.buttonPress(editor);
}
});
cfg.addToolbarElement("insert-anchor", "createlink", 1);
}
InsertAnchor._pluginInfo = {
name : "InsertAnchor",
origin : "version: 1.0, by Andre Rabold, MR Printware GmbH, http://www.mr-printware.de",
version : "2.0",
developer : "Udo Schmal",
developer_url : "http://www.schaffrath-neuemedien.de",
c_owner : "Udo Schmal",
sponsor : "L.N.Schaffrath NeueMedien",
sponsor_url : "http://www.schaffrath-neuemedien.de",
license : "htmlArea"
};
InsertAnchor.prototype._lc = function(string) {
return HTMLArea._lc(string, 'InsertAnchor');
}
InsertAnchor.prototype.onGenerate = function() {
var style_id = "IA-style"
var style = this.editor._doc.getElementById(style_id);
if (style == null) {
style = this.editor._doc.createElement("link");
style.id = style_id;
style.rel = 'stylesheet';
style.href = _editor_url + 'plugins/InsertAnchor/insert-anchor.css';
this.editor._doc.getElementsByTagName("HEAD")[0].appendChild(style);
}
}
InsertAnchor.prototype.buttonPress = function(editor) {
var outparam = null;
var html = editor.getSelectedHTML();
var sel = editor._getSelection();
var range = editor._createRange(sel);
var a = editor._activeElement(sel);
if(!(a != null && a.tagName.toLowerCase() == 'a')) {
a = editor._getFirstAncestor(sel, 'a');
}
if (a != null && a.tagName.toLowerCase() == 'a')
outparam = { name : a.id };
else
outparam = { name : '' };
editor._popupDialog( "plugin://InsertAnchor/insert_anchor", function( param ) {
if ( param ) {
var anchor = param["name"];
if (anchor == "" || anchor == null) {
if (a) {
var child = a.innerHTML;
a.parentNode.removeChild(a);
editor.insertHTML(child);
}
return;
}
try {
var doc = editor._doc;
if (!a) {
// editor.surroundHTML('<a id="' + anchor + '" name="' + anchor + '" title="' + anchor + '" class="anchor">', '</a>');
a = doc.createElement("a");
a.id = anchor;
a.name = anchor;
a.title = anchor;
a.className = "anchor";
a.innerHTML = html;
if (HTMLArea.is_ie) {
range.pasteHTML(a.outerHTML);
} else {
editor.insertNodeAtSelection(a);
}
} else {
a.id = anchor;
a.name = anchor;
a.title = anchor;
a.className = "anchor";
}
}
catch (e) { }
}
}, outparam);
}
function InsertAnchor(editor) {
this.editor = editor;
var cfg = editor.config;
var self = this;
// register the toolbar buttons provided by this plugin
cfg.registerButton({
id : "insert-anchor",
tooltip : this._lc("Insert Anchor"),
image : editor.imgURL("insert-anchor.gif", "InsertAnchor"),
textMode : false,
action : function(editor) {
self.buttonPress(editor);
}
});
cfg.addToolbarElement("insert-anchor", "createlink", 1);
}
InsertAnchor._pluginInfo = {
name : "InsertAnchor",
origin : "version: 1.0, by Andre Rabold, MR Printware GmbH, http://www.mr-printware.de",
version : "2.0",
developer : "Udo Schmal",
developer_url : "http://www.schaffrath-neuemedien.de",
c_owner : "Udo Schmal",
sponsor : "L.N.Schaffrath NeueMedien",
sponsor_url : "http://www.schaffrath-neuemedien.de",
license : "htmlArea"
};
InsertAnchor.prototype._lc = function(string) {
return HTMLArea._lc(string, 'InsertAnchor');
};
InsertAnchor.prototype.onGenerate = function() {
var style_id = "IA-style";
var style = this.editor._doc.getElementById(style_id);
if (style == null) {
style = this.editor._doc.createElement("link");
style.id = style_id;
style.rel = 'stylesheet';
style.href = _editor_url + 'plugins/InsertAnchor/insert-anchor.css';
this.editor._doc.getElementsByTagName("HEAD")[0].appendChild(style);
}
};
InsertAnchor.prototype.buttonPress = function(editor) {
var outparam = null;
var html = editor.getSelectedHTML();
var sel = editor._getSelection();
var range = editor._createRange(sel);
var a = editor._activeElement(sel);
if(!(a != null && a.tagName.toLowerCase() == 'a')) {
a = editor._getFirstAncestor(sel, 'a');
}
if (a != null && a.tagName.toLowerCase() == 'a')
outparam = { name : a.id };
else
outparam = { name : '' };
editor._popupDialog( "plugin://InsertAnchor/insert_anchor", function( param ) {
if ( param ) {
var anchor = param["name"];
if (anchor == "" || anchor == null) {
if (a) {
var child = a.innerHTML;
a.parentNode.removeChild(a);
editor.insertHTML(child);
}
return;
}
try {
var doc = editor._doc;
if (!a) {
// editor.surroundHTML('<a id="' + anchor + '" name="' + anchor + '" title="' + anchor + '" class="anchor">', '</a>');
a = doc.createElement("a");
a.id = anchor;
a.name = anchor;
a.title = anchor;
a.className = "anchor";
a.innerHTML = html;
if (HTMLArea.is_ie) {
range.pasteHTML(a.outerHTML);
} else {
editor.insertNodeAtSelection(a);
}
} else {
a.id = anchor;
a.name = anchor;
a.title = anchor;
a.className = "anchor";
}
}
catch (e) { }
}
}, outparam);
};

View File

@@ -1,10 +1,8 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// translated: Raimund Meyer xinha@ray-of-light.org
{
"Insert Anchor": "Anker einfügen",
"Anchor name": "Name (ID)",
"Delete": "Löschen"
}
};

View File

@@ -4,4 +4,4 @@
"Insert Anchor": "Insérer une ancre",
"Anchor name": "Nom de l'ancre",
"Delete": "Supprimer"
}
};

View File

@@ -1,8 +1,7 @@
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Insert Anchor": "Sett inn anker",
"Anchor name": "Anker navn (ID)"
}
};

View File

@@ -0,0 +1,8 @@
// I18N constants
// LANG: "pl", ENCODING: UTF-8
// translated: Krzysztof Kotowicz koto@webworkers.pl
{
"Insert Anchor": "Wstaw kotwicę",
"Anchor name": "Nazwa kotwicy",
"Delete": "Usuń"
};

View File

@@ -4,18 +4,17 @@
<link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
<script type="text/javascript" src="../../../popups/popup.js"></script>
<script type="text/javascript">
window.resizeTo(300, 150);
function Init() {
__dlg_translate("InsertAnchor");
__dlg_init();
window.resizeTo(400, 180);
window.resizeTo(400, 150);
var param = window.dialogArguments;
if (param) {
document.getElementById("name").value = param["name"];
}
document.getElementById("name").focus();
};
}
function onOK() {
// pass data back to the calling window
@@ -23,7 +22,7 @@ function onOK() {
param["name"] = document.getElementById("name").value;
__dlg_close(param);
return false;
};
}
function onDelete() {
// pass data back to the calling window
@@ -31,12 +30,12 @@ function onDelete() {
param["name"] = "";
__dlg_close(param);
return false;
};
}
function onCancel() {
__dlg_close(null);
return false;
};
}
</script>
</head>

View File

@@ -64,7 +64,7 @@
var HTMLArea = window.opener.HTMLArea;
function i18n(str) {
return (HTMLArea._lc(str, 'HTMLArea'));
};
}
function Init() {
__dlg_translate("InsertPicture");
@@ -84,7 +84,7 @@ function Init() {
window.ipreview.location.replace(param.f_url);
}
document.getElementById("f_url").focus();
};
}
function onOK() {
var required = {
@@ -109,7 +109,7 @@ function onOK() {
}
__dlg_close(param);
return false;
};
}
function onUpload() {
var required = {
@@ -130,7 +130,7 @@ function onUpload() {
function onCancel() {
__dlg_close(null);
return false;
};
}
function onPreview() {
var f_url = document.getElementById("f_url");
@@ -146,12 +146,12 @@ function onPreview() {
window.ipreview.location.replace(url);
}
return false;
};
}
function CopyToURL(imgName) {
document.getElementById("f_url").value = imgName;
onPreview();
};
}
function openFile() {
window.open(document.getElementById("f_url").value,'','');
@@ -279,4 +279,4 @@ title="Vertical padding" />
</div>
</form>
</body>
</html>
</html>

View File

@@ -19,7 +19,7 @@
function InsertPicture(editor) {
// nothing to do
};
}
InsertPicture._pluginInfo = {
name : "InsertPicture",

View File

@@ -1,17 +1,12 @@
// LANG: "de", ENCODING: UTF-8 | ISO-8859-1
// Sponsored by http://www.schaffrath-neuemedien.de
// Author: Udo Schmal (gocher), <udo.schmal@t-online.de>
//
// (c) Udo Schmal & Schaffrath NeueMedien 2005
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
// Author: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.deUdo Schmal (gocher), <udo.schmal@t-online.de>
{
"The file you are uploading doesn't have the correct extension.": "Die hochgeladene Datei ist im falschen Format.",
"The file you are uploading already exists.": "Eine Datei mit diesem Namen existiert schon.",
"The file you are uploading is to big. The max Filesize is": "Die hochgeladene Datei ist zu groß. Die maximakle Dateigröße beträgt",
"Images on the Server:": "Bilder auf dem Server:",
"Please select a file to upload.": "Wählen Sie eine Datei zum hochladen aus.",
"Upload file": "Datei hochladen",
"The file you are uploading already exists.": "Eine Datei mit diesem Namen existiert schon.",
"The file you are uploading is to big. The max Filesize is": "Die hochgeladene Datei ist zu groß. Die maximakle Dateigröße beträgt",
"Images on the Server:": "Bilder auf dem Server:",
"Please select a file to upload.": "Wählen Sie eine Datei zum hochladen aus.",
"Upload file": "Datei hochladen",
"Open file in new window": "Datei in neuen Fenster anzeigen"
};

View File

@@ -0,0 +1,22 @@
// I18N constants
// LANG: "fr", ENCODING: UTF-8
{
"Insert Image": "Insérer une image",
"Image Preview:": "Prévisualisation",
"Image URL:": "URL",
"Preview": "Prévisualisation",
"Alternate text:": "Texte alternatif",
"Layout": "Layout",
"Alignment:": "Alignement",
"Border thickness:": "Epaisseur bordure",
"Spacing": "Espacement",
"Horizontal:": "Horizontal",
"Vertical:": "Vertical",
"The file you are uploading doesn't have the correct extension.": "Le fichier que vous téléchargez ne possède pas la bonne extension.",
"The file you are uploading already exists.": "Le fichier que vous téléchargez existe déjà.",
"The file you are uploading is to big. The max Filesize is": "Le fichier que vous uploadez est trop gros. La taille maximum est",
"Images on the Server:": "Images sur le serveur",
"Please select a file to upload.": "Veuillez sélectionner un fichier a télécharger",
"Upload file": "Télécharger",
"Open file in new window": "Ouvrir le fichier dans une nouvelle fenêtre"
};

View File

@@ -0,0 +1,23 @@
// LANG: "de", ENCODING: UTF-8 | ISO-8859-1
// Sponsored by http://www.schaffrath-neuemedien.de
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Insert Image": "Sett inn bilde",
"Image Preview:": "Forhåndsvisning:",
"Image URL:": "Bildets URL:",
"Preview": "Forhåndsvisning",
"Alternate text:": "Alternativ tekst",
"Layout": "Oppsett",
"Alignment:": "Plassering",
"Border thickness:": "Ramme tykkelse:",
"Spacing": "Luft rundt bildet",
"Horizontal:": "Horisontal:",
"Vertical:": "Vertikal:",
"The file you are uploading doesn't have the correct extension.": "Bildet du laster opp har et ugyldig format, opplastning avbrutt",
"The file you are uploading already exists.": "Bildet du prøver å laste opp eksisterer allerede på serveren",
"The file you are uploading is to big. The max Filesize is": "Bildet du laster opp er for stort, maks tillatt størrelse er",
"Images on the Server:": "Bilder på serveren:",
"Please select a file to upload.": "Velg bilde for opplastning til server",
"Upload file": "Last opp bilde",
"Open file in new window": "Åpne bilde i nytt vindu"
};

View File

@@ -5,17 +5,17 @@
<script language="JavaScript" type="text/javascript">
<!--
function imgWait() {
waiting = window.setInterval("imgIsLoaded()", 1000)
waiting = window.setInterval("imgIsLoaded()", 1000);
}
function imgIsLoaded() {
if(document.getElementById("myImg").width > 0) {
window.clearInterval(waiting)
imgShowWidth()
window.clearInterval(waiting);
imgShowWidth();
}
}
function imgShowWidth() {
var width = document.getElementById("myImg").width
var height = document.getElementById("myImg").height
var width = document.getElementById("myImg").width;
var height = document.getElementById("myImg").height;
if(width > 120) {
var dx = (120 / width);
var dy = (120 / height);
@@ -23,15 +23,15 @@ function imgShowWidth() {
// keep aspect ratio
width = width * ratio;
height = height * ratio;
document.getElementById("myImg").width = width
document.getElementById("myImg").height = height
document.getElementById("myImg").width = width;
document.getElementById("myImg").height = height;
}
document.getElementById("myImg").style.visibility = 'visible'
document.getElementById("myImg").style.visibility = 'visible';
}
function showPreview() {
img = document.location.toString().split("?");
document.getElementById("myImg").src = img[1];
img.onLoad = imgWait()
img.onLoad = imgWait();
}
//-->
</script>
@@ -39,7 +39,7 @@ function showPreview() {
<body marginwidth="5px" marginheight="5px" topmargin="5px" leftmargin="5px" rightmargin="5px">
<img id="myImg" src="" Style="visibility:hidden">
<script language="JavaScript" type="text/javascript">
showPreview()
showPreview();
</script>
</body>

View File

@@ -45,7 +45,7 @@ function InsertWords(editor, params) {
cfg.addToolbarElement(toolbar, "linebreak", 1);
};
}
InsertWords._pluginInfo = {
name : "InsertWords",
@@ -67,5 +67,4 @@ InsertWords.prototype.onSelect = function(editor, obj, context) {
// Reset the dropdown to it's label
elem.selectedIndex = 0;
}
};

View File

@@ -52,7 +52,7 @@ function Node(id, pid, name, url, title, target, icon, iconOpen, open) {
this._p;
};
}
@@ -80,7 +80,7 @@ function dTree(objName, baseDir) {
inOrder : false
}
};
this.icon = {
@@ -128,7 +128,7 @@ function dTree(objName, baseDir) {
this.completed = false;
};
}
@@ -387,7 +387,7 @@ dTree.prototype.setCS_All = function()
node._ls = ids[node.pid]._ls_is == node.id ? true : false;
node._hc = ids[node.id]._hc;
}
}
};
// Returns the selected node
@@ -703,9 +703,9 @@ if (!Array.prototype.push) {
return this.length;
}
};
};
}
if (!Array.prototype.pop) {
@@ -717,7 +717,6 @@ if (!Array.prototype.pop) {
return lastElement;
}
};
};
}

View File

@@ -1,11 +1,10 @@
// I18N constants
// LANG: "de", ENCODING: UTF-8
// translated: Udo Schmal
// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
{
"You must select some text before making a new link.": "Sie müssen einen Text markieren um einen Link zu erstellen",
"Are you sure you wish to remove this link?": "Wollen Sie diesen Link wirklich entfernen?",
"REMOVE LINK": "LINK ENTFERNEN",
"REMOVE LINK": "LINK ENTFERNEN",
"CANCEL": "ABBRECHEN",
"URL Link": "URL Adresse",
"Ordinary Link": "Standard Link",
@@ -18,4 +17,4 @@
"Message Template:": "Nachrichten Vorlage:",
"Size:": "Größe:",
"Name:": "Name:"
}
};

View File

@@ -16,4 +16,4 @@
"Message Template:": "Message",
"Size:": "Taille",
"Name:": "Nom"
}
};

Some files were not shown because too many files have changed in this diff Show More