(Experimental) Replace htmlarea with XINHA. Thanks to abdussamad!
@ -3,6 +3,10 @@
|
||||
Version 1.4 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Replace htmlarea with XINHA. Thanks to abdussamad!
|
||||
(Experimental! Needs testing on shared installations. Might
|
||||
need browser cache refresh!)
|
||||
|
||||
* Add link to preview entries by an author into the usermanagement
|
||||
(garvinhicking)
|
||||
|
||||
|
1185
htmlarea/ChangeLog
273
htmlarea/Xinha.css
Executable file
@ -0,0 +1,273 @@
|
||||
.htmlarea { background: #fff; }
|
||||
.htmlarea td { margin:0;padding:0; }
|
||||
|
||||
.htmlarea .toolbarRow {
|
||||
width:1px;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar {
|
||||
cursor: default;
|
||||
background: ButtonFace;
|
||||
padding: 3px;
|
||||
border: 1px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
}
|
||||
.htmlarea .toolbar table { margin: 0; font-family: tahoma,verdana,sans-serif; font-size: 11px; }
|
||||
.htmlarea .toolbar img { border: none; vertical-align: top; }
|
||||
.htmlarea .toolbar .label { padding: 0px 3px; }
|
||||
|
||||
.htmlarea .toolbar .button {
|
||||
background: ButtonFace;
|
||||
color: ButtonText;
|
||||
border: 1px solid ButtonFace;
|
||||
padding: 1px;
|
||||
margin: 0px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
.htmlarea .toolbar a.button:hover {
|
||||
border: 1px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
}
|
||||
.htmlarea .toolbar a.buttonDisabled:hover {
|
||||
border-color: ButtonFace;
|
||||
}
|
||||
.htmlarea .toolbar .buttonActive,
|
||||
.htmlarea .toolbar .buttonPressed
|
||||
{
|
||||
padding: 2px 0px 0px 2px;
|
||||
border: 1px solid;
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
.htmlarea .toolbar .buttonPressed {
|
||||
background: ButtonHighlight;
|
||||
}
|
||||
.htmlarea .toolbar .indicator {
|
||||
padding: 0px 3px;
|
||||
overflow: hidden;
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
cursor: default;
|
||||
border: 1px solid ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .buttonDisabled img {
|
||||
filter: gray() alpha(opacity = 25);
|
||||
-moz-opacity: 0.25;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .separator {
|
||||
/*position: relative;*/
|
||||
margin:0 3px;
|
||||
border-left: 1px solid ButtonShadow;
|
||||
border-right: 1px solid ButtonHighlight;
|
||||
width: 0px;
|
||||
height: 18px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .space { width: 5px; }
|
||||
|
||||
.htmlarea .toolbar select, .htmlarea .toolbar option { font: 11px Tahoma,Verdana,sans-serif;}
|
||||
|
||||
.htmlarea .toolbar select,
|
||||
.htmlarea .toolbar select:hover,
|
||||
.htmlarea .toolbar select:active {
|
||||
position:relative;
|
||||
top:-2px;
|
||||
margin-bottom:-2px;
|
||||
color: ButtonText;
|
||||
}
|
||||
|
||||
.htmlarea iframe.xinha_iframe, .htmlarea textarea.xinha_textarea
|
||||
{
|
||||
border: none; /*1px solid;*/
|
||||
}
|
||||
|
||||
.htmlarea .statusBar {
|
||||
border: 1px solid;
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
padding: 2px 4px;
|
||||
background-color: ButtonFace;
|
||||
color: ButtonText;
|
||||
font: 11px Tahoma,Verdana,sans-serif;
|
||||
height:16px;
|
||||
}
|
||||
|
||||
.htmlarea .statusBar .statusBarTree a {
|
||||
padding: 2px 5px;
|
||||
color: #00f;
|
||||
}
|
||||
|
||||
.htmlarea .statusBar .statusBarTree a:visited { color: #00f; }
|
||||
.htmlarea .statusBar .statusBarTree a:hover {
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
padding: 1px 4px;
|
||||
border: 1px solid HighlightText;
|
||||
}
|
||||
|
||||
|
||||
/* popup dialogs */
|
||||
|
||||
.dialog {
|
||||
color: ButtonText;
|
||||
background: ButtonFace;
|
||||
}
|
||||
|
||||
.dialog .content { padding: 2px; }
|
||||
|
||||
.dialog, .dialog button, .dialog input, .dialog select, .dialog textarea, .dialog table {
|
||||
font: 11px Tahoma,Verdana,sans-serif;
|
||||
}
|
||||
|
||||
.dialog table { border-collapse: collapse; }
|
||||
|
||||
.dialog .title, .dialog h1
|
||||
{
|
||||
background: #008;
|
||||
color: #ff8;
|
||||
border-bottom: 1px solid #000;
|
||||
padding: 1px 0px 2px 5px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
cursor: default;
|
||||
}
|
||||
.dialog h1 { margin:0px;}
|
||||
.dialog .title .button {
|
||||
float: right;
|
||||
border: 1px solid #66a;
|
||||
padding: 0px 1px 0px 2px;
|
||||
margin-right: 1px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dialog .title .button-hilite { border-color: #88f; background: #44c; }
|
||||
|
||||
.dialog button {
|
||||
width: 5em;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.dialog .buttonColor {
|
||||
width :1em;
|
||||
padding: 1px;
|
||||
cursor: default;
|
||||
border: 1px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
}
|
||||
|
||||
.dialog .buttonColor .chooser, .dialog .buttonColor .nocolor {
|
||||
height: 0.6em;
|
||||
border: 1px solid;
|
||||
padding: 0px 1em;
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
|
||||
.dialog .buttonClick {
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
.dialog .buttonColor-hilite {
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
|
||||
.dialog .buttonColor .nocolor { padding: 0px; }
|
||||
.dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; }
|
||||
|
||||
.dialog .label { text-align: right; width: 6em; }
|
||||
.dialog .value input { width: 100%; }
|
||||
.dialog .buttons { text-align: right; padding: 2px 4px 0px 4px; }
|
||||
|
||||
.dialog legend { font-weight: bold; }
|
||||
.dialog fieldset table { margin: 2px 0px; }
|
||||
|
||||
.popupwin {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.popupwin .title {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
font-size: 120%;
|
||||
padding: 3px 10px;
|
||||
margin-bottom: 10px;
|
||||
border-bottom: 1px solid black;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
form { margin: 0px; border: none; }
|
||||
|
||||
|
||||
/** Panels **/
|
||||
.htmlarea .panels.top
|
||||
{
|
||||
border-bottom : 1px solid;
|
||||
border-color: ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .panels.right
|
||||
{
|
||||
border-left : 1px solid;
|
||||
border-color: ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .panels.left
|
||||
{
|
||||
border-right : 1px solid;
|
||||
border-color: ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .panels.bottom
|
||||
{
|
||||
border-top : 1px solid;
|
||||
border-color: ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .panel h1 {
|
||||
background: ButtonFace;
|
||||
border: 1px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size:100%;
|
||||
font-weight:bold;
|
||||
padding: 2px;
|
||||
clear:left;
|
||||
|
||||
}
|
||||
|
||||
.htmlarea .panel { overflow:hidden; }
|
||||
.htmlarea .panels.left .panel { border-right:none; border-left:none; }
|
||||
.htmlarea .panels.left h1 { border-right:none; }
|
||||
.htmlarea .panels.right .panel { border-right:none; border-left:none; }
|
||||
.htmlarea .panels.left h1 { border-left:none; }
|
||||
.htmlarea { border: 1px solid black; }
|
||||
|
||||
.loading
|
||||
{
|
||||
font-family:sans-serif;
|
||||
position:absolute;
|
||||
z-index:998;
|
||||
text-align:center;
|
||||
width:212px;
|
||||
padding: 55px 0 5px 0;
|
||||
border:2px solid #ccc;
|
||||
/* border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;*/
|
||||
background: url(images/xinha_logo.gif) no-repeat #fff center 5px;
|
||||
}
|
||||
.loading_main
|
||||
{
|
||||
font-size:11px;
|
||||
color:#000;
|
||||
|
||||
}
|
||||
.loading_sub
|
||||
{
|
||||
font-size:9px;
|
||||
color:#666;
|
||||
text-align:center;
|
||||
}
|
3815
htmlarea/XinhaCore.js
Normal file
173
htmlarea/XinhaLoader.js
Normal file
@ -0,0 +1,173 @@
|
||||
/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */
|
||||
/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */
|
||||
/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/XinhaLoader.js */
|
||||
var Xinha={};
|
||||
_editor_url=_editor_url.replace(/\x2f*$/,"/");
|
||||
Xinha.agt=navigator.userAgent.toLowerCase();
|
||||
Xinha.is_ie=((Xinha.agt.indexOf("msie")!=-1)&&(Xinha.agt.indexOf("opera")==-1));
|
||||
Xinha.ie_version=parseFloat(Xinha.agt.substring(Xinha.agt.indexOf("msie")+5));
|
||||
Xinha.is_opera=(Xinha.agt.indexOf("opera")!=-1);
|
||||
Xinha.is_khtml=(Xinha.agt.indexOf("khtml")!=-1);
|
||||
Xinha.is_webkit=(Xinha.agt.indexOf("applewebkit")!=-1);
|
||||
Xinha.is_safari=(Xinha.agt.indexOf("safari")!=-1);
|
||||
Xinha.opera_version=navigator.appVersion.substring(0,navigator.appVersion.indexOf(" "))*1;
|
||||
Xinha.is_mac=(Xinha.agt.indexOf("mac")!=-1);
|
||||
Xinha.is_mac_ie=(Xinha.is_ie&&Xinha.is_mac);
|
||||
Xinha.is_win_ie=(Xinha.is_ie&&!Xinha.is_mac);
|
||||
Xinha.is_gecko=(navigator.product=="Gecko"&&!Xinha.is_safari);
|
||||
Xinha.isRunLocally=document.URL.toLowerCase().search(/^file:/)!=-1;
|
||||
Xinha.is_designMode=(typeof document.designMode!="undefined"&&!Xinha.is_ie);
|
||||
Xinha.isSupportedBrowser=Xinha.is_gecko||(Xinha.is_opera&&Xinha.opera_version>=9.1)||Xinha.ie_version>=5.5||Xinha.is_safari;
|
||||
Xinha.loadPlugins=function(_1,_2){
|
||||
if(!Xinha.isSupportedBrowser){
|
||||
return;
|
||||
}
|
||||
Xinha.loadStyle(typeof _editor_css=="string"?_editor_css:"Xinha.css","XinhaCoreDesign");
|
||||
Xinha.createLoadingMessages(xinha_editors);
|
||||
var _3=Xinha.loadingMessages;
|
||||
Xinha._loadback(_editor_url+"XinhaCore.js",function(){
|
||||
Xinha.removeLoadingMessages(xinha_editors);
|
||||
Xinha.createLoadingMessages(xinha_editors);
|
||||
_2();
|
||||
});
|
||||
return false;
|
||||
};
|
||||
Xinha._loadback=function(_4,_5,_6,_7){
|
||||
var T=!Xinha.is_ie?"onload":"onreadystatechange";
|
||||
var S=document.createElement("script");
|
||||
S.type="text/javascript";
|
||||
S.src=_4;
|
||||
if(_5){
|
||||
S[T]=function(){
|
||||
if(Xinha.is_ie&&(!(/loaded|complete/.test(window.event.srcElement.readyState)))){
|
||||
return;
|
||||
}
|
||||
_5.call(_6?_6:this,_7);
|
||||
S[T]=null;
|
||||
};
|
||||
}
|
||||
document.getElementsByTagName("head")[0].appendChild(S);
|
||||
};
|
||||
Xinha.getElementTopLeft=function(_a){
|
||||
var _b=curtop=0;
|
||||
if(_a.offsetParent){
|
||||
_b=_a.offsetLeft;
|
||||
curtop=_a.offsetTop;
|
||||
while(_a=_a.offsetParent){
|
||||
_b+=_a.offsetLeft;
|
||||
curtop+=_a.offsetTop;
|
||||
}
|
||||
}
|
||||
return {top:curtop,left:_b};
|
||||
};
|
||||
Xinha.findPosX=function(_c){
|
||||
var _d=0;
|
||||
if(_c.offsetParent){
|
||||
return Xinha.getElementTopLeft(_c).left;
|
||||
}else{
|
||||
if(_c.x){
|
||||
_d+=_c.x;
|
||||
}
|
||||
}
|
||||
return _d;
|
||||
};
|
||||
Xinha.findPosY=function(_e){
|
||||
var _f=0;
|
||||
if(_e.offsetParent){
|
||||
return Xinha.getElementTopLeft(_e).top;
|
||||
}else{
|
||||
if(_e.y){
|
||||
_f+=_e.y;
|
||||
}
|
||||
}
|
||||
return _f;
|
||||
};
|
||||
Xinha.createLoadingMessages=function(_10){
|
||||
if(Xinha.loadingMessages||!Xinha.isSupportedBrowser){
|
||||
return;
|
||||
}
|
||||
Xinha.loadingMessages=[];
|
||||
for(var i=0;i<_10.length;i++){
|
||||
if(!document.getElementById(_10[i])){
|
||||
continue;
|
||||
}
|
||||
Xinha.loadingMessages.push(Xinha.createLoadingMessage(document.getElementById(_10[i])));
|
||||
}
|
||||
};
|
||||
Xinha.createLoadingMessage=function(_12,_13){
|
||||
if(document.getElementById("loading_"+_12.id)||!Xinha.isSupportedBrowser){
|
||||
return;
|
||||
}
|
||||
var _14=document.createElement("div");
|
||||
_14.id="loading_"+_12.id;
|
||||
_14.className="loading";
|
||||
_14.style.left=(Xinha.findPosX(_12)+_12.offsetWidth/2)-106+"px";
|
||||
_14.style.top=(Xinha.findPosY(_12)+_12.offsetHeight/2)-50+"px";
|
||||
var _15=document.createElement("div");
|
||||
_15.className="loading_main";
|
||||
_15.id="loading_main_"+_12.id;
|
||||
_15.appendChild(document.createTextNode(Xinha._lc("Loading in progress. Please wait!")));
|
||||
var _16=document.createElement("div");
|
||||
_16.className="loading_sub";
|
||||
_16.id="loading_sub_"+_12.id;
|
||||
_13=_13?_13:Xinha._lc("Loading Core");
|
||||
_16.appendChild(document.createTextNode(_13));
|
||||
_14.appendChild(_15);
|
||||
_14.appendChild(_16);
|
||||
document.body.appendChild(_14);
|
||||
return _16;
|
||||
};
|
||||
Xinha.loadStyle=function(_17,id){
|
||||
var url=_editor_url||"";
|
||||
url+=_17;
|
||||
var _1a=document.getElementsByTagName("head")[0];
|
||||
var _1b=document.createElement("link");
|
||||
_1b.rel="stylesheet";
|
||||
_1b.href=url;
|
||||
if(id){
|
||||
_1b.id=id;
|
||||
}
|
||||
_1a.appendChild(_1b);
|
||||
};
|
||||
Xinha._lc=function(_1c){
|
||||
return _1c;
|
||||
};
|
||||
Xinha._addEvent=function(el,_1e,_1f){
|
||||
if(document.addEventListener){
|
||||
el.addEventListener(_1e,_1f,true);
|
||||
}else{
|
||||
el.attachEvent("on"+_1e,_1f);
|
||||
}
|
||||
};
|
||||
Xinha.addOnloadHandler=function(_20){
|
||||
var _21=function(){
|
||||
if(arguments.callee.done){
|
||||
return;
|
||||
}
|
||||
arguments.callee.done=true;
|
||||
if(Xinha.onloadTimer){
|
||||
clearInterval(Xinha.onloadTimer);
|
||||
}
|
||||
_20.call();
|
||||
};
|
||||
if(Xinha.is_ie){
|
||||
document.write("<sc"+"ript id=__ie_onload defer src=javascript:void(0)></script>");
|
||||
var _22=document.getElementById("__ie_onload");
|
||||
_22.onreadystatechange=function(){
|
||||
if(this.readyState=="loaded"){
|
||||
_21();
|
||||
}
|
||||
};
|
||||
}else{
|
||||
if(/WebKit/i.test(navigator.userAgent)){
|
||||
Xinha.onloadTimer=setInterval(function(){
|
||||
if(/loaded|complete/.test(document.readyState)){
|
||||
_21();
|
||||
}
|
||||
},10);
|
||||
}else{
|
||||
document.addEventListener("DOMContentLoaded",_21,false);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
5
htmlarea/XinhaLoader_readme.txt
Executable file
@ -0,0 +1,5 @@
|
||||
The XinhaLoader is a subset of Xinha only containing functions to fetch further files from the server and displaying a loading message.
|
||||
It gives visual feedback to the user quite quickly so they don't have to watch the plain textarea and wonder if anything is happening.
|
||||
|
||||
Usage in short: Follow the NewbieGuide, but load XinhaLoader.js instead of XinhaCore.js.
|
||||
Make shure you define xinha_editors before calling Xinha.loadPlugins! This is different to earlier versions of the NewbieGuide (steps 1 and 2 reversed)
|
208
htmlarea/contrib/php-xinha.php
Executable file
@ -0,0 +1,208 @@
|
||||
<?php
|
||||
/** Write the appropriate xinha_config directives to pass data to a PHP (Plugin) backend file.
|
||||
*
|
||||
* ImageManager Example:
|
||||
* The following would be placed in step 3 of your configuration (see the NewbieGuide
|
||||
* (http://xinha.python-hosting.com/wiki/NewbieGuide)
|
||||
*
|
||||
* <script language="javascript">
|
||||
* with (xinha_config.ImageManager)
|
||||
* {
|
||||
* <?php
|
||||
* xinha_pass_to_php_backend
|
||||
* (
|
||||
* array
|
||||
* (
|
||||
* 'images_dir' => '/home/your/directory',
|
||||
* 'images_url' => '/directory'
|
||||
* )
|
||||
* )
|
||||
* ?>
|
||||
* }
|
||||
* </script>
|
||||
*
|
||||
*/
|
||||
|
||||
function xinha_pass_to_php_backend($Data, $KeyLocation = 'Xinha:BackendKey', $ReturnPHP = FALSE)
|
||||
{
|
||||
|
||||
$bk = array();
|
||||
$bk['data'] = serialize($Data);
|
||||
|
||||
@session_start();
|
||||
if(!isset($_SESSION[$KeyLocation]))
|
||||
{
|
||||
$_SESSION[$KeyLocation] = uniqid('Key_');
|
||||
}
|
||||
|
||||
$bk['session_name'] = session_name();
|
||||
$bk['key_location'] = $KeyLocation;
|
||||
$bk['hash'] =
|
||||
function_exists('sha1') ?
|
||||
sha1($_SESSION[$KeyLocation] . $bk['data'])
|
||||
: md5($_SESSION[$KeyLocation] . $bk['data']);
|
||||
|
||||
|
||||
// The data will be passed via a postback to the
|
||||
// backend, we want to make sure these are going to come
|
||||
// out from the PHP as an array like $bk above, so
|
||||
// we need to adjust the keys.
|
||||
$backend_data = array();
|
||||
foreach($bk as $k => $v)
|
||||
{
|
||||
$backend_data["backend_data[$k]"] = $v;
|
||||
}
|
||||
|
||||
// The session_start() above may have been after data was sent, so cookies
|
||||
// wouldn't have worked.
|
||||
$backend_data[session_name()] = session_id();
|
||||
|
||||
if($ReturnPHP)
|
||||
{
|
||||
return array('backend_data' => $backend_data);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo 'backend_data = ' . xinha_to_js($backend_data) . "; \n";
|
||||
}
|
||||
}
|
||||
|
||||
/** Convert PHP data structure to Javascript */
|
||||
|
||||
function xinha_to_js($var, $tabs = 0)
|
||||
{
|
||||
if(is_numeric($var))
|
||||
{
|
||||
return $var;
|
||||
}
|
||||
|
||||
if(is_string($var))
|
||||
{
|
||||
return "'" . xinha_js_encode($var) . "'";
|
||||
}
|
||||
|
||||
if(is_array($var))
|
||||
{
|
||||
$useObject = false;
|
||||
foreach(array_keys($var) as $k) {
|
||||
if(!is_numeric($k)) $useObject = true;
|
||||
}
|
||||
$js = array();
|
||||
foreach($var as $k => $v)
|
||||
{
|
||||
$i = "";
|
||||
if($useObject) {
|
||||
if(preg_match('#^[a-zA-Z]+[a-zA-Z0-9]*$#', $k)) {
|
||||
$i .= "$k: ";
|
||||
} else {
|
||||
$i .= "'$k': ";
|
||||
}
|
||||
}
|
||||
$i .= xinha_to_js($v, $tabs + 1);
|
||||
$js[] = $i;
|
||||
}
|
||||
if($useObject) {
|
||||
$ret = "{\n" . xinha_tabify(implode(",\n", $js), $tabs) . "\n}";
|
||||
} else {
|
||||
$ret = "[\n" . xinha_tabify(implode(",\n", $js), $tabs) . "\n]";
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
return 'null';
|
||||
}
|
||||
|
||||
/** Like htmlspecialchars() except for javascript strings. */
|
||||
|
||||
function xinha_js_encode($string)
|
||||
{
|
||||
static $strings = "\\,\",',%,&,<,>,{,},@,\n,\r";
|
||||
|
||||
if(!is_array($strings))
|
||||
{
|
||||
$tr = array();
|
||||
foreach(explode(',', $strings) as $chr)
|
||||
{
|
||||
$tr[$chr] = sprintf('\x%02X', ord($chr));
|
||||
}
|
||||
$strings = $tr;
|
||||
}
|
||||
|
||||
return strtr($string, $strings);
|
||||
}
|
||||
|
||||
|
||||
/** Used by plugins to get the config passed via
|
||||
* xinha_pass_to_backend()
|
||||
* returns either the structure given, or NULL
|
||||
* if none was passed or a security error was encountered.
|
||||
*/
|
||||
|
||||
function xinha_read_passed_data()
|
||||
{
|
||||
if(isset($_REQUEST['backend_data']) && is_array($_REQUEST['backend_data']))
|
||||
{
|
||||
$bk = $_REQUEST['backend_data'];
|
||||
session_name($bk['session_name']);
|
||||
@session_start();
|
||||
if(!isset($_SESSION[$bk['key_location']])) return NULL;
|
||||
|
||||
if($bk['hash'] ===
|
||||
function_exists('sha1') ?
|
||||
sha1($_SESSION[$bk['key_location']] . $bk['data'])
|
||||
: md5($_SESSION[$bk['key_location']] . $bk['data']))
|
||||
{
|
||||
return unserialize(ini_get('magic_quotes_gpc') ? stripslashes($bk['data']) : $bk['data']);
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/** Used by plugins to get a query string that can be sent to the backend
|
||||
* (or another part of the backend) to send the same data.
|
||||
*/
|
||||
|
||||
function xinha_passed_data_querystring()
|
||||
{
|
||||
$qs = array();
|
||||
if(isset($_REQUEST['backend_data']) && is_array($_REQUEST['backend_data']))
|
||||
{
|
||||
foreach($_REQUEST['backend_data'] as $k => $v)
|
||||
{
|
||||
$v = ini_get('magic_quotes_gpc') ? stripslashes($v) : $v;
|
||||
$qs[] = "backend_data[" . rawurlencode($k) . "]=" . rawurlencode($v);
|
||||
}
|
||||
}
|
||||
|
||||
$qs[] = session_name() . '=' . session_id();
|
||||
return implode('&', $qs);
|
||||
}
|
||||
|
||||
|
||||
/** Just space-tab indent some text */
|
||||
function xinha_tabify($text, $tabs)
|
||||
{
|
||||
if($text)
|
||||
{
|
||||
return str_repeat(" ", $tabs) . preg_replace('/\n(.)/', "\n" . str_repeat(" ", $tabs) . "\$1", $text);
|
||||
}
|
||||
}
|
||||
|
||||
/** Return upload_max_filesize value from php.ini in kilobytes (function adapted from php.net)**/
|
||||
function upload_max_filesize_kb()
|
||||
{
|
||||
$val = ini_get('upload_max_filesize');
|
||||
$val = trim($val);
|
||||
$last = strtolower($val{strlen($val)-1});
|
||||
switch($last)
|
||||
{
|
||||
// The 'G' modifier is available since PHP 5.1.0
|
||||
case 'g':
|
||||
$val *= 1024;
|
||||
case 'm':
|
||||
$val *= 1024;
|
||||
}
|
||||
return $val;
|
||||
}
|
||||
?>
|
@ -1,73 +0,0 @@
|
||||
// htmlArea v3.0 - Copyright (c) 2003-2004 interactivetools.com, inc.
|
||||
// This copyright notice MUST stay intact for use (see license.txt).
|
||||
//
|
||||
// Portions (c) dynarch.com, 2003-2004
|
||||
//
|
||||
// A free WYSIWYG editor replacement for <textarea> fields.
|
||||
// For full source code and docs, visit http://www.interactivetools.com/
|
||||
//
|
||||
// Version 3.0 developed by Mihai Bazon.
|
||||
// http://dynarch.com/mishoo
|
||||
//
|
||||
// $Id: dialog.js,v 1.3 2005/01/11 15:00:34 garvinhicking Exp $
|
||||
|
||||
// Though "Dialog" looks like an object, it isn't really an object. Instead
|
||||
// it's just namespace for protecting global symbols.
|
||||
|
||||
function Dialog(url, action, init) {
|
||||
if (typeof init == "undefined") {
|
||||
init = window; // pass this window object by default
|
||||
}
|
||||
Dialog._geckoOpenModal(url, action, init);
|
||||
};
|
||||
|
||||
Dialog._parentEvent = function(ev) {
|
||||
setTimeout( function() { if (Dialog._modal && !Dialog._modal.closed) { Dialog._modal.focus() } }, 50);
|
||||
if (Dialog._modal && !Dialog._modal.closed) {
|
||||
HTMLArea._stopEvent(ev);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// should be a function, the return handler of the currently opened dialog.
|
||||
Dialog._return = null;
|
||||
|
||||
// constant, the currently opened dialog
|
||||
Dialog._modal = null;
|
||||
|
||||
// the dialog will read it's args from this variable
|
||||
Dialog._arguments = null;
|
||||
|
||||
Dialog._geckoOpenModal = function(url, action, init) {
|
||||
var dlg = window.open(url, "hadialog",
|
||||
"toolbar=no,menubar=no,personalbar=no,width=10,height=10," +
|
||||
"scrollbars=no,resizable=yes,modal=yes,dependable=yes");
|
||||
Dialog._modal = dlg;
|
||||
Dialog._arguments = init;
|
||||
|
||||
// capture some window's events
|
||||
function capwin(w) {
|
||||
HTMLArea._addEvent(w, "click", Dialog._parentEvent);
|
||||
HTMLArea._addEvent(w, "mousedown", Dialog._parentEvent);
|
||||
HTMLArea._addEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
// release the captured events
|
||||
function relwin(w) {
|
||||
HTMLArea._removeEvent(w, "click", Dialog._parentEvent);
|
||||
HTMLArea._removeEvent(w, "mousedown", Dialog._parentEvent);
|
||||
HTMLArea._removeEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
capwin(window);
|
||||
// capture other frames
|
||||
for (var i = 0; i < window.frames.length; capwin(window.frames[i++]));
|
||||
// make up a function to be called when the Dialog ends.
|
||||
Dialog._return = function (val) {
|
||||
if (val && action) {
|
||||
action(val);
|
||||
}
|
||||
relwin(window);
|
||||
// capture other frames
|
||||
for (var i = 0; i < window.frames.length; relwin(window.frames[i++]));
|
||||
Dialog._modal = null;
|
||||
};
|
||||
};
|
16
htmlarea/examples/ExtendedDemo.html
Executable file
@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<head><title>Xinha Extended Example</title></head>
|
||||
<!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example frameset.
|
||||
--
|
||||
-- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/ExtendedDemo.html $
|
||||
-- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $
|
||||
-- $LastChangedRevision:962 $
|
||||
-- $LastChangedBy:ray $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<frameset cols="240,*">
|
||||
<frame src="files/ext_example-menu.php" name="menu" id="menu">
|
||||
<frame src="about:blank" name="body" id="body">
|
||||
</frameset>
|
||||
</html>
|
24
htmlarea/examples/Newbie.html
Executable file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>Xinha Newbie Guide</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<script type="text/javascript">
|
||||
_editor_url = "../" // (preferably absolute) URL (including trailing slash) where Xinha is installed
|
||||
_editor_lang = "en"; // And the language we need to use in the editor.
|
||||
_editor_skin = "silva"; // If you want use skin, add the name here
|
||||
</script>
|
||||
<script type="text/javascript" src="../XinhaLoader.js"></script>
|
||||
<script type="text/javascript" src="XinhaConfig.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form action="">
|
||||
<div>
|
||||
<textarea id="myTextArea" name="myTextArea" rows="25" cols="50" style="width: 100%"></textarea>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
20
htmlarea/examples/XinhaConfig.js
Normal file
@ -0,0 +1,20 @@
|
||||
/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */
|
||||
/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */
|
||||
/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/examples/XinhaConfig.js */
|
||||
xinha_editors=null;
|
||||
xinha_init=null;
|
||||
xinha_config=null;
|
||||
xinha_plugins=null;
|
||||
xinha_init=xinha_init?xinha_init:function(){
|
||||
xinha_editors=xinha_editors?xinha_editors:["myTextArea","anotherOne"];
|
||||
xinha_plugins=xinha_plugins?xinha_plugins:["CharacterMap","ContextMenu","SmartReplace","Stylist","Linker","SuperClean","TableOperations"];
|
||||
if(!Xinha.loadPlugins(xinha_plugins,xinha_init)){
|
||||
return;
|
||||
}
|
||||
xinha_config=xinha_config?xinha_config():new Xinha.Config();
|
||||
xinha_config.pageStyleSheets=[_editor_url+"examples/full_example.css"];
|
||||
xinha_editors=Xinha.makeEditors(xinha_editors,xinha_config,xinha_plugins);
|
||||
Xinha.startEditors(xinha_editors);
|
||||
};
|
||||
Xinha.addOnloadHandler(xinha_init);
|
||||
|
317
htmlarea/examples/files/Extended.html
Executable file
@ -0,0 +1,317 @@
|
||||
<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 getSelectedValue(el) {
|
||||
if(!el)
|
||||
return "";
|
||||
return el[el.selectedIndex].value;
|
||||
}
|
||||
|
||||
function setSelectedValue(el, val) {
|
||||
if(!el)
|
||||
return "";
|
||||
var ops = el.getElementsByTagName("option");
|
||||
for (var i = ops.length; --i >= 0;) {
|
||||
var op = ops[i];
|
||||
op.selected = (op.value == val);
|
||||
}
|
||||
el.value = val;
|
||||
}
|
||||
|
||||
function getCheckedValue(el) {
|
||||
if(!el)
|
||||
return "";
|
||||
var radioLength = el.length;
|
||||
if(radioLength == undefined)
|
||||
if(el.checked)
|
||||
return el.value;
|
||||
else
|
||||
return "false";
|
||||
for(var i = 0; i < radioLength; i++) {
|
||||
if(el[i].checked) {
|
||||
return el[i].value;
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function setCheckedValue(el, val) {
|
||||
if(!el)
|
||||
return;
|
||||
var radioLength = el.length;
|
||||
if(radioLength == undefined) {
|
||||
el.checked = (el.value == val.toString());
|
||||
return;
|
||||
}
|
||||
for(var i = 0; i < radioLength; i++) {
|
||||
el[i].checked = false;
|
||||
if(el[i].value == val.toString()) {
|
||||
el[i].checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
if (!window.dialogArguments && opener.Dialog._arguments)
|
||||
{
|
||||
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 placeFocus() {
|
||||
var bFound = false;
|
||||
// for each form
|
||||
for (f=0; f < document.forms.length; f++) {
|
||||
// for each element in each form
|
||||
for(i=0; i < document.forms[f].length; i++) {
|
||||
// if it's not a hidden element
|
||||
if (document.forms[f][i].type != "hidden") {
|
||||
// and it's not disabled
|
||||
if (document.forms[f][i].disabled != true) {
|
||||
// set the focus to it
|
||||
document.forms[f][i].focus();
|
||||
var bFound = true;
|
||||
}
|
||||
}
|
||||
// if found in this element, stop looking
|
||||
if (bFound == true)
|
||||
break;
|
||||
}
|
||||
// if found in this form, stop looking
|
||||
if (bFound == true)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
function Init() {
|
||||
__dlg_init();
|
||||
var param = window.dialogArguments;
|
||||
if(param) {
|
||||
var el;
|
||||
for (var field in param) {
|
||||
//alert(field + '="' + param[field] + '"');
|
||||
el = document.getElementById(field);
|
||||
if (el.tagName.toLowerCase()=="input"){
|
||||
if ((el.type.toLowerCase()=="radio") || (el.type.toLowerCase()=="checkbox")){
|
||||
setCheckedValue(el, param[field]);
|
||||
} else {
|
||||
el.value = param[field];
|
||||
}
|
||||
} else if (el.tagName.toLowerCase()=="select"){
|
||||
setSelectedValue(el, param[field]);
|
||||
} else if (el.tagName.toLowerCase()=="textarea"){
|
||||
el.value = param[field];
|
||||
}
|
||||
}
|
||||
}
|
||||
placeFocus();
|
||||
};
|
||||
|
||||
// pass data back to the calling window
|
||||
function onOK() {
|
||||
var param = new Object();
|
||||
var el = document.getElementsByTagName('input');
|
||||
for (var i=0; i<el.length;i++){
|
||||
if ((el[i].type.toLowerCase()=="radio") || (el[i].type.toLowerCase()=="checkbox")){
|
||||
if (getCheckedValue(el[i])!=''){
|
||||
param[el[i].id] = getCheckedValue(el[i]);
|
||||
}
|
||||
} else {
|
||||
param[el[i].id] = el[i].value;
|
||||
}
|
||||
}
|
||||
el = document.getElementsByTagName('select');
|
||||
for (var i=0; i<el.length;i++){
|
||||
param[el[i].id] = getSelectedValue(el[i]);
|
||||
}
|
||||
el = document.getElementsByTagName('textarea');
|
||||
for (var i=0; i<el.length;i++){
|
||||
param[el[i].id] = el[i].value;
|
||||
}
|
||||
__dlg_close(param);
|
||||
return false;
|
||||
};
|
||||
|
||||
function onCancel() {
|
||||
__dlg_close(null);
|
||||
return false;
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
label { width: 16em; float: left; padding: 2px 5px; text-align: right; }
|
||||
br { clear: both; }
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="dialog" onload="Init(); window.resizeTo(420, 820);">
|
||||
<div class="title">Settings</div>
|
||||
<form action="" method="get">
|
||||
<fieldset>
|
||||
<legend>Xinha options</legend>
|
||||
<label for="width">Editor width:</label>
|
||||
<input type="text" name="width" id="width" title="Allowed values are 'auto', 'toolbar' or a numeric value followed by 'px'." /><br />
|
||||
<label for="height">Editor height:</label>
|
||||
<input type="text" name="height" id="height" title="Allowed values are 'auto' or a numeric value followed by 'px'." /><br />
|
||||
<label for="sizeIncludesBars">Size includes bars</label>
|
||||
<input type="checkbox" name="sizeIncludesBars" id="sizeIncludesBars" value="true" title="Specifies whether the toolbar should be included in the size, or are extra to it." /><br />
|
||||
<label for="sizeIncludesPanels">Size includes panels</label>
|
||||
<input type="checkbox" name="sizeIncludesPanels" id="sizeIncludesPanels" value="true" title="Specifies whether the panels should be included in the size, or are extra to it." /><br />
|
||||
<label for="statusBar">Status Bar</label>
|
||||
<input type="checkbox" name="statusBar" id="statusBar" value="true" title="Enable creation of the status bar?" /><br />
|
||||
<label for="htmlareaPaste">Htmlarea Paste</label>
|
||||
<input type="checkbox" name="htmlareaPaste" id="htmlareaPaste" value="true" title="Intercept ^V and use the Xinha paste command" /><br />
|
||||
<label for="mozParaHandler">Mozilla Parameter Handler:</label>
|
||||
<select name="mozParaHandler" id="mozParaHandler" title="Gecko only: Let the built-in routine for handling the return key decide if to enter br or p tags or use a custom implementation.">
|
||||
<option value="built-in">built-in</option>
|
||||
<option value="dirty">dirty</option>
|
||||
<option value="best">best</option>
|
||||
</select><br />
|
||||
<label for="getHtmlMethod">GetHtml Method:</label>
|
||||
<select name="getHtmlMethod" id="getHtmlMethod" title="This determines the method how the HTML output is generated.">
|
||||
<option value="DOMwalk">DOMwalk</option>
|
||||
<option value="TransformInnerHTML">TransformInnerHTML</option>
|
||||
</select><br />
|
||||
<label for="undoSteps">Undo steps:</label>
|
||||
<input type="text" name="undoSteps" id="undoSteps" title="Maximum size of the undo queue." /><br />
|
||||
<label for="undoTimeout">Undo Timeout:</label>
|
||||
<input type="text" name="undoTimeout" id="undoTimeout" title="The time interval at which undo samples are taken, default: 500 (1/2 sec)." /><br />
|
||||
<label for="changeJustifyWithDirection">change justify with direction</label>
|
||||
<input type="checkbox" name="changeJustifyWithDirection" id="changeJustifyWithDirection" value="true" title="Set this to true if you want to explicitly right-justify when setting the text direction to right-to-left" /><br />
|
||||
<label for="fullPage">full Page</label>
|
||||
<input type="checkbox" name="fullPage" id="fullPage" value="true" title="If true then Xinha will retrieve the full HTML, starting with the HTML-tag." /><br />
|
||||
<label for="pageStyle">Page style:</label>
|
||||
<textarea name="pageStyle" id="pageStyle" title="Raw style definitions included in the edited document"></textarea>
|
||||
<!-- pageStyleSheets -->
|
||||
<label for="baseHref">Base href:</label>
|
||||
<input type="text" name="baseHref" id="baseHref" title="specify a base href for relative links" /><br />
|
||||
<label for="expandRelativeUrl">expand relative Url</label>
|
||||
<input type="checkbox" name="expandRelativeUrl" id="expandRelativeUrl" value="true" title="If true, relative URLs (../) will be made absolute"/><br />
|
||||
<label for="stripBaseHref">Strip base href</label>
|
||||
<input type="checkbox" name="stripBaseHref" id="stripBaseHref" value="true" title="We can strip the server part out of URL to make/leave them semi-absolute" /><br />
|
||||
<label for="stripSelfNamedAnchors">Strip self named anchors</label>
|
||||
<input type="checkbox" name="stripSelfNamedAnchors" id="stripSelfNamedAnchors" value="true" title="We can strip the url of the editor page from named links" /><br />
|
||||
<label for="only7BitPrintablesInURLs">only 7bit printables in URLs</label>
|
||||
<input type="checkbox" name="only7BitPrintablesInURLs" id="only7BitPrintablesInURLs" value="true" title="In URLs all characters above ASCII value 127 have to be encoded using % codes" /><br />
|
||||
<label for="sevenBitClean">7bit Clean</label>
|
||||
<input type="checkbox" name="sevenBitClean" id="sevenBitClean" value="true" title="If you are putting the HTML written in Xinha into an email you might want it to be 7-bit characters only." /><br />
|
||||
<label for="killWordOnPaste">kill Word on paste</label>
|
||||
<input type="checkbox" name="killWordOnPaste" id="killWordOnPaste" value="true" title="Set to true if you want Word code to be cleaned upon Paste." /><br />
|
||||
<label for="makeLinkShowsTarget">make Link Shows Target</label>
|
||||
<input type="checkbox" name="makeLinkShowsTarget" id="makeLinkShowsTarget" value="true" title="Enable the 'Target' field in the Make Link dialog." /><br />
|
||||
<label for="flowToolbars">flow toolbars</label>
|
||||
<input type="checkbox" name="flowToolbars" id="flowToolbars" value="true" /><br />
|
||||
<label for="stripScripts">strip Scripts</label>
|
||||
<input type="checkbox" name="stripScripts" id="stripScripts" value="true" title="Set to false if you want to allow JavaScript in the content" /><br />
|
||||
<label for="showLoading">show loading</label>
|
||||
<input type="checkbox" name="showLoading" id="showLoading" value="true" /><br />
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="CharacterMapOptions" class="options">
|
||||
<legend>CharacterMap options</legend>
|
||||
<label for="CharacterMapMode">Mode :</label>
|
||||
<select id="CharacterMapMode" name="CharacterMapMode">
|
||||
<option value="popup">popup</option>
|
||||
<option value="panel">panel</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="ListTypeOptions" class="options">
|
||||
<legend>ListType options</legend>
|
||||
<label class="ListTypeMode">Mode :</label>
|
||||
<select id="ListTypeMode" name="ListTypeMode">
|
||||
<option value="toolbar">toolbar</option>
|
||||
<option value="panel">panel</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="CharCounterOptions" class="options">
|
||||
<legend>CharCounter options</legend>
|
||||
<label for="showChar">show Char :</label>
|
||||
<input type="checkbox" name="showChar" id="showChar" value="true" /><br />
|
||||
<label for="showWord">show Word :</label>
|
||||
<input type="checkbox" name="showWord" id="showWord" value="true" /><br />
|
||||
<label for="showHtml">show Html :</label>
|
||||
<input type="checkbox" name="showHtml" id="showHtml" value="true" /><br />
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<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>
|
40
htmlarea/examples/files/custom.css
Executable file
@ -0,0 +1,40 @@
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- CSS plugin example CSS file. This file is used by full_example.js
|
||||
-- when the CSS plugin is included in an auto-generated example.
|
||||
-- @TODO Make this CSS more useful.
|
||||
--
|
||||
-- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/custom.css $
|
||||
-- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $
|
||||
-- $LastChangedRevision:962 $
|
||||
-- $LastChangedBy:ray $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
body { background-color: #234; color: #dd8; font-family: tahoma; font-size: 12px; }
|
||||
|
||||
a:link, a:visited { color: #8cf; }
|
||||
a:hover { color: #ff8; }
|
||||
|
||||
h1 { background-color: #456; color: #ff8; padding: 2px 5px; border: 1px solid; border-color: #678 #012 #012 #678; }
|
||||
|
||||
/* syntax highlighting (used by the first combo defined for the CSS plugin) */
|
||||
|
||||
pre { margin: 0px 1em; padding: 5px 1em; background-color: #000; border: 1px dotted #02d; border-left: 2px solid #04f; }
|
||||
.code { color: #f5deb3; }
|
||||
.string { color: #00ffff; }
|
||||
.comment { color: #8fbc8f; }
|
||||
.variable-name { color: #fa8072; }
|
||||
.type { color: #90ee90; font-weight: bold; }
|
||||
.reference { color: #ee82ee; }
|
||||
.preprocessor { color: #faf; }
|
||||
.keyword { color: #ffffff; font-weight: bold; }
|
||||
.function-name { color: #ace; }
|
||||
.html-tag { font-weight: bold; }
|
||||
.html-helper-italic { font-style: italic; }
|
||||
.warning { color: #ffa500; font-weight: bold; }
|
||||
.html-helper-bold { font-weight: bold; }
|
||||
|
||||
/* info combo */
|
||||
|
||||
.quote { font-style: italic; color: #ee9; }
|
||||
.highlight { background-color: yellow; color: #000; }
|
||||
.deprecated { text-decoration: line-through; color: #aaa; }
|
56
htmlarea/examples/files/dynamic.css
Executable file
@ -0,0 +1,56 @@
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- DynamicCSS plugin example CSS file. Used by full_example.js
|
||||
-- when the DynamicCSS plugin is included in an auto-generated example.
|
||||
-- @TODO Make this CSS more useful.
|
||||
--
|
||||
-- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/dynamic.css $
|
||||
-- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $
|
||||
-- $LastChangedRevision:962 $
|
||||
-- $LastChangedBy:ray $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
p {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 9pt;
|
||||
FONT-WEIGHT: normal;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
p.p1 {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 11pt;
|
||||
FONT-WEIGHT: normal;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
p.p2 {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 13pt;
|
||||
FONT-WEIGHT: normal;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
div {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 9pt;
|
||||
FONT-WEIGHT: bold;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
div.div1 {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 11pt;
|
||||
FONT-WEIGHT: bold;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
div.div2 {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 13pt;
|
||||
FONT-WEIGHT: bold;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
.quote { font-style: italic; color: #ee9; }
|
||||
.highlight { background-color: yellow; color: #000; }
|
||||
.deprecated { text-decoration: line-through; color: #aaa; }
|
206
htmlarea/examples/files/ext_example-body.html
Executable file
@ -0,0 +1,206 @@
|
||||
<!DOCTYPE BHTML PUBLIC "-//BC//DTD BHTML 3.2 Final//EN">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<!-- ---------------------------------------------------------------------
|
||||
-- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/ext_example-body.html $
|
||||
-- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $
|
||||
-- $LastChangedRevision:962 $
|
||||
-- $LastChangedBy:ray $
|
||||
------------------------------------------------------------------------ -->
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Example of Xinha</title>
|
||||
<link rel="stylesheet" type="text/css" 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;
|
||||
}
|
||||
// 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\/files\/ext_example-body\.html.*/, '')
|
||||
//moved _editor_lang & _editor_skin to init function because of error thrown when frame document not ready
|
||||
</script>
|
||||
|
||||
<!-- Load up the actual editor core -->
|
||||
<script type="text/javascript" src="../../XinhaCore.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() {
|
||||
window.onerror = showError;
|
||||
document.onerror = showError;
|
||||
|
||||
var f = top.frames["menu"].document.forms["fsettings"];
|
||||
_editor_lang = f.lang[f.lang.selectedIndex].value; // the language we need to use in the editor.
|
||||
_editor_skin = f.skin[f.skin.selectedIndex].value; // the skin we use in the editor
|
||||
// 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(!Xinha.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.
|
||||
settings = top.frames["menu"].settings;
|
||||
xinha_config = new Xinha.Config();
|
||||
xinha_config.width = settings.width;
|
||||
xinha_config.height = settings.height;
|
||||
xinha_config.sizeIncludesBars = settings.sizeIncludesBars;
|
||||
xinha_config.sizeIncludesPanels = settings.sizeIncludesPanels;
|
||||
xinha_config.statusBar = settings.statusBar;
|
||||
xinha_config.htmlareaPaste = settings.htmlareaPaste;
|
||||
xinha_config.mozParaHandler = settings.mozParaHandler;
|
||||
xinha_config.getHtmlMethod = settings.getHtmlMethod;
|
||||
xinha_config.undoSteps = settings.undoSteps;
|
||||
xinha_config.undoTimeout = settings.undoTimeout;
|
||||
xinha_config.changeJustifyWithDirection = settings.changeJustifyWithDirection;
|
||||
xinha_config.fullPage = settings.fullPage;
|
||||
xinha_config.pageStyle = settings.pageStyle;
|
||||
xinha_config.baseHref = settings.baseHref;
|
||||
xinha_config.expandRelativeUrl = settings.expandRelativeUrl;
|
||||
xinha_config.stripBaseHref = settings.stripBaseHref;
|
||||
xinha_config.stripSelfNamedAnchors = settings.stripSelfNamedAnchors;
|
||||
xinha_config.only7BitPrintablesInURLs = settings.only7BitPrintablesInURLs;
|
||||
xinha_config.sevenBitClean = settings.sevenBitClean;
|
||||
xinha_config.killWordOnPaste = settings.killWordOnPaste;
|
||||
xinha_config.makeLinkShowsTarget = settings.makeLinkShowsTarget;
|
||||
xinha_config.flowToolbars = settings.flowToolbars;
|
||||
xinha_config.stripScripts = settings.stripScripts;
|
||||
xinha_config.flowToolbars = settings.flowToolbars;
|
||||
xinha_config.showLoading = settings.showLoading;
|
||||
xinha_config.pageStyleSheets = ["own.css"];
|
||||
|
||||
// Create a default configuration for the plugins
|
||||
if (typeof CharCounter != 'undefined') {
|
||||
xinha_config.CharCounter.showChar = settings.showChar;
|
||||
xinha_config.CharCounter.showWord = settings.showWord;
|
||||
xinha_config.CharCounter.showHtml = settings.showHtml;
|
||||
}
|
||||
|
||||
if(typeof CharacterMap != 'undefined') xinha_config.CharacterMap.mode = settings.CharacterMapMode;
|
||||
if(typeof ListType != 'undefined') xinha_config.ListType.mode = settings.ListTypeMode;
|
||||
if(typeof CSS != 'undefined') xinha_config.pageStyle = xinha_config.pageStyle + "\n" + "@import url(custom.css);";
|
||||
if(typeof DynamicCSS != 'undefined') xinha_config.pageStyle = "@import url(dynamic.css);";
|
||||
if(typeof Filter != 'undefined') xinha_config.Filters = ["Word", "Paragraph"];
|
||||
|
||||
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 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" } ]
|
||||
}
|
||||
}
|
||||
|
||||
// First create editors for the textareas.
|
||||
// You can do this in two ways, either
|
||||
// xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
// if you want all the editor objects to use the same set of plugins, OR;
|
||||
// xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config);
|
||||
// xinha_editors['myTextarea0'].registerPlugins(['Stylist']);
|
||||
// xinha_editors['myTextarea1'].registerPlugins(['CSS','SuperClean']);
|
||||
// if you want to use a different set of plugins for one or more of the editors.
|
||||
xinha_editors = Xinha.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['myTextarea0'].config.width = '640px';
|
||||
// xinha_editors['myTextarea0'].config.height = '480px';
|
||||
|
||||
// Finally we "start" the editors, this turns the textareas into Xinha editors.
|
||||
Xinha.startEditors(xinha_editors);
|
||||
}
|
||||
|
||||
// javascript submit handler
|
||||
// this shows how to create a javascript submit button that works with the htmleditor.
|
||||
submitHandler = function(formname) {
|
||||
var form = document.getElementById(formname);
|
||||
// in order for the submit to work both of these methods have to be called.
|
||||
form.onsubmit();
|
||||
window.parent.menu.document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value;
|
||||
form.submit();
|
||||
return true;
|
||||
}
|
||||
|
||||
window.onload = xinha_init;
|
||||
// window.onunload = Xinha.collectGarbageForIE;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form id="to_submit" name="to_submit" method="post" action="ext_example-dest.php">
|
||||
<div id="editors_here"></div>
|
||||
<button type="button" onclick="submitHandler('to_submit');">Submit</button>
|
||||
<textarea id="errors" name="errors" style="width:100%; height:100px; background:silver;"></textarea><!-- style="display:none;" -->
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
23
htmlarea/examples/files/ext_example-dest.php
Executable 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>
|
357
htmlarea/examples/files/ext_example-menu.php
Executable file
@ -0,0 +1,357 @@
|
||||
<?php
|
||||
$LocalPluginPath = dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'plugins';
|
||||
$LocalSkinPath = dirname(dirname(dirname(__File__))).DIRECTORY_SEPARATOR.'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:http://svn.xinha.webfactional.com/trunk/examples/files/ext_example-menu.php $
|
||||
-- $LastChangedDate:2008-04-12 23:23:17 +0200 (Sa, 12 Apr 2008) $
|
||||
-- $LastChangedRevision:993 $
|
||||
-- $LastChangedBy:ray $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<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">
|
||||
var settings = null;
|
||||
settings = {
|
||||
width: "auto",
|
||||
height: "auto",
|
||||
sizeIncludesBars: true,
|
||||
sizeIncludesPanels: true,
|
||||
statusBar: true,
|
||||
htmlareaPaste: false,
|
||||
mozParaHandler: "best",
|
||||
getHtmlMethod: "DOMwalk",
|
||||
undoSteps: 20,
|
||||
undoTimeout: 500,
|
||||
changeJustifyWithDirection: false,
|
||||
fullPage: false,
|
||||
pageStyle: "",
|
||||
baseHref: null,
|
||||
expandRelativeUrl: true,
|
||||
stripBaseHref: true,
|
||||
stripSelfNamedAnchors: true,
|
||||
only7BitPrintablesInURLs: true,
|
||||
sevenBitClean: false,
|
||||
killWordOnPaste: true,
|
||||
makeLinkShowsTarget: true,
|
||||
flowToolbars: true,
|
||||
stripScripts: false,
|
||||
CharacterMapMode: "popup",
|
||||
ListTypeMode: "toolbar",
|
||||
showLoading: false,
|
||||
showChar: true,
|
||||
showWord: true,
|
||||
showHtml: true
|
||||
};
|
||||
|
||||
|
||||
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
|
||||
}
|
||||
if (typeof window.showModalDialog == 'function')
|
||||
{
|
||||
Dialog._return = action;
|
||||
var r = window.showModalDialog(url, init, "dialogheight=10;dialogheight=10;scroll=yes;resizable=yes");
|
||||
}
|
||||
else
|
||||
{
|
||||
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) {
|
||||
// Xinha._addEvent(w, "click", Dialog._parentEvent);
|
||||
// Xinha._addEvent(w, "mousedown", Dialog._parentEvent);
|
||||
// Xinha._addEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
// release the captured events
|
||||
function relwin(w) {
|
||||
// Xinha._removeEvent(w, "click", Dialog._parentEvent);
|
||||
// Xinha._removeEvent(w, "mousedown", Dialog._parentEvent);
|
||||
// Xinha._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 () {
|
||||
Dialog("Extended.html", function(param) {
|
||||
if(param) {
|
||||
settings.width = param["width"];
|
||||
settings.height = param["height"];
|
||||
settings.sizeIncludesBars = (param["sizeIncludesBars"]=="true");
|
||||
settings.sizeIncludesPanels = (param["sizeIncludesPanels"]=="true");
|
||||
settings.statusBar = (param["statusBar"]=="true");
|
||||
settings.htmlareaPaste = (param["htmlareaPaste"]=="true");
|
||||
settings.mozParaHandler = param["mozParaHandler"];
|
||||
settings.getHtmlMethod = param["getHtmlMethod"];
|
||||
settings.undoSteps = param["undoSteps"];
|
||||
settings.undoTimeout = param["undoTimeout"];
|
||||
settings.changeJustifyWithDirection = (param["changeJustifyWithDirection"]=="true");
|
||||
settings.fullPage = (param["fullPage"]=="true");
|
||||
settings.pageStyle = param["pageStyle"];
|
||||
settings.baseHref = param["baseHref"];
|
||||
settings.expandRelativeUrl = (param["expandRelativeUrl"]=="true");
|
||||
settings.stripBaseHref = (param["stripBaseHref"]=="true");
|
||||
settings.stripSelfNamedAnchors = (param["stripSelfNamedAnchors"]=="true");
|
||||
settings.only7BitPrintablesInURLs = (param["only7BitPrintablesInURLs"]=="true");
|
||||
settings.sevenBitClean = (param["sevenBitClean"]=="true");
|
||||
settings.killWordOnPaste = (param["killWordOnPaste"]=="true");
|
||||
settings.makeLinkShowsTarget = (param["makeLinkShowsTarget"]=="true");
|
||||
settings.flowToolbars = (param["flowToolbars"]=="true");
|
||||
settings.stripScripts = (param["stripScripts"]=="true");
|
||||
settings.CharacterMapMode = param["CharacterMapMode"];
|
||||
settings.ListTypeMode = param["ListTypeMode"];
|
||||
settings.showLoading = (param["showLoading"]=="true");
|
||||
settings.showChar = (param["showChar"]=="true");
|
||||
settings.showWord = (param["showWord"]=="true");
|
||||
settings.showHtml = (param["showHtml"]=="true");
|
||||
}
|
||||
}, settings );
|
||||
}
|
||||
|
||||
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" name="fsettings" id="fsettings">
|
||||
<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>
|
||||
<option value="ja">Japanese</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>'."\n";
|
||||
}
|
||||
}
|
||||
$d->close();
|
||||
?>
|
||||
</select>
|
||||
</label>
|
||||
<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);
|
||||
$dir_array = array();
|
||||
while (false !== ($entry = $d->read())) //not a dot file or directory
|
||||
{ if(substr($entry,0,1) != '.')
|
||||
{ $dir_array[] = $entry;
|
||||
}
|
||||
}
|
||||
$d->close();
|
||||
sort($dir_array);
|
||||
foreach ($dir_array as $entry)
|
||||
{ echo '<label><input type="checkbox" name="plugins" id="plugins" value="' . $entry . '"> ' . $entry . '</label>'."\n";
|
||||
}
|
||||
|
||||
?>
|
||||
</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>
|
48
htmlarea/examples/files/full_example.css
Executable file
@ -0,0 +1,48 @@
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example CSS file. This is ripped from Trac ;)
|
||||
--
|
||||
-- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/full_example.css $
|
||||
-- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $
|
||||
-- $LastChangedRevision:962 $
|
||||
-- $LastChangedBy:ray $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
margin: 10px;
|
||||
}
|
||||
body, th, td {
|
||||
font: normal 13px verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;
|
||||
}
|
||||
h1, h2, h3, h4 {
|
||||
font-family: arial,verdana,'Bitstream Vera Sans',helvetica,sans-serif;
|
||||
font-weight: bold;
|
||||
letter-spacing: -0.018em;
|
||||
}
|
||||
h1 { font-size: 21px; margin: .15em 1em 0 0 }
|
||||
h2 { font-size: 16px; margin: 2em 0 .5em; }
|
||||
h3 { font-size: 14px; margin: 1.5em 0 .5em; }
|
||||
hr { border: none; border-top: 1px solid #ccb; margin: 2em 0; }
|
||||
address { font-style: normal }
|
||||
img { border: none }
|
||||
|
||||
:link, :visited {
|
||||
text-decoration: none;
|
||||
color: #b00;
|
||||
border-bottom: 1px dotted #bbb;
|
||||
}
|
||||
:link:hover, :visited:hover {
|
||||
background-color: #eee;
|
||||
color: #555;
|
||||
}
|
||||
h1 :link, h1 :visited ,h2 :link, h2 :visited, h3 :link, h3 :visited,
|
||||
h4 :link, h4 :visited, h5 :link, h5 :visited, h6 :link, h6 :visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.area_holder
|
||||
{
|
||||
margin:10px;
|
||||
}
|
||||
label {font-size: 11px;}
|
31
htmlarea/examples/files/stylist.css
Executable file
@ -0,0 +1,31 @@
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Stylist plugin example CSS file. Used by full_example.js
|
||||
-- when the Stylist plugin is included in an auto-generated example.
|
||||
--
|
||||
-- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/stylist.css $
|
||||
-- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $
|
||||
-- $LastChangedRevision:962 $
|
||||
-- $LastChangedBy:ray $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
.bluetext
|
||||
{
|
||||
color:blue;
|
||||
}
|
||||
|
||||
p.blue_paragraph
|
||||
{
|
||||
color:darkblue;
|
||||
}
|
||||
|
||||
li.green_list_item
|
||||
{
|
||||
color:green;
|
||||
}
|
||||
|
||||
h1.webdings_lvl_1
|
||||
{
|
||||
font-family:webdings;
|
||||
}
|
||||
|
||||
img.polaroid { border:1px solid black; background-color:white; padding:10px; padding-bottom:30px; }
|
54
htmlarea/examples/simple_example.html
Executable file
@ -0,0 +1,54 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Simple example of Xinha</title>
|
||||
<script type="text/javascript">
|
||||
var _editor_url = document.location.href.replace(/examples\/simple_example\.html.*/, '')
|
||||
|
||||
var _editor_lang = "en";
|
||||
</script>
|
||||
<!-- Load up the actual editor core -->
|
||||
<script type="text/javascript" src="../XinhaCore.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var xinha_plugins =
|
||||
[
|
||||
'Linker'
|
||||
];
|
||||
var xinha_editors =
|
||||
[
|
||||
'myTextArea',
|
||||
'anotherOne'
|
||||
];
|
||||
|
||||
function xinha_init()
|
||||
{
|
||||
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
|
||||
var xinha_config = new Xinha.Config();
|
||||
|
||||
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
|
||||
Xinha.startEditors(xinha_editors);
|
||||
}
|
||||
Xinha.addOnloadHandler(xinha_init);
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<form onsubmit="alert(this.myTextArea.value); return false;">
|
||||
<textarea id="myTextArea" name="myTextArea" rows="25" cols="80">
|
||||
<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>
|
||||
</textarea>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
195
htmlarea/examples/testbed.html
Executable file
@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example usage. This file shows how a developer might make use of
|
||||
-- Xinha, it forms the primary example file for the entire Xinha project.
|
||||
-- This file can be copied and used as a template for development by the
|
||||
-- end developer who should simply removed the area indicated at the bottom
|
||||
-- of the file to remove the auto-example-generating code and allow for the
|
||||
-- use of the file as a boilerplate.
|
||||
--
|
||||
-- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/testbed.html $
|
||||
-- $LastChangedDate:2008-04-12 14:39:04 +0200 (Sa, 12 Apr 2008) $
|
||||
-- $LastChangedRevision:987 $
|
||||
-- $LastChangedBy:ray $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<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">
|
||||
// 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\/.*/, '')
|
||||
_editor_lang = "en"; // And the language we need to use in the editor.
|
||||
</script>
|
||||
|
||||
<!-- Load up the actual editor core -->
|
||||
<script type="text/javascript" src="../XinhaCore.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
xinha_editors = null;
|
||||
xinha_init = null;
|
||||
xinha_config = null;
|
||||
xinha_plugins = null;
|
||||
|
||||
// This contains the names of textareas we will make into Xinha editors
|
||||
xinha_init = xinha_init ? xinha_init : function()
|
||||
{
|
||||
/** STEP 1 ***************************************************************
|
||||
* First, 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 = xinha_plugins ? xinha_plugins :
|
||||
[
|
||||
'CharacterMap', 'SpellChecker', 'Linker'
|
||||
];
|
||||
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
|
||||
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
|
||||
/** STEP 2 ***************************************************************
|
||||
* Now, what are the names of the textareas you will be turning into
|
||||
* editors?
|
||||
************************************************************************/
|
||||
|
||||
xinha_editors = xinha_editors ? xinha_editors :
|
||||
[
|
||||
'myTextArea'
|
||||
];
|
||||
|
||||
/** STEP 3 ***************************************************************
|
||||
* We create a default configuration to be used by all the editors.
|
||||
* If you wish to configure some of the editors differently this will be
|
||||
* done in step 4.
|
||||
*
|
||||
* If you want to modify the default config you might do something like this.
|
||||
*
|
||||
* xinha_config = new Xinha.Config();
|
||||
* xinha_config.width = 640;
|
||||
* xinha_config.height = 420;
|
||||
*
|
||||
*************************************************************************/
|
||||
|
||||
xinha_config = xinha_config ? xinha_config : new Xinha.Config();
|
||||
xinha_config.fullPage = true;
|
||||
xinha_config.CharacterMap.mode = 'panel';
|
||||
/*
|
||||
// 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'});
|
||||
*/
|
||||
/** STEP 3 ***************************************************************
|
||||
* We first create editors for the textareas.
|
||||
*
|
||||
* You can do this in two ways, either
|
||||
*
|
||||
* xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
*
|
||||
* if you want all the editor objects to use the same set of plugins, OR;
|
||||
*
|
||||
* xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config);
|
||||
* xinha_editors['myTextArea'].registerPlugins(['Stylist']);
|
||||
* 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 = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
|
||||
/** STEP 4 ***************************************************************
|
||||
* 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 = 640;
|
||||
* xinha_editors.myTextArea.config.height = 480;
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
|
||||
/** STEP 5 ***************************************************************
|
||||
* Finally we "start" the editors, this turns the textareas into
|
||||
* Xinha editors.
|
||||
************************************************************************/
|
||||
|
||||
Xinha.startEditors(xinha_editors);
|
||||
window.onload = null;
|
||||
}
|
||||
|
||||
window.onload = xinha_init;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<form action="javascript:void(0);" id="editors_here" onsubmit="alert(this.myTextArea.value);">
|
||||
<div>
|
||||
<textarea id="myTextArea" name="myTextArea" style="width:100%;height:320px;">
|
||||
<html>
|
||||
<head>
|
||||
<title>Hello</title>
|
||||
<style type="text/css">
|
||||
li { color:red; }
|
||||
</style>
|
||||
</head>
|
||||
<body><span style="color:purple">
|
||||
<img src="../images/xinha_logo.gif" usemap="#m1">
|
||||
<map name="m1">
|
||||
<area shape="rect" coords="137,101,255,124" href="http://www.mydomain.com">
|
||||
</map>
|
||||
|
||||
<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. <span style="color:green">Aliquam </span> nisl. Nulla posuere neque non
|
||||
tellus. Morbi vel nibh. <font face="Arial"><font color="#009933">Cum sociis natoque</font></font> penatibus et magnis dis
|
||||
parturient montes, nascetur ridiculus mus. Nam nec wisi. In wisi.
|
||||
Curabitur pharetra bibendum lectus.
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li style="color:green"> 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>
|
||||
</span></body>
|
||||
</html>
|
||||
</textarea>
|
||||
|
||||
<input type="submit" /> <input type="reset" />
|
||||
</div>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
document.write(document.compatMode);
|
||||
</script>
|
||||
<div>
|
||||
<a href="#" onclick="xinha_editors.myTextArea.hidePanels();">Hide</a>
|
||||
<a href="#" onclick="xinha_editors.myTextArea.showPanels();">Show</a>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
2561
htmlarea/htmlarea.js
BIN
htmlarea/images/de/bold.gif
Executable file
After Width: | Height: | Size: 57 B |
BIN
htmlarea/images/de/italic.gif
Executable file
After Width: | Height: | Size: 63 B |
BIN
htmlarea/images/de/underline.gif
Executable file
After Width: | Height: | Size: 69 B |
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 76 B |
BIN
htmlarea/images/ed_align.gif
Executable file
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 61 B |
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 60 B |
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 60 B |
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 61 B |
BIN
htmlarea/images/ed_buttons_main.gif
Executable file
After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 134 B |
BIN
htmlarea/images/ed_clearfonts.gif
Executable file
After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 97 B |
Before Width: | Height: | Size: 67 B After Width: | Height: | Size: 50 B |
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 80 B |
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 57 B |
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 67 B |
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 66 B |
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 67 B |
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 67 B |
Before Width: | Height: | Size: 85 B After Width: | Height: | Size: 69 B |
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 55 B |
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 53 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 64 B |
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 125 B |
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 84 B |
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 84 B |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 89 B After Width: | Height: | Size: 72 B |
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 72 B |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 76 B |
BIN
htmlarea/images/ed_overwrite.gif
Executable file
After Width: | Height: | Size: 100 B |
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 126 B |
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 67 B |
Before Width: | Height: | Size: 88 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 118 B After Width: | Height: | Size: 105 B |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 128 B |
BIN
htmlarea/images/ed_saveas.gif
Executable file
After Width: | Height: | Size: 104 B |
BIN
htmlarea/images/ed_selectall.gif
Executable file
After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 88 B |
BIN
htmlarea/images/ed_splitblock.gif
Executable file
After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 81 B After Width: | Height: | Size: 67 B |
BIN
htmlarea/images/ed_word_cleaner.gif
Executable file
After Width: | Height: | Size: 652 B |
BIN
htmlarea/images/fr/bold.gif
Executable file
After Width: | Height: | Size: 128 B |
BIN
htmlarea/images/fr/strikethrough.gif
Executable file
After Width: | Height: | Size: 131 B |
BIN
htmlarea/images/fr/underline.gif
Executable file
After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 87 B |
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 87 B |
Before Width: | Height: | Size: 121 B After Width: | Height: | Size: 104 B |
BIN
htmlarea/images/insertfilelink.gif
Executable file
After Width: | Height: | Size: 148 B |
BIN
htmlarea/images/insertmacro.png
Executable file
After Width: | Height: | Size: 638 B |
BIN
htmlarea/images/tidy.gif
Executable file
After Width: | Height: | Size: 375 B |
BIN
htmlarea/images/toggle_borders.gif
Executable file
After Width: | Height: | Size: 73 B |
BIN
htmlarea/images/xinha_logo.gif
Executable file
After Width: | Height: | Size: 2.9 KiB |
@ -1,210 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>HTMLArea -- the free, customizable online editor</title>
|
||||
|
||||
<style type="text/css">
|
||||
html, body { font-family: georgia,"times new roman",serif; background-color: #fff; color: #000; }
|
||||
.label { text-align: right; padding-right: 0.3em; }
|
||||
.bline { border-bottom: 1px solid #aaa; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div style="float: right; border: 1px solid #aaa; background-color: #eee; padding: 3px; margin-left: 10px; margin-bottom: 10px;">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td class="label">Version:</td><td><% $version %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Release:</td><td><% $release %> (<a href="release-notes.html">release notes</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label bline">Compiled at:</td><td class="bline"><% $time %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">SourceForge page:</td><td><a href="http://sf.net/projects/itools-htmlarea/">http://sf.net/projects/itools-htmlarea/</a></td>
|
||||
</table>
|
||||
</div>
|
||||
<h1>HTMLArea -- the free<br/>customizable online editor</h1>
|
||||
|
||||
<p>
|
||||
HTMLArea is a free, customizable online editor. It works inside your
|
||||
browser. It uses a non-standard feature implemented in Internet
|
||||
Explorer 5.5 or better for Windows and Mozilla 1.3 or better (any
|
||||
platform), therefore it will only work in one of these browsers.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
HTMLArea is copyright <a
|
||||
href="http://interactivetools.com">InteractiveTools.com</a> and <a
|
||||
href="http://dynarch.com">Dynarch.com</a> and it is
|
||||
released under a BSD-style license. HTMLArea is created and developed
|
||||
upto version 2.03 by InteractiveTools.com. Version 3.0 developed by
|
||||
<a href="http://dynarch.com/mishoo/">Mihai Bazon</a> for
|
||||
InteractiveTools. It contains code sponsored by third-party companies as well.
|
||||
Please see our About Box for details about who sponsored what plugins.
|
||||
</p>
|
||||
|
||||
<h2><a href="examples/">Online demos</a></h2>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><a href="examples/core.html">HTMLArea standard</a> -- contains the core
|
||||
editor.</li>
|
||||
|
||||
<li><a href="examples/table-operations.html">HTMLArea + tables</a> --
|
||||
loads the <tt>TableOperations</tt> plugin which provides some extra
|
||||
editing features for tables.</li>
|
||||
|
||||
<li><a href="examples/spell-checker.html">HTMLArea + spell checher</a>
|
||||
-- loads the <tt>SpellChecker</tt> plugin which provides what its
|
||||
name says: a spell checker. This one requires additional support on
|
||||
the server-side.</li>
|
||||
|
||||
<li><a href="examples/full-page.html">HTMLArea Full HTML Editor</a> --
|
||||
loads the <tt>FullPage</tt> plugin which allows you to edit a full
|
||||
HTML page, including <title>, <!DOCTYPE...> and some
|
||||
other options.</li>
|
||||
|
||||
<li><a href="examples/context-menu.html">HTMLArea with Context
|
||||
Menu</a> -- this plugin provides a nice and useful context menu.</li>
|
||||
|
||||
<li><a href="examples/fully-loaded.html">HTMLArea fully loaded</a> --
|
||||
all of the above. ;-)</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2>Installation</h2>
|
||||
|
||||
<p>
|
||||
Installation is (or should be) easy. You need to unpack the ZIP file
|
||||
in a directory accessible through your webserver. Supposing you
|
||||
unpack in your <tt>DocumentRoot</tt> and your <tt>DocumentRoot</tt> is
|
||||
<tt>/var/www/html</tt> as in a standard RedHat installation, you need
|
||||
to acomplish the following steps: (the example is for a Unix-like
|
||||
operating system)
|
||||
</p>
|
||||
|
||||
<pre style="margin-left: 2em"
|
||||
>
|
||||
cd /var/www/html
|
||||
unzip /path/to/archive/<% $basename %>.zip
|
||||
mv <% $basename %> htmlarea
|
||||
find htmlarea/ -type f -exec chmod 644 {} \;
|
||||
find htmlarea/ -type d -exec chmod 755 {} \;
|
||||
find htmlarea/ -name "*.cgi" -exec chmod 755 {} \;</pre>
|
||||
|
||||
<p>
|
||||
<strong>Notes.</strong> You may chose to symlink "htmlarea" to "<%
|
||||
$basename %>", in which case your server needs to be configured to
|
||||
"<tt>FollowSymLinks</tt>". You need to make sure that *.cgi files are
|
||||
interpreted as CGI scripts. If you want to use the SpellChecker
|
||||
plugin you need to have a recent version of Perl installed (I
|
||||
recommend 5.8.0) on the server, and the module Text::Aspell, available
|
||||
from CPAN. More info in "<a
|
||||
href="plugins/SpellChecker/readme-tech.html">plugins/SpellChecker/readme-tech.html</a>".
|
||||
</p>
|
||||
|
||||
<p>About how to setup your pages to use the editor, please read the
|
||||
[outdated yet generally valid] <a
|
||||
href="reference.html">documentation</a>.</p>
|
||||
|
||||
<h2>Status and links</h2>
|
||||
|
||||
<p>HTMLArea has reached version 3.0. As of this version, it
|
||||
supports:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>Customizable toolbar</li>
|
||||
|
||||
<li>Easy internationalization</li>
|
||||
|
||||
<li>Plugin-based infrastructure</li>
|
||||
|
||||
<li>Delivers W3-compliant HTML (with few exceptions)</li>
|
||||
|
||||
<li>Has a subset of Microsoft Word's keyboard shortcuts</li>
|
||||
|
||||
<li>Full-screen editor</li>
|
||||
|
||||
<li>Advanced table operations (by external plugin
|
||||
"TableOperations")</li>
|
||||
|
||||
<li>Spell checker (by external plugin "SpellChecker")</li>
|
||||
|
||||
<li>probably more... ;-)</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>We have a <a
|
||||
href="http://sourceforge.net/projects/itools-htmlarea/">project page</a>
|
||||
at <a href="http://sourceforge.net">SourceForge.net</a>. There you can
|
||||
also find out <a href="http://sourceforge.net/cvs/?group_id=69750">how
|
||||
to retrieve the code from CVS</a>, or you can <a
|
||||
href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/itools-htmlarea">browse
|
||||
the CVS online</a>. We also have a <a
|
||||
href="http://sourceforge.net/tracker/?atid=525656&group_id=69750&func=browse">bug
|
||||
system</a>, a <a
|
||||
href="http://sourceforge.net/tracker/?atid=525658&group_id=69750&func=browse">patch
|
||||
tracking system</a> and a <a
|
||||
href="http://sourceforge.net/tracker/?atid=525659&group_id=69750&func=browse">feature
|
||||
request page</a>.</p>
|
||||
|
||||
<p>We invite you to say everything you want about HTMLArea <a
|
||||
href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;">on the
|
||||
forums</a> at InteractiveTools.com. There you should also find the
|
||||
latest news.</p>
|
||||
|
||||
<p>Sometimes I post news about the latest developments on <a
|
||||
href="http://dynarch.com/mishoo/">my personal homepage</a>.</p>
|
||||
|
||||
<h2>"It doesn't work, what's wrong?"</h2>
|
||||
|
||||
<p>If it doesn't work, you have several options:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>Post a message to the forum. Describe your problem in as much
|
||||
detail as possible. Include errors you might find in the JavaScript
|
||||
console (if you are a Mozilla user), or errors displayed by IE (though
|
||||
they're most of the times useless).</li>
|
||||
|
||||
<li>If you're positive that you discovered a bug in HTMLArea then feel
|
||||
free to fill a bug report in our bug system. If you have the time you
|
||||
should check to see if a similar bug was reported or not; it might be
|
||||
fixed already in the CVS ;-) If you're positive that a similar bug was
|
||||
not yet reported, do fill a bug report and please include as much
|
||||
detail as possible, such as your browser, OS, errors from JavaScript
|
||||
console, etc.</li>
|
||||
|
||||
<li>If you want a new feature to be implemented, post it on the
|
||||
features request and someone will hopefully take care of it.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>You can <a href="mailto:mihai_bazon@yahoo.com">contact me directly</a>
|
||||
<em>only</em> if you want to pay me for implementing custom features to
|
||||
HTMLArea. If you want to sponsor these features (that is, allow them to
|
||||
get back into the public HTMLArea distribution) I'll be cheaper. ;-)</p>
|
||||
|
||||
<hr />
|
||||
<address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address>
|
||||
<!-- Created: Sun Aug 3 14:11:26 EEST 2003 -->
|
||||
<!-- hhmts start --> Last modified: Wed Jul 14 13:20:53 CEST 2004 <!-- hhmts end -->
|
||||
<!-- doc-lang: English -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%ARGS>
|
||||
$project => 'HTMLArea'
|
||||
$version => '3.0'
|
||||
$release => 'rc1'
|
||||
$basename => 'HTMLArea-3.0-rc1'
|
||||
</%ARGS>
|
||||
|
||||
<%INIT>;
|
||||
use POSIX qw(strftime);
|
||||
my $time = strftime '%b %e, %Y [%H:%M] GMT', gmtime;
|
||||
</%INIT>
|
@ -1,36 +1,29 @@
|
||||
// I18N constants -- Chinese Big-5
|
||||
// I18N constants -- UTF-8
|
||||
// by Dave Lo -- dlo@interactivetools.com
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "b5",
|
||||
|
||||
tooltips: {
|
||||
bold: "粗體",
|
||||
italic: "斜體",
|
||||
underline: "底線",
|
||||
strikethrough: "刪除線",
|
||||
subscript: "下標",
|
||||
superscript: "上標",
|
||||
justifyleft: "位置靠左",
|
||||
justifycenter: "位置居中",
|
||||
justifyright: "位置靠右",
|
||||
justifyfull: "位置左右平等",
|
||||
orderedlist: "順序清單",
|
||||
unorderedlist: "無序清單",
|
||||
outdent: "減小行前空白",
|
||||
indent: "加寬行前空白",
|
||||
forecolor: "文字顏色",
|
||||
backcolor: "背景顏色",
|
||||
horizontalrule: "水平線",
|
||||
createlink: "插入連結",
|
||||
insertimage: "插入圖形",
|
||||
inserttable: "插入表格",
|
||||
htmlmode: "切換HTML原始碼",
|
||||
popupeditor: "放大",
|
||||
about: "關於 HTMLArea",
|
||||
help: "說明",
|
||||
textindicator: "字體例子"
|
||||
}
|
||||
};
|
||||
{
|
||||
"Bold": "粗體",
|
||||
"Italic": "斜體",
|
||||
"Underline": "底線",
|
||||
"Strikethrough": "刪除線",
|
||||
"Subscript": "下標",
|
||||
"Superscript": "上標",
|
||||
"Justify Left": "位置靠左",
|
||||
"Justify Center": "位置居中",
|
||||
"Justify Right": "位置靠右",
|
||||
"Justify Full": "位置左右平等",
|
||||
"Ordered List": "順序清單",
|
||||
"Bulleted List": "無序清單",
|
||||
"Decrease Indent": "減小行前空白",
|
||||
"Increase Indent": "加寬行前空白",
|
||||
"Font Color": "文字顏色",
|
||||
"Background Color": "背景顏色",
|
||||
"Horizontal Rule": "水平線",
|
||||
"Insert Web Link": "插入連結",
|
||||
"Insert/Modify Image": "插入圖形",
|
||||
"Insert Table": "插入表格",
|
||||
"Toggle HTML Source": "切換HTML原始碼",
|
||||
"Enlarge Editor": "放大",
|
||||
"About this editor": "關於 Xinha",
|
||||
"Help using editor": "說明",
|
||||
"Current style": "字體例子"
|
||||
}
|
||||
|
@ -3,81 +3,54 @@
|
||||
// LANG: "ch", ENCODING: UTF-8
|
||||
// Samuel Stone, http://stonemicro.com/
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "ch",
|
||||
|
||||
tooltips: {
|
||||
bold: "粗體",
|
||||
italic: "斜體",
|
||||
underline: "底線",
|
||||
strikethrough: "刪線",
|
||||
subscript: "下標",
|
||||
superscript: "上標",
|
||||
justifyleft: "靠左",
|
||||
justifycenter: "居中",
|
||||
justifyright: "靠右",
|
||||
justifyfull: "整齊",
|
||||
orderedlist: "順序清單",
|
||||
unorderedlist: "無序清單",
|
||||
outdent: "伸排",
|
||||
indent: "縮排",
|
||||
forecolor: "文字顏色",
|
||||
backcolor: "背景顏色",
|
||||
horizontalrule: "水平線",
|
||||
createlink: "插入連結",
|
||||
insertimage: "插入圖像",
|
||||
inserttable: "插入表格",
|
||||
htmlmode: "切換HTML原始碼",
|
||||
popupeditor: "伸出編輯系統",
|
||||
about: "關於 HTMLArea",
|
||||
help: "說明",
|
||||
textindicator: "字體例子",
|
||||
undo: "回原",
|
||||
redo: "重来",
|
||||
cut: "剪制选项",
|
||||
copy: "复制选项",
|
||||
paste: "贴上",
|
||||
lefttoright: "从左到右",
|
||||
righttoleft: "从右到左"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "好",
|
||||
"cancel": "取消"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "途徑",
|
||||
"TEXT_MODE": "你在用純字編輯方式. 用 [<>] 按鈕轉回 所見即所得 編輯方式.",
|
||||
|
||||
"IE-sucks-full-screen" :
|
||||
// translate here
|
||||
"整頁式在Internet Explorer 上常出問題, " +
|
||||
"因為這是 Internet Explorer 的無名問題,我們無法解決。" +
|
||||
"你可能看見一些垃圾,或遇到其他問題。" +
|
||||
"我們已警告了你. 如果要轉到 正頁式 請按 好.",
|
||||
|
||||
"Moz-Clipboard" :
|
||||
"Unprivileged scripts cannot access Cut/Copy/Paste programatically " +
|
||||
"for security reasons. Click OK to see a technical note at mozilla.org " +
|
||||
"which shows you how to allow a script to access the clipboard."
|
||||
},
|
||||
|
||||
dialogs: {
|
||||
"Cancel" : "取消",
|
||||
"Insert/Modify Link" : "插入/改寫連結",
|
||||
"New window (_blank)" : "新窗户(_blank)",
|
||||
"None (use implicit)" : "無(use implicit)",
|
||||
"OK" : "好",
|
||||
"Other" : "其他",
|
||||
"Same frame (_self)" : "本匡 (_self)",
|
||||
"Target:" : "目標匡:",
|
||||
"Title (tooltip):" : "主題 (tooltip):",
|
||||
"Top frame (_top)" : "上匡 (_top)",
|
||||
"URL:" : "網址:",
|
||||
"You must enter the URL where this link points to" : "你必須輸入你要连结的網址"
|
||||
}
|
||||
};
|
||||
{
|
||||
"Bold": "粗體",
|
||||
"Italic": "斜體",
|
||||
"Underline": "底線",
|
||||
"Strikethrough": "刪線",
|
||||
"Subscript": "下標",
|
||||
"Superscript": "上標",
|
||||
"Justify Left": "靠左",
|
||||
"Justify Center": "居中",
|
||||
"Justify Right": "靠右",
|
||||
"Justify Full": "整齊",
|
||||
"Ordered List": "順序清單",
|
||||
"Bulleted List": "無序清單",
|
||||
"Decrease Indent": "伸排",
|
||||
"Increase Indent": "縮排",
|
||||
"Font Color": "文字顏色",
|
||||
"Background Color": "背景顏色",
|
||||
"Horizontal Rule": "水平線",
|
||||
"Insert Web Link": "插入連結",
|
||||
"Insert/Modify Image": "插入圖像",
|
||||
"Insert Table": "插入表格",
|
||||
"Toggle HTML Source": "切換HTML原始碼",
|
||||
"Enlarge Editor": "伸出編輯系統",
|
||||
"About this editor": "關於 Xinha",
|
||||
"Help using editor": "說明",
|
||||
"Current style": "字體例子",
|
||||
"Undoes your last action": "回原",
|
||||
"Redoes your last action": "重来",
|
||||
"Cut selection": "剪制选项",
|
||||
"Copy selection": "复制选项",
|
||||
"Paste from clipboard": "贴上",
|
||||
"Direction left to right": "从左到右",
|
||||
"Direction right to left": "从右到左",
|
||||
"OK": "好",
|
||||
"Cancel": "取消",
|
||||
"Path": "途徑",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "你在用純字編輯方式. 用 [<>] 按鈕轉回 所見即所得 編輯方式.",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "整頁式在Internet Explorer 上常出問題, 因為這是 Internet Explorer 的無名問題,我們無法解決。你可能看見一些垃圾,或遇到其他問題。我們已警告了你. 如果要轉到 正頁式 請按 好.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.",
|
||||
"Cancel": "取消",
|
||||
"Insert/Modify Link": "插入/改寫連結",
|
||||
"New window (_blank)": "新窗户(_blank)",
|
||||
"None (use implicit)": "無(use implicit)",
|
||||
"Other": "其他",
|
||||
"Same frame (_self)": "本匡 (_self)",
|
||||
"Target:": "目標匡:",
|
||||
"Title (tooltip):": "主題 (tooltip):",
|
||||
"Top frame (_top)": "上匡 (_top)",
|
||||
"URL:": "網址:",
|
||||
"You must enter the URL where this link points to": "你必須輸入你要连结的網址"
|
||||
}
|
||||
|
@ -1,63 +0,0 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "cz", ENCODING: UTF-8 | ISO-8859-2
|
||||
// Author: Jiri Löw, <jirilow@jirilow.com>
|
||||
|
||||
// FOR TRANSLATORS:
|
||||
//
|
||||
// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
|
||||
// (at least a valid email address)
|
||||
//
|
||||
// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
|
||||
// (if this is not possible, please include a comment
|
||||
// that states what encoding is necessary.)
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "cz",
|
||||
|
||||
tooltips: {
|
||||
bold: "Tučně",
|
||||
italic: "Kurzíva",
|
||||
underline: "Podtržení",
|
||||
strikethrough: "Přeškrtnutí",
|
||||
subscript: "Dolní index",
|
||||
superscript: "Horní index",
|
||||
justifyleft: "Zarovnat doleva",
|
||||
justifycenter: "Na střed",
|
||||
justifyright: "Zarovnat doprava",
|
||||
justifyfull: "Zarovnat do stran",
|
||||
orderedlist: "Seznam",
|
||||
unorderedlist: "Odrážky",
|
||||
outdent: "Předsadit",
|
||||
indent: "Odsadit",
|
||||
forecolor: "Barva písma",
|
||||
hilitecolor: "Barva pozadí",
|
||||
horizontalrule: "Vodorovná čára",
|
||||
createlink: "Vložit odkaz",
|
||||
insertimage: "Vložit obrázek",
|
||||
inserttable: "Vložit tabulku",
|
||||
htmlmode: "Přepnout HTML",
|
||||
popupeditor: "Nové okno editoru",
|
||||
about: "O této aplikaci",
|
||||
showhelp: "Nápověda aplikace",
|
||||
textindicator: "Zvolený styl",
|
||||
undo: "Vrátí poslední akci",
|
||||
redo: "Opakuje poslední akci",
|
||||
cut: "Vyjmout",
|
||||
copy: "Kopírovat",
|
||||
paste: "Vložit"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Zrušit"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Cesta",
|
||||
"TEXT_MODE": "Jste v TEXTOVÉM REŽIMU. Použijte tlačítko [<>] pro přepnutí do WYSIWIG."
|
||||
}
|
||||
};
|
@ -1,6 +1,6 @@
|
||||
// I18N constants
|
||||
// I18N constants
|
||||
|
||||
// LANG: "cz", ENCODING: UTF-8 | ISO-8859-2
|
||||
// LANG: "cz", ENCODING: UTF-8
|
||||
// Author: Jiri Löw, <jirilow@jirilow.com>
|
||||
|
||||
// FOR TRANSLATORS:
|
||||
@ -12,52 +12,39 @@
|
||||
// (if this is not possible, please include a comment
|
||||
// that states what encoding is necessary.)
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "cz",
|
||||
|
||||
tooltips: {
|
||||
bold: "Tučně",
|
||||
italic: "Kurzíva",
|
||||
underline: "Podtržení",
|
||||
strikethrough: "Přeškrtnutí",
|
||||
subscript: "Dolní index",
|
||||
superscript: "Horní index",
|
||||
justifyleft: "Zarovnat doleva",
|
||||
justifycenter: "Na střed",
|
||||
justifyright: "Zarovnat doprava",
|
||||
justifyfull: "Zarovnat do stran",
|
||||
orderedlist: "Seznam",
|
||||
unorderedlist: "Odrážky",
|
||||
outdent: "Předsadit",
|
||||
indent: "Odsadit",
|
||||
forecolor: "Barva písma",
|
||||
hilitecolor: "Barva pozadí",
|
||||
horizontalrule: "Vodorovná čára",
|
||||
createlink: "Vložit odkaz",
|
||||
insertimage: "Vložit obrázek",
|
||||
inserttable: "Vložit tabulku",
|
||||
htmlmode: "Přepnout HTML",
|
||||
popupeditor: "Nové okno editoru",
|
||||
about: "O této aplikaci",
|
||||
showhelp: "Nápověda aplikace",
|
||||
textindicator: "Zvolený styl",
|
||||
undo: "Vrátí poslední akci",
|
||||
redo: "Opakuje poslední akci",
|
||||
cut: "Vyjmout",
|
||||
copy: "Kopírovat",
|
||||
paste: "Vložit"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Zrušit"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Cesta",
|
||||
"TEXT_MODE": "Jste v TEXTOVÉM REŽIMU. Použijte tlačítko [<>] pro přepnutí do WYSIWIG."
|
||||
}
|
||||
};
|
||||
{
|
||||
"Bold": "Tučně",
|
||||
"Italic": "Kurzíva",
|
||||
"Underline": "Podtržení",
|
||||
"Strikethrough": "Přeškrtnutí",
|
||||
"Subscript": "Dolní index",
|
||||
"Superscript": "Horní index",
|
||||
"Justify Left": "Zarovnat doleva",
|
||||
"Justify Center": "Na střed",
|
||||
"Justify Right": "Zarovnat doprava",
|
||||
"Justify Full": "Zarovnat do stran",
|
||||
"Ordered List": "Seznam",
|
||||
"Bulleted List": "Odrážky",
|
||||
"Decrease Indent": "Předsadit",
|
||||
"Increase Indent": "Odsadit",
|
||||
"Font Color": "Barva písma",
|
||||
"Background Color": "Barva pozadí",
|
||||
"Horizontal Rule": "Vodorovná čára",
|
||||
"Insert Web Link": "Vložit odkaz",
|
||||
"Insert/Modify Image": "Vložit obrázek",
|
||||
"Insert Table": "Vložit tabulku",
|
||||
"Toggle HTML Source": "Přepnout HTML",
|
||||
"Enlarge Editor": "Nové okno editoru",
|
||||
"About this editor": "O této aplikaci",
|
||||
"Help using editor": "Nápověda aplikace",
|
||||
"Current style": "Zvolený styl",
|
||||
"Undoes your last action": "Vrátí poslední akci",
|
||||
"Redoes your last action": "Opakuje poslední akci",
|
||||
"Cut selection": "Vyjmout",
|
||||
"Copy selection": "Kopírovat",
|
||||
"Paste from clipboard": "Vložit",
|
||||
"OK": "OK",
|
||||
"Cancel": "Zrušit",
|
||||
"Path": "Cesta",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Jste v TEXTOVÉM REŽIMU. Použijte tlačítko [<>] pro přepnutí do WYSIWIG."
|
||||
}
|
||||
|
@ -1,38 +0,0 @@
|
||||
// danish version for htmlArea v3.0 - Alpha Release
|
||||
// - translated by rene<rene@laerke.net>
|
||||
// term´s and licenses are equal to htmlarea!
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "da",
|
||||
|
||||
tooltips: {
|
||||
bold: "Fed",
|
||||
italic: "Kursiv",
|
||||
underline: "Understregning",
|
||||
strikethrough: "Overstregning ",
|
||||
subscript: "Sænket skrift",
|
||||
superscript: "Hævet skrift",
|
||||
justifyleft: "Venstrejuster",
|
||||
justifycenter: "Centrer",
|
||||
justifyright: "Højrejuster",
|
||||
justifyfull: "Lige margener",
|
||||
orderedlist: "Opstilling med tal",
|
||||
unorderedlist: "Opstilling med punkttegn",
|
||||
outdent: "Formindsk indrykning",
|
||||
indent: "Forøg indrykning",
|
||||
forecolor: "Skriftfarve",
|
||||
backcolor: "Baggrundsfarve",
|
||||
horizontalrule: "Horisontal linie",
|
||||
createlink: "Indsæt hyperlink",
|
||||
insertimage: "Indsæt billede",
|
||||
inserttable: "Indsæt tabel",
|
||||
htmlmode: "HTML visning",
|
||||
popupeditor: "Vis editor i popup",
|
||||
about: "Om htmlarea",
|
||||
help: "Hjælp",
|
||||
textindicator: "Anvendt stil"
|
||||
}
|
||||
};
|
@ -1,38 +1,30 @@
|
||||
// danish version for htmlArea v3.0 - Alpha Release
|
||||
// - translated by rene<rene@laerke.net>
|
||||
// term´s and licenses are equal to htmlarea!
|
||||
// LANG: "da", ENCODING: UTF-8
|
||||
// Author: rene, <rene@laerke.net>
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "da",
|
||||
|
||||
tooltips: {
|
||||
bold: "Fed",
|
||||
italic: "Kursiv",
|
||||
underline: "Understregning",
|
||||
strikethrough: "Overstregning ",
|
||||
subscript: "Sænket skrift",
|
||||
superscript: "Hævet skrift",
|
||||
justifyleft: "Venstrejuster",
|
||||
justifycenter: "Centrer",
|
||||
justifyright: "Højrejuster",
|
||||
justifyfull: "Lige margener",
|
||||
orderedlist: "Opstilling med tal",
|
||||
unorderedlist: "Opstilling med punkttegn",
|
||||
outdent: "Formindsk indrykning",
|
||||
indent: "Forøg indrykning",
|
||||
forecolor: "Skriftfarve",
|
||||
backcolor: "Baggrundsfarve",
|
||||
horizontalrule: "Horisontal linie",
|
||||
createlink: "Indsæt hyperlink",
|
||||
insertimage: "Indsæt billede",
|
||||
inserttable: "Indsæt tabel",
|
||||
htmlmode: "HTML visning",
|
||||
popupeditor: "Vis editor i popup",
|
||||
about: "Om htmlarea",
|
||||
help: "Hjælp",
|
||||
textindicator: "Anvendt stil"
|
||||
}
|
||||
};
|
||||
{
|
||||
"Bold": "Fed",
|
||||
"Italic": "Kursiv",
|
||||
"Underline": "Understregning",
|
||||
"Strikethrough": "Overstregning ",
|
||||
"Subscript": "Sænket skrift",
|
||||
"Superscript": "Hævet skrift",
|
||||
"Justify Left": "Venstrejuster",
|
||||
"Justify Center": "Centrer",
|
||||
"Justify Right": "Højrejuster",
|
||||
"Justify Full": "Lige margener",
|
||||
"Ordered List": "Opstilling med tal",
|
||||
"Bulleted List": "Opstilling med punkttegn",
|
||||
"Decrease Indent": "Formindsk indrykning",
|
||||
"Increase Indent": "Forøg indrykning",
|
||||
"Font Color": "Skriftfarve",
|
||||
"Background Color": "Baggrundsfarve",
|
||||
"Horizontal Rule": "Horisontal linie",
|
||||
"Insert Web Link": "Indsæt hyperlink",
|
||||
"Insert/Modify Image": "Indsæt billede",
|
||||
"Insert Table": "Indsæt tabel",
|
||||
"Toggle HTML Source": "HTML visning",
|
||||
"Enlarge Editor": "Vis editor i popup",
|
||||
"About this editor": "Om htmlarea",
|
||||
"Help using editor": "Hjælp",
|
||||
"Current style": "Anvendt stil"
|
||||
}
|
||||
|
@ -1,80 +0,0 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "de", ENCODING: ISO-8859-1 for the german umlaut!
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "de",
|
||||
|
||||
tooltips: {
|
||||
bold: "Fett",
|
||||
italic: "Kursiv",
|
||||
underline: "Unterstrichen",
|
||||
strikethrough: "Durchgestrichen",
|
||||
subscript: "Hochgestellt",
|
||||
superscript: "Tiefgestellt",
|
||||
justifyleft: "Linksbündig",
|
||||
justifycenter: "Zentriert",
|
||||
justifyright: "Rechtsbündig",
|
||||
justifyfull: "Blocksatz",
|
||||
orderedlist: "Nummerierung",
|
||||
unorderedlist: "Aufzählungszeichen",
|
||||
outdent: "Einzug verkleinern",
|
||||
indent: "Einzug vergrößern",
|
||||
forecolor: "Schriftfarbe",
|
||||
backcolor: "Hindergrundfarbe",
|
||||
hilitecolor: "Hintergrundfarbe",
|
||||
horizontalrule: "Horizontale Linie",
|
||||
inserthorizontalrule: "Horizontale Linie",
|
||||
createlink: "Hyperlink einfügen",
|
||||
insertimage: "Bild einfügen",
|
||||
inserttable: "Tabelle einfügen",
|
||||
htmlmode: "HTML Modus",
|
||||
popupeditor: "Editor im Popup öffnen",
|
||||
about: "Über htmlarea",
|
||||
help: "Hilfe",
|
||||
showhelp: "Hilfe",
|
||||
textindicator: "Derzeitiger Stil",
|
||||
undo: "Rückgängig",
|
||||
redo: "Wiederholen",
|
||||
cut: "Ausschneiden",
|
||||
copy: "Kopieren",
|
||||
paste: "Einfügen aus der Zwischenablage",
|
||||
lefttoright: "Textrichtung von Links nach Rechts",
|
||||
righttoleft: "Textrichtung von Rechts nach Links",
|
||||
removeformat: "Formatierung entfernen"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Abbrechen"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Pfad",
|
||||
"TEXT_MODE": "Sie sind im Text-Modus. Benutzen Sie den [<>] Knopf um in den visuellen Modus (WYSIWIG) zu gelangen.",
|
||||
|
||||
"Moz-Clipboard" :
|
||||
"Aus Sicherheitsgründen dürfen Skripte normalerweise nicht programmtechnisch 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."
|
||||
},
|
||||
|
||||
dialogs: {
|
||||
"OK": "OK",
|
||||
"Cancel": "Abbrechen",
|
||||
"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"
|
||||
}
|
||||
};
|
@ -1,80 +1,169 @@
|
||||
// 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",
|
||||
"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",
|
||||
"— format —": "— Format —",
|
||||
"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",
|
||||
|
||||
// LANG: "de", ENCODING: ISO-8859-1 for the german umlaut!
|
||||
//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. Benutzen Sie bitte die entsprechenden Tastatur-Kommandos (Strg + x/c/v).",
|
||||
|
||||
HTMLArea.I18N = {
|
||||
"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.",
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "de",
|
||||
"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",
|
||||
|
||||
tooltips: {
|
||||
bold: "Fett",
|
||||
italic: "Kursiv",
|
||||
underline: "Unterstrichen",
|
||||
strikethrough: "Durchgestrichen",
|
||||
subscript: "Hochgestellt",
|
||||
superscript: "Tiefgestellt",
|
||||
justifyleft: "Linksbündig",
|
||||
justifycenter: "Zentriert",
|
||||
justifyright: "Rechtsbündig",
|
||||
justifyfull: "Blocksatz",
|
||||
orderedlist: "Nummerierung",
|
||||
unorderedlist: "Aufzählungszeichen",
|
||||
outdent: "Einzug verkleinern",
|
||||
indent: "Einzug vergrößern",
|
||||
forecolor: "Schriftfarbe",
|
||||
backcolor: "Hindergrundfarbe",
|
||||
hilitecolor: "Hintergrundfarbe",
|
||||
horizontalrule: "Horizontale Linie",
|
||||
inserthorizontalrule: "Horizontale Linie",
|
||||
createlink: "Hyperlink einfügen",
|
||||
insertimage: "Bild einfügen",
|
||||
inserttable: "Tabelle einfügen",
|
||||
htmlmode: "HTML Modus",
|
||||
popupeditor: "Editor im Popup öffnen",
|
||||
about: "Über htmlarea",
|
||||
help: "Hilfe",
|
||||
showhelp: "Hilfe",
|
||||
textindicator: "Derzeitiger Stil",
|
||||
undo: "Rückgängig",
|
||||
redo: "Wiederholen",
|
||||
cut: "Ausschneiden",
|
||||
copy: "Kopieren",
|
||||
paste: "Einfügen aus der Zwischenablage",
|
||||
lefttoright: "Textrichtung von Links nach Rechts",
|
||||
righttoleft: "Textrichtung von Rechts nach Links",
|
||||
removeformat: "Formatierung entfernen"
|
||||
},
|
||||
"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 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",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "Tabelle 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",
|
||||
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait!": "Editor wird geladen. Bitte warten !",
|
||||
"Loading plugin $plugin" : "Plugin $plugin wird geladen",
|
||||
"Register plugin $plugin" : "Plugin $plugin wird registriert",
|
||||
"Constructing object": "Objekt wird generiert",
|
||||
"Generate Xinha framework": "Xinha Framework wird generiert",
|
||||
"Init editor size":"Größe wird berechnet",
|
||||
"Create Toolbar": "Werkzeugleiste wird generiert",
|
||||
"Create Statusbar" : "Statusleiste wird generiert",
|
||||
"Register right panel" : "Rechtes Panel wird generiert",
|
||||
"Register left panel" : "Linkes Panel wird generiert",
|
||||
"Register bottom panel" : "Unteres Panel wird generiert",
|
||||
"Register top panel" : "Oberes Panel wird generiert",
|
||||
"Finishing" : "Laden wird abgeschlossen",
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Abbrechen"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Pfad",
|
||||
"TEXT_MODE": "Sie sind im Text-Modus. Benutzen Sie den [<>] Knopf um in den visuellen Modus (WYSIWIG) zu gelangen.",
|
||||
|
||||
"Moz-Clipboard" :
|
||||
"Aus Sicherheitsgründen dürfen Skripte normalerweise nicht programmtechnisch 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."
|
||||
},
|
||||
|
||||
dialogs: {
|
||||
"OK": "OK",
|
||||
"Cancel": "Abbrechen",
|
||||
"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"
|
||||
}
|
||||
};
|
||||
// ColorPicker
|
||||
"Click a color..." : "Farbe wählen",
|
||||
"Sample" : "Beispiel",
|
||||
"Web Safe: " : "Web Safe: ",
|
||||
"Color: " : "Farbe: "
|
||||
};
|
@ -1,6 +1,6 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "ee", ENCODING: UTF-8 | ISO-8859-1
|
||||
// LANG: "ee", ENCODING: UTF-8
|
||||
// Author: Martin Raie, <albertvill@hot.ee>
|
||||
|
||||
// FOR TRANSLATORS:
|
||||
@ -12,52 +12,39 @@
|
||||
// (if this is not possible, please include a comment
|
||||
// that states what encoding is necessary.)
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "ee",
|
||||
|
||||
tooltips: {
|
||||
bold: "Paks",
|
||||
italic: "Kursiiv",
|
||||
underline: "Allakriipsutatud",
|
||||
strikethrough: "Läbikriipsutatud",
|
||||
subscript: "Allindeks",
|
||||
superscript: "Ülaindeks",
|
||||
justifyleft: "Joonda vasakule",
|
||||
justifycenter: "Joonda keskele",
|
||||
justifyright: "Joonda paremale",
|
||||
justifyfull: "Rööpjoonda",
|
||||
orderedlist: "Nummerdus",
|
||||
unorderedlist: "Täpploend",
|
||||
outdent: "Vähenda taanet",
|
||||
indent: "Suurenda taanet",
|
||||
forecolor: "Fondi värv",
|
||||
hilitecolor: "Tausta värv",
|
||||
inserthorizontalrule: "Horisontaaljoon",
|
||||
createlink: "Lisa viit",
|
||||
insertimage: "Lisa pilt",
|
||||
inserttable: "Lisa tabel",
|
||||
htmlmode: "HTML/tavaline vaade",
|
||||
popupeditor: "Suurenda toimeti aken",
|
||||
about: "Teave toimeti kohta",
|
||||
showhelp: "Spikker",
|
||||
textindicator: "Kirjastiil",
|
||||
undo: "Võta tagasi",
|
||||
redo: "Tee uuesti",
|
||||
cut: "Lõika",
|
||||
copy: "Kopeeri",
|
||||
paste: "Kleebi"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Loobu"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Path",
|
||||
"TEXT_MODE": "Sa oled tekstireziimis. Kasuta nuppu [<>] lülitamaks tagasi WYSIWIG reziimi."
|
||||
}
|
||||
};
|
||||
{
|
||||
"Bold": "Paks",
|
||||
"Italic": "Kursiiv",
|
||||
"Underline": "Allakriipsutatud",
|
||||
"Strikethrough": "Läbikriipsutatud",
|
||||
"Subscript": "Allindeks",
|
||||
"Superscript": "Ülaindeks",
|
||||
"Justify Left": "Joonda vasakule",
|
||||
"Justify Center": "Joonda keskele",
|
||||
"Justify Right": "Joonda paremale",
|
||||
"Justify Full": "Rööpjoonda",
|
||||
"Ordered List": "Nummerdus",
|
||||
"Bulleted List": "Täpploend",
|
||||
"Decrease Indent": "Vähenda taanet",
|
||||
"Increase Indent": "Suurenda taanet",
|
||||
"Font Color": "Fondi värv",
|
||||
"Background Color": "Tausta värv",
|
||||
"Horizontal Rule": "Horisontaaljoon",
|
||||
"Insert Web Link": "Lisa viit",
|
||||
"Insert/Modify Image": "Lisa pilt",
|
||||
"Insert Table": "Lisa tabel",
|
||||
"Toggle HTML Source": "HTML/tavaline vaade",
|
||||
"Enlarge Editor": "Suurenda toimeti aken",
|
||||
"About this editor": "Teave toimeti kohta",
|
||||
"Help using editor": "Spikker",
|
||||
"Current style": "Kirjastiil",
|
||||
"Undoes your last action": "Võta tagasi",
|
||||
"Redoes your last action": "Tee uuesti",
|
||||
"Cut selection": "Lõika",
|
||||
"Copy selection": "Kopeeri",
|
||||
"Paste from clipboard": "Kleebi",
|
||||
"OK": "OK",
|
||||
"Cancel": "Loobu",
|
||||
"Path": "Path",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Sa oled tekstireziimis. Kasuta nuppu [<>] lülitamaks tagasi WYSIWIG reziimi."
|
||||
}
|
||||
|
@ -1,75 +1,55 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "el", ENCODING: UTF-8 | ISO-8859-7
|
||||
// LANG: "el", ENCODING: UTF-8
|
||||
// Author: Dimitris Glezos, dimitris@glezos.com
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "el",
|
||||
|
||||
tooltips: {
|
||||
bold: "Έντονα",
|
||||
italic: "Πλάγια",
|
||||
underline: "Υπογραμμισμένα",
|
||||
strikethrough: "Διαγραμμένα",
|
||||
subscript: "Δείκτης",
|
||||
superscript: "Δείκτης",
|
||||
justifyleft: "Στοίχιση Αριστερά",
|
||||
justifycenter: "Στοίχιση Κέντρο",
|
||||
justifyright: "Στοίχιση Δεξιά",
|
||||
justifyfull: "Πλήρης Στοίχιση",
|
||||
orderedlist: "Αρίθμηση",
|
||||
unorderedlist: "Κουκκίδες",
|
||||
outdent: "Μείωση Εσοχής",
|
||||
indent: "Αύξηση Εσοχής",
|
||||
forecolor: "Χρώμα Γραμματοσειράς",
|
||||
hilitecolor: "Χρώμα Φόντου",
|
||||
horizontalrule: "Οριζόντια Γραμμή",
|
||||
createlink: "Εισαγωγή Συνδέσμου",
|
||||
insertimage: "Εισαγωγή/Τροποποίηση Εικόνας",
|
||||
inserttable: "Εισαγωγή Πίνακα",
|
||||
htmlmode: "Εναλλαγή σε/από HTML",
|
||||
popupeditor: "Μεγένθυνση επεξεργαστή",
|
||||
about: "Πληροφορίες",
|
||||
showhelp: "Βοήθεια",
|
||||
textindicator: "Παρών στυλ",
|
||||
undo: "Αναίρεση τελευταίας ενέργειας",
|
||||
redo: "Επαναφορά από αναίρεση",
|
||||
cut: "Αποκοπή",
|
||||
copy: "Αντιγραφή",
|
||||
paste: "Επικόλληση",
|
||||
lefttoright: "Κατεύθυνση αριστερά προς δεξιά",
|
||||
righttoleft: "Κατεύθυνση από δεξιά προς τα αριστερά"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Ακύρωση"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Διαδρομή",
|
||||
"TEXT_MODE": "Είστε σε TEXT MODE. Χρησιμοποιήστε το κουμπί [<>] για να επανέρθετε στο WYSIWIG.",
|
||||
|
||||
"IE-sucks-full-screen": "Η κατάσταση πλήρης οθόνης έχει προβλήματα με τον Internet Explorer, " +
|
||||
"λόγω σφαλμάτων στον ίδιο τον browser. Αν το σύστημα σας είναι Windows 9x " +
|
||||
"μπορεί και να χρειαστείτε reboot. Αν είστε σίγουροι, πατήστε ΟΚ."
|
||||
},
|
||||
|
||||
dialogs: {
|
||||
"Cancel" : "Ακύρωση",
|
||||
"Insert/Modify Link" : "Εισαγωγή/Τροποποίηση σύνδεσμου",
|
||||
"New window (_blank)" : "Νέο παράθυρο (_blank)",
|
||||
"None (use implicit)" : "Κανένα (χρήση απόλυτου)",
|
||||
"OK" : "Εντάξει",
|
||||
"Other" : "Αλλο",
|
||||
"Same frame (_self)" : "Ίδιο frame (_self)",
|
||||
"Target:" : "Target:",
|
||||
"Title (tooltip):" : "Τίτλος (tooltip):",
|
||||
"Top frame (_top)" : "Πάνω frame (_top)",
|
||||
"URL:" : "URL:",
|
||||
"You must enter the URL where this link points to" : "Πρέπει να εισάγετε το URL που οδηγεί αυτός ο σύνδεσμος"
|
||||
}
|
||||
};
|
||||
{
|
||||
"Bold": "ΞΞ½ΟΞΏΞ½Ξ±",
|
||||
"Italic": "Πλάγια",
|
||||
"Underline": "Ξ<>ΟΞΏΞ³ΟΞ±ΞΌΞΌΞΉΟΞΌΞΞ½Ξ±",
|
||||
"Strikethrough": "ΞΞΉΞ±Ξ³ΟΞ±ΞΌΞΌΞΞ½Ξ±",
|
||||
"Subscript": "ΞΡίκΟΞ·Ο",
|
||||
"Superscript": "ΞΡίκΟΞ·Ο",
|
||||
"Justify Left": "Ξ£ΟΞΏΞ―ΟΞΉΟΞ· ΞΟΞΉΟΟΞ΅ΟΞ¬",
|
||||
"Justify Center": "Ξ£ΟΞΏΞ―ΟΞΉΟΞ· ΞΞΞ½ΟΟΞΏ",
|
||||
"Justify Right": "Ξ£ΟΞΏΞ―ΟΞΉΟΞ· ΞΡξιά",
|
||||
"Justify Full": "Ξ Ξ»Ξ<C2BB>ΟΞ·Ο Ξ£ΟΞΏΞ―ΟΞΉΟΞ·",
|
||||
"Ordered List": "ΞΟΞ―ΞΈΞΌΞ·ΟΞ·",
|
||||
"Bulleted List": "ΞΞΏΟ
κκίδΡΟ",
|
||||
"Decrease Indent": "ΞΡίΟΟΞ· ΞΟΞΏΟΞ<C287>Ο",
|
||||
"Increase Indent": "ΞΟΞΎΞ·ΟΞ· ΞΟΞΏΟΞ<C287>Ο",
|
||||
"Font Color": "Ξ§ΟΟΞΌΞ± ΞΟΞ±ΞΌΞΌΞ±ΟΞΏΟΡιΟΞ¬Ο",
|
||||
"Background Color": "Ξ§ΟΟΞΌΞ± Ξ¦ΟΞ½ΟΞΏΟ
",
|
||||
"Horizontal Rule": "ΞΟΞΉΞΆΟΞ½ΟΞΉΞ± ΞΟΞ±ΞΌΞΌΞ<CE8C>",
|
||||
"Insert Web Link": "ΞΞΉΟΞ±Ξ³ΟΞ³Ξ<C2B3> Ξ£Ο
Ξ½Ξ΄ΞΟΞΌΞΏΟ
",
|
||||
"Insert/Modify Image": "ΞΞΉΟΞ±Ξ³ΟΞ³Ξ<C2B3>/Ξ<>ΟΞΏΟΞΏΟΞΏΞ―Ξ·ΟΞ· ΞΞΉΞΊΟΞ½Ξ±Ο",
|
||||
"Insert Table": "ΞΞΉΟΞ±Ξ³ΟΞ³Ξ<C2B3> Ξ Ξ―Ξ½Ξ±ΞΊΞ±",
|
||||
"Toggle HTML Source": "ΞναλλαγΞ<C2B3> ΟΞ΅/Ξ±ΟΟ HTML",
|
||||
"Enlarge Editor": "ΞΡγΞΞ½ΞΈΟ
Ξ½ΟΞ· Ξ΅ΟΡξΡΟΞ³Ξ±ΟΟΞ<C284>",
|
||||
"About this editor": "ΠληΟΞΏΟΞΏΟΞ―Ξ΅Ο",
|
||||
"Help using editor": "ΞΞΏΞ<CE8F>θΡια",
|
||||
"Current style": "Ξ Ξ±ΟΟΞ½ ΟΟΟ
Ξ»",
|
||||
"Undoes your last action": "ΞΞ½Ξ±Ξ―ΟΞ΅ΟΞ· ΟΡλΡΟ
ΟΞ±Ξ―Ξ±Ο Ξ΅Ξ½ΞΟγΡιαΟ",
|
||||
"Redoes your last action": "ΞΟΞ±Ξ½Ξ±ΟΞΏΟΞ¬ Ξ±ΟΟ Ξ±Ξ½Ξ±Ξ―ΟΞ΅ΟΞ·",
|
||||
"Cut selection": "ΞΟΞΏΞΊΞΏΟΞ<C280>",
|
||||
"Copy selection": "ΞΞ½ΟΞΉΞ³ΟΞ±ΟΞ<C286>",
|
||||
"Paste from clipboard": "ΞΟΞΉΞΊΟλληΟΞ·",
|
||||
"Direction left to right": "ΞΞ±ΟΞ΅ΟΞΈΟ
Ξ½ΟΞ· Ξ±ΟΞΉΟΟΞ΅ΟΞ¬ ΟΟΞΏΟ Ξ΄Ξ΅ΞΎΞΉΞ¬",
|
||||
"Direction right to left": "ΞΞ±ΟΞ΅ΟΞΈΟ
Ξ½ΟΞ· Ξ±ΟΟ Ξ΄Ξ΅ΞΎΞΉΞ¬ ΟΟΞΏΟ ΟΞ± Ξ±ΟΞΉΟΟΞ΅ΟΞ¬",
|
||||
"OK": "OK",
|
||||
"Cancel": "ΞΞΊΟΟΟΟΞ·",
|
||||
"Path": "ΞΞΉΞ±Ξ΄ΟΞΏΞΌΞ<CE8C>",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "ΞΞ―ΟΟΞ΅ ΟΞ΅ TEXT MODE. Ξ§ΟΞ·ΟΞΉΞΌΞΏΟΞΏΞΉΞ<CE89>ΟΟΞ΅ ΟΞΏ ΞΊΞΏΟ
ΞΌΟΞ― [<>] Ξ³ΞΉΞ± Ξ½Ξ± Ξ΅ΟΞ±Ξ½ΞΟΞΈΞ΅ΟΞ΅ ΟΟΞΏ WYSIWIG.",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Ξ ΞΊΞ±ΟΞ¬ΟΟΞ±ΟΞ· ΟΞ»Ξ<C2BB>ΟΞ·Ο ΞΏΞΈΟΞ½Ξ·Ο ΞΟΡι ΟΟΞΏΞ²Ξ»Ξ<C2BB>ΞΌΞ±ΟΞ± ΞΌΞ΅ ΟΞΏΞ½ Internet Explorer, Ξ»ΟΞ³Ο ΟΟαλμάΟΟΞ½ ΟΟΞΏΞ½ ίδιο ΟΞΏΞ½ browser. ΞΞ½ ΟΞΏ ΟΟΟΟΞ·ΞΌΞ± ΟΞ±Ο Ξ΅Ξ―Ξ½Ξ±ΞΉ Windows 9x ΞΌΟΞΏΟΡί ΞΊΞ±ΞΉ Ξ½Ξ± ΟΟΡιαΟΟΡίΟΞ΅ reboot. ΞΞ½ ΡίΟΟΞ΅ ΟΞ―Ξ³ΞΏΟ
ΟΞΏΞΉ, ΟΞ±ΟΞ<C284>ΟΟΞ΅ ΞΞ.",
|
||||
"Cancel": "ΞΞΊΟΟΟΟΞ·",
|
||||
"Insert/Modify Link": "ΞΞΉΟΞ±Ξ³ΟΞ³Ξ<C2B3>/Ξ<>ΟΞΏΟΞΏΟΞΏΞ―Ξ·ΟΞ· ΟΟνδΡΟΞΌΞΏΟ
",
|
||||
"New window (_blank)": "ΞΞΞΏ ΟΞ±ΟάθΟ
ΟΞΏ (_blank)",
|
||||
"None (use implicit)": "ΞΞ±Ξ½ΞΞ½Ξ± (ΟΟΞ<C281>ΟΞ· Ξ±ΟΟΞ»Ο
ΟΞΏΟ
)",
|
||||
"Other": "Ξλλο",
|
||||
"Same frame (_self)": "Ξδιο frame (_self)",
|
||||
"Target:": "Target:",
|
||||
"Title (tooltip):": "Ξ<>Ξ―ΟΞ»ΞΏΟ (tooltip):",
|
||||
"Top frame (_top)": "Ξ Ξ¬Ξ½Ο frame (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Ξ ΟΞΟΡι Ξ½Ξ± ΡιΟάγΡΟΞ΅ ΟΞΏ URL ΟΞΏΟ
οδηγΡί Ξ±Ο
ΟΟΟ ΞΏ ΟΟνδΡΟΞΌΞΏΟ"
|
||||
}
|
||||
|
@ -1,51 +0,0 @@
|
||||
// I18N constants
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "es",
|
||||
|
||||
tooltips: {
|
||||
bold: "Negrita",
|
||||
italic: "Cursiva",
|
||||
underline: "Subrayado",
|
||||
strikethrough: "Tachado",
|
||||
subscript: "Subíndice",
|
||||
superscript: "Superíndice",
|
||||
justifyleft: "Alinear a la Izquierda",
|
||||
justifycenter: "Centrar",
|
||||
justifyright: "Alinear a la Derecha",
|
||||
justifyfull: "Justificar",
|
||||
orderedlist: "Lista Ordenada",
|
||||
unorderedlist: "Lista No Ordenada",
|
||||
outdent: "Aumentar Sangría",
|
||||
indent: "Disminuir Sangría",
|
||||
forecolor: "Color del Texto",
|
||||
hilitecolor: "Color del Fondo",
|
||||
inserthorizontalrule: "Línea Horizontal",
|
||||
createlink: "Insertar Enlace",
|
||||
insertimage: "Insertar Imagen",
|
||||
inserttable: "Insertar Tabla",
|
||||
htmlmode: "Ver Documento en HTML",
|
||||
popupeditor: "Ampliar Editor",
|
||||
about: "Acerca del Editor",
|
||||
showhelp: "Ayuda",
|
||||
textindicator: "Estilo Actual",
|
||||
undo: "Deshacer",
|
||||
redo: "Rehacer",
|
||||
cut: "Cortar selección",
|
||||
copy: "Copiar selección",
|
||||
paste: "Pegar desde el portapapeles"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "Aceptar",
|
||||
"cancel": "Cancelar"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Ruta",
|
||||
"TEXT_MODE": "Esta en modo TEXTO. Use el boton [<>] para cambiar a WYSIWIG",
|
||||
}
|
||||
};
|
@ -1,51 +1,167 @@
|
||||
// I18N constants
|
||||
// LANG: "de", ENCODING: UTF-8
|
||||
{
|
||||
"Bold": "Negrita",
|
||||
"Italic": "Cursiva",
|
||||
"Underline": "Subrayado",
|
||||
"Strikethrough": "Tachado",
|
||||
"Subscript": "Subíndice",
|
||||
"Superscript": "Superíndice",
|
||||
"Justify Left": "Alinear a la izquierda",
|
||||
"Justify Center": "Alinear al centro",
|
||||
"Justify Right": "Alinear a la derecha",
|
||||
"Justify Full": "Justificar",
|
||||
"Ordered List": "Lista numerada",
|
||||
"Bulleted List": "Lista no numerada",
|
||||
"Decrease Indent": "Reducir sangría",
|
||||
"Increase Indent": "Aumentar sangría",
|
||||
"Font Color": "Color de la fuente",
|
||||
"Background Color": "Color de fondo",
|
||||
"Horizontal Rule": "Regla horizontal",
|
||||
"Insert Web Link": "Insertar enlace web",
|
||||
"Insert/Modify Image": "Insertar/modificar imagen",
|
||||
"Insert Table": "Insertar una tabla",
|
||||
"Toggle HTML Source": "Ver HTML",
|
||||
"Enlarge Editor": "Editor a pantalla completa",
|
||||
"About this editor": "Sobre este Editor",
|
||||
"Help using editor": "Ayuda",
|
||||
"Current style": "Estilo actual",
|
||||
"Undoes your last action": "Deshacer",
|
||||
"Redoes your last action": "Rehacer",
|
||||
"Cut selection": "Cortar",
|
||||
"Copy selection": "Copiar",
|
||||
"Paste from clipboard": "Pegar desde el portapapeles",
|
||||
"Direction left to right": "Dirección de izquierda a derecha",
|
||||
"Direction right to left": "Dirección de derecha a izquierda",
|
||||
"Remove formatting": "Borrar formato",
|
||||
"Select all": "Seleccionar todo",
|
||||
"Print document": "Imprimir documento",
|
||||
"Clear MSOffice tags": "Borrar etiquetas de MSOffice",
|
||||
"Clear Inline Font Specifications": "Borrar las etiquetas de fuente",
|
||||
"Would you like to clear font typefaces?": "¿Desea eliminar las definiciaones de tipo de fuente?",
|
||||
"Would you like to clear font sizes?": "¿Desea eliminar las definiciones de tamaño de fuente?",
|
||||
"Would you like to clear font colours?": "¿Desea eliminar las definiciones de color de fuente?",
|
||||
"Split Block": "Dividir el bloque",
|
||||
"Toggle Borders": "Añadir/Quitar bordes",
|
||||
"Save as": "Guardar como",
|
||||
"Insert/Overwrite": "Insertar/Sobreescribir",
|
||||
"— format —": "— formato —",
|
||||
"— font —": "— fuente —",
|
||||
"— size —": "— tamaño —",
|
||||
"Heading 1": "Cabecera 1",
|
||||
"Heading 2": "Cabecera 2",
|
||||
"Heading 3": "Cabecera 3",
|
||||
"Heading 4": "Cabecera 4",
|
||||
"Heading 5": "Cabecera 5",
|
||||
"Heading 6": "Cabecera 6",
|
||||
"Normal": "Normal",
|
||||
"Address": "Dirección",
|
||||
"Formatted": "Formateado",
|
||||
|
||||
HTMLArea.I18N = {
|
||||
//dialogs
|
||||
"OK": "Aceptar",
|
||||
"Cancel": "Cancelar",
|
||||
"Path": "Ruta",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Se encuentra en MODO TEXTO. Use el botón [<>] para cambiar de nuevo al modo WYSIWYG",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "El botón de pegar no funciona en los navegadores de Mozilla por motivos de seguridad. Presione CTRL-V en su teclado para pegarlo directamente",
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "es",
|
||||
"You need to select some text before create a link": "Necesita seleccionar algún texto antes de crear un link",
|
||||
"Your Document is not well formed. Check JavaScript console for details.": "Su documento no está bien formado. Compruebe la consola de JavaScript para obtener más detalles",
|
||||
|
||||
tooltips: {
|
||||
bold: "Negrita",
|
||||
italic: "Cursiva",
|
||||
underline: "Subrayado",
|
||||
strikethrough: "Tachado",
|
||||
subscript: "Subíndice",
|
||||
superscript: "Superíndice",
|
||||
justifyleft: "Alinear a la Izquierda",
|
||||
justifycenter: "Centrar",
|
||||
justifyright: "Alinear a la Derecha",
|
||||
justifyfull: "Justificar",
|
||||
orderedlist: "Lista Ordenada",
|
||||
unorderedlist: "Lista No Ordenada",
|
||||
outdent: "Aumentar Sangría",
|
||||
indent: "Disminuir Sangría",
|
||||
forecolor: "Color del Texto",
|
||||
hilitecolor: "Color del Fondo",
|
||||
inserthorizontalrule: "Línea Horizontal",
|
||||
createlink: "Insertar Enlace",
|
||||
insertimage: "Insertar Imagen",
|
||||
inserttable: "Insertar Tabla",
|
||||
htmlmode: "Ver Documento en HTML",
|
||||
popupeditor: "Ampliar Editor",
|
||||
about: "Acerca del Editor",
|
||||
showhelp: "Ayuda",
|
||||
textindicator: "Estilo Actual",
|
||||
undo: "Deshacer",
|
||||
redo: "Rehacer",
|
||||
cut: "Cortar selección",
|
||||
copy: "Copiar selección",
|
||||
paste: "Pegar desde el portapapeles"
|
||||
},
|
||||
"Alignment:": "Alineación:",
|
||||
"Not set": "No definido",
|
||||
"Left": "Izquierda",
|
||||
"Right": "Derecha",
|
||||
"Texttop": "Texto Superior",
|
||||
"Absmiddle": "Medio Absoluto",
|
||||
"Baseline": "Línea base",
|
||||
"Absbottom": "Inferior absoluto",
|
||||
"Bottom": "Inferior",
|
||||
"Middle": "Medio",
|
||||
"Top": "Superior",
|
||||
|
||||
buttons: {
|
||||
"ok": "Aceptar",
|
||||
"cancel": "Cancelar"
|
||||
},
|
||||
"Layout": "Distribución",
|
||||
"Spacing": "Espaciado",
|
||||
"Horizontal:": "horizontal:",
|
||||
"Horizontal padding": "Relleno horizontal",
|
||||
"Vertical:": "Vertical:",
|
||||
"Vertical padding": "Relleno Vertical",
|
||||
"Border thickness:": "Tamaño del borde:",
|
||||
"Leave empty for no border": "Vacío si no desea ningún borde",
|
||||
|
||||
msg: {
|
||||
"Path": "Ruta",
|
||||
"TEXT_MODE": "Esta en modo TEXTO. Use el boton [<>] para cambiar a WYSIWIG",
|
||||
}
|
||||
};
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "Insertar/Modificar un enlace",
|
||||
"None (use implicit)": "Vacío ( usar implícito )",
|
||||
"New window (_blank)": "Nueva ventana (_blank)",
|
||||
"Same frame (_self)": "Mismo marco (_self)",
|
||||
"Top frame (_top)": "Marco superior (_top)",
|
||||
"Other": "Otro",
|
||||
"Target:": "Destino:",
|
||||
"Title (tooltip):": "Título (Tooltip):",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Debe introducir la URL a donde apunta este enlace",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "Añadir una tabla",
|
||||
"Rows:": "Filas:",
|
||||
"Number of rows": "Número de filas",
|
||||
"Cols:": "Columnas:",
|
||||
"Number of columns": "Número de columnas",
|
||||
"Width:": "Ancho:",
|
||||
"Width of the table": "Ancho de la tabla",
|
||||
"Percent": "Porcentaje",
|
||||
"Pixels": "Pixels",
|
||||
"Em": "Em",
|
||||
"Width unit": "Unidad de anchura",
|
||||
"Fixed width columns": "Columnas de ancho fijo",
|
||||
"Positioning of this table": "Posición de esta tabla",
|
||||
"Cell spacing:": "Espaciado entre celdas:",
|
||||
"Space between adjacent cells": "Espaciado entre celdas adyacentes",
|
||||
"Cell padding:": "Relleno de celdas:",
|
||||
"Space between content and border in cell": "Escapcio entre el contenido y el borde de la celda",
|
||||
"You must enter a number of rows": "Debe introducir un número de filas",
|
||||
"You must enter a number of columns": "Debe introducir un número de columnas",
|
||||
|
||||
// Insert Image
|
||||
"Insert Image": "Insertar una imagen",
|
||||
"Image URL:": "Imagen URL:",
|
||||
"Enter the image URL here": "",
|
||||
"Preview": "Previsualizar",
|
||||
"Preview the image in a new window": "Previsualizar en una nueva ventana",
|
||||
"Alternate text:": "Texto alternativo:",
|
||||
"For browsers that don't support images": "Para navegadores que no soportan imágenes",
|
||||
"Positioning of this image": "Posición de la imagen",
|
||||
"Image Preview:": "Previsualización de la imagen:",
|
||||
"You must enter the URL": "Debe introducir la URL",
|
||||
|
||||
// Editor Help
|
||||
"Keyboard shortcuts": "Atajos de teclado",
|
||||
"The editor provides the following key combinations:": "El editor proporciona las siguientes combinaciones:",
|
||||
"new paragraph": "Nuevo parrafo",
|
||||
"insert linebreak": "Insertar salto de línea",
|
||||
"Set format to paragraph": "EStablecer el formato a parrafo",
|
||||
"Clean content pasted from Word": "Limpiar el contenido pegado desde Word",
|
||||
"Headings": "Cabeceras",
|
||||
"Close": "Cerrar",
|
||||
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait!": "Carga en proceso. Por favor espere.",
|
||||
"Loading plugin $plugin" : "Cargando el plugin $plugin",
|
||||
"Register plugin $plugin" : "Registro de plugin $plugin",
|
||||
"Constructing object": "Construyendo objeto",
|
||||
"Generate Xinha framework": "Generar Xinha framework",
|
||||
"Init editor size":"Iniciar el tamaño del editor",
|
||||
"Create Toolbar": "Crear barra de herramientas",
|
||||
"Create Statusbar" : "Crear barra de estado",
|
||||
"Register right panel" : "Registrar panel derecho",
|
||||
"Register left panel" : "Registrar panel izquierdo",
|
||||
"Register bottom panel" : "Registar panel inferior",
|
||||
"Register top panel" : "Registar panel superior",
|
||||
"Finishing" : "Finalizando",
|
||||
|
||||
// ColorPicker
|
||||
"Click a color..." : "Seleccione un color...",
|
||||
"Sample" : "Muestra",
|
||||
"Web Safe: " : "Color web: ",
|
||||
"Color: " : "Color: "
|
||||
}
|
169
htmlarea/lang/eu.js
Normal file
@ -0,0 +1,169 @@
|
||||
// I18N constants
|
||||
// LANG: "eu", ENCODING: UTF-8
|
||||
{
|
||||
"Bold": "Lodia",
|
||||
"Italic": "Etzana",
|
||||
"Underline": "Azpimarratua",
|
||||
"Strikethrough": "Marratua",
|
||||
"Subscript": "Azpindizea",
|
||||
"Superscript": "Goi-indizea",
|
||||
"Justify Left": "Ezkerretara lerrokatu",
|
||||
"Justify Center": "Zentratu",
|
||||
"Justify Right": "Eskuinetara lerrokatu",
|
||||
"Justify Full": "Justifikatu",
|
||||
"Ordered List": "Zerrenda ordenatua",
|
||||
"Bulleted List": "Zerrenda ez ordenatua",
|
||||
"Decrease Indent": "Koska handitu",
|
||||
"Increase Indent": "Koska txikitu",
|
||||
"Font Color": "Testu-kolorea",
|
||||
"Background Color": "Atzeko kolorea",
|
||||
"Horizontal Rule": "Marra horizontala",
|
||||
"Insert Web Link": "Lotura txertatu",
|
||||
"Insert/Modify Image": "Irudia txertatu",
|
||||
"Insert Table": "Taula txertatu",
|
||||
"Toggle HTML Source": "Ikusi dokumentua HTML-n",
|
||||
"Enlarge Editor": "Editorea handitu",
|
||||
"About this editor": "Editoreari buruz...",
|
||||
"Help using editor": "Laguntza",
|
||||
"Current style": "Uneko estiloa",
|
||||
"Undoes your last action": "Desegin",
|
||||
"Redoes your last action": "Berregin",
|
||||
"Cut selection": "Ebaki hautaketa",
|
||||
"Copy selection": "Kopiatu hautaketa",
|
||||
"Paste from clipboard": "Itsatsi arbelean dagoena",
|
||||
"Direction left to right": "Ezkerretik eskuinetarako norabidea",
|
||||
"Direction right to left": "Eskuinetik ezkerretarako norabidea",
|
||||
"Remove formatting": "Formatoa kendu",
|
||||
"Select all": "Dena aukeratu",
|
||||
"Print document": "Dokumentua inprimatu",
|
||||
"Clear MSOffice tags": "MSOffice etiketak ezabatu",
|
||||
"Clear Inline Font Specifications": "Ezabatu testuaren ezaugarriak",
|
||||
"Would you like to clear font typefaces?": "Letra-tipoak ezabatu nahi al dituzu?",
|
||||
"Would you like to clear font sizes?": "Letra-tipoen neurriak ezabatu nahi al dituzu?",
|
||||
"Would you like to clear font colours?": "Letra-tipoen koloreak ezabatu nahi al dituzu?",
|
||||
"Split Block": "Blokea zatitu",
|
||||
"Toggle Borders": "Ertzak trukatu",
|
||||
"Save as": "Gorde honela:",
|
||||
"Insert/Overwrite": "Txertatu/Gainidatzi",
|
||||
"— format —": "— Formatua —",
|
||||
"Heading 1": "Goiburua 1",
|
||||
"Heading 2": "Goiburua 2",
|
||||
"Heading 3": "Goiburua 3",
|
||||
"Heading 4": "Goiburua 4",
|
||||
"Heading 5": "Goiburua 5",
|
||||
"Heading 6": "Goiburua 6",
|
||||
"Normal": "Normala",
|
||||
"Address": "Helbidea",
|
||||
"Formatted": "Formateatua",
|
||||
|
||||
//dialogs
|
||||
"OK": "Ados",
|
||||
"Cancel": "Utzi",
|
||||
"Path": "Bidea",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "TESTU eran ari zara. Erabil ezazu [<>] botoia WYSIWIG erara itzultzeko.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Itsatsi botoia ez dabil Mozillan oinarritutako nabigatzaileetan (arrazoi teknikoengatik). Sacatu CTRL-V zure teklatuan, zuzenean itsasteko.",
|
||||
|
||||
"You need to select some text before create a link": "Testu-atal bat aukeratu behar duzu lehendabizi, lotura bat sortzeko",
|
||||
"Your Document is not well formed. Check JavaScript console for details.": "Zure dokumentuak ez du formatu zuzena. Begira ezazu JavaScript kontsola xehetasunetarako.",
|
||||
|
||||
"Alignment:": "Lerrokatzea:",
|
||||
"Not set": "Ez gaitua",
|
||||
"Left": "Ezkerretara",
|
||||
"Right": "Eskuinetara",
|
||||
"Texttop": "Irudiaren goialdean",
|
||||
"Absmiddle": "Irudiaren erdian",
|
||||
"Baseline": "Irudiaren oinean",
|
||||
"Absbottom": "Irudiaren behekaldean",
|
||||
"Bottom": "Behean",
|
||||
"Middle": "Erdian",
|
||||
"Top": "Goian",
|
||||
|
||||
"Layout": "Diseinua",
|
||||
"Spacing": "Tartea",
|
||||
"Horizontal:": "Horizontala:",
|
||||
"Horizontal padding": "Betegarri horizontala",
|
||||
"Vertical:": "Bertikala:",
|
||||
"Vertical padding": "Betegarri bertikala",
|
||||
"Border thickness:": "Ertzaren lodiera:",
|
||||
"Leave empty for no border": "Uztazu hutsik ertzik ez sortzeko",
|
||||
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "Lotura txertatu/aldatu",
|
||||
"None (use implicit)": "Bat ere ez (implizituki erabili)",
|
||||
"New window (_blank)": "Lehio berrian (_blank)",
|
||||
"Same frame (_self)": "Frame berean (_self)",
|
||||
"Top frame (_top)": "Goiko frame-an (_top)",
|
||||
"Other": "Beste bat",
|
||||
"Target:": "Helburua:",
|
||||
"Title (tooltip):": "Izenburua (argibidea):",
|
||||
"URL:": "URL-a:",
|
||||
"You must enter the URL where this link points to": "Loturaren helburu den URL-a idatzi behar duzu",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "Taula txertatu",
|
||||
"Rows:": "Lerroak:",
|
||||
"Number of rows": "Lerro-kopurua",
|
||||
"Cols:": "Zutabeak:",
|
||||
"Number of columns": "Zutabe-kopurua",
|
||||
"Width:": "Zabalera:",
|
||||
"Width of the table": "Taularen zabalera",
|
||||
"Percent": "Portzentaia",
|
||||
"Pixels": "Pixelak",
|
||||
"Em": "Em",
|
||||
"Width unit": "Zabalera-unitatea",
|
||||
"Fixed width columns": "Zabalera finkodun zutabeak",
|
||||
"Positioning of this table": "Taula honen kokapena",
|
||||
"Cell spacing:": "Gelaxka-tartea:",
|
||||
"Space between adjacent cells": "Gelaxka auzokideen arteko tartea",
|
||||
"Cell padding:": "Gelaxkaren betegarria:",
|
||||
"Space between content and border in cell": "Gelaxkaren edukia eta ertzaren arteko tartea",
|
||||
"You must enter a number of rows": "Lerro-kopurua idatzi behar duzu",
|
||||
"You must enter a number of columns": "Zutabe-kopurua idatzi behar duzu",
|
||||
|
||||
// Insert Image
|
||||
"Insert Image": "Irudia txertatu",
|
||||
"Image URL:": "Irudiaren URL-a:",
|
||||
"Enter the image URL here": "Idatz ezazu irudiaren URL-a hemen",
|
||||
"Preview": "Aurrebista",
|
||||
"Preview the image in a new window": "Aurreikusi irudia beste lehio batean",
|
||||
"Alternate text:": "Testu alternatiboa:",
|
||||
"For browsers that don't support images": "Irudirik onartzen ez duten nabigatzaileentzat",
|
||||
"Positioning of this image": "Irudiaren kokapena",
|
||||
"Image Preview:": "Irudiaren aurrebista:",
|
||||
"You must enter the URL": "URL-a idatzi behar duzu",
|
||||
|
||||
"button_bold": "de/bold.gif",
|
||||
"button_italic": "de/italic.gif",
|
||||
"button_underline": "de/underline.gif",
|
||||
|
||||
// Editor Help
|
||||
"Keyboard shortcuts": "Laster-teklak",
|
||||
"The editor provides the following key combinations:": "Editoreak ondorengo tekla-konbinazioak eskaintzen ditu:",
|
||||
"new paragraph": "Paragrafo berria",
|
||||
"insert linebreak": "Lerro-jauzia txertatu",
|
||||
"Set format to paragraph": "Formatua ezarri paragrafoari",
|
||||
"Clean content pasted from Word": "Word-etik itsatsitako edukia ezabatu",
|
||||
"Headings": "Goiburuak",
|
||||
"Close": "Itxi",
|
||||
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait!": "Kargatzen. Itxaron mesedez",
|
||||
"Loading plugin $plugin" : "$plugin plugina kargatzen",
|
||||
"Register plugin $plugin" : "$plugin plugina erregistratu",
|
||||
"Constructing object": "Objektua eraikitzen",
|
||||
"Generate Xinha framework": "Xinha Framework sortzen",
|
||||
"Init editor size":"Editorearen hasierako neurria",
|
||||
"Create Toolbar": "Tresna-barra sortu",
|
||||
"Create Statusbar" : "Egoera-barra sortu",
|
||||
"Register right panel" : "Eskuin-panela erregistratu",
|
||||
"Register left panel" : "Ezker-panela erregistratu",
|
||||
"Register bottom panel" : "Beheko panela erregistratu",
|
||||
"Register top panel" : "Goiko panela erregistratu",
|
||||
"Finishing" : "Bukatzen",
|
||||
|
||||
// ColorPicker
|
||||
"Click a color..." : "Kolore bat aukeratu...",
|
||||
"Sample" : "Lagina",
|
||||
"Web Safe: " : "Web Safe: ",
|
||||
"Color: " : "Kolorea: "
|
||||
};
|
169
htmlarea/lang/fa.js
Normal file
@ -0,0 +1,169 @@
|
||||
// I18N constants
|
||||
// LANG: "fa", ENCODING: UTF-8
|
||||
{
|
||||
"Bold": "ضخیم",
|
||||
"Italic": "مورب",
|
||||
"Underline": "زیر خط",
|
||||
"Strikethrough": "رو خط",
|
||||
"Subscript": "زیروند",
|
||||
"Superscript": "بالاوند",
|
||||
"Justify Left": "تراز از چپ",
|
||||
"Justify Center": "تراز در وسط",
|
||||
"Justify Right": "تراز در راست",
|
||||
"Justify Full": "تراز از چپ و راست",
|
||||
"Ordered List": "فهرست مرتب",
|
||||
"Bulleted List": "فهرست گلوله ای",
|
||||
"Decrease Indent": "کاهش سر خط",
|
||||
"Increase Indent": "افزایش سر خط",
|
||||
"Font Color": "رنگ فلم",
|
||||
"Background Color": "رنگ پس زمینه",
|
||||
"Horizontal Rule": "خط افقی",
|
||||
"Insert Web Link": "افزودن لینک وب",
|
||||
"Insert/Modify Image": "افزودن یا ویرایش تصویر",
|
||||
"Insert Table": "افزودن جدول",
|
||||
"Toggle HTML Source": "مشاهده یا عدم مشاهده متن در قالب HTML",
|
||||
"Enlarge Editor": "بزرگ کردن ویرایش گر",
|
||||
"About this editor": "درباره این ویرایش گر",
|
||||
"Help using editor": "راهنمای استفاده ویرایش گر",
|
||||
"Current style": "شیوه کنونی",
|
||||
"Undoes your last action": "برگرداندن آخرین عمل",
|
||||
"Redoes your last action": "انجام مجدد آخرین عمل",
|
||||
"Cut selection": "بریدن انتخاب شده",
|
||||
"Copy selection": "کپی انتخاب شده",
|
||||
"Paste from clipboard": "چسباندن از تخته کار",
|
||||
"Direction left to right": "جهت از چپ به راست",
|
||||
"Direction right to left": "جهت از راست به چپ",
|
||||
"Remove formatting": "حذف فرمت بندی",
|
||||
"Select all": "انتخاب همه",
|
||||
"Print document": "چاپ سند",
|
||||
"Clear MSOffice tags": "پاک کردن متن از برچسب های MSOffice",
|
||||
"Clear Inline Font Specifications": "پاک کردن متن از مشخصات فونت",
|
||||
"Would you like to clear font typefaces?": "آیا تمایل دارید ظاهر فلم را پاک کنید؟",
|
||||
"Would you like to clear font sizes?": "آیا تمایل دارید اندازه قلم را پاک کنید",
|
||||
"Would you like to clear font colours?": "آیا تمایل دارید رنگ قلم را پاک کنید؟",
|
||||
"Split Block": "بلاک جداسازی",
|
||||
"Toggle Borders": "فعال/غیر فعال کردن لبه ها",
|
||||
"Save as": "ذخیره مانند...",
|
||||
"Insert/Overwrite": "افزودن/جانویسی",
|
||||
"— format —": "— قالب —",
|
||||
"Heading 1": "تیتر 1",
|
||||
"Heading 2": "تیتر 2",
|
||||
"Heading 3": "تیتر 3",
|
||||
"Heading 4": "تیتر 4",
|
||||
"Heading 5": "تیتر 5",
|
||||
"Heading 6": "تیتر 6",
|
||||
"Normal": "معمولی",
|
||||
"Address": "آدرس",
|
||||
"Formatted": "قالب بندی شده",
|
||||
|
||||
//dialogs
|
||||
"OK": "بله",
|
||||
"Cancel": "انصراف",
|
||||
"Path": "مسیر",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "در مد متنی هستید. از دکمه [<>] استفاده نمایید تا به مد WYSIWYG برگردید.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "دکمه چسباندن در مرورگرهای سری Mozilla کار نمی کند (به دلایل فنی امنیتی).برای چسباندن مستقیم ، دکمه CTRL-V را در صفحه کلید بزنید.",
|
||||
"Your Document is not well formed. Check JavaScript console for details.": "سند شما بدرستی قالب بندی نشده است. برای اطلاعات بیشتر پایانه نمایش جاوااسکریپت را بررسی کنید.",
|
||||
|
||||
"Alignment:": "تراز بندی",
|
||||
"Not set": "تنظیم نشده",
|
||||
"Left": "چپ",
|
||||
"Right": "راست",
|
||||
"Texttop": "بالای متن",
|
||||
"Absmiddle": "دقیقا وسط",
|
||||
"Baseline": "ابتدای خط",
|
||||
"Absbottom": "دقیقا پایین",
|
||||
"Bottom": "پایین",
|
||||
"Middle": "وسط",
|
||||
"Top": "بالا",
|
||||
|
||||
"Layout": "لایه",
|
||||
"Spacing": "فاصله گذاری",
|
||||
"Horizontal:": "افقی",
|
||||
"Horizontal padding": "پرکننده افقی",
|
||||
"Vertical:": "عمودی",
|
||||
"Vertical padding": "پرکننده عمودی",
|
||||
"Border thickness:": "ضخامت لبه",
|
||||
"Leave empty for no border": "برای بدون لبه خالی رها کن",
|
||||
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "افزودن / ویرایش لینک",
|
||||
"None (use implicit)": "هیچکدام (استفاده از بدون شرط)",
|
||||
"New window (_blank)": "پنجره جدید (_blank)",
|
||||
"Same frame (_self)": "فریم یکسان (_self)",
|
||||
"Top frame (_top)": "فریم بالایی (_top)",
|
||||
"Other": "سایر",
|
||||
"Target:": "هدف",
|
||||
"Title (tooltip):": "عنوان (راهنمای یک خطی)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "باید URLی که این لینک به آن اشاره دارد را وارد کنید",
|
||||
"You need to select some text before creating a link": "باید قبل از ساخت لینک ، متنی را انتخاب نمایید",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "افزودن جدول",
|
||||
"Rows:": "ردیف ها",
|
||||
"Number of rows": "تعداد ردیف ها",
|
||||
"Cols:": "ستون ها",
|
||||
"Number of columns": "تعداد ستون ها",
|
||||
"Width:": "طول",
|
||||
"Width of the table": "طول جدول",
|
||||
"Percent": "درصد",
|
||||
"Pixels": "پیکسل ها",
|
||||
"Em": "Em",
|
||||
"Width unit": "واحد طول",
|
||||
"Fixed width columns": "ستون های طول ثابت",
|
||||
"Positioning of this table": "موقعیت یابی این جدول",
|
||||
"Cell spacing:": "فاصله سلول ها",
|
||||
"Space between adjacent cells": "فاصله بین سلول های همجوار",
|
||||
"Cell padding:": "پر کننده سلول",
|
||||
"Space between content and border in cell": "فاصله بین محتوا و لبه در سلول",
|
||||
"You must enter a number of rows": "باید تعداد ردیف ها را وارد کنید",
|
||||
"You must enter a number of columns": "باید تعداد ستون ها را وارد کنید",
|
||||
|
||||
// Insert Image
|
||||
"Insert Image": "افزودن تصویر",
|
||||
"Image URL:": "URL تصویر",
|
||||
"Enter the image URL here": "URL تصویر را اینجا وارد کنید",
|
||||
"Preview": "پیش نمایش",
|
||||
"Preview the image in a new window": "پیش نمایش تصویر در پنجره ای جدید",
|
||||
"Alternate text:": "متن جایگزین",
|
||||
"For browsers that don't support images": "برای مرورگرهایی که از تصاویر پشتیبانی نمی کنند",
|
||||
"Positioning of this image": "موقعیت یابی تصویر",
|
||||
"Image Preview:": "پیش نمایش تصویر",
|
||||
"You must enter the URL": "شما باید URL را وارد کنید",
|
||||
|
||||
// toolbar
|
||||
/*
|
||||
"button_bold": "fr/bold.gif",
|
||||
"button_underline": "fr/underline.gif",
|
||||
"button_strikethrough": "fr/strikethrough.gif",
|
||||
*/
|
||||
|
||||
// Editor Help
|
||||
"Xinha Help": "راهنمای Xinha",
|
||||
"Editor Help": "راهنمای ویرایشگر",
|
||||
"Keyboard shortcuts": "میانبرهای صفحه کلید",
|
||||
"The editor provides the following key combinations:": "ویرایشگر استفاده از کلید های گروهی زیر را مسیر می سازد :",
|
||||
"ENTER": "ENTREE",
|
||||
"new paragraph": "پاراگراف جدید",
|
||||
"SHIFT-ENTER": "SHIFT+ENTREE",
|
||||
"insert linebreak": "افزودن جدا کننده خط",
|
||||
"Set format to paragraph": "تغییر قالب به پاراگراف",
|
||||
"Clean content pasted from Word": "تمیز کردن محتوای چسبانده شده از Word",
|
||||
"Headings": "عنوان گذاری",
|
||||
"Close": "بستن",
|
||||
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait !": "بارگذاری در حال انجام است. لطفا صبر کنید !",
|
||||
"Constructing main object": "ساختن شیء اصلی",
|
||||
"Constructing object": "ساختن شیء",
|
||||
"Register panel right": "ثبت قاب راست",
|
||||
"Register panel left": "ثبت قاب چپ",
|
||||
"Register panel top": "ثبت قاب بالا",
|
||||
"Register panel bottom": "ثبت قاب پایین",
|
||||
"Create Toolbar": "ساخت نوار ابزار",
|
||||
"Create StatusBar": "ساخت نوار وضعیت",
|
||||
"Generate Xinha object": "تولید شیء Xinha",
|
||||
"Init editor size": "مقدار دهی اندازه ویرایشگر",
|
||||
"Init IFrame": "مقدار دهی IFrame",
|
||||
"Register plugin $plugin": "ثبت پلاگین $plugin"
|
||||
};
|
@ -1,47 +1,38 @@
|
||||
// I18N constants
|
||||
// UTF-8 encoding.
|
||||
|
||||
HTMLArea.I18N = {
|
||||
// LANG: "en", ENCODING: UTF-8
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "en",
|
||||
|
||||
tooltips: {
|
||||
bold: "Lihavoitu",
|
||||
italic: "Kursivoitu",
|
||||
underline: "Alleviivattu",
|
||||
strikethrough: "Yliviivattu",
|
||||
subscript: "Alaindeksi",
|
||||
superscript: "Yläindeksi",
|
||||
justifyleft: "Tasaa vasemmat reunat",
|
||||
justifycenter: "Keskitä",
|
||||
justifyright: "Tasaa oikeat reunat",
|
||||
justifyfull: "Tasaa molemmat reunat",
|
||||
orderedlist: "Numerointi",
|
||||
unorderedlist: "Luettelomerkit",
|
||||
outdent: "Lisää sisennystä",
|
||||
indent: "Pienennä sisennystä",
|
||||
forecolor: "Fontin väri",
|
||||
hilitecolor: "Taustaväri",
|
||||
inserthorizontalrule: "Vaakaviiva",
|
||||
createlink: "Lisää Linkki",
|
||||
insertimage: "Lisää Kuva",
|
||||
inserttable: "Lisää Taulu",
|
||||
htmlmode: "HTML Lähdekoodi vs WYSIWYG",
|
||||
popupeditor: "Suurenna Editori",
|
||||
about: "Tietoja Editorista",
|
||||
showhelp: "Näytä Ohje",
|
||||
textindicator: "Nykyinen tyyli",
|
||||
undo: "Peruuta viimeinen toiminto",
|
||||
redo: "Palauta viimeinen toiminto",
|
||||
cut: "Leikkaa maalattu",
|
||||
copy: "Kopioi maalattu",
|
||||
paste: "Liitä leikepyödältä"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "Hyväksy",
|
||||
"cancel": "Peruuta"
|
||||
}
|
||||
};
|
||||
{
|
||||
"Bold": "Lihavoitu",
|
||||
"Italic": "Kursivoitu",
|
||||
"Underline": "Alleviivattu",
|
||||
"Strikethrough": "Yliviivattu",
|
||||
"Subscript": "Alaindeksi",
|
||||
"Superscript": "Yläindeksi",
|
||||
"Justify Left": "Tasaa vasemmat reunat",
|
||||
"Justify Center": "Keskitä",
|
||||
"Justify Right": "Tasaa oikeat reunat",
|
||||
"Justify Full": "Tasaa molemmat reunat",
|
||||
"Ordered List": "Numerointi",
|
||||
"Bulleted List": "Luettelomerkit",
|
||||
"Decrease Indent": "Pienennä sisennystä",
|
||||
"Increase Indent": "Lisää sisennystä",
|
||||
"Font Color": "Fontin väri",
|
||||
"Background Color": "Taustaväri",
|
||||
"Horizontal Rule": "Vaakaviiva",
|
||||
"Insert Web Link": "Lisää linkki",
|
||||
"Insert/Modify Image": "Lisää kuva",
|
||||
"Insert Table": "Lisää taulukko",
|
||||
"Toggle HTML Source": "HTML-lähdekoodi vs WYSIWYG",
|
||||
"Enlarge Editor": "Suurenna editori",
|
||||
"About this editor": "Tietoja editorista",
|
||||
"Help using editor": "Näytä ohje",
|
||||
"Current style": "Nykyinen tyyli",
|
||||
"Undoes your last action": "Peruuta viimeinen toiminto",
|
||||
"Redoes your last action": "Palauta viimeinen toiminto",
|
||||
"Cut selection": "Leikkaa maalattu",
|
||||
"Copy selection": "Kopioi maalattu",
|
||||
"Paste from clipboard": "Liitä leikepyödältä",
|
||||
"OK": "Hyväksy",
|
||||
"Cancel": "Peruuta"
|
||||
}
|
||||
|
@ -1,97 +0,0 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "fr", ENCODING: UTF-8 | ISO-8859-1
|
||||
// Author: Simon Richard, s.rich@sympatico.ca
|
||||
|
||||
// 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.)
|
||||
|
||||
// All technical terms used in this document are the ones approved
|
||||
// by the Office québécois de la langue française.
|
||||
// Tous les termes techniques utilisés dans ce document sont ceux
|
||||
// approuvés par l'Office québécois de la langue française.
|
||||
// http://www.oqlf.gouv.qc.ca/
|
||||
|
||||
HTMLArea.I18N = {
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "fr",
|
||||
|
||||
tooltips: {
|
||||
bold: "Gras",
|
||||
italic: "Italique",
|
||||
underline: "Souligné",
|
||||
strikethrough: "Barré",
|
||||
subscript: "Indice",
|
||||
superscript: "Exposant",
|
||||
justifyleft: "Aligné à gauche",
|
||||
justifycenter: "Centré",
|
||||
justifyright: "Aligné à droite",
|
||||
justifyfull: "Justifier",
|
||||
orderedlist: "Numérotation",
|
||||
unorderedlist: "Puces",
|
||||
outdent: "Diminuer le retrait",
|
||||
indent: "Augmenter le retrait",
|
||||
forecolor: "Couleur de police",
|
||||
hilitecolor: "Surlignage",
|
||||
horizontalrule: "Ligne horizontale",
|
||||
createlink: "Insérer un hyperlien",
|
||||
insertimage: "Insérer/Modifier une image",
|
||||
inserttable: "Insérer un tableau",
|
||||
htmlmode: "Passer au code source",
|
||||
popupeditor: "Agrandir l'éditeur",
|
||||
about: "À propos de cet éditeur",
|
||||
showhelp: "Aide sur l'éditeur",
|
||||
textindicator: "Style courant",
|
||||
undo: "Annuler la dernière action",
|
||||
redo: "Répéter la dernière action",
|
||||
cut: "Couper la sélection",
|
||||
copy: "Copier la sélection",
|
||||
paste: "Coller depuis le presse-papier",
|
||||
lefttoright: "Direction de gauche à droite",
|
||||
righttoleft: "Direction de droite à gauche"
|
||||
},
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Annuler"
|
||||
},
|
||||
|
||||
msg: {
|
||||
"Path": "Chemin",
|
||||
"TEXT_MODE": "Vous êtes en MODE TEXTE. Appuyez sur le bouton [<>] pour retourner au mode tel-tel.",
|
||||
|
||||
"IE-sucks-full-screen" :
|
||||
// translate here
|
||||
"Le mode plein écran peut causer des problèmes sous Internet Explorer, " +
|
||||
"ceci dû à des bogues du navigateur qui ont été impossible à contourner. " +
|
||||
"Les différents symptômes peuvent être un affichage déficient, le manque de " +
|
||||
"fonctions dans l'éditeur et/ou pannes aléatoires du navigateur. Si votre " +
|
||||
"système est Windows 9x, il est possible que vous subissiez une erreur de type " +
|
||||
"«General Protection Fault» et que vous ayez à redémarrer votre ordinateur." +
|
||||
"\n\nConsidérez-vous comme ayant été avisé. Appuyez sur OK si vous désirez tout " +
|
||||
"de même essayer le mode plein écran de l'éditeur."
|
||||
},
|
||||
|
||||
dialogs: {
|
||||
"Cancel" : "Annuler",
|
||||
"Insert/Modify Link" : "Insérer/Modifier Lien",
|
||||
"New window (_blank)" : "Nouvelle fenêtre (_blank)",
|
||||
"None (use implicit)" : "Aucun (par défaut)",
|
||||
"OK" : "OK",
|
||||
"Other" : "Autre",
|
||||
"Same frame (_self)" : "Même cadre (_self)",
|
||||
"Target:" : "Cible:",
|
||||
"Title (tooltip):" : "Titre (infobulle):",
|
||||
"Top frame (_top)" : "Cadre du haut (_top)",
|
||||
"URL:" : "Adresse Web:",
|
||||
"You must enter the URL where this link points to" : "Vous devez entrer l'adresse Web du lien"
|
||||
}
|
||||
};
|
@ -1,97 +1,169 @@
|
||||
// I18N constants
|
||||
// LANG: "fr", ENCODING: UTF-8
|
||||
{
|
||||
"Bold": "Gras",
|
||||
"Italic": "Italique",
|
||||
"Underline": "Souligné",
|
||||
"Strikethrough": "Barré",
|
||||
"Subscript": "Indice",
|
||||
"Superscript": "Exposant",
|
||||
"Justify Left": "Aligner à gauche",
|
||||
"Justify Center": "Centrer",
|
||||
"Justify Right": "Aligner à droite",
|
||||
"Justify Full": "Justifier",
|
||||
"Ordered List": "Liste numérotée",
|
||||
"Bulleted List": "Liste à puces",
|
||||
"Decrease Indent": "Diminuer le retrait",
|
||||
"Increase Indent": "Augmenter le retrait",
|
||||
"Font Color": "Couleur de police",
|
||||
"Background Color": "Surlignage",
|
||||
"Horizontal Rule": "Ligne horizontale",
|
||||
"Insert Web Link": "Insérer un lien",
|
||||
"Insert/Modify Image": "Insérer / Modifier une image",
|
||||
"Insert Table": "Insérer un tableau",
|
||||
"Toggle HTML Source": "Afficher / Masquer code source",
|
||||
"Enlarge Editor": "Agrandir l'éditeur",
|
||||
"About this editor": "A propos",
|
||||
"Help using editor": "Aide",
|
||||
"Current style": "Style courant",
|
||||
"Undoes your last action": "Annuler la dernière action",
|
||||
"Redoes your last action": "Répéter la dernière action",
|
||||
"Cut selection": "Couper la sélection",
|
||||
"Copy selection": "Copier la sélection",
|
||||
"Paste from clipboard": "Coller depuis le presse-papier",
|
||||
"Direction left to right": "Direction de gauche à droite",
|
||||
"Direction right to left": "Direction de droite à gauche",
|
||||
"Remove formatting": "Supprimer mise en forme",
|
||||
"Select all": "Tout sélectionner",
|
||||
"Print document": "Imprimer document",
|
||||
"Clear MSOffice tags": "Supprimer tags MSOffice",
|
||||
"Clear Inline Font Specifications": "Supprimer paramètres inline de la police",
|
||||
"Would you like to clear font typefaces?": "Voulez-vous supprimer les types ?",
|
||||
"Would you like to clear font sizes?": "Voulez-vous supprimer les tailles ?",
|
||||
"Would you like to clear font colours?": "Voulez-vous supprimer les couleurs ?",
|
||||
"Split Block": "Séparer les blocs",
|
||||
"Toggle Borders": "Afficher / Masquer les bordures",
|
||||
"Save as": "Enregistrer sous",
|
||||
"Insert/Overwrite": "Insertion / Remplacement",
|
||||
"— format —": "— Format —",
|
||||
"Heading 1": "Titre 1",
|
||||
"Heading 2": "Titre 2",
|
||||
"Heading 3": "Titre 3",
|
||||
"Heading 4": "Titre 4",
|
||||
"Heading 5": "Titre 5",
|
||||
"Heading 6": "Titre 6",
|
||||
"Normal": "Normal",
|
||||
"Address": "Adresse",
|
||||
"Formatted": "Formaté",
|
||||
|
||||
// LANG: "fr", ENCODING: UTF-8 | ISO-8859-1
|
||||
// Author: Simon Richard, s.rich@sympatico.ca
|
||||
//dialogs
|
||||
"OK": "OK",
|
||||
"Cancel": "Annuler",
|
||||
"Path": "Chemin",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Vous êtes en MODE TEXTE. Appuyez sur le bouton [<>] pour retourner au mode WYSIWYG.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Le bouton Coller ne fonctionne pas sur les navigateurs basés sur Mozilla (pour des raisons de sécurité). Pressez CTRL-V au clavier pour coller directement.",
|
||||
"Your Document is not well formed. Check JavaScript console for details.": "Le document est mal formé. Vérifiez la console JavaScript pour plus de détails.",
|
||||
|
||||
// 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.)
|
||||
"Alignment:": "Alignement",
|
||||
"Not set": "Indéfini",
|
||||
"Left": "Gauche",
|
||||
"Right": "Droite",
|
||||
"Texttop": "Texttop",
|
||||
"Absmiddle": "Absmiddle",
|
||||
"Baseline": "Baseline",
|
||||
"Absbottom": "Absbottom",
|
||||
"Bottom": "Bas",
|
||||
"Middle": "Milieu",
|
||||
"Top": "Haut",
|
||||
|
||||
// All technical terms used in this document are the ones approved
|
||||
// by the Office québécois de la langue française.
|
||||
// Tous les termes techniques utilisés dans ce document sont ceux
|
||||
// approuvés par l'Office québécois de la langue française.
|
||||
// http://www.oqlf.gouv.qc.ca/
|
||||
"Layout": "Mise en page",
|
||||
"Spacing": "Espacement",
|
||||
"Horizontal:": "Horizontal",
|
||||
"Horizontal padding": "Marge horizontale interne",
|
||||
"Vertical:": "Vertical",
|
||||
"Vertical padding": "Marge verticale interne",
|
||||
"Border thickness:": "Epaisseur de bordure",
|
||||
"Leave empty for no border": "Laisser vide pour pas de bordure",
|
||||
|
||||
HTMLArea.I18N = {
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "Insérer / Modifier un lien",
|
||||
"None (use implicit)": "Aucune (implicite)",
|
||||
"New window (_blank)": "Nouvelle fenêtre (_blank)",
|
||||
"Same frame (_self)": "Même frame (_self)",
|
||||
"Top frame (_top)": "Frame principale (_top)",
|
||||
"Other": "Autre",
|
||||
"Target:": "Cible",
|
||||
"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",
|
||||
|
||||
// the following should be the filename without .js extension
|
||||
// it will be used for automatically load plugin language.
|
||||
lang: "fr",
|
||||
// Insert Table
|
||||
"Insert Table": "Insérer un tableau",
|
||||
"Rows:": "Lignes",
|
||||
"Number of rows": "Nombre de lignes",
|
||||
"Cols:": "Colonnes",
|
||||
"Number of columns": "Nombre de colonnes",
|
||||
"Width:": "Largeur",
|
||||
"Width of the table": "Largeur du tableau",
|
||||
"Percent": "Pourcent",
|
||||
"Pixels": "Pixels",
|
||||
"Em": "Em",
|
||||
"Width unit": "Unités de largeur",
|
||||
"Fixed width columns": "Colonnes à taille fixe",
|
||||
"Positioning of this table": "Position du tableau",
|
||||
"Cell spacing:": "Espacement",
|
||||
"Space between adjacent cells": "Espace entre les cellules adjacentes",
|
||||
"Cell padding:": "Marge interne",
|
||||
"Space between content and border in cell": "Espace entre le contenu et la bordure d'une cellule",
|
||||
"You must enter a number of rows": "Vous devez entrer le nombre de lignes",
|
||||
"You must enter a number of columns": "Vous devez entrer le nombre de colonnes",
|
||||
|
||||
tooltips: {
|
||||
bold: "Gras",
|
||||
italic: "Italique",
|
||||
underline: "Souligné",
|
||||
strikethrough: "Barré",
|
||||
subscript: "Indice",
|
||||
superscript: "Exposant",
|
||||
justifyleft: "Aligné à gauche",
|
||||
justifycenter: "Centré",
|
||||
justifyright: "Aligné à droite",
|
||||
justifyfull: "Justifier",
|
||||
orderedlist: "Numérotation",
|
||||
unorderedlist: "Puces",
|
||||
outdent: "Diminuer le retrait",
|
||||
indent: "Augmenter le retrait",
|
||||
forecolor: "Couleur de police",
|
||||
hilitecolor: "Surlignage",
|
||||
horizontalrule: "Ligne horizontale",
|
||||
createlink: "Insérer un hyperlien",
|
||||
insertimage: "Insérer/Modifier une image",
|
||||
inserttable: "Insérer un tableau",
|
||||
htmlmode: "Passer au code source",
|
||||
popupeditor: "Agrandir l'éditeur",
|
||||
about: "À propos de cet éditeur",
|
||||
showhelp: "Aide sur l'éditeur",
|
||||
textindicator: "Style courant",
|
||||
undo: "Annuler la dernière action",
|
||||
redo: "Répéter la dernière action",
|
||||
cut: "Couper la sélection",
|
||||
copy: "Copier la sélection",
|
||||
paste: "Coller depuis le presse-papier",
|
||||
lefttoright: "Direction de gauche à droite",
|
||||
righttoleft: "Direction de droite à gauche"
|
||||
},
|
||||
// Insert Image
|
||||
"Insert Image": "Insérer une image",
|
||||
"Image URL:": "URL image",
|
||||
"Enter the image URL here": "Entrer l'URL de l'image ici",
|
||||
"Preview": "Prévisualiser",
|
||||
"Preview the image in a new window": "Prévisualiser l'image dans une nouvelle fenêtre",
|
||||
"Alternate text:": "Texte alternatif",
|
||||
"For browsers that don't support images": "Pour les navigateurs qui ne supportent pas les images",
|
||||
"Positioning of this image": "Position de l'image",
|
||||
"Image Preview:": "Prévisualisation",
|
||||
"You must enter the URL": "Vous devez entrer l'URL",
|
||||
|
||||
buttons: {
|
||||
"ok": "OK",
|
||||
"cancel": "Annuler"
|
||||
},
|
||||
// toolbar
|
||||
"button_bold": "fr/bold.gif",
|
||||
"button_underline": "fr/underline.gif",
|
||||
"button_strikethrough": "fr/strikethrough.gif",
|
||||
|
||||
msg: {
|
||||
"Path": "Chemin",
|
||||
"TEXT_MODE": "Vous êtes en MODE TEXTE. Appuyez sur le bouton [<>] pour retourner au mode tel-tel.",
|
||||
// Editor Help
|
||||
"Xinha Help": "Aide Xinha",
|
||||
"Editor Help": "Aide de l'éditeur",
|
||||
"Keyboard shortcuts": "Raccourcis clavier",
|
||||
"The editor provides the following key combinations:": "L'éditeur fournit les combinaisons de touches suivantes :",
|
||||
"ENTER": "ENTREE",
|
||||
"new paragraph": "Nouveau paragraphe",
|
||||
"SHIFT-ENTER": "SHIFT+ENTREE",
|
||||
"insert linebreak": "Insère un saut de ligne",
|
||||
"Set format to paragraph": "Applique le format paragraphe",
|
||||
"Clean content pasted from Word": "Nettoyage du contenu copié depuis Word",
|
||||
"Headings": "Titres",
|
||||
"Close": "Fermer",
|
||||
|
||||
"IE-sucks-full-screen" :
|
||||
// translate here
|
||||
"Le mode plein écran peut causer des problèmes sous Internet Explorer, " +
|
||||
"ceci dû à des bogues du navigateur qui ont été impossible à contourner. " +
|
||||
"Les différents symptômes peuvent être un affichage déficient, le manque de " +
|
||||
"fonctions dans l'éditeur et/ou pannes aléatoires du navigateur. Si votre " +
|
||||
"système est Windows 9x, il est possible que vous subissiez une erreur de type " +
|
||||
"«General Protection Fault» et que vous ayez à redémarrer votre ordinateur." +
|
||||
"\n\nConsidérez-vous comme ayant été avisé. Appuyez sur OK si vous désirez tout " +
|
||||
"de même essayer le mode plein écran de l'éditeur."
|
||||
},
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait!": "Chargement en cours. Veuillez patienter!",
|
||||
"Finishing" : "Chargement bientôt terminé",
|
||||
"Constructing object": "Construction de l'objet",
|
||||
"Create Toolbar": "Construction de la barre d'icones",
|
||||
"Create Statusbar": "Construction de la barre de status",
|
||||
"Register right panel" : "Enregistrement du panneau droit",
|
||||
"Register left panel" : "Enregistrement du panneau gauche",
|
||||
"Register bottom panel" : "Enregistrement du panneau supérieur",
|
||||
"Register top panel" : "Enregistrement du panneau inférieur",
|
||||
"Generate Xinha framework": "Génération de Xinha",
|
||||
"Init editor size": "Initialisation de la taille d'édition",
|
||||
"Init IFrame": "Initialisation de l'iframe",
|
||||
"Register plugin $plugin": "Enregistrement du plugin $plugin",
|
||||
"Loading plugin $plugin" : "Chargement du plugin $plugin"
|
||||
|
||||
dialogs: {
|
||||
"Cancel" : "Annuler",
|
||||
"Insert/Modify Link" : "Insérer/Modifier Lien",
|
||||
"New window (_blank)" : "Nouvelle fenêtre (_blank)",
|
||||
"None (use implicit)" : "Aucun (par défaut)",
|
||||
"OK" : "OK",
|
||||
"Other" : "Autre",
|
||||
"Same frame (_self)" : "Même cadre (_self)",
|
||||
"Target:" : "Cible:",
|
||||
"Title (tooltip):" : "Titre (infobulle):",
|
||||
"Top frame (_top)" : "Cadre du haut (_top)",
|
||||
"URL:" : "Adresse Web:",
|
||||
"You must enter the URL where this link points to" : "Vous devez entrer l'adresse Web du lien"
|
||||
}
|
||||
};
|
||||
};
|