Remove old Xinha version
authorJamie Cameron <jcameron@webmin.com>
Thu, 8 Oct 2009 06:55:35 +0000 (23:55 -0700)
committerJamie Cameron <jcameron@webmin.com>
Thu, 8 Oct 2009 06:55:35 +0000 (23:55 -0700)
141 files changed:
mailboxes/xinha/Xinha.css [deleted file]
mailboxes/xinha/XinhaCore.js [deleted file]
mailboxes/xinha/contrib/lc_parse_strings.php [deleted file]
mailboxes/xinha/contrib/php-xinha.php [deleted file]
mailboxes/xinha/examples/Extended.html [deleted file]
mailboxes/xinha/examples/custom.css [deleted file]
mailboxes/xinha/examples/dynamic.css [deleted file]
mailboxes/xinha/examples/ext_example-body.html [deleted file]
mailboxes/xinha/examples/ext_example-dest.php [deleted file]
mailboxes/xinha/examples/ext_example-menu.php [deleted file]
mailboxes/xinha/examples/ext_example.html [deleted file]
mailboxes/xinha/examples/full_example.css [deleted file]
mailboxes/xinha/examples/full_example.js [deleted file]
mailboxes/xinha/examples/simple_example.html [deleted file]
mailboxes/xinha/examples/stylist.css [deleted file]
mailboxes/xinha/examples/testbed.html [deleted file]
mailboxes/xinha/htmlarea.js [deleted file]
mailboxes/xinha/images/de/bold.gif [deleted file]
mailboxes/xinha/images/de/italic.gif [deleted file]
mailboxes/xinha/images/de/underline.gif [deleted file]
mailboxes/xinha/images/ed_about.gif [deleted file]
mailboxes/xinha/images/ed_align.gif [deleted file]
mailboxes/xinha/images/ed_align_center.gif [deleted file]
mailboxes/xinha/images/ed_align_justify.gif [deleted file]
mailboxes/xinha/images/ed_align_left.gif [deleted file]
mailboxes/xinha/images/ed_align_right.gif [deleted file]
mailboxes/xinha/images/ed_blank.gif [deleted file]
mailboxes/xinha/images/ed_buttons_main.gif [deleted file]
mailboxes/xinha/images/ed_charmap.gif [deleted file]
mailboxes/xinha/images/ed_clearfonts.gif [deleted file]
mailboxes/xinha/images/ed_color_bg.gif [deleted file]
mailboxes/xinha/images/ed_color_fg.gif [deleted file]
mailboxes/xinha/images/ed_copy.gif [deleted file]
mailboxes/xinha/images/ed_custom.gif [deleted file]
mailboxes/xinha/images/ed_cut.gif [deleted file]
mailboxes/xinha/images/ed_delete.gif [deleted file]
mailboxes/xinha/images/ed_format_bold.gif [deleted file]
mailboxes/xinha/images/ed_format_italic.gif [deleted file]
mailboxes/xinha/images/ed_format_strike.gif [deleted file]
mailboxes/xinha/images/ed_format_sub.gif [deleted file]
mailboxes/xinha/images/ed_format_sup.gif [deleted file]
mailboxes/xinha/images/ed_format_underline.gif [deleted file]
mailboxes/xinha/images/ed_help.gif [deleted file]
mailboxes/xinha/images/ed_hr.gif [deleted file]
mailboxes/xinha/images/ed_html.gif [deleted file]
mailboxes/xinha/images/ed_image.gif [deleted file]
mailboxes/xinha/images/ed_indent_less.gif [deleted file]
mailboxes/xinha/images/ed_indent_more.gif [deleted file]
mailboxes/xinha/images/ed_killword.gif [deleted file]
mailboxes/xinha/images/ed_left_to_right.gif [deleted file]
mailboxes/xinha/images/ed_link.gif [deleted file]
mailboxes/xinha/images/ed_list_bullet.gif [deleted file]
mailboxes/xinha/images/ed_list_num.gif [deleted file]
mailboxes/xinha/images/ed_overwrite.gif [deleted file]
mailboxes/xinha/images/ed_paste.gif [deleted file]
mailboxes/xinha/images/ed_print.gif [deleted file]
mailboxes/xinha/images/ed_redo.gif [deleted file]
mailboxes/xinha/images/ed_right_to_left.gif [deleted file]
mailboxes/xinha/images/ed_rmformat.gif [deleted file]
mailboxes/xinha/images/ed_save.gif [deleted file]
mailboxes/xinha/images/ed_save.png [deleted file]
mailboxes/xinha/images/ed_saveas.gif [deleted file]
mailboxes/xinha/images/ed_selectall.gif [deleted file]
mailboxes/xinha/images/ed_show_border.gif [deleted file]
mailboxes/xinha/images/ed_splitblock.gif [deleted file]
mailboxes/xinha/images/ed_splitcel.gif [deleted file]
mailboxes/xinha/images/ed_undo.gif [deleted file]
mailboxes/xinha/images/ed_word_cleaner.gif [deleted file]
mailboxes/xinha/images/fr/bold.gif [deleted file]
mailboxes/xinha/images/fr/strikethrough.gif [deleted file]
mailboxes/xinha/images/fr/underline.gif [deleted file]
mailboxes/xinha/images/fullscreen_maximize.gif [deleted file]
mailboxes/xinha/images/fullscreen_minimize.gif [deleted file]
mailboxes/xinha/images/insert_table.gif [deleted file]
mailboxes/xinha/images/insertfilelink.gif [deleted file]
mailboxes/xinha/images/insertmacro.png [deleted file]
mailboxes/xinha/images/tidy.gif [deleted file]
mailboxes/xinha/images/toggle_borders.gif [deleted file]
mailboxes/xinha/images/xinha_logo.gif [deleted file]
mailboxes/xinha/lang/b5.js [deleted file]
mailboxes/xinha/lang/ch.js [deleted file]
mailboxes/xinha/lang/cz.js [deleted file]
mailboxes/xinha/lang/da.js [deleted file]
mailboxes/xinha/lang/de.js [deleted file]
mailboxes/xinha/lang/ee.js [deleted file]
mailboxes/xinha/lang/el.js [deleted file]
mailboxes/xinha/lang/es.js [deleted file]
mailboxes/xinha/lang/fa.js [deleted file]
mailboxes/xinha/lang/fi.js [deleted file]
mailboxes/xinha/lang/fr.js [deleted file]
mailboxes/xinha/lang/gb.js [deleted file]
mailboxes/xinha/lang/he.js [deleted file]
mailboxes/xinha/lang/hu.js [deleted file]
mailboxes/xinha/lang/it.js [deleted file]
mailboxes/xinha/lang/ja.js [deleted file]
mailboxes/xinha/lang/lt.js [deleted file]
mailboxes/xinha/lang/lv.js [deleted file]
mailboxes/xinha/lang/nb.js [deleted file]
mailboxes/xinha/lang/nl.js [deleted file]
mailboxes/xinha/lang/pl.js [deleted file]
mailboxes/xinha/lang/pt_br.js [deleted file]
mailboxes/xinha/lang/ro.js [deleted file]
mailboxes/xinha/lang/ru.js [deleted file]
mailboxes/xinha/lang/sh.js [deleted file]
mailboxes/xinha/lang/si.js [deleted file]
mailboxes/xinha/lang/sr.js [deleted file]
mailboxes/xinha/lang/sv.js [deleted file]
mailboxes/xinha/lang/vn.js [deleted file]
mailboxes/xinha/license.txt [deleted file]
mailboxes/xinha/modules/ColorPicker/ColorPicker.js [deleted file]
mailboxes/xinha/modules/CreateLink/link.html [deleted file]
mailboxes/xinha/modules/CreateLink/link.js [deleted file]
mailboxes/xinha/modules/Dialogs/dialog.js [deleted file]
mailboxes/xinha/modules/Dialogs/inline-dialog.js [deleted file]
mailboxes/xinha/modules/Dialogs/panel-dialog.js [deleted file]
mailboxes/xinha/modules/Dialogs/popupwin.js [deleted file]
mailboxes/xinha/modules/FullScreen/full-screen.js [deleted file]
mailboxes/xinha/modules/FullScreen/lang/de.js [deleted file]
mailboxes/xinha/modules/FullScreen/lang/fr.js [deleted file]
mailboxes/xinha/modules/FullScreen/lang/ja.js [deleted file]
mailboxes/xinha/modules/FullScreen/lang/nb.js [deleted file]
mailboxes/xinha/modules/FullScreen/lang/pl.js [deleted file]
mailboxes/xinha/modules/FullScreen/lang/ru.js [deleted file]
mailboxes/xinha/modules/FullScreen/lang/sv.js [deleted file]
mailboxes/xinha/modules/Gecko/Gecko.js [deleted file]
mailboxes/xinha/modules/Gecko/paraHandlerBest.js [deleted file]
mailboxes/xinha/modules/Gecko/paraHandlerDirty.js [deleted file]
mailboxes/xinha/modules/GetHtml/DOMwalk.js [deleted file]
mailboxes/xinha/modules/GetHtml/TransformInnerHTML.js [deleted file]
mailboxes/xinha/modules/InsertImage/insert_image.html [deleted file]
mailboxes/xinha/modules/InsertImage/insert_image.js [deleted file]
mailboxes/xinha/modules/InsertTable/insert_table.html [deleted file]
mailboxes/xinha/modules/InsertTable/insert_table.js [deleted file]
mailboxes/xinha/modules/InternetExplorer/InternetExplorer.js [deleted file]
mailboxes/xinha/popups/about.html [deleted file]
mailboxes/xinha/popups/blank.html [deleted file]
mailboxes/xinha/popups/editor_help.html [deleted file]
mailboxes/xinha/popups/popup.css [deleted file]
mailboxes/xinha/popups/popup.js [deleted file]
mailboxes/xinha/popups/select_color.html [deleted file]
mailboxes/xinha/release-notes.txt [deleted file]

diff --git a/mailboxes/xinha/Xinha.css b/mailboxes/xinha/Xinha.css
deleted file mode 100644 (file)
index 2b4d7d9..0000000
+++ /dev/null
@@ -1,257 +0,0 @@
-.htmlarea { background: #fff; }
-
-.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: 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 { 
-  margin-top: 2px;
-  margin-bottom: 1px;
-  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 {
-  padding: 1px;
-  cursor: default;
-  border: 1px solid;
-  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
-}
-
-.dialog .buttonColor-hilite {
-  border-color: #000;
-}
-
-.dialog .buttonColor .chooser, .dialog .buttonColor .nocolor {
-  height: 0.6em;
-  border: 1px solid;
-  padding: 0px 1em;
-  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
-}
-
-.dialog .buttonColor .nocolor { padding: 0px; }
-.dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; }
-
-.dialog .label { text-align: right; width: 6em; }
-.dialog .value input { width: 100%; }
-.dialog .buttons { text-align: right; padding: 2px 4px 0px 4px; }
-
-.dialog legend { font-weight: bold; }
-.dialog fieldset table { margin: 2px 0px; }
-
-.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:auto; }
-.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
-{
-  background-color:#666;
-  position:absolute;
-  z-index:998;
-}
-.loading_main
-{
-  font-size:1.6em;
-  color:#ff6;
-  text-align:center;
-}
-.loading_sub
-{
-  font-size:1.0em;
-  color:#fff;
-  text-align:center;
-}
diff --git a/mailboxes/xinha/XinhaCore.js b/mailboxes/xinha/XinhaCore.js
deleted file mode 100644 (file)
index beb77fe..0000000
+++ /dev/null
@@ -1,3486 +0,0 @@
-Xinha.version={"Release":"Trunk","Head":"$HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/XinhaCore.js $".replace(/^[^:]*: (.*) \$$/,"$1"),"Date":"$LastChangedDate: 2007-02-22 02:11:56 +0100 (Do, 22 Feb 2007) $".replace(/^[^:]*: ([0-9-]*) ([0-9:]*) ([+0-9]*) \((.*)\) \$/,"$4 $2 $3"),"Revision":"$LastChangedRevision: 757 $".replace(/^[^:]*: (.*) \$$/,"$1"),"RevisionBy":"$LastChangedBy: ray $".replace(/^[^:]*: (.*) \$$/,"$1")};
-Xinha._resolveRelativeUrl=function(_1,_2){
-if(_2.match(/^([^:]+\:)?\//)){
-return _2;
-}else{
-var b=_1.split("/");
-if(b[b.length-1]==""){
-b.pop();
-}
-var p=_2.split("/");
-if(p[0]=="."){
-p.shift();
-}
-while(p[0]==".."){
-b.pop();
-p.shift();
-}
-return b.join("/")+"/"+p.join("/");
-}
-};
-if(typeof _editor_url=="string"){
-_editor_url=_editor_url.replace(/\x2f*$/,"/");
-if(!_editor_url.match(/^([^:]+\:)?\//)){
-var path=window.location.toString().split("/");
-path.pop();
-_editor_url=Xinha._resolveRelativeUrl(path.join("/"),_editor_url);
-}
-}else{
-alert("WARNING: _editor_url is not set!  You should set this variable to the editor files path; it should preferably be an absolute path, like in '/htmlarea/', but it can be relative if you prefer.  Further we will try to load the editor files correctly but we'll probably fail.");
-_editor_url="";
-}
-if(typeof _editor_lang=="string"){
-_editor_lang=_editor_lang.toLowerCase();
-}else{
-_editor_lang="en";
-}
-if(typeof _editor_skin!=="string"){
-_editor_skin="";
-}
-var __xinhas=[];
-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_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.isRunLocally=document.URL.toLowerCase().search(/^file:/)!=-1;
-if(Xinha.isRunLocally){
-alert("Xinha *must* be installed on a web server. Locally opened files (those that use the \"file://\" protocol) cannot properly function. Xinha will try to initialize but may not be correctly loaded.");
-}
-function Xinha(_5,_6){
-if(!_5){
-throw ("Tried to create Xinha without textarea specified.");
-}
-if(Xinha.checkSupportedBrowser()){
-if(typeof _6=="undefined"){
-this.config=new Xinha.Config();
-}else{
-this.config=_6;
-}
-this._htmlArea=null;
-if(typeof _5!="object"){
-_5=Xinha.getElementById("textarea",_5);
-}
-this._textArea=_5;
-this._textArea.spellcheck=false;
-this._initial_ta_size={w:_5.style.width?_5.style.width:(_5.offsetWidth?(_5.offsetWidth+"px"):(_5.cols+"em")),h:_5.style.height?_5.style.height:(_5.offsetHeight?(_5.offsetHeight+"px"):(_5.rows+"em"))};
-if(this.config.showLoading){
-var _7=document.createElement("div");
-_7.id="loading_"+_5.name;
-_7.className="loading";
-try{
-_7.style.width=_5.offsetWidth+"px";
-}
-catch(ex){
-_7.style.width=this._initial_ta_size.w;
-}
-_7.style.left=Xinha.findPosX(_5)+"px";
-_7.style.top=(Xinha.findPosY(_5)+parseInt(this._initial_ta_size.h,10)/2)+"px";
-var _8=document.createElement("div");
-_8.className="loading_main";
-_8.id="loading_main_"+_5.name;
-_8.appendChild(document.createTextNode(Xinha._lc("Loading in progress. Please wait !")));
-var _9=document.createElement("div");
-_9.className="loading_sub";
-_9.id="loading_sub_"+_5.name;
-_9.appendChild(document.createTextNode(Xinha._lc("Constructing main object")));
-_7.appendChild(_8);
-_7.appendChild(_9);
-document.body.appendChild(_7);
-this.setLoadingMessage("Constructing object");
-}
-this._editMode="wysiwyg";
-this.plugins={};
-this._timerToolbar=null;
-this._timerUndo=null;
-this._undoQueue=[this.config.undoSteps];
-this._undoPos=-1;
-this._customUndo=true;
-this._mdoc=document;
-this.doctype="";
-this.__htmlarea_id_num=__xinhas.length;
-__xinhas[this.__htmlarea_id_num]=this;
-this._notifyListeners={};
-var _a={right:{on:true,container:document.createElement("td"),panels:[]},left:{on:true,container:document.createElement("td"),panels:[]},top:{on:true,container:document.createElement("td"),panels:[]},bottom:{on:true,container:document.createElement("td"),panels:[]}};
-for(var i in _a){
-if(!_a[i].container){
-continue;
-}
-_a[i].div=_a[i].container;
-_a[i].container.className="panels "+i;
-Xinha.freeLater(_a[i],"container");
-Xinha.freeLater(_a[i],"div");
-}
-this._panels=_a;
-Xinha.freeLater(this,"_textArea");
-}
-}
-Xinha.onload=function(){
-};
-Xinha.init=function(){
-Xinha.onload();
-};
-Xinha.RE_tagName=/(<\/|<)\s*([^ \t\n>]+)/ig;
-Xinha.RE_doctype=/(<!doctype((.|\n)*?)>)\n?/i;
-Xinha.RE_head=/<head>((.|\n)*?)<\/head>/i;
-Xinha.RE_body=/<body[^>]*>((.|\n|\r|\t)*?)<\/body>/i;
-Xinha.RE_Specials=/([\/\^$*+?.()|{}[\]])/g;
-Xinha.RE_email=/[_a-zA-Z\d\-\.]{3,}@[_a-zA-Z\d\-]{2,}(\.[_a-zA-Z\d\-]{2,})+/i;
-Xinha.RE_url=/(https?:\/\/)?(([a-z0-9_]+:[a-z0-9_]+@)?[a-z0-9_-]{2,}(\.[a-z0-9_-]{2,}){2,}(:[0-9]+)?(\/\S+)*)/i;
-Xinha.Config=function(){
-var _c=this;
-this.version=Xinha.version.Revision;
-this.width="auto";
-this.height="auto";
-this.sizeIncludesBars=true;
-this.sizeIncludesPanels=true;
-this.panel_dimensions={left:"200px",right:"200px",top:"100px",bottom:"100px"};
-this.statusBar=true;
-this.htmlareaPaste=false;
-this.mozParaHandler="best";
-this.getHtmlMethod="DOMwalk";
-this.undoSteps=20;
-this.undoTimeout=500;
-this.changeJustifyWithDirection=false;
-this.fullPage=false;
-this.pageStyle="";
-this.pageStyleSheets=[];
-this.baseHref=null;
-this.expandRelativeUrl=true;
-this.stripBaseHref=true;
-this.stripSelfNamedAnchors=true;
-this.only7BitPrintablesInURLs=true;
-this.sevenBitClean=false;
-this.specialReplacements={};
-this.killWordOnPaste=true;
-this.makeLinkShowsTarget=true;
-this.charSet=Xinha.is_gecko?document.characterSet:document.charset;
-this.imgURL="images/";
-this.popupURL="popups/";
-this.htmlRemoveTags=null;
-this.flowToolbars=true;
-this.showLoading=false;
-this.stripScripts=true;
-this.convertUrlsToLinks=true;
-this.colorPickerCellSize="6px";
-this.colorPickerGranularity=18;
-this.colorPickerPosition="bottom,right";
-this.colorPickerWebSafe=false;
-this.colorPickerSaveColors=20;
-this.fullScreen=false;
-this.fullScreenMargins=[0,0,0,0];
-this.toolbar=[["popupeditor"],["separator","formatblock","fontname","fontsize","bold","italic","underline","strikethrough"],["separator","forecolor","hilitecolor","textindicator"],["separator","subscript","superscript"],["linebreak","separator","justifyleft","justifycenter","justifyright","justifyfull"],["separator","insertorderedlist","insertunorderedlist","outdent","indent"],["separator","inserthorizontalrule","createlink","insertimage","inserttable"],["linebreak","separator","undo","redo","selectall","print"],(Xinha.is_gecko?[]:["cut","copy","paste","overwrite","saveas"]),["separator","killword","clearfonts","removeformat","toggleborders","splitblock","lefttoright","righttoleft"],["separator","htmlmode","showhelp","about"]];
-this.fontname={"&mdash; font &mdash;":"","Arial":"arial,helvetica,sans-serif","Courier New":"courier new,courier,monospace","Georgia":"georgia,times new roman,times,serif","Tahoma":"tahoma,arial,helvetica,sans-serif","Times New Roman":"times new roman,times,serif","Verdana":"verdana,arial,helvetica,sans-serif","impact":"impact","WingDings":"wingdings"};
-this.fontsize={"&mdash; size &mdash;":"","1 (8 pt)":"1","2 (10 pt)":"2","3 (12 pt)":"3","4 (14 pt)":"4","5 (18 pt)":"5","6 (24 pt)":"6","7 (36 pt)":"7"};
-this.formatblock={"&mdash; format &mdash;":"","Heading 1":"h1","Heading 2":"h2","Heading 3":"h3","Heading 4":"h4","Heading 5":"h5","Heading 6":"h6","Normal":"p","Address":"address","Formatted":"pre"};
-this.customSelects={};
-function cut_copy_paste(e,_e,_f){
-e.execCommand(_e);
-}
-this.debug=true;
-this.URIs={"blank":"popups/blank.html","link":_editor_url+"modules/CreateLink/link.html","insert_image":_editor_url+"modules/InsertImage/insert_image.html","insert_table":_editor_url+"modules/InsertTable/insert_table.html","select_color":"select_color.html","about":"about.html","help":"editor_help.html"};
-this.btnList={bold:["Bold",Xinha._lc({key:"button_bold",string:["ed_buttons_main.gif",3,2]},"Xinha"),false,function(e){
-e.execCommand("bold");
-}],italic:["Italic",Xinha._lc({key:"button_italic",string:["ed_buttons_main.gif",2,2]},"Xinha"),false,function(e){
-e.execCommand("italic");
-}],underline:["Underline",Xinha._lc({key:"button_underline",string:["ed_buttons_main.gif",2,0]},"Xinha"),false,function(e){
-e.execCommand("underline");
-}],strikethrough:["Strikethrough",Xinha._lc({key:"button_strikethrough",string:["ed_buttons_main.gif",3,0]},"Xinha"),false,function(e){
-e.execCommand("strikethrough");
-}],subscript:["Subscript",Xinha._lc({key:"button_subscript",string:["ed_buttons_main.gif",3,1]},"Xinha"),false,function(e){
-e.execCommand("subscript");
-}],superscript:["Superscript",Xinha._lc({key:"button_superscript",string:["ed_buttons_main.gif",2,1]},"Xinha"),false,function(e){
-e.execCommand("superscript");
-}],justifyleft:["Justify Left",["ed_buttons_main.gif",0,0],false,function(e){
-e.execCommand("justifyleft");
-}],justifycenter:["Justify Center",["ed_buttons_main.gif",1,1],false,function(e){
-e.execCommand("justifycenter");
-}],justifyright:["Justify Right",["ed_buttons_main.gif",1,0],false,function(e){
-e.execCommand("justifyright");
-}],justifyfull:["Justify Full",["ed_buttons_main.gif",0,1],false,function(e){
-e.execCommand("justifyfull");
-}],orderedlist:["Ordered List",["ed_buttons_main.gif",0,3],false,function(e){
-e.execCommand("insertorderedlist");
-}],unorderedlist:["Bulleted List",["ed_buttons_main.gif",1,3],false,function(e){
-e.execCommand("insertunorderedlist");
-}],insertorderedlist:["Ordered List",["ed_buttons_main.gif",0,3],false,function(e){
-e.execCommand("insertorderedlist");
-}],insertunorderedlist:["Bulleted List",["ed_buttons_main.gif",1,3],false,function(e){
-e.execCommand("insertunorderedlist");
-}],outdent:["Decrease Indent",["ed_buttons_main.gif",1,2],false,function(e){
-e.execCommand("outdent");
-}],indent:["Increase Indent",["ed_buttons_main.gif",0,2],false,function(e){
-e.execCommand("indent");
-}],forecolor:["Font Color",["ed_buttons_main.gif",3,3],false,function(e){
-e.execCommand("forecolor");
-}],hilitecolor:["Background Color",["ed_buttons_main.gif",2,3],false,function(e){
-e.execCommand("hilitecolor");
-}],undo:["Undoes your last action",["ed_buttons_main.gif",4,2],false,function(e){
-e.execCommand("undo");
-}],redo:["Redoes your last action",["ed_buttons_main.gif",5,2],false,function(e){
-e.execCommand("redo");
-}],cut:["Cut selection",["ed_buttons_main.gif",5,0],false,cut_copy_paste],copy:["Copy selection",["ed_buttons_main.gif",4,0],false,cut_copy_paste],paste:["Paste from clipboard",["ed_buttons_main.gif",4,1],false,cut_copy_paste],selectall:["Select all","ed_selectall.gif",false,function(e){
-e.execCommand("selectall");
-}],inserthorizontalrule:["Horizontal Rule",["ed_buttons_main.gif",6,0],false,function(e){
-e.execCommand("inserthorizontalrule");
-}],createlink:["Insert Web Link",["ed_buttons_main.gif",6,1],false,function(e){
-e._createLink();
-}],insertimage:["Insert/Modify Image",["ed_buttons_main.gif",6,3],false,function(e){
-e.execCommand("insertimage");
-}],inserttable:["Insert Table",["ed_buttons_main.gif",6,2],false,function(e){
-e.execCommand("inserttable");
-}],htmlmode:["Toggle HTML Source",["ed_buttons_main.gif",7,0],true,function(e){
-e.execCommand("htmlmode");
-}],toggleborders:["Toggle Borders",["ed_buttons_main.gif",7,2],false,function(e){
-e._toggleBorders();
-}],print:["Print document",["ed_buttons_main.gif",8,1],false,function(e){
-if(Xinha.is_gecko){
-e._iframe.contentWindow.print();
-}else{
-e.focusEditor();
-print();
-}
-}],saveas:["Save as","ed_saveas.gif",false,function(e){
-e.execCommand("saveas",false,"noname.htm");
-}],about:["About this editor",["ed_buttons_main.gif",8,2],true,function(e){
-e.execCommand("about");
-}],showhelp:["Help using editor",["ed_buttons_main.gif",9,2],true,function(e){
-e.execCommand("showhelp");
-}],splitblock:["Split Block","ed_splitblock.gif",false,function(e){
-e._splitBlock();
-}],lefttoright:["Direction left to right",["ed_buttons_main.gif",0,4],false,function(e){
-e.execCommand("lefttoright");
-}],righttoleft:["Direction right to left",["ed_buttons_main.gif",1,4],false,function(e){
-e.execCommand("righttoleft");
-}],overwrite:["Insert/Overwrite","ed_overwrite.gif",false,function(e){
-e.execCommand("overwrite");
-}],wordclean:["MS Word Cleaner",["ed_buttons_main.gif",5,3],false,function(e){
-e._wordClean();
-}],clearfonts:["Clear Inline Font Specifications",["ed_buttons_main.gif",5,4],true,function(e){
-e._clearFonts();
-}],removeformat:["Remove formatting",["ed_buttons_main.gif",4,4],false,function(e){
-e.execCommand("removeformat");
-}],killword:["Clear MSOffice tags",["ed_buttons_main.gif",4,3],false,function(e){
-e.execCommand("killword");
-}]};
-for(var i in this.btnList){
-var btn=this.btnList[i];
-if(typeof btn!="object"){
-continue;
-}
-if(typeof btn[1]!="string"){
-btn[1][0]=_editor_url+this.imgURL+btn[1][0];
-}else{
-btn[1]=_editor_url+this.imgURL+btn[1];
-}
-btn[0]=Xinha._lc(btn[0]);
-}
-};
-Xinha.Config.prototype.registerButton=function(id,_3a,_3b,_3c,_3d,_3e){
-var _3f;
-if(typeof id=="string"){
-_3f=id;
-}else{
-if(typeof id=="object"){
-_3f=id.id;
-}else{
-alert("ERROR [Xinha.Config::registerButton]:\ninvalid arguments");
-return false;
-}
-}
-switch(typeof id){
-case "string":
-this.btnList[id]=[_3a,_3b,_3c,_3d,_3e];
-break;
-case "object":
-this.btnList[id.id]=[id.tooltip,id.image,id.textMode,id.action,id.context];
-break;
-}
-};
-Xinha.prototype.registerPanel=function(_40,_41){
-if(!_40){
-_40="right";
-}
-this.setLoadingMessage("Register panel "+_40);
-var _42=this.addPanel(_40);
-if(_41){
-_41.drawPanelIn(_42);
-}
-};
-Xinha.Config.prototype.registerDropdown=function(_43){
-this.customSelects[_43.id]=_43;
-};
-Xinha.Config.prototype.hideSomeButtons=function(_44){
-var _45=this.toolbar;
-for(var i=_45.length;--i>=0;){
-var _47=_45[i];
-for(var j=_47.length;--j>=0;){
-if(_44.indexOf(" "+_47[j]+" ")>=0){
-var len=1;
-if(/separator|space/.test(_47[j+1])){
-len=2;
-}
-_47.splice(j,len);
-}
-}
-}
-};
-Xinha.Config.prototype.addToolbarElement=function(id,_4b,_4c){
-var _4d=this.toolbar;
-var a,i,j,o,sid;
-var _4f=false;
-var _50=false;
-var _51=0;
-var _52=0;
-var _53=0;
-var _54=false;
-var _55=false;
-if((id&&typeof id=="object")&&(id.constructor==Array)){
-_4f=true;
-}
-if((_4b&&typeof _4b=="object")&&(_4b.constructor==Array)){
-_50=true;
-_51=_4b.length;
-}
-if(_4f){
-for(i=0;i<id.length;++i){
-if((id[i]!="separator")&&(id[i].indexOf("T[")!==0)){
-sid=id[i];
-}
-}
-}else{
-sid=id;
-}
-for(i=0;i<_4d.length;++i){
-a=_4d[i];
-for(j=0;j<a.length;++j){
-if(a[j]==sid){
-return;
-}
-}
-}
-for(i=0;!_55&&i<_4d.length;++i){
-a=_4d[i];
-for(j=0;!_55&&j<a.length;++j){
-if(_50){
-for(o=0;o<_51;++o){
-if(a[j]==_4b[o]){
-if(o===0){
-_55=true;
-j--;
-break;
-}else{
-_53=i;
-_52=j;
-_51=o;
-}
-}
-}
-}else{
-if(a[j]==_4b){
-_55=true;
-break;
-}
-}
-}
-}
-if(!_55&&_50){
-if(_4b.length!=_51){
-j=_52;
-a=_4d[_53];
-_55=true;
-}
-}
-if(_55){
-if(_4c===0){
-if(_4f){
-a[j]=id[id.length-1];
-for(i=id.length-1;--i>=0;){
-a.splice(j,0,id[i]);
-}
-}else{
-a[j]=id;
-}
-}else{
-if(_4c<0){
-j=j+_4c+1;
-}else{
-if(_4c>0){
-j=j+_4c;
-}
-}
-if(_4f){
-for(i=id.length;--i>=0;){
-a.splice(j,0,id[i]);
-}
-}else{
-a.splice(j,0,id);
-}
-}
-}else{
-_4d[0].splice(0,0,"separator");
-if(_4f){
-for(i=id.length;--i>=0;){
-_4d[0].splice(0,0,id[i]);
-}
-}else{
-_4d[0].splice(0,0,id);
-}
-}
-};
-Xinha.Config.prototype.removeToolbarElement=Xinha.Config.prototype.hideSomeButtons;
-Xinha.replaceAll=function(_56){
-var tas=document.getElementsByTagName("textarea");
-for(var i=tas.length;i>0;(new Xinha(tas[--i],_56)).generate()){
-}
-};
-Xinha.replace=function(id,_5a){
-var ta=Xinha.getElementById("textarea",id);
-return ta?(new Xinha(ta,_5a)).generate():null;
-};
-Xinha.prototype._createToolbar=function(){
-this.setLoadingMessage("Create Toolbar");
-var _5c=this;
-var _5d=document.createElement("div");
-this._toolBar=this._toolbar=_5d;
-_5d.className="toolbar";
-_5d.unselectable="1";
-Xinha.freeLater(this,"_toolBar");
-Xinha.freeLater(this,"_toolbar");
-var _5e=null;
-var _5f={};
-this._toolbarObjects=_5f;
-this._createToolbar1(_5c,_5d,_5f);
-this._htmlArea.appendChild(_5d);
-return _5d;
-};
-Xinha.prototype._setConfig=function(_60){
-this.config=_60;
-};
-Xinha.prototype._addToolbar=function(){
-this._createToolbar1(this,this._toolbar,this._toolbarObjects);
-};
-Xinha._createToolbarBreakingElement=function(){
-var brk=document.createElement("div");
-brk.style.height="1px";
-brk.style.width="1px";
-brk.style.lineHeight="1px";
-brk.style.fontSize="1px";
-brk.style.clear="both";
-return brk;
-};
-Xinha.prototype._createToolbar1=function(_62,_63,_64){
-var _65;
-if(_62.config.flowToolbars){
-_63.appendChild(Xinha._createToolbarBreakingElement());
-}
-function newLine(){
-if(typeof _65!="undefined"&&_65.childNodes.length===0){
-return;
-}
-var _66=document.createElement("table");
-_66.border="0px";
-_66.cellSpacing="0px";
-_66.cellPadding="0px";
-if(_62.config.flowToolbars){
-if(Xinha.is_ie){
-_66.style.styleFloat="left";
-}else{
-_66.style.cssFloat="left";
-}
-}
-_63.appendChild(_66);
-var _67=document.createElement("tbody");
-_66.appendChild(_67);
-_65=document.createElement("tr");
-_67.appendChild(_65);
-_66.className="toolbarRow";
-}
-newLine();
-function setButtonStatus(id,_69){
-var _6a=this[id];
-var el=this.element;
-if(_6a!=_69){
-switch(id){
-case "enabled":
-if(_69){
-Xinha._removeClass(el,"buttonDisabled");
-el.disabled=false;
-}else{
-Xinha._addClass(el,"buttonDisabled");
-el.disabled=true;
-}
-break;
-case "active":
-if(_69){
-Xinha._addClass(el,"buttonPressed");
-}else{
-Xinha._removeClass(el,"buttonPressed");
-}
-break;
-}
-this[id]=_69;
-}
-}
-function createSelect(txt){
-var _6d=null;
-var el=null;
-var cmd=null;
-var _70=_62.config.customSelects;
-var _71=null;
-var _72="";
-switch(txt){
-case "fontsize":
-case "fontname":
-case "formatblock":
-_6d=_62.config[txt];
-cmd=txt;
-break;
-default:
-cmd=txt;
-var _73=_70[cmd];
-if(typeof _73!="undefined"){
-_6d=_73.options;
-_71=_73.context;
-if(typeof _73.tooltip!="undefined"){
-_72=_73.tooltip;
-}
-}else{
-alert("ERROR [createSelect]:\nCan't find the requested dropdown definition");
-}
-break;
-}
-if(_6d){
-el=document.createElement("select");
-el.title=_72;
-var obj={name:txt,element:el,enabled:true,text:false,cmd:cmd,state:setButtonStatus,context:_71};
-Xinha.freeLater(obj);
-_64[txt]=obj;
-for(var i in _6d){
-if(typeof (_6d[i])!="string"){
-continue;
-}
-var op=document.createElement("option");
-op.innerHTML=Xinha._lc(i);
-op.value=_6d[i];
-el.appendChild(op);
-}
-Xinha._addEvent(el,"change",function(){
-_62._comboSelected(el,txt);
-});
-}
-return el;
-}
-function createButton(txt){
-var el,btn,obj=null;
-switch(txt){
-case "separator":
-if(_62.config.flowToolbars){
-newLine();
-}
-el=document.createElement("div");
-el.className="separator";
-break;
-case "space":
-el=document.createElement("div");
-el.className="space";
-break;
-case "linebreak":
-newLine();
-return false;
-case "textindicator":
-el=document.createElement("div");
-el.appendChild(document.createTextNode("A"));
-el.className="indicator";
-el.title=Xinha._lc("Current style");
-obj={name:txt,element:el,enabled:true,active:false,text:false,cmd:"textindicator",state:setButtonStatus};
-Xinha.freeLater(obj);
-_64[txt]=obj;
-break;
-default:
-btn=_62.config.btnList[txt];
-}
-if(!el&&btn){
-el=document.createElement("a");
-el.style.display="block";
-el.href="javascript:void(0)";
-el.style.textDecoration="none";
-el.title=btn[0];
-el.className="button";
-el.style.direction="ltr";
-obj={name:txt,element:el,enabled:true,active:false,text:btn[2],cmd:btn[3],state:setButtonStatus,context:btn[4]||null};
-Xinha.freeLater(el);
-Xinha.freeLater(obj);
-_64[txt]=obj;
-el.ondrag=function(){
-return false;
-};
-Xinha._addEvent(el,"mouseout",function(ev){
-if(obj.enabled){
-Xinha._removeClass(el,"buttonActive");
-if(obj.active){
-Xinha._addClass(el,"buttonPressed");
-}
-}
-});
-Xinha._addEvent(el,"mousedown",function(ev){
-if(obj.enabled){
-Xinha._addClass(el,"buttonActive");
-Xinha._removeClass(el,"buttonPressed");
-Xinha._stopEvent(Xinha.is_ie?window.event:ev);
-}
-});
-Xinha._addEvent(el,"click",function(ev){
-if(obj.enabled){
-Xinha._removeClass(el,"buttonActive");
-if(Xinha.is_gecko){
-_62.activateEditor();
-}
-obj.cmd(_62,obj.name,obj);
-Xinha._stopEvent(Xinha.is_ie?window.event:ev);
-}
-});
-var _7c=Xinha.makeBtnImg(btn[1]);
-var img=_7c.firstChild;
-el.appendChild(_7c);
-obj.imgel=img;
-obj.swapImage=function(_7e){
-if(typeof _7e!="string"){
-img.src=_7e[0];
-img.style.position="relative";
-img.style.top=_7e[2]?("-"+(18*(_7e[2]+1))+"px"):"-18px";
-img.style.left=_7e[1]?("-"+(18*(_7e[1]+1))+"px"):"-18px";
-}else{
-obj.imgel.src=_7e;
-img.style.top="0px";
-img.style.left="0px";
-}
-};
-}else{
-if(!el){
-el=createSelect(txt);
-}
-}
-return el;
-}
-var _7f=true;
-for(var i=0;i<this.config.toolbar.length;++i){
-if(!_7f){
-}else{
-_7f=false;
-}
-if(this.config.toolbar[i]===null){
-this.config.toolbar[i]=["separator"];
-}
-var _81=this.config.toolbar[i];
-for(var j=0;j<_81.length;++j){
-var _83=_81[j];
-var _84;
-if(/^([IT])\[(.*?)\]/.test(_83)){
-var _85=RegExp.$1=="I";
-var _86=RegExp.$2;
-if(_85){
-_86=Xinha._lc(_86);
-}
-_84=document.createElement("td");
-_65.appendChild(_84);
-_84.className="label";
-_84.innerHTML=_86;
-}else{
-if(typeof _83!="function"){
-var _87=createButton(_83);
-if(_87){
-_84=document.createElement("td");
-_84.className="toolbarElement";
-_65.appendChild(_84);
-_84.appendChild(_87);
-}else{
-if(_87===null){
-alert("FIXME: Unknown toolbar item: "+_83);
-}
-}
-}
-}
-}
-}
-if(_62.config.flowToolbars){
-_63.appendChild(Xinha._createToolbarBreakingElement());
-}
-return _63;
-};
-var use_clone_img=false;
-Xinha.makeBtnImg=function(_88,doc){
-if(!doc){
-doc=document;
-}
-if(!doc._xinhaImgCache){
-doc._xinhaImgCache={};
-Xinha.freeLater(doc._xinhaImgCache);
-}
-var _8a=null;
-if(Xinha.is_ie&&((!doc.compatMode)||(doc.compatMode&&doc.compatMode=="BackCompat"))){
-_8a=doc.createElement("span");
-}else{
-_8a=doc.createElement("div");
-_8a.style.position="relative";
-}
-_8a.style.overflow="hidden";
-_8a.style.width="18px";
-_8a.style.height="18px";
-_8a.className="buttonImageContainer";
-var img=null;
-if(typeof _88=="string"){
-if(doc._xinhaImgCache[_88]){
-img=doc._xinhaImgCache[_88].cloneNode();
-}else{
-img=doc.createElement("img");
-img.src=_88;
-img.style.width="18px";
-img.style.height="18px";
-if(use_clone_img){
-doc._xinhaImgCache[_88]=img.cloneNode();
-}
-}
-}else{
-if(doc._xinhaImgCache[_88[0]]){
-img=doc._xinhaImgCache[_88[0]].cloneNode();
-}else{
-img=doc.createElement("img");
-img.src=_88[0];
-img.style.position="relative";
-if(use_clone_img){
-doc._xinhaImgCache[_88[0]]=img.cloneNode();
-}
-}
-img.style.top=_88[2]?("-"+(18*(_88[2]+1))+"px"):"-18px";
-img.style.left=_88[1]?("-"+(18*(_88[1]+1))+"px"):"-18px";
-}
-_8a.appendChild(img);
-return _8a;
-};
-Xinha.prototype._createStatusBar=function(){
-this.setLoadingMessage("Create StatusBar");
-var _8c=document.createElement("div");
-_8c.className="statusBar";
-this._statusBar=_8c;
-Xinha.freeLater(this,"_statusBar");
-var div=document.createElement("span");
-div.className="statusBarTree";
-div.innerHTML=Xinha._lc("Path")+": ";
-this._statusBarTree=div;
-Xinha.freeLater(this,"_statusBarTree");
-this._statusBar.appendChild(div);
-div=document.createElement("span");
-div.innerHTML=Xinha._lc("You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.");
-div.style.display="none";
-this._statusBarTextMode=div;
-Xinha.freeLater(this,"_statusBarTextMode");
-this._statusBar.appendChild(div);
-if(!this.config.statusBar){
-_8c.style.display="none";
-}
-return _8c;
-};
-Xinha.prototype.generate=function(){
-var i;
-var _8f=this;
-if(Xinha.is_ie){
-if(typeof InternetExplorer=="undefined"){
-Xinha.loadPlugin("InternetExplorer",function(){
-_8f.generate();
-},_editor_url+"modules/InternetExplorer/InternetExplorer.js");
-return false;
-}
-_8f._browserSpecificPlugin=_8f.registerPlugin("InternetExplorer");
-}else{
-if(typeof Gecko=="undefined"){
-Xinha.loadPlugin("Gecko",function(){
-_8f.generate();
-},_editor_url+"modules/Gecko/Gecko.js");
-return false;
-}
-_8f._browserSpecificPlugin=_8f.registerPlugin("Gecko");
-}
-this.setLoadingMessage("Generate Xinha object");
-if(typeof Dialog=="undefined"){
-Xinha._loadback(_editor_url+"modules/Dialogs/dialog.js",this.generate,this);
-return false;
-}
-if(typeof Xinha.Dialog=="undefined"){
-Xinha._loadback(_editor_url+"modules/Dialogs/inline-dialog.js",this.generate,this);
-return false;
-}
-if(typeof FullScreen=="undefined"){
-Xinha.loadPlugin("FullScreen",function(){
-_8f.generate();
-},_editor_url+"modules/FullScreen/full-screen.js");
-return false;
-}
-var _90=_8f.config.toolbar;
-for(i=_90.length;--i>=0;){
-for(var j=_90[i].length;--j>=0;){
-switch(_90[i][j]){
-case "popupeditor":
-_8f.registerPlugin("FullScreen");
-break;
-case "insertimage":
-if(typeof InsertImage=="undefined"&&typeof Xinha.prototype._insertImage=="undefined"){
-Xinha.loadPlugin("InsertImage",function(){
-_8f.generate();
-},_editor_url+"modules/InsertImage/insert_image.js");
-return false;
-}else{
-if(typeof InsertImage!="undefined"){
-_8f.registerPlugin("InsertImage");
-}
-}
-break;
-case "createlink":
-if(typeof CreateLink=="undefined"&&typeof Xinha.prototype._createLink=="undefined"&&typeof Linker=="undefined"){
-Xinha.loadPlugin("CreateLink",function(){
-_8f.generate();
-},_editor_url+"modules/CreateLink/link.js");
-return false;
-}else{
-if(typeof CreateLink!="undefined"){
-_8f.registerPlugin("CreateLink");
-}
-}
-break;
-case "inserttable":
-if(typeof InsertTable=="undefined"&&typeof Xinha.prototype._insertTable=="undefined"){
-Xinha.loadPlugin("InsertTable",function(){
-_8f.generate();
-},_editor_url+"modules/InsertTable/insert_table.js");
-return false;
-}else{
-if(typeof InsertTable!="undefined"){
-_8f.registerPlugin("InsertTable");
-}
-}
-break;
-case "hilitecolor":
-case "forecolor":
-if(typeof ColorPicker=="undefined"){
-Xinha.loadPlugin("ColorPicker",function(){
-_8f.generate();
-},_editor_url+"modules/ColorPicker/ColorPicker.js");
-return false;
-}else{
-if(typeof ColorPicker!="undefined"){
-_8f.registerPlugin("ColorPicker");
-}
-}
-break;
-}
-}
-}
-if(Xinha.is_gecko&&(_8f.config.mozParaHandler=="best"||_8f.config.mozParaHandler=="dirty")){
-switch(this.config.mozParaHandler){
-case "dirty":
-var _92=_editor_url+"modules/Gecko/paraHandlerDirty.js";
-break;
-default:
-var _92=_editor_url+"modules/Gecko/paraHandlerBest.js";
-break;
-}
-if(typeof EnterParagraphs=="undefined"){
-Xinha.loadPlugin("EnterParagraphs",function(){
-_8f.generate();
-},_92);
-return false;
-}
-_8f.registerPlugin("EnterParagraphs");
-}
-switch(this.config.getHtmlMethod){
-case "TransformInnerHTML":
-var _93=_editor_url+"modules/GetHtml/TransformInnerHTML.js";
-break;
-default:
-var _93=_editor_url+"modules/GetHtml/DOMwalk.js";
-break;
-}
-if(typeof GetHtmlImplementation=="undefined"){
-Xinha.loadPlugin("GetHtmlImplementation",function(){
-_8f.generate();
-},_93);
-return false;
-}else{
-_8f.registerPlugin("GetHtmlImplementation");
-}
-if(_editor_skin!==""){
-var _94=false;
-var _95=document.getElementsByTagName("head")[0];
-var _96=document.getElementsByTagName("link");
-for(i=0;i<_96.length;i++){
-if((_96[i].rel=="stylesheet")&&(_96[i].href==_editor_url+"skins/"+_editor_skin+"/skin.css")){
-_94=true;
-}
-}
-if(!_94){
-var _97=document.createElement("link");
-_97.type="text/css";
-_97.href=_editor_url+"skins/"+_editor_skin+"/skin.css";
-_97.rel="stylesheet";
-_95.appendChild(_97);
-}
-}
-this._framework={"table":document.createElement("table"),"tbody":document.createElement("tbody"),"tb_row":document.createElement("tr"),"tb_cell":document.createElement("td"),"tp_row":document.createElement("tr"),"tp_cell":this._panels.top.container,"ler_row":document.createElement("tr"),"lp_cell":this._panels.left.container,"ed_cell":document.createElement("td"),"rp_cell":this._panels.right.container,"bp_row":document.createElement("tr"),"bp_cell":this._panels.bottom.container,"sb_row":document.createElement("tr"),"sb_cell":document.createElement("td")};
-Xinha.freeLater(this._framework);
-var fw=this._framework;
-fw.table.border="0";
-fw.table.cellPadding="0";
-fw.table.cellSpacing="0";
-fw.tb_row.style.verticalAlign="top";
-fw.tp_row.style.verticalAlign="top";
-fw.ler_row.style.verticalAlign="top";
-fw.bp_row.style.verticalAlign="top";
-fw.sb_row.style.verticalAlign="top";
-fw.ed_cell.style.position="relative";
-fw.tb_row.appendChild(fw.tb_cell);
-fw.tb_cell.colSpan=3;
-fw.tp_row.appendChild(fw.tp_cell);
-fw.tp_cell.colSpan=3;
-fw.ler_row.appendChild(fw.lp_cell);
-fw.ler_row.appendChild(fw.ed_cell);
-fw.ler_row.appendChild(fw.rp_cell);
-fw.bp_row.appendChild(fw.bp_cell);
-fw.bp_cell.colSpan=3;
-fw.sb_row.appendChild(fw.sb_cell);
-fw.sb_cell.colSpan=3;
-fw.tbody.appendChild(fw.tb_row);
-fw.tbody.appendChild(fw.tp_row);
-fw.tbody.appendChild(fw.ler_row);
-fw.tbody.appendChild(fw.bp_row);
-fw.tbody.appendChild(fw.sb_row);
-fw.table.appendChild(fw.tbody);
-var _99=this._framework.table;
-this._htmlArea=_99;
-Xinha.freeLater(this,"_htmlArea");
-_99.className="htmlarea";
-this._framework.tb_cell.appendChild(this._createToolbar());
-var _9a=document.createElement("iframe");
-_9a.src=_editor_url+_8f.config.URIs.blank;
-this._framework.ed_cell.appendChild(_9a);
-this._iframe=_9a;
-this._iframe.className="xinha_iframe";
-Xinha.freeLater(this,"_iframe");
-var _9b=this._createStatusBar();
-this._framework.sb_cell.appendChild(_9b);
-var _9c=this._textArea;
-_9c.parentNode.insertBefore(_99,_9c);
-_9c.className="xinha_textarea";
-Xinha.removeFromParent(_9c);
-this._framework.ed_cell.appendChild(_9c);
-if(_9c.form){
-Xinha.prependDom0Event(this._textArea.form,"submit",function(){
-_8f._textArea.value=_8f.outwardHtml(_8f.getHTML());
-return true;
-});
-var _9d=_9c.value;
-Xinha.prependDom0Event(this._textArea.form,"reset",function(){
-_8f.setHTML(_8f.inwardHtml(_9d));
-_8f.updateToolbar();
-return true;
-});
-if(!_9c.form.xinha_submit){
-try{
-_9c.form.xinha_submit=_9c.form.submit;
-_9c.form.submit=function(){
-this.onsubmit();
-this.xinha_submit();
-};
-}
-catch(ex){
-}
-}
-}
-Xinha.prependDom0Event(window,"unload",function(){
-_9c.value=_8f.outwardHtml(_8f.getHTML());
-return true;
-});
-_9c.style.display="none";
-_8f.initSize();
-_8f._iframeLoadDone=false;
-Xinha._addEvent(this._iframe,"load",function(e){
-if(!_8f._iframeLoadDone){
-_8f._iframeLoadDone=true;
-_8f.initIframe();
-}
-return true;
-});
-};
-Xinha.prototype.initSize=function(){
-this.setLoadingMessage("Init editor size");
-var _9f=this;
-var _a0=null;
-var _a1=null;
-switch(this.config.width){
-case "auto":
-_a0=this._initial_ta_size.w;
-break;
-case "toolbar":
-_a0=this._toolBar.offsetWidth+"px";
-break;
-default:
-_a0=/[^0-9]/.test(this.config.width)?this.config.width:this.config.width+"px";
-break;
-}
-switch(this.config.height){
-case "auto":
-_a1=this._initial_ta_size.h;
-break;
-default:
-_a1=/[^0-9]/.test(this.config.height)?this.config.height:this.config.height+"px";
-break;
-}
-this.sizeEditor(_a0,_a1,this.config.sizeIncludesBars,this.config.sizeIncludesPanels);
-this.notifyOn("panel_change",function(){
-_9f.sizeEditor();
-});
-};
-Xinha.prototype.sizeEditor=function(_a2,_a3,_a4,_a5){
-this._iframe.style.height="100%";
-this._textArea.style.height="100%";
-this._iframe.style.width="";
-this._textArea.style.width="";
-if(_a4!==null){
-this._htmlArea.sizeIncludesToolbars=_a4;
-}
-if(_a5!==null){
-this._htmlArea.sizeIncludesPanels=_a5;
-}
-if(_a2){
-this._htmlArea.style.width=_a2;
-if(!this._htmlArea.sizeIncludesPanels){
-var _a6=this._panels.right;
-if(_a6.on&&_a6.panels.length&&Xinha.hasDisplayedChildren(_a6.div)){
-this._htmlArea.style.width=(this._htmlArea.offsetWidth+parseInt(this.config.panel_dimensions.right,10))+"px";
-}
-var _a7=this._panels.left;
-if(_a7.on&&_a7.panels.length&&Xinha.hasDisplayedChildren(_a7.div)){
-this._htmlArea.style.width=(this._htmlArea.offsetWidth+parseInt(this.config.panel_dimensions.left,10))+"px";
-}
-}
-}
-if(_a3){
-this._htmlArea.style.height=_a3;
-if(!this._htmlArea.sizeIncludesToolbars){
-this._htmlArea.style.height=(this._htmlArea.offsetHeight+this._toolbar.offsetHeight+this._statusBar.offsetHeight)+"px";
-}
-if(!this._htmlArea.sizeIncludesPanels){
-var _a8=this._panels.top;
-if(_a8.on&&_a8.panels.length&&Xinha.hasDisplayedChildren(_a8.div)){
-this._htmlArea.style.height=(this._htmlArea.offsetHeight+parseInt(this.config.panel_dimensions.top,10))+"px";
-}
-var _a9=this._panels.bottom;
-if(_a9.on&&_a9.panels.length&&Xinha.hasDisplayedChildren(_a9.div)){
-this._htmlArea.style.height=(this._htmlArea.offsetHeight+parseInt(this.config.panel_dimensions.bottom,10))+"px";
-}
-}
-}
-_a2=this._htmlArea.offsetWidth;
-_a3=this._htmlArea.offsetHeight;
-var _aa=this._panels;
-var _ab=this;
-var _ac=1;
-function panel_is_alive(pan){
-if(_aa[pan].on&&_aa[pan].panels.length&&Xinha.hasDisplayedChildren(_aa[pan].container)){
-_aa[pan].container.style.display="";
-return true;
-}else{
-_aa[pan].container.style.display="none";
-return false;
-}
-}
-if(panel_is_alive("left")){
-_ac+=1;
-}
-if(panel_is_alive("right")){
-_ac+=1;
-}
-this._framework.tb_cell.colSpan=_ac;
-this._framework.tp_cell.colSpan=_ac;
-this._framework.bp_cell.colSpan=_ac;
-this._framework.sb_cell.colSpan=_ac;
-if(!this._framework.tp_row.childNodes.length){
-Xinha.removeFromParent(this._framework.tp_row);
-}else{
-if(!Xinha.hasParentNode(this._framework.tp_row)){
-this._framework.tbody.insertBefore(this._framework.tp_row,this._framework.ler_row);
-}
-}
-if(!this._framework.bp_row.childNodes.length){
-Xinha.removeFromParent(this._framework.bp_row);
-}else{
-if(!Xinha.hasParentNode(this._framework.bp_row)){
-this._framework.tbody.insertBefore(this._framework.bp_row,this._framework.ler_row.nextSibling);
-}
-}
-if(!this.config.statusBar){
-Xinha.removeFromParent(this._framework.sb_row);
-}else{
-if(!Xinha.hasParentNode(this._framework.sb_row)){
-this._framework.table.appendChild(this._framework.sb_row);
-}
-}
-this._framework.lp_cell.style.width=this.config.panel_dimensions.left;
-this._framework.rp_cell.style.width=this.config.panel_dimensions.right;
-this._framework.tp_cell.style.height=this.config.panel_dimensions.top;
-this._framework.bp_cell.style.height=this.config.panel_dimensions.bottom;
-this._framework.tb_cell.style.height=this._toolBar.offsetHeight+"px";
-this._framework.sb_cell.style.height=this._statusBar.offsetHeight+"px";
-var _ae=_a3-this._toolBar.offsetHeight-this._statusBar.offsetHeight;
-if(panel_is_alive("top")){
-_ae-=parseInt(this.config.panel_dimensions.top,10);
-}
-if(panel_is_alive("bottom")){
-_ae-=parseInt(this.config.panel_dimensions.bottom,10);
-}
-this._iframe.style.height=_ae+"px";
-var _af=_a2;
-if(panel_is_alive("left")){
-_af-=parseInt(this.config.panel_dimensions.left,10);
-}
-if(panel_is_alive("right")){
-_af-=parseInt(this.config.panel_dimensions.right,10);
-}
-this._iframe.style.width=_af+"px";
-this._textArea.style.height=this._iframe.style.height;
-this._textArea.style.width=this._iframe.style.width;
-this.notifyOf("resize",{width:this._htmlArea.offsetWidth,height:this._htmlArea.offsetHeight});
-};
-Xinha.prototype.addPanel=function(_b0){
-var div=document.createElement("div");
-div.side=_b0;
-if(_b0=="left"||_b0=="right"){
-div.style.width=this.config.panel_dimensions[_b0];
-if(this._iframe){
-div.style.height=this._iframe.style.height;
-}
-}
-Xinha.addClasses(div,"panel");
-this._panels[_b0].panels.push(div);
-this._panels[_b0].div.appendChild(div);
-this.notifyOf("panel_change",{"action":"add","panel":div});
-return div;
-};
-Xinha.prototype.removePanel=function(_b2){
-this._panels[_b2.side].div.removeChild(_b2);
-var _b3=[];
-for(var i=0;i<this._panels[_b2.side].panels.length;i++){
-if(this._panels[_b2.side].panels[i]!=_b2){
-_b3.push(this._panels[_b2.side].panels[i]);
-}
-}
-this._panels[_b2.side].panels=_b3;
-this.notifyOf("panel_change",{"action":"remove","panel":_b2});
-};
-Xinha.prototype.hidePanel=function(_b5){
-if(_b5&&_b5.style.display!="none"){
-try{
-var pos=this.scrollPos(this._iframe.contentWindow);
-}
-catch(e){
-}
-_b5.style.display="none";
-this.notifyOf("panel_change",{"action":"hide","panel":_b5});
-try{
-this._iframe.contentWindow.scrollTo(pos.x,pos.y);
-}
-catch(e){
-}
-}
-};
-Xinha.prototype.showPanel=function(_b7){
-if(_b7&&_b7.style.display=="none"){
-try{
-var pos=this.scrollPos(this._iframe.contentWindow);
-}
-catch(e){
-}
-_b7.style.display="";
-this.notifyOf("panel_change",{"action":"show","panel":_b7});
-try{
-this._iframe.contentWindow.scrollTo(pos.x,pos.y);
-}
-catch(e){
-}
-}
-};
-Xinha.prototype.hidePanels=function(_b9){
-if(typeof _b9=="undefined"){
-_b9=["left","right","top","bottom"];
-}
-var _ba=[];
-for(var i=0;i<_b9.length;i++){
-if(this._panels[_b9[i]].on){
-_ba.push(_b9[i]);
-this._panels[_b9[i]].on=false;
-}
-}
-this.notifyOf("panel_change",{"action":"multi_hide","sides":_b9});
-};
-Xinha.prototype.showPanels=function(_bc){
-if(typeof _bc=="undefined"){
-_bc=["left","right","top","bottom"];
-}
-var _bd=[];
-for(var i=0;i<_bc.length;i++){
-if(!this._panels[_bc[i]].on){
-_bd.push(_bc[i]);
-this._panels[_bc[i]].on=true;
-}
-}
-this.notifyOf("panel_change",{"action":"multi_show","sides":_bc});
-};
-Xinha.objectProperties=function(obj){
-var _c0=[];
-for(var x in obj){
-_c0[_c0.length]=x;
-}
-return _c0;
-};
-Xinha.prototype.editorIsActivated=function(){
-try{
-return Xinha.is_gecko?this._doc.designMode=="on":this._doc.body.contentEditable;
-}
-catch(ex){
-return false;
-}
-};
-Xinha._someEditorHasBeenActivated=false;
-Xinha._currentlyActiveEditor=false;
-Xinha.prototype.activateEditor=function(){
-if(Xinha._currentlyActiveEditor){
-if(Xinha._currentlyActiveEditor==this){
-return true;
-}
-Xinha._currentlyActiveEditor.deactivateEditor();
-}
-if(Xinha.is_gecko&&this._doc.designMode!="on"){
-try{
-if(this._iframe.style.display=="none"){
-this._iframe.style.display="";
-this._doc.designMode="on";
-this._iframe.style.display="none";
-}else{
-this._doc.designMode="on";
-}
-}
-catch(ex){
-}
-}else{
-if(!Xinha.is_gecko&&this._doc.body.contentEditable!==true){
-this._doc.body.contentEditable=true;
-}
-}
-Xinha._someEditorHasBeenActivated=true;
-Xinha._currentlyActiveEditor=this;
-var _c2=this;
-this.enableToolbar();
-};
-Xinha.prototype.deactivateEditor=function(){
-this.disableToolbar();
-if(Xinha.is_gecko&&this._doc.designMode!="off"){
-try{
-this._doc.designMode="off";
-}
-catch(ex){
-}
-}else{
-if(!Xinha.is_gecko&&this._doc.body.contentEditable!==false){
-this._doc.body.contentEditable=false;
-}
-}
-if(Xinha._currentlyActiveEditor!=this){
-return;
-}
-Xinha._currentlyActiveEditor=false;
-};
-Xinha.prototype.initIframe=function(){
-this.setLoadingMessage("Init IFrame");
-this.disableToolbar();
-var doc=null;
-var _c4=this;
-try{
-if(_c4._iframe.contentDocument){
-this._doc=_c4._iframe.contentDocument;
-}else{
-this._doc=_c4._iframe.contentWindow.document;
-}
-doc=this._doc;
-if(!doc){
-if(Xinha.is_gecko){
-setTimeout(function(){
-_c4.initIframe();
-},50);
-return false;
-}else{
-alert("ERROR: IFRAME can't be initialized.");
-}
-}
-}
-catch(ex){
-setTimeout(function(){
-_c4.initIframe();
-},50);
-}
-Xinha.freeLater(this,"_doc");
-doc.open("text/html","replace");
-var _c5="";
-if(!_c4.config.fullPage){
-_c5="<html>\n";
-_c5+="<head>\n";
-_c5+="<meta http-equiv=\"Content-Type\" content=\"text/html; charset="+_c4.config.charSet+"\">\n";
-if(typeof _c4.config.baseHref!="undefined"&&_c4.config.baseHref!==null){
-_c5+="<base href=\""+_c4.config.baseHref+"\"/>\n";
-}
-_c5+=Xinha.addCoreCSS();
-if(_c4.config.pageStyle){
-_c5+="<style type=\"text/css\">\n"+_c4.config.pageStyle+"\n</style>";
-}
-if(typeof _c4.config.pageStyleSheets!=="undefined"){
-for(var i=0;i<_c4.config.pageStyleSheets.length;i++){
-if(_c4.config.pageStyleSheets[i].length>0){
-_c5+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_c4.config.pageStyleSheets[i]+"\">";
-}
-}
-}
-_c5+="</head>\n";
-_c5+="<body>\n";
-_c5+=_c4.inwardHtml(_c4._textArea.value);
-_c5+="</body>\n";
-_c5+="</html>";
-}else{
-_c5=_c4.inwardHtml(_c4._textArea.value);
-if(_c5.match(Xinha.RE_doctype)){
-_c4.setDoctype(RegExp.$1);
-_c5=_c5.replace(Xinha.RE_doctype,"");
-}
-var _c7=_c5.match(/<link\s+[\s\S]*?["']\s*\/?>/gi);
-_c5=_c5.replace(/<link\s+[\s\S]*?["']\s*\/?>\s*/gi,"");
-_c7?_c5=_c5.replace(/<\/head>/i,_c7.join("\n")+"\n</head>"):null;
-}
-doc.write(_c5);
-doc.close();
-if(this.config.fullScreen){
-this._fullScreen();
-}
-this.setEditorEvents();
-};
-Xinha.prototype.whenDocReady=function(F){
-var E=this;
-if(this._doc&&this._doc.body){
-F();
-}else{
-setTimeout(function(){
-E.whenDocReady(F);
-},50);
-}
-};
-Xinha.prototype.setMode=function(_ca){
-var _cb;
-if(typeof _ca=="undefined"){
-_ca=this._editMode=="textmode"?"wysiwyg":"textmode";
-}
-switch(_ca){
-case "textmode":
-this.setCC("iframe");
-_cb=this.outwardHtml(this.getHTML());
-this.setHTML(_cb);
-this.deactivateEditor();
-this._iframe.style.display="none";
-this._textArea.style.display="";
-if(this.config.statusBar){
-this._statusBarTree.style.display="none";
-this._statusBarTextMode.style.display="";
-}
-this.notifyOf("modechange",{"mode":"text"});
-this.findCC("textarea");
-break;
-case "wysiwyg":
-this.setCC("textarea");
-_cb=this.inwardHtml(this.getHTML());
-this.deactivateEditor();
-this.setHTML(_cb);
-this._iframe.style.display="";
-this._textArea.style.display="none";
-this.activateEditor();
-if(this.config.statusBar){
-this._statusBarTree.style.display="";
-this._statusBarTextMode.style.display="none";
-}
-this.notifyOf("modechange",{"mode":"wysiwyg"});
-this.findCC("iframe");
-break;
-default:
-alert("Mode <"+_ca+"> not defined!");
-return false;
-}
-this._editMode=_ca;
-for(var i in this.plugins){
-var _cd=this.plugins[i].instance;
-if(_cd&&typeof _cd.onMode=="function"){
-_cd.onMode(_ca);
-}
-}
-};
-Xinha.prototype.setFullHTML=function(_ce){
-var _cf=RegExp.multiline;
-RegExp.multiline=true;
-if(_ce.match(Xinha.RE_doctype)){
-this.setDoctype(RegExp.$1);
-_ce=_ce.replace(Xinha.RE_doctype,"");
-}
-RegExp.multiline=_cf;
-if(0){
-if(_ce.match(Xinha.RE_head)){
-this._doc.getElementsByTagName("head")[0].innerHTML=RegExp.$1;
-}
-if(_ce.match(Xinha.RE_body)){
-this._doc.getElementsByTagName("body")[0].innerHTML=RegExp.$1;
-}
-}else{
-var _d0=this.editorIsActivated();
-if(_d0){
-this.deactivateEditor();
-}
-var _d1=/<html>((.|\n)*?)<\/html>/i;
-_ce=_ce.replace(_d1,"$1");
-this._doc.open("text/html","replace");
-this._doc.write(_ce);
-this._doc.close();
-if(_d0){
-this.activateEditor();
-}
-this.setEditorEvents();
-return true;
-}
-};
-Xinha.prototype.setEditorEvents=function(){
-var _d2=this;
-var doc=this._doc;
-_d2.whenDocReady(function(){
-Xinha._addEvents(doc,["mousedown"],function(){
-_d2.activateEditor();
-return true;
-});
-Xinha._addEvents(doc,["keydown","keypress","mousedown","mouseup","drag"],function(_d4){
-return _d2._editorEvent(Xinha.is_ie?_d2._iframe.contentWindow.event:_d4);
-});
-for(var i in _d2.plugins){
-var _d6=_d2.plugins[i].instance;
-Xinha.refreshPlugin(_d6);
-}
-if(typeof _d2._onGenerate=="function"){
-_d2._onGenerate();
-}
-Xinha.addDom0Event(window,"resize",function(e){
-_d2.sizeEditor();
-});
-_d2.removeLoadingMessage();
-});
-};
-Xinha.prototype.registerPlugin=function(){
-var _d8=arguments[0];
-if(_d8===null||typeof _d8=="undefined"||(typeof _d8=="string"&&eval("typeof "+_d8)=="undefined")){
-return false;
-}
-var _d9=[];
-for(var i=1;i<arguments.length;++i){
-_d9.push(arguments[i]);
-}
-return this.registerPlugin2(_d8,_d9);
-};
-Xinha.prototype.registerPlugin2=function(_db,_dc){
-if(typeof _db=="string"){
-_db=eval(_db);
-}
-if(typeof _db=="undefined"){
-return false;
-}
-var obj=new _db(this,_dc);
-if(obj){
-var _de={};
-var _df=_db._pluginInfo;
-for(var i in _df){
-_de[i]=_df[i];
-}
-_de.instance=obj;
-_de.args=_dc;
-this.plugins[_db._pluginInfo.name]=_de;
-return obj;
-}else{
-alert("Can't register plugin "+_db.toString()+".");
-}
-};
-Xinha.getPluginDir=function(_e1){
-return _editor_url+"plugins/"+_e1;
-};
-Xinha.loadPlugin=function(_e2,_e3,_e4){
-if(eval("typeof "+_e2)!="undefined"){
-if(_e3){
-_e3(_e2);
-}
-return true;
-}
-if(!_e4){
-var dir=this.getPluginDir(_e2);
-var _e6=_e2.replace(/([a-z])([A-Z])([a-z])/g,function(str,l1,l2,l3){
-return l1+"-"+l2.toLowerCase()+l3;
-}).toLowerCase()+".js";
-_e4=dir+"/"+_e6;
-}
-Xinha._loadback(_e4,_e3?function(){
-_e3(_e2);
-}:null);
-return false;
-};
-Xinha._pluginLoadStatus={};
-Xinha.loadPlugins=function(_eb,_ec){
-var _ed=true;
-var _ee=Xinha.cloneObject(_eb);
-while(_ee.length){
-var p=_ee.pop();
-if(typeof Xinha._pluginLoadStatus[p]=="undefined"){
-Xinha._pluginLoadStatus[p]="loading";
-Xinha.loadPlugin(p,function(_f0){
-if(eval("typeof "+_f0)!="undefined"){
-Xinha._pluginLoadStatus[_f0]="ready";
-}else{
-Xinha._pluginLoadStatus[_f0]="failed";
-}
-});
-_ed=false;
-}else{
-switch(Xinha._pluginLoadStatus[p]){
-case "failed":
-case "ready":
-break;
-default:
-_ed=false;
-break;
-}
-}
-}
-if(_ed){
-return true;
-}
-if(_ec){
-setTimeout(function(){
-if(Xinha.loadPlugins(_eb,_ec)){
-_ec();
-}
-},150);
-}
-return _ed;
-};
-Xinha.refreshPlugin=function(_f1){
-if(_f1&&typeof _f1.onGenerate=="function"){
-_f1.onGenerate();
-}
-if(_f1&&typeof _f1.onGenerateOnce=="function"){
-_f1.onGenerateOnce();
-_f1.onGenerateOnce=null;
-}
-};
-Xinha.prototype.firePluginEvent=function(_f2){
-var _f3=[];
-for(var i=1;i<arguments.length;i++){
-_f3[i-1]=arguments[i];
-}
-for(var i in this.plugins){
-var _f5=this.plugins[i].instance;
-if(_f5==this._browserSpecificPlugin){
-continue;
-}
-if(_f5&&typeof _f5[_f2]=="function"){
-if(_f5[_f2].apply(_f5,_f3)){
-return true;
-}
-}
-}
-var _f5=this._browserSpecificPlugin;
-if(_f5&&typeof _f5[_f2]=="function"){
-if(_f5[_f2].apply(_f5,_f3)){
-return true;
-}
-}
-return false;
-};
-Xinha.loadStyle=function(_f6,_f7){
-var url=_editor_url||"";
-if(typeof _f7!="undefined"){
-url+="plugins/"+_f7+"/";
-}
-url+=_f6;
-if(/^\//.test(_f6)){
-url=_f6;
-}
-var _f9=document.getElementsByTagName("head")[0];
-var _fa=document.createElement("link");
-_fa.rel="stylesheet";
-_fa.href=url;
-_f9.appendChild(_fa);
-};
-Xinha.loadStyle(typeof _editor_css=="string"?_editor_css:"Xinha.css");
-Xinha.prototype.debugTree=function(){
-var ta=document.createElement("textarea");
-ta.style.width="100%";
-ta.style.height="20em";
-ta.value="";
-function debug(_fc,str){
-for(;--_fc>=0;){
-ta.value+=" ";
-}
-ta.value+=str+"\n";
-}
-function _dt(_fe,_ff){
-var tag=_fe.tagName.toLowerCase(),i;
-var ns=Xinha.is_ie?_fe.scopeName:_fe.prefix;
-debug(_ff,"- "+tag+" ["+ns+"]");
-for(i=_fe.firstChild;i;i=i.nextSibling){
-if(i.nodeType==1){
-_dt(i,_ff+2);
-}
-}
-}
-_dt(this._doc.body,0);
-document.body.appendChild(ta);
-};
-Xinha.getInnerText=function(el){
-var txt="",i;
-for(i=el.firstChild;i;i=i.nextSibling){
-if(i.nodeType==3){
-txt+=i.data;
-}else{
-if(i.nodeType==1){
-txt+=Xinha.getInnerText(i);
-}
-}
-}
-return txt;
-};
-Xinha.prototype._wordClean=function(){
-var _104=this;
-var _105={empty_tags:0,mso_class:0,mso_style:0,mso_xmlel:0,orig_len:this._doc.body.innerHTML.length,T:(new Date()).getTime()};
-var _106={empty_tags:"Empty tags removed: ",mso_class:"MSO class names removed: ",mso_style:"MSO inline style removed: ",mso_xmlel:"MSO XML elements stripped: "};
-function showStats(){
-var txt="Xinha word cleaner stats: \n\n";
-for(var i in _105){
-if(_106[i]){
-txt+=_106[i]+_105[i]+"\n";
-}
-}
-txt+="\nInitial document length: "+_105.orig_len+"\n";
-txt+="Final document length: "+_104._doc.body.innerHTML.length+"\n";
-txt+="Clean-up took "+(((new Date()).getTime()-_105.T)/1000)+" seconds";
-alert(txt);
-}
-function clearClass(node){
-var newc=node.className.replace(/(^|\s)mso.*?(\s|$)/ig," ");
-if(newc!=node.className){
-node.className=newc;
-if(!(/\S/.test(node.className))){
-node.removeAttribute("className");
-++_105.mso_class;
-}
-}
-}
-function clearStyle(node){
-var _10c=node.style.cssText.split(/\s*;\s*/);
-for(var i=_10c.length;--i>=0;){
-if((/^mso|^tab-stops/i.test(_10c[i]))||(/^margin\s*:\s*0..\s+0..\s+0../i.test(_10c[i]))){
-++_105.mso_style;
-_10c.splice(i,1);
-}
-}
-node.style.cssText=_10c.join("; ");
-}
-var _10e=null;
-if(Xinha.is_ie){
-_10e=function(el){
-el.outerHTML=Xinha.htmlEncode(el.innerText);
-++_105.mso_xmlel;
-};
-}else{
-_10e=function(el){
-var txt=document.createTextNode(Xinha.getInnerText(el));
-el.parentNode.insertBefore(txt,el);
-Xinha.removeFromParent(el);
-++_105.mso_xmlel;
-};
-}
-function checkEmpty(el){
-if(/^(span|b|strong|i|em|font|div|p)$/i.test(el.tagName)&&!el.firstChild){
-Xinha.removeFromParent(el);
-++_105.empty_tags;
-}
-}
-function parseTree(root){
-var tag=root.tagName.toLowerCase(),i,next;
-if((Xinha.is_ie&&root.scopeName!="HTML")||(!Xinha.is_ie&&(/:/.test(tag)))){
-_10e(root);
-return false;
-}else{
-clearClass(root);
-clearStyle(root);
-for(i=root.firstChild;i;i=next){
-next=i.nextSibling;
-if(i.nodeType==1&&parseTree(i)){
-checkEmpty(i);
-}
-}
-}
-return true;
-}
-parseTree(this._doc.body);
-this.updateToolbar();
-};
-Xinha.prototype._clearFonts=function(){
-var D=this.getInnerHTML();
-if(confirm(Xinha._lc("Would you like to clear font typefaces?"))){
-D=D.replace(/face="[^"]*"/gi,"");
-D=D.replace(/font-family:[^;}"']+;?/gi,"");
-}
-if(confirm(Xinha._lc("Would you like to clear font sizes?"))){
-D=D.replace(/size="[^"]*"/gi,"");
-D=D.replace(/font-size:[^;}"']+;?/gi,"");
-}
-if(confirm(Xinha._lc("Would you like to clear font colours?"))){
-D=D.replace(/color="[^"]*"/gi,"");
-D=D.replace(/([^-])color:[^;}"']+;?/gi,"$1");
-}
-D=D.replace(/(style|class)="\s*"/gi,"");
-D=D.replace(/<(font|span)\s*>/gi,"");
-this.setHTML(D);
-this.updateToolbar();
-};
-Xinha.prototype._splitBlock=function(){
-this._doc.execCommand("formatblock",false,"div");
-};
-Xinha.prototype.forceRedraw=function(){
-this._doc.body.style.visibility="hidden";
-this._doc.body.style.visibility="";
-};
-Xinha.prototype.focusEditor=function(){
-switch(this._editMode){
-case "wysiwyg":
-try{
-if(Xinha._someEditorHasBeenActivated){
-this.activateEditor();
-this._iframe.contentWindow.focus();
-}
-}
-catch(ex){
-}
-break;
-case "textmode":
-try{
-this._textArea.focus();
-}
-catch(e){
-}
-break;
-default:
-alert("ERROR: mode "+this._editMode+" is not defined");
-}
-return this._doc;
-};
-Xinha.prototype._undoTakeSnapshot=function(){
-++this._undoPos;
-if(this._undoPos>=this.config.undoSteps){
-this._undoQueue.shift();
---this._undoPos;
-}
-var take=true;
-var txt=this.getInnerHTML();
-if(this._undoPos>0){
-take=(this._undoQueue[this._undoPos-1]!=txt);
-}
-if(take){
-this._undoQueue[this._undoPos]=txt;
-}else{
-this._undoPos--;
-}
-};
-Xinha.prototype.undo=function(){
-if(this._undoPos>0){
-var txt=this._undoQueue[--this._undoPos];
-if(txt){
-this.setHTML(txt);
-}else{
-++this._undoPos;
-}
-}
-};
-Xinha.prototype.redo=function(){
-if(this._undoPos<this._undoQueue.length-1){
-var txt=this._undoQueue[++this._undoPos];
-if(txt){
-this.setHTML(txt);
-}else{
---this._undoPos;
-}
-}
-};
-Xinha.prototype.disableToolbar=function(_11a){
-if(this._timerToolbar){
-clearTimeout(this._timerToolbar);
-}
-if(typeof _11a=="undefined"){
-_11a=[];
-}else{
-if(typeof _11a!="object"){
-_11a=[_11a];
-}
-}
-for(var i in this._toolbarObjects){
-var btn=this._toolbarObjects[i];
-if(_11a.contains(i)){
-continue;
-}
-if(typeof (btn.state)!="function"){
-continue;
-}
-btn.state("enabled",false);
-}
-};
-Xinha.prototype.enableToolbar=function(){
-this.updateToolbar();
-};
-if(!Array.prototype.contains){
-Array.prototype.contains=function(_11d){
-var _11e=this;
-for(var i=0;i<_11e.length;i++){
-if(_11d==_11e[i]){
-return true;
-}
-}
-return false;
-};
-}
-if(!Array.prototype.indexOf){
-Array.prototype.indexOf=function(_120){
-var _121=this;
-for(var i=0;i<_121.length;i++){
-if(_120==_121[i]){
-return i;
-}
-}
-return null;
-};
-}
-Xinha.prototype.updateToolbar=function(_123){
-var doc=this._doc;
-var text=(this._editMode=="textmode");
-var _126=null;
-if(!text){
-_126=this.getAllAncestors();
-if(this.config.statusBar&&!_123){
-this._statusBarTree.innerHTML=Xinha._lc("Path")+": ";
-for(var i=_126.length;--i>=0;){
-var el=_126[i];
-if(!el){
-continue;
-}
-var a=document.createElement("a");
-a.href="javascript:void(0)";
-a.el=el;
-a.editor=this;
-Xinha.addDom0Event(a,"click",function(){
-this.blur();
-this.editor.selectNodeContents(this.el);
-this.editor.updateToolbar(true);
-return false;
-});
-Xinha.addDom0Event(a,"contextmenu",function(){
-this.blur();
-var info="Inline style:\n\n";
-info+=this.el.style.cssText.split(/;\s*/).join(";\n");
-alert(info);
-return false;
-});
-var txt=el.tagName.toLowerCase();
-if(typeof el.style!="undefined"){
-a.title=el.style.cssText;
-}
-if(el.id){
-txt+="#"+el.id;
-}
-if(el.className){
-txt+="."+el.className;
-}
-a.appendChild(document.createTextNode(txt));
-this._statusBarTree.appendChild(a);
-if(i!==0){
-this._statusBarTree.appendChild(document.createTextNode(String.fromCharCode(187)));
-}
-}
-}
-}
-for(var cmd in this._toolbarObjects){
-var btn=this._toolbarObjects[cmd];
-var _12e=true;
-if(typeof (btn.state)!="function"){
-continue;
-}
-if(btn.context&&!text){
-_12e=false;
-var _12f=btn.context;
-var _130=[];
-if(/(.*)\[(.*?)\]/.test(_12f)){
-_12f=RegExp.$1;
-_130=RegExp.$2.split(",");
-}
-_12f=_12f.toLowerCase();
-var _131=(_12f=="*");
-for(var k=0;k<_126.length;++k){
-if(!_126[k]){
-continue;
-}
-if(_131||(_126[k].tagName.toLowerCase()==_12f)){
-_12e=true;
-var _133=null;
-var att=null;
-var comp=null;
-var _136=null;
-for(var ka=0;ka<_130.length;++ka){
-_133=_130[ka].match(/(.*)(==|!=|===|!==|>|>=|<|<=)(.*)/);
-att=_133[1];
-comp=_133[2];
-_136=_133[3];
-if(!eval(_126[k][att]+comp+_136)){
-_12e=false;
-break;
-}
-}
-if(_12e){
-break;
-}
-}
-}
-}
-btn.state("enabled",(!text||btn.text)&&_12e);
-if(typeof cmd=="function"){
-continue;
-}
-var _138=this.config.customSelects[cmd];
-if((!text||btn.text)&&(typeof _138!="undefined")){
-_138.refresh(this);
-continue;
-}
-switch(cmd){
-case "fontname":
-case "fontsize":
-if(!text){
-try{
-var _139=(""+doc.queryCommandValue(cmd)).toLowerCase();
-if(!_139){
-btn.element.selectedIndex=0;
-break;
-}
-var _13a=this.config[cmd];
-var _13b=0;
-for(var j in _13a){
-if((j.toLowerCase()==_139)||(_13a[j].substr(0,_139.length).toLowerCase()==_139)){
-btn.element.selectedIndex=_13b;
-throw "ok";
-}
-++_13b;
-}
-btn.element.selectedIndex=0;
-}
-catch(ex){
-}
-}
-break;
-case "formatblock":
-var _13d=[];
-for(var _13e in this.config.formatblock){
-if(typeof this.config.formatblock[_13e]=="string"){
-_13d[_13d.length]=this.config.formatblock[_13e];
-}
-}
-var _13f=this._getFirstAncestor(this.getSelection(),_13d);
-if(_13f){
-for(var x=0;x<_13d.length;x++){
-if(_13d[x].toLowerCase()==_13f.tagName.toLowerCase()){
-btn.element.selectedIndex=x;
-}
-}
-}else{
-btn.element.selectedIndex=0;
-}
-break;
-case "textindicator":
-if(!text){
-try{
-var _141=btn.element.style;
-_141.backgroundColor=Xinha._makeColor(doc.queryCommandValue(Xinha.is_ie?"backcolor":"hilitecolor"));
-if(/transparent/i.test(_141.backgroundColor)){
-_141.backgroundColor=Xinha._makeColor(doc.queryCommandValue("backcolor"));
-}
-_141.color=Xinha._makeColor(doc.queryCommandValue("forecolor"));
-_141.fontFamily=doc.queryCommandValue("fontname");
-_141.fontWeight=doc.queryCommandState("bold")?"bold":"normal";
-_141.fontStyle=doc.queryCommandState("italic")?"italic":"normal";
-}
-catch(ex){
-}
-}
-break;
-case "htmlmode":
-btn.state("active",text);
-break;
-case "lefttoright":
-case "righttoleft":
-var _142=this.getParentElement();
-while(_142&&!Xinha.isBlockElement(_142)){
-_142=_142.parentNode;
-}
-if(_142){
-btn.state("active",(_142.style.direction==((cmd=="righttoleft")?"rtl":"ltr")));
-}
-break;
-default:
-cmd=cmd.replace(/(un)?orderedlist/i,"insert$1orderedlist");
-try{
-btn.state("active",(!text&&doc.queryCommandState(cmd)));
-}
-catch(ex){
-}
-break;
-}
-}
-if(this._customUndo&&!this._timerUndo){
-this._undoTakeSnapshot();
-var _143=this;
-this._timerUndo=setTimeout(function(){
-_143._timerUndo=null;
-},this.config.undoTimeout);
-}
-if(0&&Xinha.is_gecko){
-var s=this.getSelection();
-if(s&&s.isCollapsed&&s.anchorNode&&s.anchorNode.parentNode.tagName.toLowerCase()!="body"&&s.anchorNode.nodeType==3&&s.anchorOffset==s.anchorNode.length&&!(s.anchorNode.parentNode.nextSibling&&s.anchorNode.parentNode.nextSibling.nodeType==3)&&!Xinha.isBlockElement(s.anchorNode.parentNode)){
-try{
-s.anchorNode.parentNode.parentNode.insertBefore(this._doc.createTextNode("\t"),s.anchorNode.parentNode.nextSibling);
-}
-catch(ex){
-}
-}
-}
-for(var _145 in this.plugins){
-var _146=this.plugins[_145].instance;
-if(_146&&typeof _146.onUpdateToolbar=="function"){
-_146.onUpdateToolbar();
-}
-}
-};
-Xinha.prototype.getAllAncestors=function(){
-var p=this.getParentElement();
-var a=[];
-while(p&&(p.nodeType==1)&&(p.tagName.toLowerCase()!="body")){
-a.push(p);
-p=p.parentNode;
-}
-a.push(this._doc.body);
-return a;
-};
-Xinha.prototype._getFirstAncestor=function(sel,_14a){
-var prnt=this.activeElement(sel);
-if(prnt===null){
-try{
-prnt=(Xinha.is_ie?this.createRange(sel).parentElement():this.createRange(sel).commonAncestorContainer);
-}
-catch(ex){
-return null;
-}
-}
-if(typeof _14a=="string"){
-_14a=[_14a];
-}
-while(prnt){
-if(prnt.nodeType==1){
-if(_14a===null){
-return prnt;
-}
-if(_14a.contains(prnt.tagName.toLowerCase())){
-return prnt;
-}
-if(prnt.tagName.toLowerCase()=="body"){
-break;
-}
-if(prnt.tagName.toLowerCase()=="table"){
-break;
-}
-}
-prnt=prnt.parentNode;
-}
-return null;
-};
-Xinha.prototype._getAncestorBlock=function(sel){
-var prnt=(Xinha.is_ie?this.createRange(sel).parentElement:this.createRange(sel).commonAncestorContainer);
-while(prnt&&(prnt.nodeType==1)){
-switch(prnt.tagName.toLowerCase()){
-case "div":
-case "p":
-case "address":
-case "blockquote":
-case "center":
-case "del":
-case "ins":
-case "pre":
-case "h1":
-case "h2":
-case "h3":
-case "h4":
-case "h5":
-case "h6":
-case "h7":
-return prnt;
-case "body":
-case "noframes":
-case "dd":
-case "li":
-case "th":
-case "td":
-case "noscript":
-return null;
-default:
-break;
-}
-}
-return null;
-};
-Xinha.prototype._createImplicitBlock=function(type){
-var sel=this.getSelection();
-if(Xinha.is_ie){
-sel.empty();
-}else{
-sel.collapseToStart();
-}
-var rng=this.createRange(sel);
-};
-Xinha.prototype.surroundHTML=function(_151,_152){
-var html=this.getSelectedHTML();
-this.insertHTML(_151+html+_152);
-};
-Xinha.prototype.hasSelectedText=function(){
-return this.getSelectedHTML()!=="";
-};
-Xinha.prototype._comboSelected=function(el,txt){
-this.focusEditor();
-var _156=el.options[el.selectedIndex].value;
-switch(txt){
-case "fontname":
-case "fontsize":
-this.execCommand(txt,false,_156);
-break;
-case "formatblock":
-if(!_156){
-this.updateToolbar();
-break;
-}
-if(!Xinha.is_gecko||_156!=="blockquote"){
-_156="<"+_156+">";
-}
-this.execCommand(txt,false,_156);
-break;
-default:
-var _157=this.config.customSelects[txt];
-if(typeof _157!="undefined"){
-_157.action(this);
-}else{
-alert("FIXME: combo box "+txt+" not implemented");
-}
-break;
-}
-};
-Xinha.prototype._colorSelector=function(_158){
-var _159=this;
-if(Xinha.is_gecko){
-try{
-_159._doc.execCommand("useCSS",false,false);
-_159._doc.execCommand("styleWithCSS",false,true);
-}
-catch(ex){
-}
-}
-var btn=_159._toolbarObjects[_158].element;
-var _15b;
-if(_158=="hilitecolor"){
-if(Xinha.is_ie){
-_158="backcolor";
-_15b=Xinha._colorToRgb(_159._doc.queryCommandValue("backcolor"));
-}else{
-_15b=Xinha._colorToRgb(_159._doc.queryCommandValue("hilitecolor"));
-}
-}else{
-_15b=Xinha._colorToRgb(_159._doc.queryCommandValue("forecolor"));
-}
-var _15c=function(_15d){
-_159._doc.execCommand(_158,false,_15d);
-};
-if(Xinha.is_ie){
-var _15e=_159.createRange(_159.getSelection());
-_15c=function(_15f){
-_15e.select();
-_159._doc.execCommand(_158,false,_15f);
-};
-}
-var _160=new Xinha.colorPicker({cellsize:_159.config.colorPickerCellSize,callback:_15c,granularity:_159.config.colorPickerGranularity,websafe:_159.config.colorPickerWebSafe,savecolors:_159.config.colorPickerSaveColors});
-_160.open(_159.config.colorPickerPosition,btn,_15b);
-};
-Xinha.prototype.execCommand=function(_161,UI,_163){
-var _164=this;
-this.focusEditor();
-_161=_161.toLowerCase();
-if(this.firePluginEvent("onExecCommand",_161,UI,_163)){
-this.updateToolbar();
-return false;
-}
-switch(_161){
-case "htmlmode":
-this.setMode();
-break;
-case "hilitecolor":
-case "forecolor":
-this._colorSelector(_161);
-break;
-case "createlink":
-this._createLink();
-break;
-case "undo":
-case "redo":
-if(this._customUndo){
-this[_161]();
-}else{
-this._doc.execCommand(_161,UI,_163);
-}
-break;
-case "inserttable":
-this._insertTable();
-break;
-case "insertimage":
-this._insertImage();
-break;
-case "about":
-this._popupDialog(_164.config.URIs.about,null,this);
-break;
-case "showhelp":
-this._popupDialog(_164.config.URIs.help,null,this);
-break;
-case "killword":
-this._wordClean();
-break;
-case "cut":
-case "copy":
-case "paste":
-this._doc.execCommand(_161,UI,_163);
-if(this.config.killWordOnPaste){
-this._wordClean();
-}
-break;
-case "lefttoright":
-case "righttoleft":
-if(this.config.changeJustifyWithDirection){
-this._doc.execCommand((_161=="righttoleft")?"justifyright":"justifyleft",UI,_163);
-}
-var dir=(_161=="righttoleft")?"rtl":"ltr";
-var el=this.getParentElement();
-while(el&&!Xinha.isBlockElement(el)){
-el=el.parentNode;
-}
-if(el){
-if(el.style.direction==dir){
-el.style.direction="";
-}else{
-el.style.direction=dir;
-}
-}
-break;
-case "justifyleft":
-case "justifyright":
-_161.match(/^justify(.*)$/);
-var ae=this.activeElement(this.getSelection());
-if(ae&&ae.tagName.toLowerCase()=="img"){
-ae.align=ae.align==RegExp.$1?"":RegExp.$1;
-}else{
-this._doc.execCommand(_161,UI,_163);
-}
-break;
-default:
-try{
-this._doc.execCommand(_161,UI,_163);
-}
-catch(ex){
-if(this.config.debug){
-alert(ex+"\n\nby execCommand("+_161+");");
-}
-}
-break;
-}
-this.updateToolbar();
-return false;
-};
-Xinha.prototype._editorEvent=function(ev){
-var _169=this;
-if(typeof _169._textArea["on"+ev.type]=="function"){
-_169._textArea["on"+ev.type]();
-}
-if(this.isKeyEvent(ev)){
-if(_169.firePluginEvent("onKeyPress",ev)){
-return false;
-}
-if(this.isShortCut(ev)){
-this._shortCuts(ev);
-}
-}
-if(ev.type=="mousedown"){
-if(_169.firePluginEvent("onMouseDown",ev)){
-return false;
-}
-}
-if(_169._timerToolbar){
-clearTimeout(_169._timerToolbar);
-}
-_169._timerToolbar=setTimeout(function(){
-_169.updateToolbar();
-_169._timerToolbar=null;
-},250);
-};
-Xinha.prototype._shortCuts=function(ev){
-var key=this.getKey(ev).toLowerCase();
-var cmd=null;
-var _16d=null;
-switch(key){
-case "b":
-cmd="bold";
-break;
-case "i":
-cmd="italic";
-break;
-case "u":
-cmd="underline";
-break;
-case "s":
-cmd="strikethrough";
-break;
-case "l":
-cmd="justifyleft";
-break;
-case "e":
-cmd="justifycenter";
-break;
-case "r":
-cmd="justifyright";
-break;
-case "j":
-cmd="justifyfull";
-break;
-case "z":
-cmd="undo";
-break;
-case "y":
-cmd="redo";
-break;
-case "v":
-cmd="paste";
-break;
-case "n":
-cmd="formatblock";
-_16d="p";
-break;
-case "0":
-cmd="killword";
-break;
-case "1":
-case "2":
-case "3":
-case "4":
-case "5":
-case "6":
-cmd="formatblock";
-_16d="h"+key;
-break;
-}
-if(cmd){
-this.execCommand(cmd,false,_16d);
-Xinha._stopEvent(ev);
-}
-};
-Xinha.prototype.convertNode=function(el,_16f){
-var _170=this._doc.createElement(_16f);
-while(el.firstChild){
-_170.appendChild(el.firstChild);
-}
-return _170;
-};
-Xinha.prototype.scrollToElement=function(e){
-if(!e){
-e=this.getParentElement();
-if(!e){
-return;
-}
-}
-var _172=Xinha.getElementTopLeft(e);
-this._iframe.contentWindow.scrollTo(_172.left,_172.top);
-};
-Xinha.prototype.getHTML=function(){
-var html="";
-switch(this._editMode){
-case "wysiwyg":
-if(!this.config.fullPage){
-html=Xinha.getHTML(this._doc.body,false,this);
-}else{
-html=this.doctype+"\n"+Xinha.getHTML(this._doc.documentElement,true,this);
-}
-break;
-case "textmode":
-html=this._textArea.value;
-break;
-default:
-alert("Mode <"+this._editMode+"> not defined!");
-return false;
-}
-return html;
-};
-Xinha.prototype.outwardHtml=function(html){
-for(var i in this.plugins){
-var _176=this.plugins[i].instance;
-if(_176&&typeof _176.outwardHtml=="function"){
-html=_176.outwardHtml(html);
-}
-}
-html=html.replace(/<(\/?)b(\s|>|\/)/ig,"<$1strong$2");
-html=html.replace(/<(\/?)i(\s|>|\/)/ig,"<$1em$2");
-html=html.replace(/<(\/?)strike(\s|>|\/)/ig,"<$1del$2");
-html=html.replace("onclick=\"try{if(document.designMode &amp;&amp; document.designMode == 'on') return false;}catch(e){} window.open(","onclick=\"window.open(");
-//var _177=location.href.replace(/(https?:\/\/[^\/]*)\/.*/,"$1")+"/";
-var href;
-if (this.config.baseHref != null) {
-  href = this.config.baseHref;
-  }
-else {
-  href = location.href;
-  }
-var _177=href.replace(/(https?:\/\/[^\/]*)\/.*/,"$1")+"/";
-html=html.replace(/https?:\/\/null\//g,_177);
-html=html.replace(/((href|src|background)=[\'\"])\/+/ig,"$1"+_177);
-html=this.outwardSpecialReplacements(html);
-html=this.fixRelativeLinks(html);
-if(this.config.sevenBitClean){
-html=html.replace(/[^ -~\r\n\t]/g,function(c){
-return "&#"+c.charCodeAt(0)+";";
-});
-}
-html=html.replace(/(<script[^>]*)(freezescript)/gi,"$1javascript");
-if(this.config.fullPage){
-html=Xinha.stripCoreCSS(html);
-}
-return html;
-};
-Xinha.prototype.inwardHtml=function(html){
-for(var i in this.plugins){
-var _17b=this.plugins[i].instance;
-if(_17b&&typeof _17b.inwardHtml=="function"){
-html=_17b.inwardHtml(html);
-}
-}
-html=html.replace(/<(\/?)del(\s|>|\/)/ig,"<$1strike$2");
-html=html.replace("onclick=\"window.open(","onclick=\"try{if(document.designMode &amp;&amp; document.designMode == 'on') return false;}catch(e){} window.open(");
-html=this.inwardSpecialReplacements(html);
-html=html.replace(/(<script[^>]*)(javascript)/gi,"$1freezescript");
-var _17c=new RegExp("((href|src|background)=['\"])/+","gi");
-var href;
-if (this.config.baseHref != null) {
-  href = this.config.baseHref;
-  }
-else {
-  href = location.href;
-  }
-html=html.replace(_17c,"$1"+href.replace(/(https?:\/\/[^\/]*)\/.*/,"$1")+"/");
-html=this.fixRelativeLinks(html);
-if(this.config.fullPage){
-html=Xinha.addCoreCSS(html);
-}
-return html;
-};
-Xinha.prototype.outwardSpecialReplacements=function(html){
-for(var i in this.config.specialReplacements){
-var from=this.config.specialReplacements[i];
-var to=i;
-if(typeof from.replace!="function"||typeof to.replace!="function"){
-continue;
-}
-var reg=new RegExp(from.replace(Xinha.RE_Specials,"\\$1"),"g");
-html=html.replace(reg,to.replace(/\$/g,"$$$$"));
-}
-return html;
-};
-Xinha.prototype.inwardSpecialReplacements=function(html){
-for(var i in this.config.specialReplacements){
-var from=i;
-var to=this.config.specialReplacements[i];
-if(typeof from.replace!="function"||typeof to.replace!="function"){
-continue;
-}
-var reg=new RegExp(from.replace(Xinha.RE_Specials,"\\$1"),"g");
-html=html.replace(reg,to.replace(/\$/g,"$$$$"));
-}
-return html;
-};
-Xinha.prototype.fixRelativeLinks=function(html){
-var src;
-if(typeof this.config.expandRelativeUrl!="undefined"&&this.config.expandRelativeUrl){
-src=html.match(/(src|href)="([^"]*)"/gi);
-}
-var b=document.location.href;
-if(src){
-var url,url_m,relPath,base_m,absPath;
-for(var i=0;i<src.length;++i){
-url=src[i].match(/(src|href)="([^"]*)"/i);
-url_m=url[2].match(/\.\.\//g);
-if(url_m){
-relPath=new RegExp("(.*?)(([^/]*/){"+url_m.length+"})[^/]*$");
-base_m=b.match(relPath);
-absPath=url[2].replace(/(\.\.\/)*/,base_m[1]);
-html=html.replace(new RegExp(url[2].replace(Xinha.RE_Specials,"\\$1")),absPath);
-}
-}
-}
-if(typeof this.config.stripSelfNamedAnchors!="undefined"&&this.config.stripSelfNamedAnchors){
-var _18c=new RegExp(document.location.href.replace(/&/g,"&amp;").replace(Xinha.RE_Specials,"\\$1")+"(#[^'\" ]*)","g");
-html=html.replace(_18c,"$1");
-}
-if(typeof this.config.stripBaseHref!="undefined"&&this.config.stripBaseHref){
-var _18d=null;
-if(typeof this.config.baseHref!="undefined"&&this.config.baseHref!==null){
-_18d=new RegExp("((href|src|background)=\")("+this.config.baseHref.replace(Xinha.RE_Specials,"\\$1")+")","g");
-}else{
-_18d=new RegExp("((href|src|background)=\")("+document.location.href.replace(/^(https?:\/\/[^\/]*)(.*)/,"$1").replace(Xinha.RE_Specials,"\\$1")+")","g");
-}
-html=html.replace(_18d,"$1");
-}
-return html;
-};
-Xinha.prototype.getInnerHTML=function(){
-if(!this._doc.body){
-return "";
-}
-var html="";
-switch(this._editMode){
-case "wysiwyg":
-if(!this.config.fullPage){
-html=this._doc.body.innerHTML;
-}else{
-html=this.doctype+"\n"+this._doc.documentElement.innerHTML;
-}
-break;
-case "textmode":
-html=this._textArea.value;
-break;
-default:
-alert("Mode <"+this._editMode+"> not defined!");
-return false;
-}
-return html;
-};
-Xinha.prototype.setHTML=function(html){
-if(!this.config.fullPage){
-this._doc.body.innerHTML=html;
-}else{
-this.setFullHTML(html);
-}
-this._textArea.value=html;
-};
-Xinha.prototype.setDoctype=function(_190){
-this.doctype=_190;
-};
-Xinha._object=null;
-Xinha.cloneObject=function(obj){
-if(!obj){
-return null;
-}
-var _192={};
-if(obj.constructor.toString().match(/\s*function Array\(/)){
-_192=obj.constructor();
-}
-if(obj.constructor.toString().match(/\s*function Function\(/)){
-_192=obj;
-}else{
-for(var n in obj){
-var node=obj[n];
-if(typeof node=="object"){
-_192[n]=Xinha.cloneObject(node);
-}else{
-_192[n]=node;
-}
-}
-}
-return _192;
-};
-Xinha.checkSupportedBrowser=function(){
-if(Xinha.is_gecko){
-if(navigator.productSub<20021201){
-alert("You need at least Mozilla-1.3 Alpha.\nSorry, your Gecko is not supported.");
-return false;
-}
-}
-return Xinha.is_gecko||Xinha.ie_version>=5.5;
-};
-Xinha._eventFlushers=[];
-Xinha.flushEvents=function(){
-var x=0;
-var e=Xinha._eventFlushers.pop();
-while(e){
-try{
-if(e.length==3){
-Xinha._removeEvent(e[0],e[1],e[2]);
-x++;
-}else{
-if(e.length==2){
-e[0]["on"+e[1]]=null;
-e[0]._xinha_dom0Events[e[1]]=null;
-x++;
-}
-}
-}
-catch(ex){
-}
-e=Xinha._eventFlushers.pop();
-}
-};
-if(document.addEventListener){
-Xinha._addEvent=function(el,_198,func){
-el.addEventListener(_198,func,true);
-Xinha._eventFlushers.push([el,_198,func]);
-};
-Xinha._removeEvent=function(el,_19b,func){
-el.removeEventListener(_19b,func,true);
-};
-Xinha._stopEvent=function(ev){
-ev.preventDefault();
-ev.stopPropagation();
-};
-}else{
-if(document.attachEvent){
-Xinha._addEvent=function(el,_19f,func){
-el.attachEvent("on"+_19f,func);
-Xinha._eventFlushers.push([el,_19f,func]);
-};
-Xinha._removeEvent=function(el,_1a2,func){
-el.detachEvent("on"+_1a2,func);
-};
-Xinha._stopEvent=function(ev){
-try{
-ev.cancelBubble=true;
-ev.returnValue=false;
-}
-catch(ex){
-}
-};
-}else{
-Xinha._addEvent=function(el,_1a6,func){
-alert("_addEvent is not supported");
-};
-Xinha._removeEvent=function(el,_1a9,func){
-alert("_removeEvent is not supported");
-};
-Xinha._stopEvent=function(ev){
-alert("_stopEvent is not supported");
-};
-}
-}
-Xinha._addEvents=function(el,evs,func){
-for(var i=evs.length;--i>=0;){
-Xinha._addEvent(el,evs[i],func);
-}
-};
-Xinha._removeEvents=function(el,evs,func){
-for(var i=evs.length;--i>=0;){
-Xinha._removeEvent(el,evs[i],func);
-}
-};
-Xinha.addDom0Event=function(el,ev,fn){
-Xinha._prepareForDom0Events(el,ev);
-el._xinha_dom0Events[ev].unshift(fn);
-};
-Xinha.prependDom0Event=function(el,ev,fn){
-Xinha._prepareForDom0Events(el,ev);
-el._xinha_dom0Events[ev].push(fn);
-};
-Xinha._prepareForDom0Events=function(el,ev){
-if(typeof el._xinha_dom0Events=="undefined"){
-el._xinha_dom0Events={};
-Xinha.freeLater(el,"_xinha_dom0Events");
-}
-if(typeof el._xinha_dom0Events[ev]=="undefined"){
-el._xinha_dom0Events[ev]=[];
-if(typeof el["on"+ev]=="function"){
-el._xinha_dom0Events[ev].push(el["on"+ev]);
-}
-el["on"+ev]=function(_1bc){
-var a=el._xinha_dom0Events[ev];
-var _1be=true;
-for(var i=a.length;--i>=0;){
-el._xinha_tempEventHandler=a[i];
-if(el._xinha_tempEventHandler(_1bc)===false){
-el._xinha_tempEventHandler=null;
-_1be=false;
-break;
-}
-el._xinha_tempEventHandler=null;
-}
-return _1be;
-};
-Xinha._eventFlushers.push([el,ev]);
-}
-};
-Xinha.prototype.notifyOn=function(ev,fn){
-if(typeof this._notifyListeners[ev]=="undefined"){
-this._notifyListeners[ev]=[];
-Xinha.freeLater(this,"_notifyListeners");
-}
-this._notifyListeners[ev].push(fn);
-};
-Xinha.prototype.notifyOf=function(ev,args){
-if(this._notifyListeners[ev]){
-for(var i=0;i<this._notifyListeners[ev].length;i++){
-this._notifyListeners[ev][i](ev,args);
-}
-}
-};
-Xinha._removeClass=function(el,_1c6){
-if(!(el&&el.className)){
-return;
-}
-var cls=el.className.split(" ");
-var ar=[];
-for(var i=cls.length;i>0;){
-if(cls[--i]!=_1c6){
-ar[ar.length]=cls[i];
-}
-}
-el.className=ar.join(" ");
-};
-Xinha._addClass=function(el,_1cb){
-Xinha._removeClass(el,_1cb);
-el.className+=" "+_1cb;
-};
-Xinha._hasClass=function(el,_1cd){
-if(!(el&&el.className)){
-return false;
-}
-var cls=el.className.split(" ");
-for(var i=cls.length;i>0;){
-if(cls[--i]==_1cd){
-return true;
-}
-}
-return false;
-};
-Xinha._blockTags=" body form textarea fieldset ul ol dl li div "+"p h1 h2 h3 h4 h5 h6 quote pre table thead "+"tbody tfoot tr td th iframe address blockquote ";
-Xinha.isBlockElement=function(el){
-return el&&el.nodeType==1&&(Xinha._blockTags.indexOf(" "+el.tagName.toLowerCase()+" ")!=-1);
-};
-Xinha._paraContainerTags=" body td th caption fieldset div";
-Xinha.isParaContainer=function(el){
-return el&&el.nodeType==1&&(Xinha._paraContainerTags.indexOf(" "+el.tagName.toLowerCase()+" ")!=-1);
-};
-Xinha._closingTags=" a abbr acronym address applet b bdo big blockquote button caption center cite code del dfn dir div dl em fieldset font form frameset h1 h2 h3 h4 h5 h6 i iframe ins kbd label legend map menu noframes noscript object ol optgroup pre q s samp script select small span strike strong style sub sup table textarea title tt u ul var ";
-Xinha.needsClosingTag=function(el){
-return el&&el.nodeType==1&&(Xinha._closingTags.indexOf(" "+el.tagName.toLowerCase()+" ")!=-1);
-};
-Xinha.htmlEncode=function(str){
-if(typeof str.replace=="undefined"){
-str=str.toString();
-}
-str=str.replace(/&/ig,"&amp;");
-str=str.replace(/</ig,"&lt;");
-str=str.replace(/>/ig,"&gt;");
-str=str.replace(/\xA0/g,"&nbsp;");
-str=str.replace(/\x22/g,"&quot;");
-return str;
-};
-Xinha.prototype.stripBaseURL=function(_1d4){
-if(this.config.baseHref===null||!this.config.stripBaseHref){
-return _1d4;
-}
-var _1d5=this.config.baseHref.replace(/^(https?:\/\/[^\/]+)(.*)$/,"$1");
-var _1d6=new RegExp(_1d5);
-return _1d4.replace(_1d6,"");
-};
-String.prototype.trim=function(){
-return this.replace(/^\s+/,"").replace(/\s+$/,"");
-};
-Xinha._makeColor=function(v){
-if(typeof v!="number"){
-return v;
-}
-var r=v&255;
-var g=(v>>8)&255;
-var b=(v>>16)&255;
-return "rgb("+r+","+g+","+b+")";
-};
-Xinha._colorToRgb=function(v){
-if(!v){
-return "";
-}
-var r,g,b;
-function hex(d){
-return (d<16)?("0"+d.toString(16)):d.toString(16);
-}
-if(typeof v=="number"){
-r=v&255;
-g=(v>>8)&255;
-b=(v>>16)&255;
-return "#"+hex(r)+hex(g)+hex(b);
-}
-if(v.substr(0,3)=="rgb"){
-var re=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/;
-if(v.match(re)){
-r=parseInt(RegExp.$1,10);
-g=parseInt(RegExp.$2,10);
-b=parseInt(RegExp.$3,10);
-return "#"+hex(r)+hex(g)+hex(b);
-}
-return null;
-}
-if(v.substr(0,1)=="#"){
-return v;
-}
-return null;
-};
-Xinha.prototype._popupDialog=function(url,_1e0,init){
-Dialog(this.popupURL(url),_1e0,init);
-};
-Xinha.prototype.imgURL=function(file,_1e3){
-if(typeof _1e3=="undefined"){
-return _editor_url+file;
-}else{
-return _editor_url+"plugins/"+_1e3+"/img/"+file;
-}
-};
-Xinha.prototype.popupURL=function(file){
-var url="";
-if(file.match(/^plugin:\/\/(.*?)\/(.*)/)){
-var _1e6=RegExp.$1;
-var _1e7=RegExp.$2;
-if(!(/\.html$/.test(_1e7))){
-_1e7+=".html";
-}
-url=_editor_url+"plugins/"+_1e6+"/popups/"+_1e7;
-}else{
-if(file.match(/^\/.*?/)){
-url=file;
-}else{
-url=_editor_url+this.config.popupURL+file;
-}
-}
-return url;
-};
-Xinha.getElementById=function(tag,id){
-var el,i,objs=document.getElementsByTagName(tag);
-for(i=objs.length;--i>=0&&(el=objs[i]);){
-if(el.id==id){
-return el;
-}
-}
-return null;
-};
-Xinha.prototype._toggleBorders=function(){
-var _1eb=this._doc.getElementsByTagName("TABLE");
-if(_1eb.length!==0){
-if(!this.borders){
-this.borders=true;
-}else{
-this.borders=false;
-}
-for(var i=0;i<_1eb.length;i++){
-if(this.borders){
-Xinha._addClass(_1eb[i],"htmtableborders");
-}else{
-Xinha._removeClass(_1eb[i],"htmtableborders");
-}
-}
-}
-return true;
-};
-Xinha.addCoreCSS=function(html){
-var _1ee="<style title=\"Xinha Internal CSS\" type=\"text/css\">"+".htmtableborders, .htmtableborders td, .htmtableborders th {border : 1px dashed lightgrey ! important;}\n"+"html, body { border: 0px; } \n"+"body { background-color: #ffffff; } \n"+"</style>\n";
-if(html&&/<head>/i.test(html)){
-return html.replace(/<head>/i,"<head>"+_1ee);
-}else{
-if(html){
-return _1ee+html;
-}else{
-return _1ee;
-}
-}
-};
-Xinha.stripCoreCSS=function(html){
-return html.replace(/<style[^>]+title="Xinha Internal CSS"(.|\n)*?<\/style>/i,"");
-};
-Xinha.addClasses=function(el,_1f1){
-if(el!==null){
-var _1f2=el.className.trim().split(" ");
-var ours=_1f1.split(" ");
-for(var x=0;x<ours.length;x++){
-var _1f5=false;
-for(var i=0;_1f5===false&&i<_1f2.length;i++){
-if(_1f2[i]==ours[x]){
-_1f5=true;
-}
-}
-if(_1f5===false){
-_1f2[_1f2.length]=ours[x];
-}
-}
-el.className=_1f2.join(" ").trim();
-}
-};
-Xinha.removeClasses=function(el,_1f8){
-var _1f9=el.className.trim().split();
-var _1fa=[];
-var _1fb=_1f8.trim().split();
-for(var i=0;i<_1f9.length;i++){
-var _1fd=false;
-for(var x=0;x<_1fb.length&&!_1fd;x++){
-if(_1f9[i]==_1fb[x]){
-_1fd=true;
-}
-}
-if(!_1fd){
-_1fa[_1fa.length]=_1f9[i];
-}
-}
-return _1fa.join(" ");
-};
-Xinha.addClass=Xinha._addClass;
-Xinha.removeClass=Xinha._removeClass;
-Xinha._addClasses=Xinha.addClasses;
-Xinha._removeClasses=Xinha.removeClasses;
-Xinha._postback=function(url,data,_201){
-var req=null;
-req=Xinha.getXMLHTTPRequestObject();
-var _203="";
-if(typeof data=="string"){
-_203=data;
-}else{
-if(typeof data=="object"){
-for(var i in data){
-_203+=(_203.length?"&":"")+i+"="+encodeURIComponent(data[i]);
-}
-}
-}
-function callBack(){
-if(req.readyState==4){
-if(req.status==200||Xinha.isRunLocally&&req.status==0){
-if(typeof _201=="function"){
-_201(req.responseText,req);
-}
-}else{
-alert("An error has occurred: "+req.statusText);
-}
-}
-}
-req.onreadystatechange=callBack;
-req.open("POST",url,true);
-req.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
-req.send(_203);
-};
-Xinha._getback=function(url,_206){
-var req=null;
-req=Xinha.getXMLHTTPRequestObject();
-function callBack(){
-if(req.readyState==4){
-if(req.status==200||Xinha.isRunLocally&&req.status==0){
-_206(req.responseText,req);
-}else{
-alert("An error has occurred: "+req.statusText);
-}
-}
-}
-req.onreadystatechange=callBack;
-req.open("GET",url,true);
-req.send(null);
-};
-Xinha._geturlcontent=function(url){
-var req=null;
-req=Xinha.getXMLHTTPRequestObject();
-req.open("GET",url,false);
-req.send(null);
-if(req.status==200||Xinha.isRunLocally&&req.status==0){
-return req.responseText;
-}else{
-return "";
-}
-};
-if(typeof dump=="undefined"){
-function dump(o){
-var s="";
-for(var prop in o){
-s+=prop+" = "+o[prop]+"\n";
-}
-var x=window.open("","debugger");
-x.document.write("<pre>"+s+"</pre>");
-}
-}
-Xinha.arrayContainsArray=function(a1,a2){
-var _210=true;
-for(var x=0;x<a2.length;x++){
-var _212=false;
-for(var i=0;i<a1.length;i++){
-if(a1[i]==a2[x]){
-_212=true;
-break;
-}
-}
-if(!_212){
-_210=false;
-break;
-}
-}
-return _210;
-};
-Xinha.arrayFilter=function(a1,_215){
-var _216=[];
-for(var x=0;x<a1.length;x++){
-if(_215(a1[x])){
-_216[_216.length]=a1[x];
-}
-}
-return _216;
-};
-Xinha.uniq_count=0;
-Xinha.uniq=function(_218){
-return _218+Xinha.uniq_count++;
-};
-Xinha._loadlang=function(_219,url){
-var lang;
-if(typeof _editor_lcbackend=="string"){
-url=_editor_lcbackend;
-url=url.replace(/%lang%/,_editor_lang);
-url=url.replace(/%context%/,_219);
-}else{
-if(!url){
-if(_219!="Xinha"){
-url=_editor_url+"plugins/"+_219+"/lang/"+_editor_lang+".js";
-}else{
-url=_editor_url+"lang/"+_editor_lang+".js";
-}
-}
-}
-var _21c=Xinha._geturlcontent(url);
-if(_21c!==""){
-try{
-eval("lang = "+_21c);
-}
-catch(ex){
-alert("Error reading Language-File ("+url+"):\n"+Error.toString());
-lang={};
-}
-}else{
-lang={};
-}
-return lang;
-};
-Xinha._lc=function(_21d,_21e,_21f){
-var url,ret;
-if(typeof _21e=="object"&&_21e.url&&_21e.context){
-url=_21e.url+_editor_lang+".js";
-_21e=_21e.context;
-}
-var m=null;
-if(typeof _21d=="string"){
-m=_21d.match(/\$(.*?)=(.*?)\$/g);
-}
-if(m){
-if(!_21f){
-_21f={};
-}
-for(var i=0;i<m.length;i++){
-var n=m[i].match(/\$(.*?)=(.*?)\$/);
-_21f[n[1]]=n[2];
-_21d=_21d.replace(n[0],"$"+n[1]);
-}
-}
-if(_editor_lang=="en"){
-if(typeof _21d=="object"&&_21d.string){
-ret=_21d.string;
-}else{
-ret=_21d;
-}
-}else{
-if(typeof Xinha._lc_catalog=="undefined"){
-Xinha._lc_catalog=[];
-}
-if(typeof _21e=="undefined"){
-_21e="Xinha";
-}
-if(typeof Xinha._lc_catalog[_21e]=="undefined"){
-Xinha._lc_catalog[_21e]=Xinha._loadlang(_21e,url);
-}
-var key;
-if(typeof _21d=="object"&&_21d.key){
-key=_21d.key;
-}else{
-if(typeof _21d=="object"&&_21d.string){
-key=_21d.string;
-}else{
-key=_21d;
-}
-}
-if(typeof Xinha._lc_catalog[_21e][key]=="undefined"){
-if(_21e=="Xinha"){
-if(typeof _21d=="object"&&_21d.string){
-ret=_21d.string;
-}else{
-ret=_21d;
-}
-}else{
-return Xinha._lc(_21d,"Xinha",_21f);
-}
-}else{
-ret=Xinha._lc_catalog[_21e][key];
-}
-}
-if(typeof _21d=="object"&&_21d.replace){
-_21f=_21d.replace;
-}
-if(typeof _21f!="undefined"){
-for(var i in _21f){
-ret=ret.replace("$"+i,_21f[i]);
-}
-}
-return ret;
-};
-Xinha.hasDisplayedChildren=function(el){
-var _226=el.childNodes;
-for(var i=0;i<_226.length;i++){
-if(_226[i].tagName){
-if(_226[i].style.display!="none"){
-return true;
-}
-}
-}
-return false;
-};
-Xinha._loadback=function(Url,_229,_22a,_22b){
-var T=!Xinha.is_ie?"onload":"onreadystatechange";
-var S=document.createElement("script");
-S.type="text/javascript";
-S.src=Url;
-if(_229){
-S[T]=function(){
-if(Xinha.is_ie&&(!(/loaded|complete/.test(window.event.srcElement.readyState)))){
-return;
-}
-_229.call(_22a?_22a:this,_22b);
-S[T]=null;
-};
-}
-document.getElementsByTagName("head")[0].appendChild(S);
-};
-Xinha.collectionToArray=function(_22e){
-var _22f=[];
-for(var i=0;i<_22e.length;i++){
-_22f.push(_22e.item(i));
-}
-return _22f;
-};
-if(!Array.prototype.append){
-Array.prototype.append=function(a){
-for(var i=0;i<a.length;i++){
-this.push(a[i]);
-}
-return this;
-};
-}
-Xinha.makeEditors=function(_233,_234,_235){
-if(typeof _234=="function"){
-_234=_234();
-}
-var _236={};
-for(var x=0;x<_233.length;x++){
-var _238=new Xinha(_233[x],Xinha.cloneObject(_234));
-_238.registerPlugins(_235);
-_236[_233[x]]=_238;
-}
-return _236;
-};
-Xinha.startEditors=function(_239){
-for(var i in _239){
-if(_239[i].generate){
-_239[i].generate();
-}
-}
-};
-Xinha.prototype.registerPlugins=function(_23b){
-if(_23b){
-for(var i=0;i<_23b.length;i++){
-this.setLoadingMessage("Register plugin $plugin","Xinha",{"plugin":_23b[i]});
-this.registerPlugin(eval(_23b[i]));
-}
-}
-};
-Xinha.base64_encode=function(_23d){
-var _23e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
-var _23f="";
-var chr1,chr2,chr3;
-var enc1,enc2,enc3,enc4;
-var i=0;
-do{
-chr1=_23d.charCodeAt(i++);
-chr2=_23d.charCodeAt(i++);
-chr3=_23d.charCodeAt(i++);
-enc1=chr1>>2;
-enc2=((chr1&3)<<4)|(chr2>>4);
-enc3=((chr2&15)<<2)|(chr3>>6);
-enc4=chr3&63;
-if(isNaN(chr2)){
-enc3=enc4=64;
-}else{
-if(isNaN(chr3)){
-enc4=64;
-}
-}
-_23f=_23f+_23e.charAt(enc1)+_23e.charAt(enc2)+_23e.charAt(enc3)+_23e.charAt(enc4);
-}while(i<_23d.length);
-return _23f;
-};
-Xinha.base64_decode=function(_243){
-var _244="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
-var _245="";
-var chr1,chr2,chr3;
-var enc1,enc2,enc3,enc4;
-var i=0;
-_243=_243.replace(/[^A-Za-z0-9\+\/\=]/g,"");
-do{
-enc1=_244.indexOf(_243.charAt(i++));
-enc2=_244.indexOf(_243.charAt(i++));
-enc3=_244.indexOf(_243.charAt(i++));
-enc4=_244.indexOf(_243.charAt(i++));
-chr1=(enc1<<2)|(enc2>>4);
-chr2=((enc2&15)<<4)|(enc3>>2);
-chr3=((enc3&3)<<6)|enc4;
-_245=_245+String.fromCharCode(chr1);
-if(enc3!=64){
-_245=_245+String.fromCharCode(chr2);
-}
-if(enc4!=64){
-_245=_245+String.fromCharCode(chr3);
-}
-}while(i<_243.length);
-return _245;
-};
-Xinha.removeFromParent=function(el){
-if(!el.parentNode){
-return;
-}
-var pN=el.parentNode;
-pN.removeChild(el);
-return el;
-};
-Xinha.hasParentNode=function(el){
-if(el.parentNode){
-if(el.parentNode.nodeType==11){
-return false;
-}
-return true;
-}
-return false;
-};
-Xinha.viewportSize=function(_24c){
-_24c=(_24c)?_24c:window;
-var x,y;
-if(_24c.innerHeight){
-x=_24c.innerWidth;
-y=_24c.innerHeight;
-}else{
-if(_24c.document.documentElement&&_24c.document.documentElement.clientHeight){
-x=_24c.document.documentElement.clientWidth;
-y=_24c.document.documentElement.clientHeight;
-}else{
-if(_24c.document.body){
-x=_24c.document.body.clientWidth;
-y=_24c.document.body.clientHeight;
-}
-}
-}
-return {"x":x,"y":y};
-};
-Xinha.prototype.scrollPos=function(_24e){
-_24e=(_24e)?_24e:window;
-var x,y;
-if(_24e.pageYOffset){
-x=_24e.pageXOffset;
-y=_24e.pageYOffset;
-}else{
-if(_24e.document.documentElement&&document.documentElement.scrollTop){
-x=_24e.document.documentElement.scrollLeft;
-y=_24e.document.documentElement.scrollTop;
-}else{
-if(_24e.document.body){
-x=_24e.document.body.scrollLeft;
-y=_24e.document.body.scrollTop;
-}
-}
-}
-return {"x":x,"y":y};
-};
-Xinha.getElementTopLeft=function(_250){
-var _251={top:0,left:0};
-while(_250){
-_251.top+=_250.offsetTop;
-_251.left+=_250.offsetLeft;
-if(_250.offsetParent&&_250.offsetParent.tagName.toLowerCase()!="body"){
-_250=_250.offsetParent;
-}else{
-_250=null;
-}
-}
-return _251;
-};
-Xinha.findPosX=function(obj){
-var _253=0;
-if(obj.offsetParent){
-return Xinha.getElementTopLeft(obj).left;
-}else{
-if(obj.x){
-_253+=obj.x;
-}
-}
-return _253;
-};
-Xinha.findPosY=function(obj){
-var _255=0;
-if(obj.offsetParent){
-return Xinha.getElementTopLeft(obj).top;
-}else{
-if(obj.y){
-_255+=obj.y;
-}
-}
-return _255;
-};
-Xinha.prototype.setLoadingMessage=function(_256,_257,_258){
-if(!this.config.showLoading||!document.getElementById("loading_sub_"+this._textArea.name)){
-return;
-}
-var elt=document.getElementById("loading_sub_"+this._textArea.name);
-elt.innerHTML=Xinha._lc(_256,_257,_258);
-};
-Xinha.prototype.removeLoadingMessage=function(){
-if(!this.config.showLoading||!document.getElementById("loading_"+this._textArea.name)){
-return;
-}
-document.body.removeChild(document.getElementById("loading_"+this._textArea.name));
-};
-Xinha.toFree=[];
-Xinha.freeLater=function(obj,prop){
-Xinha.toFree.push({o:obj,p:prop});
-};
-Xinha.free=function(obj,prop){
-if(obj&&!prop){
-for(var p in obj){
-Xinha.free(obj,p);
-}
-}else{
-if(obj){
-try{
-obj[prop]=null;
-}
-catch(x){
-}
-}
-}
-};
-Xinha.collectGarbageForIE=function(){
-Xinha.flushEvents();
-for(var x=0;x<Xinha.toFree.length;x++){
-Xinha.free(Xinha.toFree[x].o,Xinha.toFree[x].p);
-Xinha.toFree[x].o=null;
-}
-};
-Xinha.prototype.insertNodeAtSelection=function(_260){
-Xinha.notImplemented("insertNodeAtSelection");
-};
-Xinha.prototype.getParentElement=function(sel){
-Xinha.notImplemented("getParentElement");
-};
-Xinha.prototype.activeElement=function(sel){
-Xinha.notImplemented("activeElement");
-};
-Xinha.prototype.selectionEmpty=function(sel){
-Xinha.notImplemented("selectionEmpty");
-};
-Xinha.prototype.selectNodeContents=function(node,pos){
-Xinha.notImplemented("selectNodeContents");
-};
-Xinha.prototype.insertHTML=function(html){
-Xinha.notImplemented("insertHTML");
-};
-Xinha.prototype.getSelectedHTML=function(){
-Xinha.notImplemented("getSelectedHTML");
-};
-Xinha.prototype.getSelection=function(){
-Xinha.notImplemented("getSelection");
-};
-Xinha.prototype.createRange=function(sel){
-Xinha.notImplemented("createRange");
-};
-Xinha.prototype.isKeyEvent=function(_268){
-Xinha.notImplemented("isKeyEvent");
-};
-Xinha.prototype.isShortCut=function(_269){
-if(_269.ctrlKey&&!_269.altKey){
-return true;
-}
-return false;
-};
-Xinha.prototype.getKey=function(_26a){
-Xinha.notImplemented("getKey");
-};
-Xinha.getOuterHTML=function(_26b){
-Xinha.notImplemented("getOuterHTML");
-};
-Xinha.getXMLHTTPRequestObject=function(){
-try{
-if(typeof XMLHttpRequest=="function"){
-return new XMLHttpRequest();
-}else{
-if(typeof ActiveXObject=="function"){
-return new ActiveXObject("Microsoft.XMLHTTP");
-}
-}
-}
-catch(e){
-Xinha.notImplemented("getXMLHTTPRequestObject");
-}
-};
-Xinha.prototype._activeElement=function(sel){
-return this.activeElement(sel);
-};
-Xinha.prototype._selectionEmpty=function(sel){
-return this.selectionEmpty(sel);
-};
-Xinha.prototype._getSelection=function(){
-return this.getSelection();
-};
-Xinha.prototype._createRange=function(sel){
-return this.createRange(sel);
-};
-HTMLArea=Xinha;
-Xinha.init();
-Xinha.addDom0Event(window,"unload",Xinha.collectGarbageForIE);
-Xinha.notImplemented=function(_26f){
-throw new Error("Method Not Implemented","Part of Xinha has tried to call the "+_26f+" method which has not been implemented.");
-};
-\r
diff --git a/mailboxes/xinha/contrib/lc_parse_strings.php b/mailboxes/xinha/contrib/lc_parse_strings.php
deleted file mode 100644 (file)
index b22343b..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-die("this script is disabled for security");
-
-/**
-  * LC-Parse-Strings-Script
-  *
-  * This script parses all xinhas source-files and creates base lang-files
-  * in the lang-folders (one for base and one every plugin)
-  *
-  * How To use it: - remove the die() in line 2 (security)
-  *                - make sure all lang-folders are writeable for your webserver
-  *                - open the contrib/lc_parse_strings.php in your browser
-  *                - lang/base.js will be written
-  *                - open base.js, translate all strings into your language and save it
-  *                  as yourlangauge.js
-  *                - send the translated file to the xinha-team
- **/
-
-
-
-error_reporting(E_ALL);
-
-$ret = array();
-$files = getFiles("../", "js$");
-foreach($files as $file)
-{
-    $fp = fopen($file, "r");
-    $data = "";
-    while(!feof($fp)) {
-        $data .= fread($fp, 1024);
-    }
-
-    preg_match_all('#_lc\("([^"]+)"\)|_lc\(\'([^\']+)\'\)#', $data, $m);
-    foreach($m[1] as $i) {
-        if(trim($i)=="") continue;
-        $ret[] = $i;
-    }
-    foreach($m[2] as $i) {
-        if(trim($i)=="") continue;
-        $ret[] = $i;
-    }
-
-    if(eregi('htmlarea\\.js$', $file)) {
-        //toolbar-buttons
-        //bold:          [ "Bold"
-        preg_match_all('#[a-z]+: *\[ * "([^"]+)"#', $data, $m);
-        foreach($m[1] as $i) {
-            if(trim($i)=="") continue;
-            $ret[] = $i;
-        }
-
-        //HTMLArea._lc({key: 'button_bold', string
-        preg_match_all('#HTMLArea\\._lc\\({key: \'([^\']*)\'#', $data, $m);
-        foreach($m[1] as $i) {
-            if(trim($i)=="") continue;
-            $ret[] = $i;
-        }
-
-        //config.fontname, fontsize and formatblock
-        $data = substr($data, strpos($data, "this.fontname = {"), strpos($data, "this.customSelects = {};")-strpos($data, "this.fontname = {"));
-        preg_match_all('#"([^"]+)"[ \t]*:[ \t]*["\'][^"\']*["\'],?#', $data, $m);
-        foreach($m[1] as $i) {
-            if(trim($i)=="") continue;
-            $ret[] = $i;
-        }
-    }
-}
-
-$files = getFiles("../popups/", "html$");
-foreach($files as $file)
-{
-    if(preg_match("#custom2.html$#", $file)) continue;
-    if(preg_match('#old_#', $file)) continue;
-    $ret = array_merge($ret, parseHtmlFile($file));
-}
-$ret = array_unique($ret);
-$langData['HTMLArea'] = $ret;
-
-
-
-$plugins = getFiles("../plugins/");
-foreach($plugins as $pluginDir)
-{
-    $plugin = substr($pluginDir, 12);
-    if($plugin=="ibrowser") continue;
-    $ret = array();
-
-    $files = getFiles("$pluginDir/", "js$");
-    $files = array_merge($files, getFiles("$pluginDir/popups/", "html$"));
-    $files = array_merge($files, getFiles("$pluginDir/", "php$"));
-    foreach($files as $file)
-    {
-        $fp = fopen($file, "r");
-        $data = "";
-        if($fp) {
-            echo "$file open...<br>";
-            while(!feof($fp)) {
-              $data .= fread($fp, 1024);
-            }
-            preg_match_all('#_lc\("([^"]+)"|_lc\(\'([^\']+)\'#', $data, $m);
-            foreach($m[1] as $i) {
-                if(trim(strip_tags($i))=="") continue;
-                $ret[] = $i;
-            }
-            foreach($m[2] as $i) {
-                if(trim(strip_tags($i))=="") continue;
-                $ret[] = $i;
-            }
-        }
-    }
-
-    if($plugin=="TableOperations")
-    {
-        preg_match_all('#options = \\[([^\\]]+)\\];#', $data, $m);
-        foreach($m[1] as $i) {
-            preg_match_all('#"([^"]+)"#', $i, $m1);
-            foreach($m1[1] as $i) {
-                $ret[] = $i;
-            }
-        }
-        
-        //["cell-delete",        "td", "Delete cell"],
-        preg_match_all('#\\["[^"]+",[ \t]*"[^"]+",[ \t]*"([^"]+)"\\]#', $data, $m);
-        foreach($m[1] as $i) {
-            $ret[] = $i;
-        }
-    }
-
-
-    $files = getFiles("$pluginDir/", "html$");
-    $files = array_merge($files, getFiles("$pluginDir/", "php$"));
-    foreach($files as $file)
-    {
-        $ret = array_merge($ret, parseHtmlFile($file, $plugin));
-    }
-    
-    $files = getFiles("$pluginDir/popups/", "html$");
-    foreach($files as $file)
-    {
-        $ret = array_merge($ret, parseHtmlFile($file, $plugin));
-    }
-    $ret = array_unique($ret);
-
-    $langData[$plugin] = $ret;
-}
-
-foreach($langData as $plugin=>$strings)
-{
-    if(sizeof($strings)==0) continue;
-    
-
-    $data = "// I18N constants\n";
-    $data .= "//\n";
-    $data .= "//LANG: \"base\", ENCODING: UTF-8\n";
-    $data .= "//Author: Translator-Name, <email@example.com>\n";
-    $data .= "// FOR TRANSLATORS:\n";
-    $data .= "//\n";
-    $data .= "//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\n";
-    $data .= "//      (at least a valid email address)\n";
-    $data .= "//\n";
-    $data .= "//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\n";
-    $data .= "//      (if this is not possible, please include a comment\n";
-    $data .= "//       that states what encoding is necessary.)\n";
-    $data .= "\n";
-    $data .= "{\n";
-    sort($strings);
-    foreach($strings as $string) {
-        $string = str_replace(array('\\', '"'), array('\\\\', '\\"'), $string);
-        $data .= "  \"".$string."\": \"\",\n";
-    }
-    $data = substr($data, 0, -2);
-    $data .= "\n";
-    $data .= "}\n";
-
-    if($plugin=="HTMLArea")
-        $file = "../lang/base.js";
-    else
-        $file = "../plugins/$plugin/lang/base.js";
-    
-    $fp = fopen($file, "w");
-    if(!$fp) continue;
-    fwrite($fp, $data);
-    fclose($fp);
-    echo "$file written...<br>";
-}
-
-
-
-
-function parseHtmlFile($file, $plugin="")
-{
-    $ret = array();
-    
-    $fp = fopen($file, "r");
-    if(!$fp) {
-        die("invalid fp");
-    }
-    $data = "";
-    while(!feof($fp)) {
-        $data .= fread($fp, 1024);
-    }
-    
-    if($plugin=="FormOperations" || $plugin=="SuperClean" || $plugin=="Linker") {
-        //<l10n>-tags for inline-dialog or panel-dialog based dialogs
-        $elems = array("l10n");
-    } else {
-        $elems = array("title", "input", "select", "legend", "span", "option", "td", "button", "div", "label");
-    }
-    foreach($elems as $elem) {
-        preg_match_all("#<{$elem}[^>]*>([^<^\"]+)</$elem>#i", $data, $m);
-        foreach($m[1] as $i) {
-            if(trim(strip_tags($i))=="") continue;
-            if($i=="/") continue;
-            if($plugin=="ImageManager" && preg_match('#^--+$#', $i)) continue; //skip those ------
-            if($plugin=="CharacterMap" && preg_match('#&[a-z0-9]+;#i', trim($i)) || $i=="@") continue;
-            if($plugin=="SpellChecker" && preg_match('#^\'\\.\\$[a-z]+\\.\'$#', $i)) continue;
-            $ret[] = trim($i);
-        }
-    }
-    
-    if($plugin=="FormOperations" || $plugin=="SuperClean" || $plugin=="Linker")
-    {
-        //_( for inline-dialog or panel-dialog based dialogs
-        preg_match_all('#"_\(([^"]+)\)"#i', $data, $m);
-        foreach($m[1] as $i) {
-            if(trim($i)=="") continue;
-            $ret[] = $i;
-        }
-    }
-    else
-    {
-        preg_match_all('#title="([^"]+)"#i', $data, $m);
-        foreach($m[1] as $i) {
-            if(trim(strip_tags($i))=="") continue;
-            if(strip_tags($i)==" - ") continue; //skip those - (ImageManager)
-            $ret[] = $i;
-        }
-    }
-    return($ret);
-}
-
-
-function getFiles($rootdirpath, $eregi_match='') {
- $array = array();
- if ($dir = @opendir($rootdirpath)) {
-   $array = array();
-   while (($file = readdir($dir)) !== false) {
-     if($file=="." || $file==".." || $file==".svn") continue;
-      if($eregi_match=="")
-        $array[] = $rootdirpath."/".$file;
-      else if(eregi($eregi_match,$file))
-        $array[] = $rootdirpath."/".$file;
-      
-   }
-   closedir($dir);
- }
- return $array;
-}
-
-
-
-
-
-?>
diff --git a/mailboxes/xinha/contrib/php-xinha.php b/mailboxes/xinha/contrib/php-xinha.php
deleted file mode 100644 (file)
index 2fac5d2..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-<?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')
-  {
-   
-    $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();
-    
-    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;
-}
-?>
\ No newline at end of file
diff --git a/mailboxes/xinha/examples/Extended.html b/mailboxes/xinha/examples/Extended.html
deleted file mode 100644 (file)
index 69aedda..0000000
+++ /dev/null
@@ -1,299 +0,0 @@
-<html>\r
-\r
-<head>\r
-  <title>Settings</title>\r
-  <link rel="stylesheet" type="text/css" href="../popups/popup.css" />\r
-  <script type="text/javascript">\r
-\r
-function getAbsolutePos(el) {\r
-       var r = { x: el.offsetLeft, y: el.offsetTop };\r
-       if (el.offsetParent) {\r
-               var tmp = getAbsolutePos(el.offsetParent);\r
-               r.x += tmp.x;\r
-               r.y += tmp.y;\r
-       }\r
-       return r;\r
-};\r
-\r
-function getSelectedValue(el) {\r
-  if(!el)\r
-    return "";\r
-  return el[el.selectedIndex].value;\r
-}\r
-\r
-function setSelectedValue(el, val) {\r
-  if(!el)\r
-    return "";\r
-  var ops = el.getElementsByTagName("option");\r
-  for (var i = ops.length; --i >= 0;) {\r
-    var op = ops[i];\r
-    op.selected = (op.value == val);\r
-  }\r
-  el.value = val;\r
-}\r
-\r
-function getCheckedValue(el) {\r
-  if(!el)\r
-    return "";\r
-  var radioLength = el.length;\r
-  if(radioLength == undefined)\r
-    if(el.checked)\r
-      return el.value;\r
-    else\r
-      return "false";\r
-  for(var i = 0; i < radioLength; i++) {\r
-    if(el[i].checked) {\r
-      return el[i].value;\r
-    }\r
-  }\r
-  return "";\r
-}\r
-\r
-function setCheckedValue(el, val) {\r
-  if(!el)\r
-    return;\r
-  var radioLength = el.length;\r
-  if(radioLength == undefined) {\r
-    el.checked = (el.value == val.toString());\r
-    return;\r
-  }\r
-  for(var i = 0; i < radioLength; i++) {\r
-    el[i].checked = false;\r
-    if(el[i].value == val.toString()) {\r
-      el[i].checked = true;\r
-    }\r
-  }\r
-}\r
-\r
-function __dlg_onclose() {\r
-       opener.Dialog._return(null);\r
-};\r
-\r
-// closes the dialog and passes the return info upper.\r
-function __dlg_close(val) {\r
-       opener.Dialog._return(val);\r
-       window.close();\r
-};\r
-\r
-function __dlg_close_on_esc(ev) {\r
-       ev || (ev = window.event);\r
-       if (ev.keyCode == 27) {\r
-               window.close();\r
-               return false;\r
-       }\r
-       return true;\r
-};\r
-\r
-function __dlg_init(bottom) {\r
-  var body = document.body;\r
-       var body_height = 0;\r
-       if (typeof bottom == "undefined") {\r
-               var div = document.createElement("div");\r
-               body.appendChild(div);\r
-               var pos = getAbsolutePos(div);\r
-               body_height = pos.y;\r
-       } else {\r
-               var pos = getAbsolutePos(bottom);\r
-               body_height = pos.y + bottom.offsetHeight;\r
-       }\r
-       window.dialogArguments = opener.Dialog._arguments;\r
-       if (!document.all) {\r
-               window.sizeToContent();\r
-               window.sizeToContent(); // for reasons beyond understanding,\r
-                                       // only if we call it twice we get the\r
-                                       // correct size.\r
-               window.addEventListener("unload", __dlg_onclose, true);\r
-               window.innerWidth = body.offsetWidth + 5;\r
-               window.innerHeight = body_height + 2;\r
-               // center on parent\r
-               var x = opener.screenX + (opener.outerWidth - window.outerWidth) / 2;\r
-               var y = opener.screenY + (opener.outerHeight - window.outerHeight) / 2;\r
-               window.moveTo(x, y);\r
-       } else {\r
-               // window.dialogHeight = body.offsetHeight + 50 + "px";\r
-               // window.dialogWidth = body.offsetWidth + "px";\r
-               window.resizeTo(body.offsetWidth, body_height);\r
-               var ch = body.clientHeight;\r
-               var cw = body.clientWidth;\r
-               window.resizeBy(body.offsetWidth - cw, body_height - ch);\r
-               var W = body.offsetWidth;\r
-               var H = 2 * body_height - ch;\r
-               var x = (screen.availWidth - W) / 2;\r
-               var y = (screen.availHeight - H) / 2;\r
-               window.moveTo(x, y);\r
-       }\r
-       document.body.onkeypress = __dlg_close_on_esc;\r
-};\r
-\r
-function placeFocus() {\r
-var bFound = false;\r
-  // for each form\r
-  for (f=0; f < document.forms.length; f++) {\r
-    // for each element in each form\r
-    for(i=0; i < document.forms[f].length; i++) {\r
-      // if it's not a hidden element\r
-      if (document.forms[f][i].type != "hidden") {\r
-        // and it's not disabled\r
-        if (document.forms[f][i].disabled != true) {\r
-            // set the focus to it\r
-            document.forms[f][i].focus();\r
-            var bFound = true;\r
-        }\r
-      }\r
-      // if found in this element, stop looking\r
-      if (bFound == true)\r
-        break;\r
-    }\r
-    // if found in this form, stop looking\r
-    if (bFound == true)\r
-      break;\r
-  }\r
-}\r
-\r
-function Init() {\r
-  __dlg_init();\r
-  var param = window.dialogArguments;\r
-  if(param) {\r
-    var el;\r
-    for (var field in param) {\r
-      //alert(field + '="' + param[field] + '"');\r
-      el = document.getElementById(field);\r
-      if (el.tagName.toLowerCase()=="input"){\r
-        if ((el.type.toLowerCase()=="radio") || (el.type.toLowerCase()=="checkbox")){\r
-          setCheckedValue(el, param[field]);\r
-        } else {\r
-          el.value = param[field];\r
-        }\r
-      } else if (el.tagName.toLowerCase()=="select"){\r
-        setSelectedValue(el, param[field]);\r
-      } else if (el.tagName.toLowerCase()=="textarea"){\r
-        el.value = param[field];\r
-      }\r
-    }\r
-  }\r
-  placeFocus();\r
-};\r
-\r
-// pass data back to the calling window\r
-function onOK() {\r
-  var param = new Object();\r
-  var el = document.getElementsByTagName('input');\r
-  for (var i=0; i<el.length;i++){\r
-    if ((el[i].type.toLowerCase()=="radio") || (el[i].type.toLowerCase()=="checkbox")){\r
-      if (getCheckedValue(el[i])!=''){\r
-        param[el[i].id] = getCheckedValue(el[i]);\r
-      }\r
-    } else {\r
-      param[el[i].id] = el[i].value;\r
-    }\r
-  }\r
-  el = document.getElementsByTagName('select');\r
-  for (var i=0; i<el.length;i++){\r
-    param[el[i].id] = getSelectedValue(el[i]);\r
-  }\r
-  el = document.getElementsByTagName('textarea');\r
-  for (var i=0; i<el.length;i++){\r
-    param[el[i].id] = el[i].value;\r
-  }\r
-  __dlg_close(param);\r
-  return false;\r
-};\r
-\r
-function onCancel() {\r
-  __dlg_close(null);\r
-  return false;\r
-};\r
-\r
-</script>\r
-\r
-<style type="text/css">\r
-       .fr { width: 16em; float: left; padding: 2px 5px; text-align: right; }\r
-</style>\r
-\r
-</head>\r
-\r
-<body class="dialog" onload="Init(); window.resizeTo(360, 590);">\r
-<div class="title">Settings</div>\r
-  <form action="" method="get">\r
-    <div class="fr">Editor width:</div>\r
-      <input type="text" name="width" id="width" title="" />\r
-    <p />\r
-    <div class="fr">Editor height:</div>\r
-      <input type="text" name="height" id="height" title="" />\r
-    <p />\r
-    <div class="fr">Size includes bars</div>\r
-      <input type="checkbox" name="sizeIncludesBars" id="sizeIncludesBars" value="true" />\r
-    <p />\r
-    <div class="fr">Status Bar</div>\r
-      <input type="checkbox" name="statusBar" id="statusBar" value="true" />\r
-    <p />\r
-    <div class="fr">Mozilla Parameter Handler:</div>\r
-    <select name="mozParaHandler" id="mozParaHandler">\r
-      <option value="built-in">built-in</option>\r
-      <option value="dirty">dirty</option>\r
-      <option value="best">best</option>\r
-    </select>\r
-    <div class="space"></div>\r
-    <div class="fr">Undo steps:</div>\r
-      <input type="text" name="undoSteps" id="undoSteps" title="" />\r
-    <p />\r
-    <div class="fr">Base href:</div>\r
-      <input type="text" name="baseHref" id="baseHref" title="" />\r
-    <p />\r
-    <div class="fr">Strip base href</div>\r
-      <input type="checkbox" name="stripBaseHref" id="stripBaseHref" value="true" />\r
-    <p />\r
-    <div class="fr">Strip self named anchors</div>\r
-      <input type="checkbox" name="stripSelfNamedAnchors" id="stripSelfNamedAnchors" value="true" />\r
-    <p />\r
-    <div class="fr">only 7bit printables in URLs</div>\r
-      <input type="checkbox" name="only7BitPrintablesInURLs" id="only7BitPrintablesInURLs" value="true" />\r
-    <p />\r
-    <div class="fr">7bit Clean</div>\r
-      <input type="checkbox" name="sevenBitClean" id="sevenBitClean" value="true" />\r
-    <p />\r
-    <div class="fr">kill Word on paste</div>\r
-      <input type="checkbox" name="killWordOnPaste" id="killWordOnPaste" value="true" />\r
-    <p />\r
-    <div class="fr">flow toolbars</div>\r
-      <input type="checkbox" name="flowToolbars" id="flowToolbars" value="true" />\r
-    <p />\r
-    <div class="fr">show loading</div>\r
-      <input type="checkbox" name="showLoading" id="showLoading" value="true" />\r
-    <p />\r
-\r
-    <div id="CharacterMapOptions" class="options">\r
-    <hr size="0.5">\r
-    <div class="fr">CharacterMap mode :</div>\r
-      <select id="CharacterMapMode" name="CharacterMapMode">\r
-        <option value="popup">popup</option>\r
-        <option value="panel">panel</option>\r
-      </select>\r
-    </div>\r
-    <p />\r
-\r
-    <div id="ListTypeOptions" class="options">\r
-    <hr size="0.5">\r
-    <div class="fr">ListType mode :</div>\r
-      <select id="ListTypeMode" name="ListTypeMode">\r
-        <option value="toolbar">toolbar</option>\r
-        <option value="panel">panel</option>\r
-      </select>\r
-    </div>\r
-    <p />\r
-\r
-    <div id="CharCounterOptions" class="options">\r
-    <hr size="0.5">\r
-    <div class="fr">CharCounter (showChar) :</div><input type="checkbox" name="showChar" id="showChar" value="true" /><br />\r
-    <div class="fr">CharCounter (showWord) :</div><input type="checkbox" name="showWord" id="showWord" value="true" /><br />\r
-    <div class="fr">CharCounter (showHtml) :</div><input type="checkbox" name="showHtml" id="showHtml" value="true" />\r
-    </div>\r
-    <p />\r
-\r
-  <div id="buttons">\r
-    <button type="submit" name="ok" onclick="return onOK();">OK</button>\r
-    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>\r
-  </div>\r
-</form>\r
-</body>\r
-</html>\r
diff --git a/mailboxes/xinha/examples/custom.css b/mailboxes/xinha/examples/custom.css
deleted file mode 100644 (file)
index 15530d5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-  /*--------------------------------------: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.python-hosting.com/tags/0.92beta/examples/custom.css $
-    --  $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
-    --  $LastChangedRevision: 677 $
-    --  $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; }
diff --git a/mailboxes/xinha/examples/dynamic.css b/mailboxes/xinha/examples/dynamic.css
deleted file mode 100644 (file)
index 58bd14b..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-  /*--------------------------------------: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.python-hosting.com/tags/0.92beta/examples/dynamic.css $
-    --  $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
-    --  $LastChangedRevision: 677 $
-    --  $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; }
diff --git a/mailboxes/xinha/examples/ext_example-body.html b/mailboxes/xinha/examples/ext_example-body.html
deleted file mode 100644 (file)
index 129aa38..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE BHTML PUBLIC "-//BC//DTD BHTML 3.2 Final//EN">\r
-<html>\r
-<head>\r
-\r
-  <!-- ---------------------------------------------------------------------\r
-    --  $HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/examples/ext_example-body.html $\r
-    --  $LastChangedDate: 2007-01-22 16:06:18 +0100 (Mo, 22 Jan 2007) $\r
-    --  $LastChangedRevision: 686 $\r
-    --  $LastChangedBy: gocher $\r
-    ------------------------------------------------------------------------ -->\r
-\r
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r
-  <title>Example of Xinha</title>\r
-  <link rel="stylesheet" type="text/css" href="full_example.css" />\r
-\r
-  <script type="text/javascript">\r
-    function showError( sMsg, sUrl, sLine){\r
-      document.getElementById('errors').value += 'Error: ' + sMsg + '\n' +\r
-                                                 'Source File: ' + sUrl + '\n' +\r
-                                                 'Line: ' + sLine + '\n';\r
-      return false;\r
-    }\r
-    // You must set _editor_url to the URL (including trailing slash) where\r
-    // where xinha is installed, it's highly recommended to use an absolute URL\r
-    //  eg: _editor_url = "/path/to/xinha/";\r
-    // You may try a relative URL if you wish]\r
-    //  eg: _editor_url = "../";\r
-    // in this example we do a little regular expression to find the absolute path.\r
-    _editor_url  = document.location.href.replace(/examples\/ext_example-body\.html.*/, '')\r
-    //moved _editor_lang & _editor_skin to init function because of error thrown when frame document not ready\r
-  </script>\r
-\r
-  <!-- Load up the actual editor core -->\r
-  <script type="text/javascript" src="../XinhaCore.js"></script>\r
-\r
-  <script type="text/javascript">\r
-    xinha_editors = null;\r
-    xinha_init    = null;\r
-    xinha_config  = null;\r
-    xinha_plugins = null;\r
-\r
-    xinha_init = xinha_init ? xinha_init : function() {\r
-      window.onerror = showError;\r
-      document.onerror = showError;\r
-\r
-      var f = top.frames["menu"].document.forms["fsettings"];\r
-      _editor_lang = f.lang[f.lang.selectedIndex].value; // the language we need to use in the editor.\r
-      _editor_skin = f.skin[f.skin.selectedIndex].value; // the skin we use in the editor\r
-// What are the plugins you will be using in the editors on this page.\r
-// List all the plugins you will need, even if not all the editors will use all the plugins.\r
-      xinha_plugins = [ ];\r
-      for(var x = 0; x < f.plugins.length; x++) {\r
-        if(f.plugins[x].checked) xinha_plugins.push(f.plugins[x].value);\r
-      }\r
-\r
-      // THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING  :)\r
-      if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;\r
-\r
-// What are the names of the textareas you will be turning into editors?\r
-      var num = 1;\r
-      num = parseInt(f.num.value);\r
-      if(isNaN(num)) {\r
-        num = 1;\r
-        f.num.value = 1;\r
-      }\r
-      var dest = document.getElementById("editors_here");\r
-      var lipsum = window.parent.menu.document.getElementById('myTextarea0').value;\r
-\r
-      xinha_editors = [ ]\r
-      for(var x = 0; x < num; x++) {\r
-        var ta = 'myTextarea' + x;\r
-        xinha_editors.push(ta);\r
-\r
-        var div = document.createElement('div');\r
-        div.className = 'area_holder';\r
-\r
-        var txta = document.createElement('textarea');\r
-        txta.id   = ta;\r
-        txta.name = ta;\r
-        txta.value = lipsum;\r
-        txta.style.width="100%";\r
-        txta.style.height="420px";\r
-\r
-        div.appendChild(txta);\r
-        dest.appendChild(div);\r
-      }\r
-\r
-// Create a default configuration to be used by all the editors.\r
-      settings = top.frames["menu"].settings;\r
-      xinha_config = new Xinha.Config();\r
-      xinha_config.width = settings.width;\r
-      xinha_config.height = settings.height;\r
-      xinha_config.sizeIncludesBars = settings.sizeIncludesBars;\r
-      xinha_config.statusBar = settings.statusBar;\r
-      xinha_config.mozParaHandler = settings.mozParaHandler;\r
-      xinha_config.undoSteps = settings.undoSteps;\r
-      xinha_config.baseHref = settings.baseHref;\r
-      xinha_config.stripBaseHref = settings.stripBaseHref;\r
-      xinha_config.stripSelfNamedAnchors = settings.stripSelfNamedAnchors;\r
-      xinha_config.only7BitPrintablesInURLs = settings.only7BitPrintablesInURLs;\r
-      xinha_config.sevenBitClean = settings.sevenBitClean;\r
-      xinha_config.killWordOnPaste = settings.killWordOnPaste;\r
-      xinha_config.flowToolbars = settings.flowToolbars;\r
-      xinha_config.showLoading = settings.showLoading;\r
-\r
-      if (typeof CharCounter != 'undefined') {\r
-        xinha_config.CharCounter.showChar = settings.showChar;\r
-        xinha_config.CharCounter.showWord = settings.showWord;\r
-        xinha_config.CharCounter.showHtml = settings.showHtml;\r
-      }\r
-\r
-      if (typeof CharacterMap != 'undefined') xinha_config.CharacterMap.mode = settings.CharacterMapMode;\r
-      if (typeof ListType != 'undefined') xinha_config.ListType.mode = settings.ListTypeMode;\r
-\r
-      if(typeof CSS != 'undefined') {\r
-        xinha_config.pageStyle = "@import url(custom.css);";\r
-      }\r
-\r
-      if(typeof Stylist != 'undefined') {\r
-        // We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL\r
-        //  otherwise it won't work!\r
-        xinha_config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css'));\r
-\r
-        // Or we can load styles directly\r
-        xinha_config.stylistLoadStyles('p.red_text { color:red }');\r
-\r
-        // If you want to provide "friendly" names you can do so like\r
-        // (you can do this for stylistLoadStylesheet as well)\r
-        xinha_config.stylistLoadStyles('p.pink_text { color:pink }', {'p.pink_text' : 'Pretty Pink'});\r
-      }\r
-\r
-      if(typeof DynamicCSS != 'undefined') {\r
-        xinha_config.pageStyle = "@import url(dynamic.css);";\r
-      }\r
-\r
-      if(typeof InsertWords != 'undefined') {\r
-        // Register the keyword/replacement list\r
-        var keywrds1 = new Object();\r
-        var keywrds2 = new Object();\r
-\r
-        keywrds1['-- Dropdown Label --'] = '';\r
-        keywrds1['onekey'] = 'onevalue';\r
-        keywrds1['twokey'] = 'twovalue';\r
-        keywrds1['threekey'] = 'threevalue';\r
-\r
-        keywrds2['-- Insert Keyword --'] = '';\r
-        keywrds2['Username'] = '%user%';\r
-        keywrds2['Last login date'] = '%last_login%';\r
-        xinha_config.InsertWords = {\r
-          combos : [ { options: keywrds1, context: "body" },\r
-                     { options: keywrds2, context: "li" } ]\r
-        }\r
-      }\r
-\r
-      if(typeof Filter != 'undefined') {\r
-        xinha_config.Filters = ["Word", "Paragraph"];\r
-      }\r
-\r
-// First create editors for the textareas.\r
-// You can do this in two ways, either\r
-//   xinha_editors   = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);\r
-// if you want all the editor objects to use the same set of plugins, OR;\r
-//   xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config);\r
-//   xinha_editors['myTextarea0'].registerPlugins(['Stylist','FullScreen']);\r
-//   xinha_editors['myTextarea1'].registerPlugins(['CSS','SuperClean']);\r
-// if you want to use a different set of plugins for one or more of the editors.\r
-      xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);\r
-\r
-// If you want to change the configuration variables of any of the editors,\r
-// this is the place to do that, for example you might want to\r
-// change the width and height of one of the editors, like this...\r
-//   xinha_editors['myTextarea0'].config.width  = '640px';\r
-//   xinha_editors['myTextarea0'].config.height = '480px';\r
-\r
-// Finally we "start" the editors, this turns the textareas into Xinha editors.\r
-      Xinha.startEditors(xinha_editors);\r
-    }\r
-\r
-// javascript submit handler\r
-// this shows how to create a javascript submit button that works with the htmleditor.\r
-    submitHandler = function(formname) {\r
-      var form = document.getElementById(formname);\r
-      // in order for the submit to work both of these methods have to be called.\r
-      form.onsubmit();\r
-      window.parent.menu.document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value;\r
-      form.submit();\r
-      return true;\r
-    }\r
-\r
-    window.onload = xinha_init;\r
-//    window.onunload = Xinha.collectGarbageForIE;\r
-  </script>\r
-</head>\r
-\r
-<body>\r
-  <form id="to_submit" name="to_submit" method="post" action="ext_example-dest.php">\r
-  <div id="editors_here" name="editors_here"></div>\r
-  <button type="button" onclick="submitHandler('to_submit');">Submit</button>\r
-  <textarea id="errors" name="errors" style="width:100%; height:100px; background:silver;"></textarea><!-- style="display:none;" -->\r
-  </form>\r
-</body>\r
-</html>\r
diff --git a/mailboxes/xinha/examples/ext_example-dest.php b/mailboxes/xinha/examples/ext_example-dest.php
deleted file mode 100644 (file)
index 5a226e4..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<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>
diff --git a/mailboxes/xinha/examples/ext_example-menu.php b/mailboxes/xinha/examples/ext_example-menu.php
deleted file mode 100644 (file)
index 1ce1115..0000000
+++ /dev/null
@@ -1,331 +0,0 @@
-<?PHP
-  $LocalPluginPath = dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR.'plugins';
-  $LocalSkinPath = 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.python-hosting.com/tags/0.92beta/examples/ext_example-menu.php $
-    --  $LastChangedDate: 2007-02-07 20:12:42 +0100 (Mi, 07 Feb 2007) $
-    --  $LastChangedRevision: 715 $
-    --  $LastChangedBy: htanaka $
-    --------------------------------------------------------------------------->
-
-  <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,
-    statusBar: true,
-    mozParaHandler: "best",
-    undoSteps: 20,
-    baseHref: null,
-    stripBaseHref: true,
-    stripSelfNamedAnchors: true,
-    only7BitPrintablesInURLs: true,
-    sevenBitClean: false,
-    killWordOnPaste: true,
-    flowToolbars: true,
-    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
-       }
-       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.statusBar = (param["statusBar"]=="true");
-        settings.mozParaHandler = param["mozParaHandler"];
-        settings.undoSteps = param["undoSteps"];
-        settings.baseHref = param["baseHref"];
-        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.flowToolbars = (param["flowToolbars"]=="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>
diff --git a/mailboxes/xinha/examples/ext_example.html b/mailboxes/xinha/examples/ext_example.html
deleted file mode 100644 (file)
index ae3e157..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<html>\r
-\r
-  <!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--\r
-    --  Xinha example frameset.\r
-    --\r
-    --  $HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/examples/ext_example.html $\r
-    --  $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $\r
-    --  $LastChangedRevision: 677 $\r
-    --  $LastChangedBy: ray $\r
-    --------------------------------------------------------------------------->\r
-\r
-  <frameset cols="240,*">\r
-    <frame src="ext_example-menu.php" name="menu" id="menu">\r
-    <frame src="about:blank" name="body" id="body">\r
-  </frameset>\r
-</html>\r
diff --git a/mailboxes/xinha/examples/full_example.css b/mailboxes/xinha/examples/full_example.css
deleted file mode 100644 (file)
index 56bf254..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-   /*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
-    --  Xinha example CSS file.  This is ripped from Trac ;)
-    --
-    --  $HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/examples/full_example.css $
-    --  $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
-    --  $LastChangedRevision: 677 $
-    --  $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;}
\ No newline at end of file
diff --git a/mailboxes/xinha/examples/full_example.js b/mailboxes/xinha/examples/full_example.js
deleted file mode 100644 (file)
index 64e4735..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-var num=1;
-if(window.parent&&window.parent!=window){
-var f=window.parent.menu.document.forms[0];
-_editor_lang=f.lang[f.lang.selectedIndex].value;
-_editor_skin=f.skin[f.skin.selectedIndex].value;
-num=parseInt(f.num.value);
-if(isNaN(num)){
-num=1;
-f.num.value=1;
-}
-xinha_plugins=[];
-for(var x=0;x<f.plugins.length;x++){
-if(f.plugins[x].checked){
-xinha_plugins.push(f.plugins[x].value);
-}
-}
-}
-xinha_editors=[];
-for(var x=0;x<num;x++){
-var ta="myTextarea"+x;
-xinha_editors.push(ta);
-}
-xinha_config=function(){
-var _1=new HTMLArea.Config();
-if(typeof CSS!="undefined"){
-_1.pageStyle="@import url(custom.css);";
-}
-if(typeof Stylist!="undefined"){
-_1.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/,"stylist.css"));
-_1.stylistLoadStyles("p.red_text { color:red }");
-_1.stylistLoadStyles("p.pink_text { color:pink }",{"p.pink_text":"Pretty Pink"});
-}
-if(typeof DynamicCSS!="undefined"){
-_1.pageStyle="@import url(dynamic.css);";
-}
-if(typeof InsertWords!="undefined"){
-var _2=new Object();
-var _3=new Object();
-_2["-- Dropdown Label --"]="";
-_2["onekey"]="onevalue";
-_2["twokey"]="twovalue";
-_2["threekey"]="threevalue";
-_3["-- Insert Keyword --"]="";
-_3["Username"]="%user%";
-_3["Last login date"]="%last_login%";
-_1.InsertWords={combos:[{options:_2,context:"body"},{options:_3,context:"li"}]};
-}
-if(typeof ListType!="undefined"){
-if(window.parent&&window.parent!=window){
-var f=window.parent.menu.document.forms[0];
-_1.ListType.mode=f.elements["ListTypeMode"].options[f.elements["ListTypeMode"].selectedIndex].value;
-}
-}
-if(typeof CharacterMap!="undefined"){
-if(window.parent&&window.parent!=window){
-var f=window.parent.menu.document.forms[0];
-_1.CharacterMap.mode=f.elements["CharacterMapMode"].options[f.elements["CharacterMapMode"].selectedIndex].value;
-}
-}
-if(typeof Filter!="undefined"){
-xinha_config.Filters=["Word","Paragraph"];
-}
-return _1;
-};
-var f=document.forms[0];
-f.innerHTML="";
-var lipsum=document.getElementById("lipsum").innerHTML;
-for(var x=0;x<num;x++){
-var ta="myTextarea"+x;
-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);
-f.appendChild(div);
-}
-var submit=document.createElement("input");
-submit.type="submit";
-submit.id="submit";
-submit.value="submit";
-f.appendChild(submit);
-var _oldSubmitHandler=null;
-if(document.forms[0].onsubmit!=null){
-_oldSubmitHandler=document.forms[0].onsubmit;
-}
-function frame_onSubmit(){
-alert(document.getElementById("myTextarea0").value);
-if(_oldSubmitHandler!=null){
-_oldSubmitHandler();
-}
-}
-document.forms[0].onsubmit=frame_onSubmit;
-\r
diff --git a/mailboxes/xinha/examples/simple_example.html b/mailboxes/xinha/examples/simple_example.html
deleted file mode 100644 (file)
index 3e4bd9e..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
-<html>\r
-<head>\r
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
-<title>Simple example of Xinha</title>\r
-<script type="text/javascript">\r
-/************************************************************************\r
- * Please refer to http://xinha.python-hosting.com/wiki/NewbieGuide\r
- ************************************************************************\r
- * You must set _editor_url to the URL (including trailing slash) where\r
- * where xinha is installed, it's highly recommended to use an absolute URL\r
- *  eg: _editor_url = "/path/to/xinha/";\r
- * You may try a relative URL if you wish]\r
- *  eg: _editor_url = "../";  \r
- * in this example we do a little regular expression to find the absolute path.\r
- ************************************************************************/\r
-var _editor_url  = document.location.href.replace(/examples\/simple_example\.html.*/, '')\r
-// And the language we need to use in the editor.\r
-var _editor_lang = "en";\r
-</script>\r
-<!-- Load up the actual editor core -->\r
-<script type="text/javascript" src="../XinhaCore.js"></script>\r
-<script type="text/javascript">\r
-/************************************************************************\r
- * Plugins you will be using in the editors on this page.\r
- * List all the plugins you will need, even if not all the editors will\r
- * use all the plugins.\r
- ************************************************************************\r
- * Please refer to http://xinha.python-hosting.com/wiki/Plugins for the\r
- * list of availables plugins\r
- ************************************************************************/\r
-var xinha_plugins =\r
-[\r
- 'CharacterMap',\r
- 'ContextMenu',\r
- 'FullScreen',\r
- 'ListType',\r
- 'SpellChecker',\r
- 'Stylist',\r
- 'SuperClean',\r
- 'TableOperations'\r
-];\r
-/************************************************************************\r
- * Names of the textareas you will be turning into editors\r
- ************************************************************************/\r
-var xinha_editors =\r
-[\r
-  'myTextArea',\r
-  'anotherOne'\r
-];\r
-/************************************************************************\r
- * Initialisation function\r
- ************************************************************************/\r
-function xinha_init()\r
-{\r
-  // THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING  :)\r
-  if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;\r
-  /*************************************************************************\r
-   * We create a default configuration to be used by all the editors.\r
-   * If you wish to configure some of the editors differently this will be\r
-   * done later after editors are initiated.\r
-   ************************************************************************\r
-   * Please refer to http://xinha.python-hosting.com/wiki/Documentation/Customise\r
-   * for the configuration parameters\r
-   ************************************************************************/\r
-  var xinha_config = new Xinha.Config();\r
-  /************************************************************************\r
-   * We first create editors for the textareas.\r
-   * You can do this in two ways, either\r
-   *\r
-   *   xinha_editors   = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);\r
-   *\r
-   * if you want all the editor objects to use the same set of plugins, OR;\r
-   *\r
-   *   xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config);\r
-   *   xinha_editors['myTextArea'].registerPlugins(['Stylist','FullScreen']);\r
-   *   xinha_editors['anotherOne'].registerPlugins(['CSS','SuperClean']);\r
-   *\r
-   * if you want to use a different set of plugins for one or more of the\r
-   * editors.\r
-   ************************************************************************/\r
-  xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);\r
-  /************************************************************************\r
-   * If you want to change the configuration variables of any of the\r
-   * editors,  this is the place to do that, for example you might want to\r
-   * change the width and height of one of the editors, like this...\r
-   ************************************************************************/\r
-  xinha_editors.myTextArea.config.width = '640px';\r
-  xinha_editors.myTextArea.config.height = '480px';\r
-  /************************************************************************\r
-   * Or remove the statusbar on the other one, like this...\r
-   * For every possible configuration, please refer to\r
-   * http://xinha.python-hosting.com/wiki/Documentation/ConfigVariablesList\r
-   ************************************************************************/\r
-  xinha_editors.anotherOne.config.statusBar = false;\r
-  /************************************************************************\r
-   * Finally we "start" the editors, this turns the textareas into\r
-   * Xinha editors.\r
-   ************************************************************************/\r
-  Xinha.startEditors(xinha_editors);\r
-}\r
-window.onload = xinha_init;\r
-</script>\r
-<link type="text/css" rel="stylesheet" title="blue-look" href="../skins/blue-look/skin.css">\r
-<link type="text/css" rel="alternate stylesheet" title="green-look" href="../skins/green-look/skin.css">\r
-<link type="text/css" rel="alternate stylesheet" title="xp-blue" href="../skins/xp-blue/skin.css">\r
-<link type="text/css" rel="alternate stylesheet" title="xp-green" href="../skins/xp-green/skin.css">\r
-<link type="text/css" rel="alternate stylesheet" title="inditreuse" href="../skins/inditreuse/skin.css">\r
-<link type="text/css" rel="alternate stylesheet" title="blue-metallic" href="../skins/blue-metallic/skin.css">\r
-</head>\r
-\r
-<body>\r
-\r
-<form onsubmit="alert(this.myTextArea.value); alert(this.anotherOne.value); return false;">\r
-<textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%">\r
-&lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\r
-Aliquam et tellus vitae justo varius placerat. Suspendisse iaculis\r
-velit semper dolor. Donec gravida tincidunt mi. Curabitur tristique\r
-ante elementum turpis. Aliquam nisl. Nulla posuere neque non\r
-tellus. Morbi vel nibh. Cum sociis natoque penatibus et magnis dis\r
-parturient montes, nascetur ridiculus mus. Nam nec wisi. In wisi.\r
-Curabitur pharetra bibendum lectus.&lt;/p&gt;\r
-</textarea>\r
-<textarea id="anotherOne" name="anotherOne" rows="10" cols="80" style="width:100%">\r
-&lt;ul&gt;\r
-&lt;li&gt; Phasellus et massa sed diam viverra semper.  &lt;/li&gt;\r
-&lt;li&gt; Mauris tincidunt felis in odio.              &lt;/li&gt;\r
-&lt;li&gt; Nulla placerat nunc ut pede.                 &lt;/li&gt;\r
-&lt;li&gt; Vivamus ultrices mi sit amet urna.           &lt;/li&gt;\r
-&lt;li&gt; Quisque sed augue quis nunc laoreet volutpat.&lt;/li&gt;\r
-&lt;li&gt; Nunc sit amet metus in tortor semper mattis. &lt;/li&gt;\r
-&lt;/ul&gt;\r
-</textarea>\r
-<input type="submit">\r
-</form>\r
-\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/mailboxes/xinha/examples/stylist.css b/mailboxes/xinha/examples/stylist.css
deleted file mode 100644 (file)
index f648787..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-  /*--------------------------------------: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.python-hosting.com/tags/0.92beta/examples/stylist.css $
-    --  $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
-    --  $LastChangedRevision: 677 $
-    --  $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; }
\ No newline at end of file
diff --git a/mailboxes/xinha/examples/testbed.html b/mailboxes/xinha/examples/testbed.html
deleted file mode 100644 (file)
index c58d4d3..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-<?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.python-hosting.com/tags/0.92beta/examples/testbed.html $
-    --  $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
-    --  $LastChangedRevision: 677 $
-    --  $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="../htmlarea.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','FullScreen']);
-       *   xinha_editors['anotherOne'].registerPlugins(['CSS','SuperClean']);
-       *
-       * if you want to use a different set of plugins for one or more of the
-       * editors.
-       ************************************************************************/
-
-      xinha_editors   = 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;
-    // window.onunload = Xinha.collectGarbageForIE;
-  </script>
-</head>
-
-<body>
-
-  <form action="javascript:var x = document.getElementById('editors_here');alert(x.myTextArea.value);" id="editors_here" onsubmit="alert(this.myTextArea.value);">
-    <textarea id="myTextArea" name="myTextArea" style="width:100%;height:320px;">
-      &lt;html&gt;
-      &lt;head&gt;
-        &lt;title&gt;Hello&lt;/title&gt;
-        &lt;style type="text/css"&gt;
-          li { color:red; }
-        &lt;/style&gt;
-      &lt;/head&gt;
-      &lt;body&gt;
-      &lt;img src="http://xinha.python-hosting.com/trac/logo.jpg" usemap="#m1"&gt;
-      &lt;map name="m1"&gt;
-      &lt;area shape="rect" coords="137,101,255,124" href="http://www.mydomain.com"&gt;
-      &lt;/map&gt;
-
-      &lt;p&gt;
-        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.
-      &lt;/p&gt;
-
-      &lt;ul&gt;
-        &lt;li&gt; Phasellus et massa sed diam viverra semper.  &lt;/li&gt;
-        &lt;li&gt; Mauris tincidunt felis in odio.              &lt;/li&gt;
-        &lt;li&gt; Nulla placerat nunc ut pede.                 &lt;/li&gt;
-        &lt;li&gt; Vivamus ultrices mi sit amet urna.           &lt;/li&gt;
-        &lt;li&gt; Quisque sed augue quis nunc laoreet volutpat.&lt;/li&gt;
-        &lt;li&gt; Nunc sit amet metus in tortor semper mattis. &lt;/li&gt;
-      &lt;/ul&gt;
-      &lt;/body&gt;
-      &lt;/html&gt;
-    </textarea>
-
-    <input type="submit" /> <input type="reset" />
-  </form>
-  <script language="javascript">
-    document.write(document.compatMode);
-  </script>
-  <a href="#" onclick="xinha_editors.myTextArea.hidePanels();">Hide</a>
-  <a href="#" onclick="xinha_editors.myTextArea.showPanels();">Show</a>
-</body>
-</html>
\ No newline at end of file
diff --git a/mailboxes/xinha/htmlarea.js b/mailboxes/xinha/htmlarea.js
deleted file mode 100644 (file)
index 014c4db..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
\r
-  /*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--\r
-    --  COMPATABILITY FILE\r
-    --  htmlarea.js is now XinhaCore.js  \r
-    --\r
-    --  $HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/htmlarea.js $\r
-    --  $LastChangedDate: 2007-01-15 15:28:57 +0100 (Mo, 15 Jan 2007) $\r
-    --  $LastChangedRevision: 659 $\r
-    --  $LastChangedBy: gogo $\r
-    --------------------------------------------------------------------------*/\r
-    \r
-if ( typeof _editor_url == "string" )\r
-{\r
-  // Leave exactly one backslash at the end of _editor_url\r
-  _editor_url = _editor_url.replace(/\x2f*$/, '/');\r
-}\r
-else\r
-{\r
-  alert("WARNING: _editor_url is not set!  You should set this variable to the editor files path; it should preferably be an absolute path, like in '/htmlarea/', but it can be relative if you prefer.  Further we will try to load the editor files correctly but we'll probably fail.");\r
-  _editor_url = '';\r
-}\r
-\r
-document.write('<script type="text/javascript" src="'+_editor_url+'XinhaCore.js"></script>');
\ No newline at end of file
diff --git a/mailboxes/xinha/images/de/bold.gif b/mailboxes/xinha/images/de/bold.gif
deleted file mode 100644 (file)
index 21d286f..0000000
Binary files a/mailboxes/xinha/images/de/bold.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/de/italic.gif b/mailboxes/xinha/images/de/italic.gif
deleted file mode 100644 (file)
index 0bf7947..0000000
Binary files a/mailboxes/xinha/images/de/italic.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/de/underline.gif b/mailboxes/xinha/images/de/underline.gif
deleted file mode 100644 (file)
index 0545489..0000000
Binary files a/mailboxes/xinha/images/de/underline.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_about.gif b/mailboxes/xinha/images/ed_about.gif
deleted file mode 100644 (file)
index 0f28d40..0000000
Binary files a/mailboxes/xinha/images/ed_about.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_align.gif b/mailboxes/xinha/images/ed_align.gif
deleted file mode 100644 (file)
index 6c60d50..0000000
Binary files a/mailboxes/xinha/images/ed_align.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_align_center.gif b/mailboxes/xinha/images/ed_align_center.gif
deleted file mode 100644 (file)
index 75845b7..0000000
Binary files a/mailboxes/xinha/images/ed_align_center.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_align_justify.gif b/mailboxes/xinha/images/ed_align_justify.gif
deleted file mode 100644 (file)
index 568c595..0000000
Binary files a/mailboxes/xinha/images/ed_align_justify.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_align_left.gif b/mailboxes/xinha/images/ed_align_left.gif
deleted file mode 100644 (file)
index 8320a2a..0000000
Binary files a/mailboxes/xinha/images/ed_align_left.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_align_right.gif b/mailboxes/xinha/images/ed_align_right.gif
deleted file mode 100644 (file)
index bc6f651..0000000
Binary files a/mailboxes/xinha/images/ed_align_right.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_blank.gif b/mailboxes/xinha/images/ed_blank.gif
deleted file mode 100644 (file)
index 1ea396b..0000000
Binary files a/mailboxes/xinha/images/ed_blank.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_buttons_main.gif b/mailboxes/xinha/images/ed_buttons_main.gif
deleted file mode 100644 (file)
index bc1962b..0000000
Binary files a/mailboxes/xinha/images/ed_buttons_main.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_charmap.gif b/mailboxes/xinha/images/ed_charmap.gif
deleted file mode 100644 (file)
index 289aa7c..0000000
Binary files a/mailboxes/xinha/images/ed_charmap.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_clearfonts.gif b/mailboxes/xinha/images/ed_clearfonts.gif
deleted file mode 100644 (file)
index 38c52a8..0000000
Binary files a/mailboxes/xinha/images/ed_clearfonts.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_color_bg.gif b/mailboxes/xinha/images/ed_color_bg.gif
deleted file mode 100644 (file)
index 899f133..0000000
Binary files a/mailboxes/xinha/images/ed_color_bg.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_color_fg.gif b/mailboxes/xinha/images/ed_color_fg.gif
deleted file mode 100644 (file)
index 292ab87..0000000
Binary files a/mailboxes/xinha/images/ed_color_fg.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_copy.gif b/mailboxes/xinha/images/ed_copy.gif
deleted file mode 100644 (file)
index 0e440eb..0000000
Binary files a/mailboxes/xinha/images/ed_copy.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_custom.gif b/mailboxes/xinha/images/ed_custom.gif
deleted file mode 100644 (file)
index 1444030..0000000
Binary files a/mailboxes/xinha/images/ed_custom.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_cut.gif b/mailboxes/xinha/images/ed_cut.gif
deleted file mode 100644 (file)
index 23fbf80..0000000
Binary files a/mailboxes/xinha/images/ed_cut.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_delete.gif b/mailboxes/xinha/images/ed_delete.gif
deleted file mode 100644 (file)
index aff568e..0000000
Binary files a/mailboxes/xinha/images/ed_delete.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_format_bold.gif b/mailboxes/xinha/images/ed_format_bold.gif
deleted file mode 100644 (file)
index 78686d1..0000000
Binary files a/mailboxes/xinha/images/ed_format_bold.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_format_italic.gif b/mailboxes/xinha/images/ed_format_italic.gif
deleted file mode 100644 (file)
index 2d3baf2..0000000
Binary files a/mailboxes/xinha/images/ed_format_italic.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_format_strike.gif b/mailboxes/xinha/images/ed_format_strike.gif
deleted file mode 100644 (file)
index a5b1429..0000000
Binary files a/mailboxes/xinha/images/ed_format_strike.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_format_sub.gif b/mailboxes/xinha/images/ed_format_sub.gif
deleted file mode 100644 (file)
index 6c77d74..0000000
Binary files a/mailboxes/xinha/images/ed_format_sub.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_format_sup.gif b/mailboxes/xinha/images/ed_format_sup.gif
deleted file mode 100644 (file)
index 4ecb9a1..0000000
Binary files a/mailboxes/xinha/images/ed_format_sup.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_format_underline.gif b/mailboxes/xinha/images/ed_format_underline.gif
deleted file mode 100644 (file)
index 4bc47a1..0000000
Binary files a/mailboxes/xinha/images/ed_format_underline.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_help.gif b/mailboxes/xinha/images/ed_help.gif
deleted file mode 100644 (file)
index d5f7d63..0000000
Binary files a/mailboxes/xinha/images/ed_help.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_hr.gif b/mailboxes/xinha/images/ed_hr.gif
deleted file mode 100644 (file)
index ec5c778..0000000
Binary files a/mailboxes/xinha/images/ed_hr.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_html.gif b/mailboxes/xinha/images/ed_html.gif
deleted file mode 100644 (file)
index 026da4e..0000000
Binary files a/mailboxes/xinha/images/ed_html.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_image.gif b/mailboxes/xinha/images/ed_image.gif
deleted file mode 100644 (file)
index 1af79c3..0000000
Binary files a/mailboxes/xinha/images/ed_image.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_indent_less.gif b/mailboxes/xinha/images/ed_indent_less.gif
deleted file mode 100644 (file)
index 7dda02a..0000000
Binary files a/mailboxes/xinha/images/ed_indent_less.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_indent_more.gif b/mailboxes/xinha/images/ed_indent_more.gif
deleted file mode 100644 (file)
index c34b47e..0000000
Binary files a/mailboxes/xinha/images/ed_indent_more.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_killword.gif b/mailboxes/xinha/images/ed_killword.gif
deleted file mode 100644 (file)
index fd934a7..0000000
Binary files a/mailboxes/xinha/images/ed_killword.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_left_to_right.gif b/mailboxes/xinha/images/ed_left_to_right.gif
deleted file mode 100644 (file)
index 5e95ea5..0000000
Binary files a/mailboxes/xinha/images/ed_left_to_right.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_link.gif b/mailboxes/xinha/images/ed_link.gif
deleted file mode 100644 (file)
index 76fd537..0000000
Binary files a/mailboxes/xinha/images/ed_link.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_list_bullet.gif b/mailboxes/xinha/images/ed_list_bullet.gif
deleted file mode 100644 (file)
index e37e84b..0000000
Binary files a/mailboxes/xinha/images/ed_list_bullet.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_list_num.gif b/mailboxes/xinha/images/ed_list_num.gif
deleted file mode 100644 (file)
index 630cbfd..0000000
Binary files a/mailboxes/xinha/images/ed_list_num.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_overwrite.gif b/mailboxes/xinha/images/ed_overwrite.gif
deleted file mode 100644 (file)
index e7a8914..0000000
Binary files a/mailboxes/xinha/images/ed_overwrite.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_paste.gif b/mailboxes/xinha/images/ed_paste.gif
deleted file mode 100644 (file)
index 81b53a0..0000000
Binary files a/mailboxes/xinha/images/ed_paste.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_print.gif b/mailboxes/xinha/images/ed_print.gif
deleted file mode 100644 (file)
index fb2bf80..0000000
Binary files a/mailboxes/xinha/images/ed_print.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_redo.gif b/mailboxes/xinha/images/ed_redo.gif
deleted file mode 100644 (file)
index 3d73dfc..0000000
Binary files a/mailboxes/xinha/images/ed_redo.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_right_to_left.gif b/mailboxes/xinha/images/ed_right_to_left.gif
deleted file mode 100644 (file)
index 9b255bd..0000000
Binary files a/mailboxes/xinha/images/ed_right_to_left.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_rmformat.gif b/mailboxes/xinha/images/ed_rmformat.gif
deleted file mode 100644 (file)
index 09f102a..0000000
Binary files a/mailboxes/xinha/images/ed_rmformat.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_save.gif b/mailboxes/xinha/images/ed_save.gif
deleted file mode 100644 (file)
index 82262d0..0000000
Binary files a/mailboxes/xinha/images/ed_save.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_save.png b/mailboxes/xinha/images/ed_save.png
deleted file mode 100644 (file)
index 881fe5d..0000000
Binary files a/mailboxes/xinha/images/ed_save.png and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_saveas.gif b/mailboxes/xinha/images/ed_saveas.gif
deleted file mode 100644 (file)
index 4edd988..0000000
Binary files a/mailboxes/xinha/images/ed_saveas.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_selectall.gif b/mailboxes/xinha/images/ed_selectall.gif
deleted file mode 100644 (file)
index 9acf0a0..0000000
Binary files a/mailboxes/xinha/images/ed_selectall.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_show_border.gif b/mailboxes/xinha/images/ed_show_border.gif
deleted file mode 100644 (file)
index 42849b7..0000000
Binary files a/mailboxes/xinha/images/ed_show_border.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_splitblock.gif b/mailboxes/xinha/images/ed_splitblock.gif
deleted file mode 100644 (file)
index 1f1582b..0000000
Binary files a/mailboxes/xinha/images/ed_splitblock.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_splitcel.gif b/mailboxes/xinha/images/ed_splitcel.gif
deleted file mode 100644 (file)
index a6e5ab5..0000000
Binary files a/mailboxes/xinha/images/ed_splitcel.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_undo.gif b/mailboxes/xinha/images/ed_undo.gif
deleted file mode 100644 (file)
index 319242f..0000000
Binary files a/mailboxes/xinha/images/ed_undo.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/ed_word_cleaner.gif b/mailboxes/xinha/images/ed_word_cleaner.gif
deleted file mode 100644 (file)
index d9b0759..0000000
Binary files a/mailboxes/xinha/images/ed_word_cleaner.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/fr/bold.gif b/mailboxes/xinha/images/fr/bold.gif
deleted file mode 100644 (file)
index 8a0f657..0000000
Binary files a/mailboxes/xinha/images/fr/bold.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/fr/strikethrough.gif b/mailboxes/xinha/images/fr/strikethrough.gif
deleted file mode 100644 (file)
index 5707aef..0000000
Binary files a/mailboxes/xinha/images/fr/strikethrough.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/fr/underline.gif b/mailboxes/xinha/images/fr/underline.gif
deleted file mode 100644 (file)
index 4ecaf22..0000000
Binary files a/mailboxes/xinha/images/fr/underline.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/fullscreen_maximize.gif b/mailboxes/xinha/images/fullscreen_maximize.gif
deleted file mode 100644 (file)
index 211c1c5..0000000
Binary files a/mailboxes/xinha/images/fullscreen_maximize.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/fullscreen_minimize.gif b/mailboxes/xinha/images/fullscreen_minimize.gif
deleted file mode 100644 (file)
index f679e5a..0000000
Binary files a/mailboxes/xinha/images/fullscreen_minimize.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/insert_table.gif b/mailboxes/xinha/images/insert_table.gif
deleted file mode 100644 (file)
index a8f4253..0000000
Binary files a/mailboxes/xinha/images/insert_table.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/insertfilelink.gif b/mailboxes/xinha/images/insertfilelink.gif
deleted file mode 100644 (file)
index 099f04d..0000000
Binary files a/mailboxes/xinha/images/insertfilelink.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/insertmacro.png b/mailboxes/xinha/images/insertmacro.png
deleted file mode 100644 (file)
index 3c874be..0000000
Binary files a/mailboxes/xinha/images/insertmacro.png and /dev/null differ
diff --git a/mailboxes/xinha/images/tidy.gif b/mailboxes/xinha/images/tidy.gif
deleted file mode 100644 (file)
index a881c64..0000000
Binary files a/mailboxes/xinha/images/tidy.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/toggle_borders.gif b/mailboxes/xinha/images/toggle_borders.gif
deleted file mode 100644 (file)
index 95bc5be..0000000
Binary files a/mailboxes/xinha/images/toggle_borders.gif and /dev/null differ
diff --git a/mailboxes/xinha/images/xinha_logo.gif b/mailboxes/xinha/images/xinha_logo.gif
deleted file mode 100644 (file)
index 346e313..0000000
Binary files a/mailboxes/xinha/images/xinha_logo.gif and /dev/null differ
diff --git a/mailboxes/xinha/lang/b5.js b/mailboxes/xinha/lang/b5.js
deleted file mode 100644 (file)
index f000699..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// I18N constants -- UTF-8\r
-// by Dave Lo -- dlo@interactivetools.com\r
-{\r
-  "Bold": "粗體",\r
-  "Italic": "斜體",\r
-  "Underline": "底線",\r
-  "Strikethrough": "刪除線",\r
-  "Subscript": "下標",\r
-  "Superscript": "上標",\r
-  "Justify Left": "位置靠左",\r
-  "Justify Center": "位置居中",\r
-  "Justify Right": "位置靠右",\r
-  "Justify Full": "位置左右平等",\r
-  "Ordered List": "順序清單",\r
-  "Bulleted List": "無序清單",\r
-  "Decrease Indent": "減小行前空白",\r
-  "Increase Indent": "加寬行前空白",\r
-  "Font Color": "文字顏色",\r
-  "Background Color": "背景顏色",\r
-  "Horizontal Rule": "水平線",\r
-  "Insert Web Link": "插入連結",\r
-  "Insert/Modify Image": "插入圖形",\r
-  "Insert Table": "插入表格",\r
-  "Toggle HTML Source": "切換HTML原始碼",\r
-  "Enlarge Editor": "放大",\r
-  "About this editor": "關於 HTMLArea",\r
-  "Help using editor": "說明",\r
-  "Current style": "字體例子"\r
-}\r
diff --git a/mailboxes/xinha/lang/ch.js b/mailboxes/xinha/lang/ch.js
deleted file mode 100644 (file)
index 4227fa4..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "ch", ENCODING: UTF-8\r
-// Samuel Stone, http://stonemicro.com/\r
-\r
-{\r
-  "Bold": "粗體",\r
-  "Italic": "斜體",\r
-  "Underline": "底線",\r
-  "Strikethrough": "刪線",\r
-  "Subscript": "下標",\r
-  "Superscript": "上標",\r
-  "Justify Left": "靠左",\r
-  "Justify Center": "居中",\r
-  "Justify Right": "靠右",\r
-  "Justify Full": "整齊",\r
-  "Ordered List": "順序清單",\r
-  "Bulleted List": "無序清單",\r
-  "Decrease Indent": "伸排",\r
-  "Increase Indent": "縮排",\r
-  "Font Color": "文字顏色",\r
-  "Background Color": "背景顏色",\r
-  "Horizontal Rule": "水平線",\r
-  "Insert Web Link": "插入連結",\r
-  "Insert/Modify Image": "插入圖像",\r
-  "Insert Table": "插入表格",\r
-  "Toggle HTML Source": "切換HTML原始碼",\r
-  "Enlarge Editor": "伸出編輯系統",\r
-  "About this editor": "關於 HTMLArea",\r
-  "Help using editor": "說明",\r
-  "Current style": "字體例子",\r
-  "Undoes your last action": "回原",\r
-  "Redoes your last action": "重来",\r
-  "Cut selection": "剪制选项",\r
-  "Copy selection": "复制选项",\r
-  "Paste from clipboard": "贴上",\r
-  "Direction left to right": "从左到右",\r
-  "Direction right to left": "从右到左",\r
-  "OK": "好",\r
-  "Cancel": "取消",\r
-  "Path": "途徑",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "你在用純字編輯方式.  用 [<>] 按鈕轉回 所見即所得 編輯方式.",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "整頁式在Internet Explorer 上常出問題, 因為這是 Internet Explorer 的無名問題,我們無法解決。你可能看見一些垃圾,或遇到其他問題。我們已警告了你. 如果要轉到 正頁式 請按 好.",\r
-  "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.",\r
-  "Cancel": "取消",\r
-  "Insert/Modify Link": "插入/改寫連結",\r
-  "New window (_blank)": "新窗户(_blank)",\r
-  "None (use implicit)": "無(use implicit)",\r
-  "Other": "其他",\r
-  "Same frame (_self)": "本匡 (_self)",\r
-  "Target:": "目標匡:",\r
-  "Title (tooltip):": "主題 (tooltip):",\r
-  "Top frame (_top)": "上匡 (_top)",\r
-  "URL:": "網址:",\r
-  "You must enter the URL where this link points to": "你必須輸入你要连结的網址"\r
-}\r
diff --git a/mailboxes/xinha/lang/cz.js b/mailboxes/xinha/lang/cz.js
deleted file mode 100644 (file)
index 87faec8..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "cz", ENCODING: UTF-8\r
-// Author: Jiri Löw, <jirilow@jirilow.com>\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-{\r
-  "Bold": "Tučně",\r
-  "Italic": "Kurzíva",\r
-  "Underline": "Podtržení",\r
-  "Strikethrough": "Přeškrtnutí",\r
-  "Subscript": "Dolní index",\r
-  "Superscript": "Horní index",\r
-  "Justify Left": "Zarovnat doleva",\r
-  "Justify Center": "Na střed",\r
-  "Justify Right": "Zarovnat doprava",\r
-  "Justify Full": "Zarovnat do stran",\r
-  "Ordered List": "Seznam",\r
-  "Bulleted List": "Odrážky",\r
-  "Decrease Indent": "Předsadit",\r
-  "Increase Indent": "Odsadit",\r
-  "Font Color": "Barva písma",\r
-  "Background Color": "Barva pozadí",\r
-  "Horizontal Rule": "Vodorovná čára",\r
-  "Insert Web Link": "Vložit odkaz",\r
-  "Insert/Modify Image": "Vložit obrázek",\r
-  "Insert Table": "Vložit tabulku",\r
-  "Toggle HTML Source": "Přepnout HTML",\r
-  "Enlarge Editor": "Nové okno editoru",\r
-  "About this editor": "O této aplikaci",\r
-  "Help using editor": "Nápověda aplikace",\r
-  "Current style": "Zvolený styl",\r
-  "Undoes your last action": "Vrátí poslední akci",\r
-  "Redoes your last action": "Opakuje poslední akci",\r
-  "Cut selection": "Vyjmout",\r
-  "Copy selection": "Kopírovat",\r
-  "Paste from clipboard": "Vložit",\r
-  "OK": "OK",\r
-  "Cancel": "Zrušit",\r
-  "Path": "Cesta",\r
-  "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."\r
-}\r
diff --git a/mailboxes/xinha/lang/da.js b/mailboxes/xinha/lang/da.js
deleted file mode 100644 (file)
index 5a14e2b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// LANG: "da", ENCODING: UTF-8\r
-// Author: rene, <rene@laerke.net>\r
-\r
-{\r
-  "Bold": "Fed",\r
-  "Italic": "Kursiv",\r
-  "Underline": "Understregning",\r
-  "Strikethrough": "Overstregning ",\r
-  "Subscript": "Sænket skrift",\r
-  "Superscript": "Hævet skrift",\r
-  "Justify Left": "Venstrejuster",\r
-  "Justify Center": "Centrer",\r
-  "Justify Right": "Højrejuster",\r
-  "Justify Full": "Lige margener",\r
-  "Ordered List": "Opstilling med tal",\r
-  "Bulleted List": "Opstilling med punkttegn",\r
-  "Decrease Indent": "Formindsk indrykning",\r
-  "Increase Indent": "Forøg indrykning",\r
-  "Font Color": "Skriftfarve",\r
-  "Background Color": "Baggrundsfarve",\r
-  "Horizontal Rule": "Horisontal linie",\r
-  "Insert Web Link": "Indsæt hyperlink",\r
-  "Insert/Modify Image": "Indsæt billede",\r
-  "Insert Table": "Indsæt tabel",\r
-  "Toggle HTML Source": "HTML visning",\r
-  "Enlarge Editor": "Vis editor i popup",\r
-  "About this editor": "Om htmlarea",\r
-  "Help using editor": "Hjælp",\r
-  "Current style": "Anvendt stil"\r
-}\r
diff --git a/mailboxes/xinha/lang/de.js b/mailboxes/xinha/lang/de.js
deleted file mode 100644 (file)
index b85f4a7..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-// I18N constants\r
-// LANG: "de", ENCODING: UTF-8\r
-{\r
-  "Bold": "Fett",\r
-  "Italic": "Kursiv",\r
-  "Underline": "Unterstrichen",\r
-  "Strikethrough": "Durchgestrichen",\r
-  "Subscript": "Tiefgestellt",\r
-  "Superscript": "Hochgestellt",\r
-  "Justify Left": "Linksbündig",\r
-  "Justify Center": "Zentriert",\r
-  "Justify Right": "Rechtsbündig",\r
-  "Justify Full": "Blocksatz",\r
-  "Ordered List": "Nummerierte Liste",\r
-  "Bulleted List": "Aufzählungsliste",\r
-  "Decrease Indent": "Einzug verkleinern",\r
-  "Increase Indent": "Einzug vergrößern",\r
-  "Font Color": "Schriftfarbe",\r
-  "Background Color": "Hindergrundfarbe",\r
-  "Horizontal Rule": "Horizontale Linie",\r
-  "Insert Web Link": "Hyperlink einfügen",\r
-  "Insert/Modify Image": "Bild einfügen/verändern",\r
-  "Insert Table": "Tabelle einfügen",\r
-  "Toggle HTML Source": "HTML Quelltext ein/ausschalten",\r
-  "Enlarge Editor": "Editor vergrößern",\r
-  "About this editor": "Über diesen Editor",\r
-  "Help using editor": "Hilfe",\r
-  "Current style": "Derzeitiger Stil",\r
-  "Undoes your last action": "Rückgängig",\r
-  "Redoes your last action": "Wiederholen",\r
-  "Cut selection": "Ausschneiden",\r
-  "Copy selection": "Kopieren",\r
-  "Paste from clipboard": "Einfügen aus der Zwischenablage",\r
-  "Direction left to right": "Textrichtung von Links nach Rechts",\r
-  "Direction right to left": "Textrichtung von Rechts nach Links",\r
-  "Remove formatting": "Formatierung entfernen",\r
-  "Select all": "Alles markieren",\r
-  "Print document": "Dokument ausdrucken",\r
-  "Clear MSOffice tags": "MSOffice filter",\r
-  "Clear Inline Font Specifications": "Zeichensatz Formatierungen entfernen",\r
-  "Would you like to clear font typefaces?": "Wollen Sie Zeichensatztypen entfernen",\r
-  "Would you like to clear font sizes?": "Wollen Sie Zeichensatzgrößen entfernen",\r
-  "Would you like to clear font colours?": "Wollen sie Zeichensatzfarben entfernen",\r
-  "Split Block": "Block teilen",\r
-  "Toggle Borders": "Tabellenränder ein/ausblenden",\r
-  "Save as": "speichern unter",\r
-  "Insert/Overwrite": "Einfügen/Überschreiben",\r
-  "&mdash; format &mdash;": "&mdash; Format &mdash;",\r
-  "Heading 1": "Überschrift 1",\r
-  "Heading 2": "Überschrift 2",\r
-  "Heading 3": "Überschrift 3",\r
-  "Heading 4": "Überschrift 4",\r
-  "Heading 5": "Überschrift 5",\r
-  "Heading 6": "Überschrift 6",\r
-  "Normal": "Normal (Absatz)",\r
-  "Address": "Adresse",\r
-  "Formatted": "Formatiert",\r
-\r
-  //dialogs\r
-  "OK": "OK",\r
-  "Cancel": "Abbrechen",\r
-  "Path": "Pfad",\r
-  "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.",\r
-   "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).",\r
-\r
-  "You need to select some text before create a link": "Sie müssen einen Text markieren, um einen Link zu erstellen",\r
-  "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.",\r
-\r
-  "Alignment:": "Ausrichtung:",\r
-  "Not set": "nicht eingestellt",\r
-  "Left": "links",\r
-  "Right": "rechts",\r
-  "Texttop": "oben bündig",\r
-  "Absmiddle": "mittig",\r
-  "Baseline": "Grundlinie",\r
-  "Absbottom": "unten bündig",\r
-  "Bottom": "unten",\r
-  "Middle": "zentriert",\r
-  "Top": "oben",\r
-\r
-  "Layout": "Layout",\r
-  "Spacing": "Abstand",\r
-  "Horizontal:": "horizontal:",\r
-  "Horizontal padding": "horizontaler Inhaltsabstand",\r
-  "Vertical:": "vertikal:",\r
-  "Vertical padding": "vertikaler Inhaltsabstand",\r
-  "Border thickness:": "Randstärke:",\r
-  "Leave empty for no border": "leer lassen für keinen Rand",\r
-\r
-  //Insert Link\r
-  "Insert/Modify Link": "Verknüpfung hinzufügen/ändern",\r
-  "None (use implicit)": "k.A. (implizit)",\r
-  "New window (_blank)": "Neues Fenster (_blank)",\r
-  "Same frame (_self)": "Selber Rahmen (_self)",\r
-  "Top frame (_top)": "Oberster Rahmen (_top)",\r
-  "Other": "Anderes",\r
-  "Target:": "Ziel:",\r
-  "Title (tooltip):": "Titel (Tooltip):",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Sie müssen eine Ziel-URL angeben für die Verknüpfung angeben",\r
-\r
-  // Insert Table\r
-  "Insert Table": "Table einfügen",\r
-  "Rows:": "Zeilen:",\r
-  "Number of rows": "Zeilenanzahl",\r
-  "Cols:": "Spalten:",\r
-  "Number of columns": "Spaltenanzahl",\r
-  "Width:": "Breite:",\r
-  "Width of the table": "Tabellenbreite",\r
-  "Percent": "Prozent",\r
-  "Pixels": "Pixel",\r
-  "Em": "Geviert",\r
-  "Width unit": "Größeneinheit",\r
-  "Fixed width columns": "Spalten mit fester Breite",\r
-  "Positioning of this table": "Positionierung der Tabelle",\r
-  "Cell spacing:": "Zellenabstand:",\r
-  "Space between adjacent cells": "Raum zwischen angrenzenden Zellen",\r
-  "Cell padding:": "Innenabstand:",\r
-  "Space between content and border in cell": "Raum zwischen Inhalt und Rand der Zelle",\r
-  "You must enter a number of rows": "Bitte geben Sie die Anzahl der Zeilen an",\r
-  "You must enter a number of columns": "Bitte geben Sie die Anzahl der Spalten an",\r
-\r
-  // Insert Image\r
-  "Insert Image": "Bild einfügen",\r
-  "Image URL:": "Bild URL:",\r
-  "Enter the image URL here": "Bitte geben sie hier die Bild URL ein",\r
-  "Preview": "Voransicht",\r
-  "Preview the image in a new window": "Voransicht des Bildes in einem neuen Fenster",\r
-  "Alternate text:": "Alternativer Text:",\r
-  "For browsers that don't support images": "für Browser, die keine Bilder unterstützen",\r
-  "Positioning of this image": "Positionierung dieses Bildes",\r
-  "Image Preview:": "Bild Voransicht:",\r
-  "You must enter the URL": "Bitte geben Sie die URL ein",\r
-\r
-  "button_bold": "de/bold.gif",\r
-  "button_italic": "de/italic.gif",\r
-  "button_underline": "de/underline.gif",\r
-\r
-  // Editor Help\r
-  "Keyboard shortcuts": "Tastaturkürzel",\r
-  "The editor provides the following key combinations:": "Der Editor unterstützt die folgenden kombinationen:",\r
-  "new paragraph": "Neuer Absatz(Paragraph)",\r
-  "insert linebreak": "Harter Umbruch einfügen",\r
-  "Set format to paragraph": "Setze Formatierung auf Absatz",\r
-  "Clean content pasted from Word": "Von Word eingefügter Text bereinigen",\r
-  "Headings": "Überschrift Typ 1 bis 6",\r
-  "Close": "Schließen",\r
-\r
-  // Loading messages\r
-  "Loading in progress. Please wait !": "Editor wird geladen. Bitte warten !",\r
-  "Constructing main object": "Hauptteil wird erzeugt",\r
-  "Create Toolbar": "Bearbeitungswerkzeuge werden angelegt",\r
-  "Register panel right": "Erzeugt rechte Leiste",\r
-  "Register panel left": "Erzeugt linke Leiste",\r
-  "Register panel top": "Erzeugt obere Leiste",\r
-  "Register panel bottom": "Erzeugt untere Leiste",\r
-  \r
-  // ColorPicker\r
-  "Click a color..." : "Farbe wählen",\r
-  "Sample" : "Beispiel",\r
-  "Web Safe: " : "Web Safe: ",\r
-  "Color: " : "Farbe: "\r
-};
\ No newline at end of file
diff --git a/mailboxes/xinha/lang/ee.js b/mailboxes/xinha/lang/ee.js
deleted file mode 100644 (file)
index 2c961e5..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "ee", ENCODING: UTF-8\r
-// Author: Martin Raie, <albertvill@hot.ee>\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-{\r
-  "Bold": "Paks",\r
-  "Italic": "Kursiiv",\r
-  "Underline": "Allakriipsutatud",\r
-  "Strikethrough": "Läbikriipsutatud",\r
-  "Subscript": "Allindeks",\r
-  "Superscript": "Ülaindeks",\r
-  "Justify Left": "Joonda vasakule",\r
-  "Justify Center": "Joonda keskele",\r
-  "Justify Right": "Joonda paremale",\r
-  "Justify Full": "Rööpjoonda",\r
-  "Ordered List": "Nummerdus",\r
-  "Bulleted List": "Täpploend",\r
-  "Decrease Indent": "Vähenda taanet",\r
-  "Increase Indent": "Suurenda taanet",\r
-  "Font Color": "Fondi värv",\r
-  "Background Color": "Tausta värv",\r
-  "Horizontal Rule": "Horisontaaljoon",\r
-  "Insert Web Link": "Lisa viit",\r
-  "Insert/Modify Image": "Lisa pilt",\r
-  "Insert Table": "Lisa tabel",\r
-  "Toggle HTML Source": "HTML/tavaline vaade",\r
-  "Enlarge Editor": "Suurenda toimeti aken",\r
-  "About this editor": "Teave toimeti kohta",\r
-  "Help using editor": "Spikker",\r
-  "Current style": "Kirjastiil",\r
-  "Undoes your last action": "Võta tagasi",\r
-  "Redoes your last action": "Tee uuesti",\r
-  "Cut selection": "Lõika",\r
-  "Copy selection": "Kopeeri",\r
-  "Paste from clipboard": "Kleebi",\r
-  "OK": "OK",\r
-  "Cancel": "Loobu",\r
-  "Path": "Path",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Sa oled tekstireziimis.  Kasuta nuppu [<>] lülitamaks tagasi WYSIWIG reziimi."\r
-}\r
diff --git a/mailboxes/xinha/lang/el.js b/mailboxes/xinha/lang/el.js
deleted file mode 100644 (file)
index 8476a4d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "el", ENCODING: UTF-8\r
-// Author: Dimitris Glezos, dimitris@glezos.com\r
-\r
-{\r
-  "Bold": "Ξ\88Ξ½Ο\84ΞΏΞ½Ξ±",\r
-  "Italic": "Πλάγια",\r
-  "Underline": "Ξ�Ο\80ΞΏΞ³Ο\81Ξ±ΞΌΞΌΞΉΟ\83ΞΌΞ­Ξ½Ξ±",\r
-  "Strikethrough": "Ξ\94ΞΉΞ±Ξ³Ο\81Ξ±ΞΌΞΌΞ­Ξ½Ξ±",\r
-  "Subscript": "Ξ\94ΡίκΟ\84Ξ·Ο\82",\r
-  "Superscript": "Ξ\94ΡίκΟ\84Ξ·Ο\82",\r
-  "Justify Left": "Ξ£Ο\84ΞΏΞ―Ο\87ΞΉΟ\83Ξ· Ξ\91Ο\81ΞΉΟ\83Ο\84Ξ΅Ο\81Ξ¬",\r
-  "Justify Center": "Ξ£Ο\84ΞΏΞ―Ο\87ΞΉΟ\83Ξ· Ξ\9aΞ­Ξ½Ο\84Ο\81ΞΏ",\r
-  "Justify Right": "Ξ£Ο\84ΞΏΞ―Ο\87ΞΉΟ\83Ξ· Ξ\94Ρξιά",\r
-  "Justify Full": "Ξ Ξ»Ξ�Ο\81Ξ·Ο\82 Ξ£Ο\84ΞΏΞ―Ο\87ΞΉΟ\83Ξ·",\r
-  "Ordered List": "Ξ\91Ο\81Ξ―ΞΈΞΌΞ·Ο\83Ξ·",\r
-  "Bulleted List": "Ξ\9aΞΏΟ\85κκίδΡΟ\82",\r
-  "Decrease Indent": "Ξ\9cΡίΟ\89Ο\83Ξ· Ξ\95Ο\83ΞΏΟ\87Ξ�Ο\82",\r
-  "Increase Indent": "Ξ\91Ο\8dΞΎΞ·Ο\83Ξ· Ξ\95Ο\83ΞΏΟ\87Ξ�Ο\82",\r
-  "Font Color": "Ξ§Ο\81Ο\8eΞΌΞ± Ξ\93Ο\81Ξ±ΞΌΞΌΞ±Ο\84ΞΏΟ\83ΡιΟ\81Ξ¬Ο\82",\r
-  "Background Color": "Ξ§Ο\81Ο\8eΞΌΞ± Ξ¦Ο\8cΞ½Ο\84ΞΏΟ\85",\r
-  "Horizontal Rule": "Ξ\9fΟ\81ΞΉΞΆΟ\8cΞ½Ο\84ΞΉΞ± Ξ\93Ο\81Ξ±ΞΌΞΌΞ�",\r
-  "Insert Web Link": "Ξ\95ΞΉΟ\83Ξ±Ξ³Ο\89Ξ³Ξ� Ξ£Ο\85νδέΟ\83ΞΌΞΏΟ\85",\r
-  "Insert/Modify Image": "Ξ\95ΞΉΟ\83Ξ±Ξ³Ο\89Ξ³Ξ�/Ξ�Ο\81ΞΏΟ\80ΞΏΟ\80ΞΏΞ―Ξ·Ο\83Ξ· Ξ\95ΞΉΞΊΟ\8cΞ½Ξ±Ο\82",\r
-  "Insert Table": "Ξ\95ΞΉΟ\83Ξ±Ξ³Ο\89Ξ³Ξ� Ξ Ξ―Ξ½Ξ±ΞΊΞ±",\r
-  "Toggle HTML Source": "Ξ\95ναλλαγΞ� Ο\83Ξ΅/Ξ±Ο\80Ο\8c HTML",\r
-  "Enlarge Editor": "Ξ\9cΡγένθΟ\85Ξ½Ο\83Ξ· Ξ΅Ο\80ΡξΡΟ\81Ξ³Ξ±Ο\83Ο\84Ξ�",\r
-  "About this editor": "ΠληΟ\81ΞΏΟ\86ΞΏΟ\81Ξ―Ξ΅Ο\82",\r
-  "Help using editor": "Ξ\92ΞΏΞ�θΡια",\r
-  "Current style": "Ξ Ξ±Ο\81Ο\8eΞ½ Ο\83Ο\84Ο\85Ξ»",\r
-  "Undoes your last action": "Ξ\91Ξ½Ξ±Ξ―Ο\81Ξ΅Ο\83Ξ· Ο\84ΡλΡΟ\85Ο\84Ξ±Ξ―Ξ±Ο\82 Ξ΅Ξ½Ξ­Ο\81γΡιαΟ\82",\r
-  "Redoes your last action": "Ξ\95Ο\80Ξ±Ξ½Ξ±Ο\86ΞΏΟ\81Ξ¬ Ξ±Ο\80Ο\8c Ξ±Ξ½Ξ±Ξ―Ο\81Ξ΅Ο\83Ξ·",\r
-  "Cut selection": "Ξ\91Ο\80ΞΏΞΊΞΏΟ\80Ξ�",\r
-  "Copy selection": "Ξ\91Ξ½Ο\84ΞΉΞ³Ο\81Ξ±Ο\86Ξ�",\r
-  "Paste from clipboard": "Ξ\95Ο\80ΞΉΞΊΟ\8cλληΟ\83Ξ·",\r
-  "Direction left to right": "Ξ\9aΞ±Ο\84Ξ΅Ο\8dΞΈΟ\85Ξ½Ο\83Ξ· Ξ±Ο\81ΞΉΟ\83Ο\84Ξ΅Ο\81Ξ¬ Ο\80Ο\81ΞΏΟ\82 Ξ΄Ξ΅ΞΎΞΉΞ¬",\r
-  "Direction right to left": "Ξ\9aΞ±Ο\84Ξ΅Ο\8dΞΈΟ\85Ξ½Ο\83Ξ· Ξ±Ο\80Ο\8c Ξ΄Ξ΅ΞΎΞΉΞ¬ Ο\80Ο\81ΞΏΟ\82 Ο\84Ξ± Ξ±Ο\81ΞΉΟ\83Ο\84Ξ΅Ο\81Ξ¬",\r
-  "OK": "OK",\r
-  "Cancel": "Ξ\91ΞΊΟ\8dΟ\81Ο\89Ο\83Ξ·",\r
-  "Path": "Ξ\94ΞΉΞ±Ξ΄Ο\81ΞΏΞΌΞ�",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Ξ\95Ξ―Ο\83Ο\84Ξ΅ Ο\83Ξ΅ TEXT MODE.  Ξ§Ο\81Ξ·Ο\83ΞΉΞΌΞΏΟ\80ΞΏΞΉΞ�Ο\83Ο\84Ξ΅ Ο\84ΞΏ ΞΊΞΏΟ\85ΞΌΟ\80Ξ― [<>] Ξ³ΞΉΞ± Ξ½Ξ± Ξ΅Ο\80Ξ±Ξ½Ξ­Ο\81ΞΈΞ΅Ο\84Ξ΅ Ο\83Ο\84ΞΏ WYSIWIG.",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Ξ\97 ΞΊΞ±Ο\84Ξ¬Ο\83Ο\84Ξ±Ο\83Ξ· Ο\80Ξ»Ξ�Ο\81Ξ·Ο\82 ΞΏΞΈΟ\8cΞ½Ξ·Ο\82 Ξ­Ο\87Ρι Ο\80Ο\81ΞΏΞ²Ξ»Ξ�ΞΌΞ±Ο\84Ξ± ΞΌΞ΅ Ο\84ΞΏΞ½ Internet Explorer, Ξ»Ο\8cΞ³Ο\89 Ο\83Ο\86αλμάΟ\84Ο\89Ξ½ Ο\83Ο\84ΞΏΞ½ Ξ―διο Ο\84ΞΏΞ½ browser.  Ξ\91Ξ½ Ο\84ΞΏ Ο\83Ο\8dΟ\83Ο\84Ξ·ΞΌΞ± Ο\83Ξ±Ο\82 Ξ΅Ξ―Ξ½Ξ±ΞΉ Windows 9x ΞΌΟ\80ΞΏΟ\81Ρί ΞΊΞ±ΞΉ Ξ½Ξ± Ο\87Ο\81ΡιαΟ\83Ο\84ΡίΟ\84Ξ΅ reboot. Ξ\91Ξ½ Ξ΅Ξ―Ο\83Ο\84Ξ΅ Ο\83Ξ―Ξ³ΞΏΟ\85Ο\81ΞΏΞΉ, Ο\80Ξ±Ο\84Ξ�Ο\83Ο\84Ξ΅ Ξ\9fΞ\9a.",\r
-  "Cancel": "Ξ\91ΞΊΟ\8dΟ\81Ο\89Ο\83Ξ·",\r
-  "Insert/Modify Link": "Ξ\95ΞΉΟ\83Ξ±Ξ³Ο\89Ξ³Ξ�/Ξ�Ο\81ΞΏΟ\80ΞΏΟ\80ΞΏΞ―Ξ·Ο\83Ξ· Ο\83Ο\8dνδΡΟ\83ΞΌΞΏΟ\85",\r
-  "New window (_blank)": "Ξ\9dΞ­ΞΏ Ο\80Ξ±Ο\81άθΟ\85Ο\81ΞΏ (_blank)",\r
-  "None (use implicit)": "Ξ\9aΞ±Ξ½Ξ­Ξ½Ξ± (Ο\87Ο\81Ξ�Ο\83Ξ· Ξ±Ο\80Ο\8cΞ»Ο\85Ο\84ΞΏΟ\85)",\r
-  "Other": "Ξ\91λλο",\r
-  "Same frame (_self)": "Ξ\8aδιο frame (_self)",\r
-  "Target:": "Target:",\r
-  "Title (tooltip):": "Ξ�Ξ―Ο\84λοΟ\82 (tooltip):",\r
-  "Top frame (_top)": "ΠάνΟ\89 frame (_top)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Ξ Ο\81Ξ­Ο\80Ρι Ξ½Ξ± Ξ΅ΞΉΟ\83άγΡΟ\84Ξ΅ Ο\84ΞΏ URL Ο\80ΞΏΟ\85 ΞΏΞ΄Ξ·Ξ³Ξ΅Ξ― Ξ±Ο\85Ο\84Ο\8cΟ\82 ΞΏ Ο\83Ο\8dνδΡΟ\83ΞΌΞΏΟ\82"\r
-}\r
diff --git a/mailboxes/xinha/lang/es.js b/mailboxes/xinha/lang/es.js
deleted file mode 100644 (file)
index e1ea5c1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "es", ENCODING: UTF-8\r
-\r
-{\r
-  "Bold": "Negrita",\r
-  "Italic": "Cursiva",\r
-  "Underline": "Subrayado",\r
-  "Strikethrough": "Tachado",\r
-  "Subscript": "Sub?ndice",\r
-  "Superscript": "Super?ndice",\r
-  "Justify Left": "Alinear a la Izquierda",\r
-  "Justify Center": "Centrar",\r
-  "Justify Right": "Alinear a la Derecha",\r
-  "Justify Full": "Justificar",\r
-  "Ordered List": "Lista Ordenada",\r
-  "Bulleted List": "Lista No Ordenada",\r
-  "Decrease Indent": "Aumentar Sangr?a",\r
-  "Increase Indent": "Disminuir Sangr?a",\r
-  "Font Color": "Color del Texto",\r
-  "Background Color": "Color del Fondo",\r
-  "Horizontal Rule": "L?nea Horizontal",\r
-  "Insert Web Link": "Insertar Enlace",\r
-  "Insert/Modify Image": "Insertar Imagen",\r
-  "Insert Table": "Insertar Tabla",\r
-  "Toggle HTML Source": "Ver Documento en HTML",\r
-  "Enlarge Editor": "Ampliar Editor",\r
-  "About this editor": "Acerca del Editor",\r
-  "Help using editor": "Ayuda",\r
-  "Current style": "Estilo Actual",\r
-  "Undoes your last action": "Deshacer",\r
-  "Redoes your last action": "Rehacer",\r
-  "Cut selection": "Cortar selecci?n",\r
-  "Copy selection": "Copiar selecci?n",\r
-  "Paste from clipboard": "Pegar desde el portapapeles",\r
-  "OK": "Aceptar",\r
-  "Cancel": "Cancelar",\r
-  "Path": "Ruta",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Esta en modo TEXTO. Use el boton [<>] para cambiar a WYSIWIG"\r
-}\r
diff --git a/mailboxes/xinha/lang/fa.js b/mailboxes/xinha/lang/fa.js
deleted file mode 100644 (file)
index 106e831..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-// I18N constants\r
-// LANG: "fa", ENCODING: UTF-8\r
-{\r
-  "Bold": "ضخیم",\r
-  "Italic": "مورب",\r
-  "Underline": "زیر خط",\r
-  "Strikethrough": "رو خط",\r
-  "Subscript": "زیروند",\r
-  "Superscript": "بالاوند",\r
-  "Justify Left": "تراز از چپ",\r
-  "Justify Center": "تراز در وسط",\r
-  "Justify Right": "تراز در راست",\r
-  "Justify Full": "تراز از چپ و راست",\r
-  "Ordered List": "فهرست مرتب",\r
-  "Bulleted List": "فهرست گلوله ای",\r
-  "Decrease Indent": "کاهش سر خط",\r
-  "Increase Indent": "افزایش سر خط",\r
-  "Font Color": "رنگ فلم",\r
-  "Background Color": "رنگ پس زمینه",\r
-  "Horizontal Rule": "خط افقی",\r
-  "Insert Web Link": "افزودن لینک وب",\r
-  "Insert/Modify Image": "افزودن یا ویرایش تصویر",\r
-  "Insert Table": "افزودن جدول",\r
-  "Toggle HTML Source": "مشاهده یا عدم مشاهده متن در قالب HTML",\r
-  "Enlarge Editor": "بزرگ کردن ویرایش گر",\r
-  "About this editor": "درباره این ویرایش گر",\r
-  "Help using editor": "راهنمای استفاده ویرایش گر",\r
-  "Current style": "شیوه کنونی",\r
-  "Undoes your last action": "برگرداندن آخرین عمل",\r
-  "Redoes your last action": "انجام مجدد آخرین عمل",\r
-  "Cut selection": "بریدن انتخاب شده",\r
-  "Copy selection": "کپی انتخاب شده",\r
-  "Paste from clipboard": "چسباندن از تخته کار",\r
-  "Direction left to right": "جهت از چپ به راست",\r
-  "Direction right to left": "جهت از راست به چپ",\r
-  "Remove formatting": "حذف فرمت بندی",\r
-  "Select all": "انتخاب همه",\r
-  "Print document": "چاپ سند",\r
-  "Clear MSOffice tags": "پاک کردن متن از برچسب های MSOffice",\r
-  "Clear Inline Font Specifications": "پاک کردن متن از مشخصات فونت",\r
-  "Would you like to clear font typefaces?": "آیا تمایل دارید ظاهر فلم را پاک کنید؟",\r
-  "Would you like to clear font sizes?": "آیا تمایل دارید اندازه قلم را پاک کنید",\r
-  "Would you like to clear font colours?": "آیا تمایل دارید رنگ قلم را پاک کنید؟",\r
-  "Split Block": "بلاک جداسازی",\r
-  "Toggle Borders": "فعال/غیر فعال کردن لبه ها",\r
-  "Save as": "ذخیره مانند...",\r
-  "Insert/Overwrite": "افزودن/جانویسی",\r
-  "&mdash; format &mdash;": "&mdash; قالب &mdash;",\r
-  "Heading 1": "تیتر 1",\r
-  "Heading 2": "تیتر 2",\r
-  "Heading 3": "تیتر 3",\r
-  "Heading 4": "تیتر 4",\r
-  "Heading 5": "تیتر 5",\r
-  "Heading 6": "تیتر 6",\r
-  "Normal": "معمولی",\r
-  "Address": "آدرس",\r
-  "Formatted": "قالب بندی شده",\r
-\r
-  //dialogs\r
-  "OK": "بله",\r
-  "Cancel": "انصراف",\r
-  "Path": "مسیر",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "در مد متنی هستید.  از دکمه [<>] استفاده نمایید تا به مد WYSIWYG برگردید.",\r
-  "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 را در صفحه کلید بزنید.",\r
-  "Your Document is not well formed. Check JavaScript console for details.": "سند شما بدرستی قالب بندی نشده است. برای اطلاعات بیشتر پایانه نمایش جاوااسکریپت را بررسی کنید.",\r
-\r
-  "Alignment:": "تراز بندی",\r
-  "Not set": "تنظیم نشده",\r
-  "Left": "چپ",\r
-  "Right": "راست",\r
-  "Texttop": "بالای متن",\r
-  "Absmiddle": "دقیقا وسط",\r
-  "Baseline": "ابتدای خط",\r
-  "Absbottom": "دقیقا پایین",\r
-  "Bottom": "پایین",\r
-  "Middle": "وسط",\r
-  "Top": "بالا",\r
-\r
-  "Layout": "لایه",\r
-  "Spacing": "فاصله گذاری",\r
-  "Horizontal:": "افقی",\r
-  "Horizontal padding": "پرکننده افقی",\r
-  "Vertical:": "عمودی",\r
-  "Vertical padding": "پرکننده عمودی",\r
-  "Border thickness:": "ضخامت لبه",\r
-  "Leave empty for no border": "برای بدون لبه خالی رها کن",\r
-\r
-  //Insert Link\r
-  "Insert/Modify Link": "افزودن / ویرایش لینک",\r
-  "None (use implicit)": "هیچکدام (استفاده از بدون شرط)",\r
-  "New window (_blank)": "پنجره جدید (_blank)",\r
-  "Same frame (_self)": "فریم یکسان (_self)",\r
-  "Top frame (_top)": "فریم بالایی (_top)",\r
-  "Other": "سایر",\r
-  "Target:": "هدف",\r
-  "Title (tooltip):": "عنوان (راهنمای یک خطی)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "باید URLی که این لینک به آن اشاره دارد را وارد کنید",\r
-  "You need to select some text before creating a link": "باید قبل از ساخت لینک ، متنی را انتخاب نمایید",\r
-\r
-  // Insert Table\r
-  "Insert Table": "افزودن جدول",\r
-  "Rows:": "ردیف ها",\r
-  "Number of rows": "تعداد ردیف ها",\r
-  "Cols:": "ستون ها",\r
-  "Number of columns": "تعداد ستون ها",\r
-  "Width:": "طول",\r
-  "Width of the table": "طول جدول",\r
-  "Percent": "درصد",\r
-  "Pixels": "پیکسل ها",\r
-  "Em": "Em",\r
-  "Width unit": "واحد طول",\r
-  "Fixed width columns": "ستون های طول ثابت",\r
-  "Positioning of this table": "موقعیت یابی این جدول",\r
-  "Cell spacing:": "فاصله سلول ها",\r
-  "Space between adjacent cells": "فاصله بین سلول های همجوار",\r
-  "Cell padding:": "پر کننده سلول",\r
-  "Space between content and border in cell": "فاصله بین محتوا و لبه در سلول",\r
-  "You must enter a number of rows": "باید تعداد ردیف ها را وارد کنید",\r
-  "You must enter a number of columns": "باید تعداد ستون ها را وارد کنید",\r
-\r
-  // Insert Image\r
-  "Insert Image": "افزودن تصویر",\r
-  "Image URL:": "URL تصویر",\r
-  "Enter the image URL here": "URL تصویر را اینجا وارد کنید",\r
-  "Preview": "پیش نمایش",\r
-  "Preview the image in a new window": "پیش نمایش تصویر در پنجره ای جدید",\r
-  "Alternate text:": "متن جایگزین",\r
-  "For browsers that don't support images": "برای مرورگرهایی که از تصاویر پشتیبانی نمی کنند",\r
-  "Positioning of this image": "موقعیت یابی تصویر",\r
-  "Image Preview:": "پیش نمایش تصویر",\r
-  "You must enter the URL": "شما باید URL را وارد کنید",\r
-\r
-  // toolbar\r
-  "button_bold": "fr/bold.gif",\r
-  "button_underline": "fr/underline.gif",\r
-  "button_strikethrough": "fr/strikethrough.gif",\r
-\r
-  // Editor Help\r
-  "Xinha Help": "راهنمای Xinha",\r
-  "Editor Help": "راهنمای ویرایشگر",\r
-  "Keyboard shortcuts": "میانبرهای صفحه کلید",\r
-  "The editor provides the following key combinations:": "ویرایشگر استفاده از کلید های گروهی زیر را مسیر می سازد :",\r
-  "ENTER": "ENTREE",\r
-  "new paragraph": "پاراگراف جدید",\r
-  "SHIFT-ENTER": "SHIFT+ENTREE",\r
-  "insert linebreak": "افزودن جدا کننده خط",\r
-  "Set format to paragraph": "تغییر قالب به پاراگراف",\r
-  "Clean content pasted from Word": "تمیز کردن محتوای چسبانده شده از Word",\r
-  "Headings": "عنوان گذاری",\r
-  "Close": "بستن",\r
-\r
-  // Loading messages\r
-  "Loading in progress. Please wait !": "بارگذاری در حال انجام است. لطفا صبر کنید !",\r
-  "Constructing main object": "ساختن شیء اصلی",\r
-  "Constructing object": "ساختن شیء",\r
-  "Register panel right": "ثبت قاب راست",\r
-  "Register panel left": "ثبت قاب چپ",\r
-  "Register panel top": "ثبت قاب بالا",\r
-  "Register panel bottom": "ثبت قاب پایین",\r
-  "Create Toolbar": "ساخت نوار ابزار",\r
-  "Create StatusBar": "ساخت نوار وضعیت",\r
-  "Generate Xinha object": "تولید شیء Xinha",\r
-  "Init editor size": "مقدار دهی اندازه ویرایشگر",\r
-  "Init IFrame": "مقدار دهی IFrame",\r
-  "Register plugin $plugin": "ثبت پلاگین $plugin"\r
-};
\ No newline at end of file
diff --git a/mailboxes/xinha/lang/fi.js b/mailboxes/xinha/lang/fi.js
deleted file mode 100644 (file)
index 0297c78..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "en", ENCODING: UTF-8\r
-\r
-{\r
-  "Bold": "Lihavoitu",\r
-  "Italic": "Kursivoitu",\r
-  "Underline": "Alleviivattu",\r
-  "Strikethrough": "Yliviivattu",\r
-  "Subscript": "Alaindeksi",\r
-  "Superscript": "Yläindeksi",\r
-  "Justify Left": "Tasaa vasemmat reunat",\r
-  "Justify Center": "Keskitä",\r
-  "Justify Right": "Tasaa oikeat reunat",\r
-  "Justify Full": "Tasaa molemmat reunat",\r
-  "Ordered List": "Numerointi",\r
-  "Bulleted List": "Luettelomerkit",\r
-  "Decrease Indent": "Pienennä sisennystä",\r
-  "Increase Indent": "Lisää sisennystä",\r
-  "Font Color": "Fontin väri",\r
-  "Background Color": "Taustaväri",\r
-  "Horizontal Rule": "Vaakaviiva",\r
-  "Insert Web Link": "Lisää linkki",\r
-  "Insert/Modify Image": "Lisää kuva",\r
-  "Insert Table": "Lisää taulukko",\r
-  "Toggle HTML Source": "HTML-lähdekoodi vs WYSIWYG",\r
-  "Enlarge Editor": "Suurenna editori",\r
-  "About this editor": "Tietoja editorista",\r
-  "Help using editor": "Näytä ohje",\r
-  "Current style": "Nykyinen tyyli",\r
-  "Undoes your last action": "Peruuta viimeinen toiminto",\r
-  "Redoes your last action": "Palauta viimeinen toiminto",\r
-  "Cut selection": "Leikkaa maalattu",\r
-  "Copy selection": "Kopioi maalattu",\r
-  "Paste from clipboard": "Liitä leikepyödältä",\r
-  "OK": "Hyväksy",\r
-  "Cancel": "Peruuta"\r
-}\r
diff --git a/mailboxes/xinha/lang/fr.js b/mailboxes/xinha/lang/fr.js
deleted file mode 100644 (file)
index c338846..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-// I18N constants\r
-// LANG: "fr", ENCODING: UTF-8\r
-{\r
-  "Bold": "Gras",\r
-  "Italic": "Italique",\r
-  "Underline": "Souligné",\r
-  "Strikethrough": "Barré",\r
-  "Subscript": "Indice",\r
-  "Superscript": "Exposant",\r
-  "Justify Left": "Aligner à gauche",\r
-  "Justify Center": "Centrer",\r
-  "Justify Right": "Aligner à droite",\r
-  "Justify Full": "Justifier",\r
-  "Ordered List": "Liste numérotée",\r
-  "Bulleted List": "Liste à puces",\r
-  "Decrease Indent": "Diminuer le retrait",\r
-  "Increase Indent": "Augmenter le retrait",\r
-  "Font Color": "Couleur de police",\r
-  "Background Color": "Surlignage",\r
-  "Horizontal Rule": "Ligne horizontale",\r
-  "Insert Web Link": "Insérer un lien",\r
-  "Insert/Modify Image": "Insérer / Modifier une image",\r
-  "Insert Table": "Insérer un tableau",\r
-  "Toggle HTML Source": "Afficher / Masquer code source",\r
-  "Enlarge Editor": "Agrandir l'éditeur",\r
-  "About this editor": "A propos",\r
-  "Help using editor": "Aide",\r
-  "Current style": "Style courant",\r
-  "Undoes your last action": "Annuler la dernière action",\r
-  "Redoes your last action": "Répéter la dernière action",\r
-  "Cut selection": "Couper la sélection",\r
-  "Copy selection": "Copier la sélection",\r
-  "Paste from clipboard": "Coller depuis le presse-papier",\r
-  "Direction left to right": "Direction de gauche à droite",\r
-  "Direction right to left": "Direction de droite à gauche",\r
-  "Remove formatting": "Supprimer mise en forme",\r
-  "Select all": "Tout sélectionner",\r
-  "Print document": "Imprimer document",\r
-  "Clear MSOffice tags": "Supprimer tags MSOffice",\r
-  "Clear Inline Font Specifications": "Supprimer paramètres inline de la police",\r
-  "Would you like to clear font typefaces?": "Voulez-vous supprimer les types ?",\r
-  "Would you like to clear font sizes?": "Voulez-vous supprimer les tailles ?",\r
-  "Would you like to clear font colours?": "Voulez-vous supprimer les couleurs ?",\r
-  "Split Block": "Séparer les blocs",\r
-  "Toggle Borders": "Afficher / Masquer les bordures",\r
-  "Save as": "Enregistrer sous",\r
-  "Insert/Overwrite": "Insertion / Remplacement",\r
-  "&mdash; format &mdash;": "&mdash; Format &mdash;",\r
-  "Heading 1": "Titre 1",\r
-  "Heading 2": "Titre 2",\r
-  "Heading 3": "Titre 3",\r
-  "Heading 4": "Titre 4",\r
-  "Heading 5": "Titre 5",\r
-  "Heading 6": "Titre 6",\r
-  "Normal": "Normal",\r
-  "Address": "Adresse",\r
-  "Formatted": "Formaté",\r
-\r
-  //dialogs\r
-  "OK": "OK",\r
-  "Cancel": "Annuler",\r
-  "Path": "Chemin",\r
-  "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.",\r
-  "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.",\r
-  "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.",\r
-\r
-  "Alignment:": "Alignement",\r
-  "Not set": "Indéfini",\r
-  "Left": "Gauche",\r
-  "Right": "Droite",\r
-  "Texttop": "Texttop",\r
-  "Absmiddle": "Absmiddle",\r
-  "Baseline": "Baseline",\r
-  "Absbottom": "Absbottom",\r
-  "Bottom": "Bas",\r
-  "Middle": "Milieu",\r
-  "Top": "Haut",\r
-\r
-  "Layout": "Mise en page",\r
-  "Spacing": "Espacement",\r
-  "Horizontal:": "Horizontal",\r
-  "Horizontal padding": "Marge horizontale interne",\r
-  "Vertical:": "Vertical",\r
-  "Vertical padding": "Marge verticale interne",\r
-  "Border thickness:": "Epaisseur de bordure",\r
-  "Leave empty for no border": "Laisser vide pour pas de bordure",\r
-\r
-  //Insert Link\r
-  "Insert/Modify Link": "Insérer / Modifier un lien",\r
-  "None (use implicit)": "Aucune (implicite)",\r
-  "New window (_blank)": "Nouvelle fenêtre (_blank)",\r
-  "Same frame (_self)": "Même frame (_self)",\r
-  "Top frame (_top)": "Frame principale (_top)",\r
-  "Other": "Autre",\r
-  "Target:": "Cible",\r
-  "Title (tooltip):": "Texte alternatif",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Vous devez entrer l'URL de ce lien",\r
-  "You need to select some text before creating a link": "Vous devez sélectionner du texte avant de créer un lien",\r
-\r
-  // Insert Table\r
-  "Insert Table": "Insérer un tableau",\r
-  "Rows:": "Lignes",\r
-  "Number of rows": "Nombre de lignes",\r
-  "Cols:": "Colonnes",\r
-  "Number of columns": "Nombre de colonnes",\r
-  "Width:": "Largeur",\r
-  "Width of the table": "Largeur du tableau",\r
-  "Percent": "Pourcent",\r
-  "Pixels": "Pixels",\r
-  "Em": "Em",\r
-  "Width unit": "Unités de largeur",\r
-  "Fixed width columns": "Colonnes à taille fixe",\r
-  "Positioning of this table": "Position du tableau",\r
-  "Cell spacing:": "Espacement",\r
-  "Space between adjacent cells": "Espace entre les cellules adjacentes",\r
-  "Cell padding:": "Marge interne",\r
-  "Space between content and border in cell": "Espace entre le contenu et la bordure d'une cellule",\r
-  "You must enter a number of rows": "Vous devez entrer le nombre de lignes",\r
-  "You must enter a number of columns": "Vous devez entrer le nombre de colonnes",\r
-\r
-  // Insert Image\r
-  "Insert Image": "Insérer une image",\r
-  "Image URL:": "URL image",\r
-  "Enter the image URL here": "Entrer l'URL de l'image ici",\r
-  "Preview": "Prévisualiser",\r
-  "Preview the image in a new window": "Prévisualiser l'image dans une nouvelle fenêtre",\r
-  "Alternate text:": "Texte alternatif",\r
-  "For browsers that don't support images": "Pour les navigateurs qui ne supportent pas les images",\r
-  "Positioning of this image": "Position de l'image",\r
-  "Image Preview:": "Prévisualisation",\r
-  "You must enter the URL": "Vous devez entrer l'URL",\r
-\r
-  // toolbar\r
-  "button_bold": "fr/bold.gif",\r
-  "button_underline": "fr/underline.gif",\r
-  "button_strikethrough": "fr/strikethrough.gif",\r
-\r
-  // Editor Help\r
-  "Xinha Help": "Aide Xinha",\r
-  "Editor Help": "Aide de l'éditeur",\r
-  "Keyboard shortcuts": "Raccourcis clavier",\r
-  "The editor provides the following key combinations:": "L'éditeur fournit les combinaisons de touches suivantes :",\r
-  "ENTER": "ENTREE",\r
-  "new paragraph": "Nouveau paragraphe",\r
-  "SHIFT-ENTER": "SHIFT+ENTREE",\r
-  "insert linebreak": "Insère un saut de ligne",\r
-  "Set format to paragraph": "Applique le format paragraphe",\r
-  "Clean content pasted from Word": "Nettoyage du contenu copié depuis Word",\r
-  "Headings": "Titres",\r
-  "Close": "Fermer",\r
-\r
-  // Loading messages\r
-  "Loading in progress. Please wait !": "Chargement en cours. Veuillez patienter !",\r
-  "Constructing main object": "Construction de l'objet principal",\r
-  "Constructing object": "Construction de l'objet",\r
-  "Register panel right": "Enregistrement du panneau droit",\r
-  "Register panel left": "Enregistrement du panneau gauche",\r
-  "Register panel top": "Enregistrement du panneau supérieur",\r
-  "Register panel bottom": "Enregistrement du panneau inférieur",\r
-  "Create Toolbar": "Construction de la barre d'icones",\r
-  "Create StatusBar": "Construction de la barre de status",\r
-  "Generate Xinha object": "Génération de l'objet Xinha",\r
-  "Init editor size": "Initialisation de la taille d'édition",\r
-  "Init IFrame": "Initialisation de l'iframe",\r
-  "Register plugin $plugin": "Enregistrement du plugin $plugin"\r
-};
\ No newline at end of file
diff --git a/mailboxes/xinha/lang/gb.js b/mailboxes/xinha/lang/gb.js
deleted file mode 100644 (file)
index d3c8df8..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// I18N constants -- Chinese GB\r
-// by Dave Lo -- dlo@interactivetools.com\r
-{\r
-  "Bold": "粗体",\r
-  "Italic": "斜体",\r
-  "Underline": "底线",\r
-  "Strikethrough": "删除线",\r
-  "Subscript": "下标",\r
-  "Superscript": "上标",\r
-  "Justify Left": "位置靠左",\r
-  "Justify Center": "位置居中",\r
-  "Justify Right": "位置靠右",\r
-  "Justify Full": "位置左右平等",\r
-  "Ordered List": "顺序清单",\r
-  "Bulleted List": "无序清单",\r
-  "Decrease Indent": "减小行前空白",\r
-  "Increase Indent": "加宽行前空白",\r
-  "Font Color": "文字颜色",\r
-  "Background Color": "背景颜色",\r
-  "Horizontal Rule": "水平线",\r
-  "Insert Web Link": "插入连结",\r
-  "Insert/Modify Image": "插入图形",\r
-  "Insert Table": "插入表格",\r
-  "Toggle HTML Source": "切换HTML原始码",\r
-  "Enlarge Editor": "放大",\r
-  "About this editor": "关於 HTMLArea",\r
-  "Help using editor": "说明",\r
-  "Current style": "字体例子"\r
-}\r
diff --git a/mailboxes/xinha/lang/he.js b/mailboxes/xinha/lang/he.js
deleted file mode 100644 (file)
index 60dbd76..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "he", ENCODING: UTF-8\r
-// Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org>\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-{\r
-  "Bold": "מודגש",\r
-  "Italic": "נטוי",\r
-  "Underline": "קו תחתי",\r
-  "Strikethrough": "קו אמצע",\r
-  "Subscript": "כתב עילי",\r
-  "Superscript": "כתב תחתי",\r
-  "Justify Left": " ישור לשמאל",\r
-  "Justify Center": "ישור למרכז",\r
-  "Justify Right": "ישור לימין",\r
-  "Justify Full": "ישור לשורה מלאה",\r
-  "Ordered List": "רשימה ממוספרת",\r
-  "Bulleted List": "רשימה לא ממוספרת",\r
-  "Decrease Indent": "הקטן כניסה",\r
-  "Increase Indent": "הגדל כניסה",\r
-  "Font Color": "צבע גופן",\r
-  "Background Color": "צבע רקע",\r
-  "Horizontal Rule": "קו אנכי",\r
-  "Insert Web Link": "הכנס היפר-קישור",\r
-  "Insert/Modify Image": "הכנס/שנה תמונה",\r
-  "Insert Table": "הכנס טבלה",\r
-  "Toggle HTML Source": "שנה מצב קוד HTML",\r
-  "Enlarge Editor": "הגדל את העורך",\r
-  "About this editor": "אודות עורך זה",\r
-  "Help using editor": "עזרה לשימוש בעורך",\r
-  "Current style": "סגנון נוכחי",\r
-  "Undoes your last action": "מבטל את פעולתך האחרונה",\r
-  "Redoes your last action": "מבצע מחדש את הפעולה האחרונה שביטלת",\r
-  "Cut selection": "גזור בחירה",\r
-  "Copy selection": "העתק בחירה",\r
-  "Paste from clipboard": "הדבק מהלוח",\r
-  "Direction left to right": "כיוון משמאל לימין",\r
-  "Direction right to left": "כיוון מימין לשמאל",\r
-  "OK": "אישור",\r
-  "Cancel": "ביטול",\r
-  "Path": "נתיב עיצוב",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "אתה במצב טקסט נקי (קוד). השתמש בכפתור [<>] כדי לחזור למצב WYSIWYG (תצוגת עיצוב).",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "מצב מסך מלא יוצר בעיות בדפדפן Internet Explorer, עקב באגים בדפדפן לא יכולנו לפתור את זה.  את/ה עלול/ה לחוות תצוגת זבל,  בעיות בתפקוד העורך ו/או קריסה של הדפדפן.  אם המערכת שלך היא Windows 9x סביר להניח שתקבל/י ",\r
-  "Cancel": "ביטול",\r
-  "Insert/Modify Link": "הוסף/שנה קישור",\r
-  "New window (_blank)": "חלון חדש (_blank)",\r
-  "None (use implicit)": "ללא (השתמש ב-frame הקיים)",\r
-  "Other": "אחר",\r
-  "Same frame (_self)": "אותו frame (_self)",\r
-  "Target:": "יעד:",\r
-  "Title (tooltip):": "כותרת (tooltip):",\r
-  "Top frame (_top)": "Frame עליון (_top)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "חובה לכתוב URL שאליו קישור זה מצביע"\r
-}\r
diff --git a/mailboxes/xinha/lang/hu.js b/mailboxes/xinha/lang/hu.js
deleted file mode 100644 (file)
index 75c541c..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "hu", ENCODING: UTF-8\r
-// Author: Miklós Somogyi, <somogyine@vnet.hu>\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-{\r
-  "Bold": "Félkövér",\r
-  "Italic": "Dőlt",\r
-  "Underline": "Aláhúzott",\r
-  "Strikethrough": "Áthúzott",\r
-  "Subscript": "Alsó index",\r
-  "Superscript": "Felső index",\r
-  "Justify Left": "Balra zárt",\r
-  "Justify Center": "Középre zárt",\r
-  "Justify Right": "Jobbra zárt",\r
-  "Justify Full": "Sorkizárt",\r
-  "Ordered List": "Számozott lista",\r
-  "Bulleted List": "Számozatlan lista",\r
-  "Decrease Indent": "Behúzás csökkentése",\r
-  "Increase Indent": "Behúzás növelése",\r
-  "Font Color": "Karakterszín",\r
-  "Background Color": "Háttérszín",\r
-  "Horizontal Rule": "Elválasztó vonal",\r
-  "Insert Web Link": "Hiperhivatkozás beszúrása",\r
-  "Insert/Modify Image": "Kép beszúrása",\r
-  "Insert Table": "Táblázat beszúrása",\r
-  "Toggle HTML Source": "HTML forrás be/ki",\r
-  "Enlarge Editor": "Szerkesztő külön ablakban",\r
-  "About this editor": "Névjegy",\r
-  "Help using editor": "Súgó",\r
-  "Current style": "Aktuális stílus",\r
-  "Undoes your last action": "Visszavonás",\r
-  "Redoes your last action": "Újra végrehajtás",\r
-  "Cut selection": "Kivágás",\r
-  "Copy selection": "Másolás",\r
-  "Paste from clipboard": "Beillesztés",\r
-  "Direction left to right": "Irány balról jobbra",\r
-  "Direction right to left": "Irány jobbról balra",\r
-  "OK": "Rendben",\r
-  "Cancel": "Mégsem",\r
-  "Path": "Hierarchia",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Forrás mód. Visszaváltás [<>] gomb",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "A teljesképrenyős szerkesztés hibát okozhat Internet Explorer használata esetén, ez a böngésző a hibája, amit nem tudunk kikerülni. Szemetet észlelhet a képrenyőn, illetve néhány funkció hiányozhat és/vagy véletlenszerűen lefagyhat a böngésző. Windows 9x operaciós futtatása esetén elég valószínű, hogy ",\r
-  "Cancel": "Mégsem",\r
-  "Insert/Modify Link": "Hivatkozás Beszúrása/Módosítása",\r
-  "New window (_blank)": "Új ablak (_blank)",\r
-  "None (use implicit)": "Nincs (use implicit)",\r
-  "Other": "Más",\r
-  "Same frame (_self)": "Ugyanabba a keretbe (_self)",\r
-  "Target:": "Cél:",\r
-  "Title (tooltip):": "Cím (tooltip):",\r
-  "Top frame (_top)": "Felső keret (_top)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Be kell írnia az URL-t, ahova a hivatkozás mutasson"\r
-}\r
diff --git a/mailboxes/xinha/lang/it.js b/mailboxes/xinha/lang/it.js
deleted file mode 100644 (file)
index 426e74c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "it", ENCODING: UTF-8\r
-// Author: Mattia Landoni, http://www.webpresident.org/\r
-\r
-{\r
-  "Bold": "Grassetto",\r
-  "Italic": "Corsivo",\r
-  "Underline": "Sottolineato",\r
-  "Strikethrough": "Barrato",\r
-  "Subscript": "Pedice",\r
-  "Superscript": "Apice",\r
-  "Justify Left": "Sinistra",\r
-  "Justify Center": "Centrato",\r
-  "Justify Right": "Destra",\r
-  "Justify Full": "Giustificato",\r
-  "Ordered List": "Lista numerata",\r
-  "Bulleted List": "Lista non numerata",\r
-  "Decrease Indent": "Diminuisci indentazione",\r
-  "Increase Indent": "Aumenta indentazione",\r
-  "Font Color": "Colore font",\r
-  "Background Color": "Colore sfondo",\r
-  "Horizontal Rule": "Righello orizzontale",\r
-  "Insert Web Link": "Inserisci link",\r
-  "Insert/Modify Image": "Inserisci/modifica Immagine",\r
-  "Insert Table": "Inserisci tabella",\r
-  "Toggle HTML Source": "Visualizza/nascondi sorgente HTML",\r
-  "Enlarge Editor": "Allarga editor",\r
-  "About this editor": "Informazioni su HTMLArea",\r
-  "Help using editor": "Aiuto",\r
-  "Current style": "Stile corrente",\r
-  "Undoes your last action": "Annulla ultima azione",\r
-  "Redoes your last action": "Ripeti ultima azione",\r
-  "Cut selection": "Taglia",\r
-  "Copy selection": "Copia",\r
-  "Paste from clipboard": "Incolla",\r
-  "Direction left to right": "Testo da sx a dx",\r
-  "Direction right to left": "Testo da dx a sx",\r
-  "OK": "OK",\r
-  "Cancel": "Annulla",\r
-  "Path": "Percorso",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Sei in MODALITA",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "E",\r
-  "Cancel": "Annulla",\r
-  "Insert/Modify Link": "Inserisci/modifica link",\r
-  "New window (_blank)": "Nuova finestra (_blank)",\r
-  "None (use implicit)": "Niente (usa implicito)",\r
-  "Other": "Altro",\r
-  "Same frame (_self)": "Stessa frame (_self)",\r
-  "Target:": "Target:",\r
-  "Title (tooltip):": "Title (suggerimento):",\r
-  "Top frame (_top)": "Pagina intera (_top)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Devi inserire l'indirizzo a cui punta il link"\r
-}\r
diff --git a/mailboxes/xinha/lang/ja.js b/mailboxes/xinha/lang/ja.js
deleted file mode 100644 (file)
index b2d927d..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-// I18N constants
-// LANG: "ja", ENCODING: UTF-8N
-
-{
-  "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": "挿入/上書き",
-  "&mdash; format &mdash;": "&mdash; 書式 &mdash;",
-  "Heading 1": "見出し1",
-  "Heading 2": "見出し2",
-  "Heading 3": "見出し3",
-  "Heading 4": "見出し4",
-  "Heading 5": "見出し5",
-  "Heading 6": "見出し6",
-  "Normal": "標準",
-  "Address": "アドレス",
-  "Formatted": "整形済み",
-  "&mdash; font &mdash;": "&mdash; フォント &mdash;",
-  "&mdash; size &mdash;": "&mdash; サイズ &mdash;",
-  
-  //dialogs
-  "OK": "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ベースのWebブラウザでは、貼り付けボタンは機能しません(技術的なセキュリティ上の理由で)。Ctrl+Vキーを押して直接貼り付けてください。",
-  "Your Document is not well formed. Check JavaScript console for details.": "この文書には構文的な問題があります。詳細はJavaScriptコンソールを参照してください。",
-  "You need to select some text before creating a link": "リンクを作成するにはテキストを選択する必要があります",
-
-  "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を入力してください",
-
-  // Insert Table
-  "Insert Table": "テーブルの挿入",
-  "Rows:": "行:",
-  "Number of rows": "行数",
-  "Cols:": "列:",
-  "Number of columns": "列数",
-  "Width:": "幅:",
-  "Width of the table": "テーブルの幅",
-  "Percent": "パーセント(%)",
-  "Pixels": "ピクセル(px)",
-  "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を入力する必要があります",
-
-  //"button_bold": "fr/bold.gif",
-  //"button_underline": "fr/underline.gif",
-  //"button_strikethrough": "fr/strikethrough.gif",
-
-  // Editor Help
-  "Xinha Help": "ヘルプ",
-  "Editor Help": "エディタのヘルプ",
-  "Keyboard shortcuts": "キーボードショートカット",
-  "The editor provides the following key combinations:": "エディタは以下のキー操作を提供しています:",
-  "ENTER": "ENTER",
-  "new paragraph": "新規段落",
-  "SHIFT-ENTER": "SHIFT+ENTER",
-  "insert linebreak": "段落内改行の挿入",
-  "Set format to paragraph": "段落書式の設定",
-  "Clean content pasted from Word": "Wordから貼り付けられた内容の清書",
-  "Headings": "見出し",
-  "Close": "閉じる",
-
-  // Loading messages
-  "Loading in progress. Please wait !": "ロード中です。しばらくお待ちください",
-  "Constructing main object": "構成中 main object",
-  "Constructing object": "構成中 object",
-  "Register panel right": "登録 右パネル",
-  "Register panel left": "登録 左パネル",
-  "Register panel top": "登録 上パネル",
-  "Register panel bottom": "登録 下パネル",
-  "Create Toolbar": "作成 ツールバー",
-  "Create StatusBar": "作成 ステータスバー",
-  "Generate Xinha object": "生成 Xinha object",
-  "Init editor size": "初期化 エディタのサイズ",
-  "Init IFrame": "初期化 IFrame",
-  "Register plugin $plugin": "プラグインの登録 $plugin"
-};
\ No newline at end of file
diff --git a/mailboxes/xinha/lang/lt.js b/mailboxes/xinha/lang/lt.js
deleted file mode 100644 (file)
index 1235676..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "lt", ENCODING: UTF-8\r
-// Author: Jaroslav Šatkevič, <jaro@akl.lt>\r
-\r
-{\r
-  "Bold": "Paryškinti",\r
-  "Italic": "Kursyvas",\r
-  "Underline": "Pabraukti",\r
-  "Strikethrough": "Perbraukti",\r
-  "Subscript": "Apatinis indeksas",\r
-  "Superscript": "Viršutinis indeksas",\r
-  "Justify Left": "Lygiavimas pagal kairę",\r
-  "Justify Center": "Lygiavimas pagal centrą",\r
-  "Justify Right": "Lygiavimas pagal dešinę",\r
-  "Justify Full": "Lygiuoti pastraipą",\r
-  "Ordered List": "Numeruotas sąrašas",\r
-  "Bulleted List": "Suženklintas sąrašas",\r
-  "Decrease Indent": "Sumažinti paraštę",\r
-  "Increase Indent": "Padidinti paraštę",\r
-  "Font Color": "Šrifto spalva",\r
-  "Background Color": "Fono spalva",\r
-  "Horizontal Rule": "Horizontali linija",\r
-  "Insert Web Link": "Įterpti nuorodą",\r
-  "Insert/Modify Image": "Įterpti paveiksliuką",\r
-  "Insert Table": "Įterpti lentelę",\r
-  "Toggle HTML Source": "Perjungti į HTML/WYSIWYG",\r
-  "Enlarge Editor": "Išplėstas redagavimo ekranas/Enlarge Editor",\r
-  "About this editor": "Apie redaktorių",\r
-  "Help using editor": "Pagalba naudojant redaktorių",\r
-  "Current style": "Dabartinis stilius",\r
-  "Undoes your last action": "Atšaukia paskutini jūsų veiksmą",\r
-  "Redoes your last action": "Pakartoja paskutinį atšauktą jūsų veiksmą",\r
-  "Cut selection": "Iškirpti",\r
-  "Copy selection": "Kopijuoti",\r
-  "Paste from clipboard": "Įterpti",\r
-  "OK": "OK",\r
-  "Cancel": "Atšaukti",\r
-  "Path": "Kelias",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Jūs esete teksto režime.  Naudokite [<>] mygtuką grįžimui į WYSIWYG.",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren",\r
-  "Cancel": "Atšaukti",\r
-  "Insert/Modify Link": "Idėti/Modifikuoti",\r
-  "New window (_blank)": "Naujas langas (_blank)",\r
-  "None (use implicit)": "None (use implicit)",\r
-  "Other": "Kitas",\r
-  "Same frame (_self)": "Same frame (_self)",\r
-  "Target:": "Target:",\r
-  "Title (tooltip):": "Pavadinimas (tooltip):",\r
-  "Top frame (_top)": "Top frame (_top)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Jus privalote nurodyti URL į kuri rodo šitą nuoroda"\r
-}\r
diff --git a/mailboxes/xinha/lang/lv.js b/mailboxes/xinha/lang/lv.js
deleted file mode 100644 (file)
index b24593d..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "lv", ENCODING: UTF-8\r
-// Author: Mihai Bazon, http://dynarch.com/mishoo\r
-// Translated by: Janis Klavins, <janis.klavins@devia.lv>\r
-\r
-{\r
-  "Bold": "Trekniem burtiem",\r
-  "Italic": "Kursîvâ",\r
-  "Underline": "Pasvîtrots",\r
-  "Strikethrough": "Pârsvîtrots",\r
-  "Subscript": "Novietot zem rindas",\r
-  "Superscript": "Novietot virs rindas",\r
-  "Justify Left": "Izlîdzinât pa kreisi",\r
-  "Justify Center": "Izlîdzinât centrâ",\r
-  "Justify Right": "Izlîdzinât pa labi",\r
-  "Justify Full": "Izlîdzinât pa visu lapu",\r
-  "Ordered List": "Numurçts saraksts",\r
-  "Bulleted List": "Saraksts",\r
-  "Decrease Indent": "Samazinât atkâpi",\r
-  "Increase Indent": "Palielinât atkâpi",\r
-  "Font Color": "Burtu krâsa",\r
-  "Background Color": "Fona krâsa",\r
-  "Horizontal Rule": "Horizontâla atdalîtâjsvîtra",\r
-  "Insert Web Link": "Ievietot hipersaiti",\r
-  "Insert/Modify Image": "Ievietot attçlu",\r
-  "Insert Table": "Ievietot tabulu",\r
-  "Toggle HTML Source": "Skatît HTML kodu",\r
-  "Enlarge Editor": "Palielinât Rediìçtâju",\r
-  "About this editor": "Par ðo rediìçtâju",\r
-  "Help using editor": "Rediìçtâja palîgs",\r
-  "Current style": "Patreizçjais stils",\r
-  "Undoes your last action": "Atcelt pçdçjo darbîbu",\r
-  "Redoes your last action": "Atkârtot pçdçjo darbîbu",\r
-  "Cut selection": "Izgriezt iezîmçto",\r
-  "Copy selection": "Kopçt iezîmçto",\r
-  "Paste from clipboard": "Ievietot iezîmçto",\r
-  "OK": "Labi",\r
-  "Cancel": "Atcelt",\r
-  "Path": "Ceïð",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Jûs patlaban darbojaties TEKSTA REÞÎMÂ. Lai pârietu atpakaï uz GRAFISKO REÞÎMU (WYSIWIG), lietojiet [<>] pogu."\r
-}\r
diff --git a/mailboxes/xinha/lang/nb.js b/mailboxes/xinha/lang/nb.js
deleted file mode 100644 (file)
index 6ae0451..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "nb", ENCODING: UTF-8\r
-\r
-// - translated by ses<ses@online.no>\r
-// Additional translations by Håvard Wigtil <havardw@extend.no>\r
-// Additional translations by Kim Steinhaug <kim@steinhaug.com>\r
-\r
-{\r
-  "Bold": "Fet",\r
-  "Italic": "Kursiv",\r
-  "Underline": "Understreket",\r
-  "Strikethrough": "Gjennomstreket",\r
-  "Subscript": "Nedsenket",\r
-  "Superscript": "Opphøyet",\r
-  "Justify Left": "Venstrejuster",\r
-  "Justify Center": "Midtjuster",\r
-  "Justify Right": "Høyrejuster",\r
-  "Justify Full": "Blokkjuster",\r
-  "Ordered List": "Nummerert liste",\r
-  "Bulleted List": "Punktliste",\r
-  "Decrease Indent": "Reduser innrykk",\r
-  "Increase Indent": "Øke innrykk",\r
-  "Font Color": "Tekstfarge",\r
-  "Background Color": "Bakgrundsfarge",\r
-  "Horizontal Rule": "Vannrett linje",\r
-  "Insert Web Link": "Lag lenke",\r
-  "Insert/Modify Image": "Sett inn bilde",\r
-  "Insert Table": "Sett inn tabell",\r
-  "Toggle HTML Source": "Vis kildekode",\r
-  "Enlarge Editor": "Vis i eget vindu",\r
-  "About this editor": "Om denne editor",\r
-  "Help using editor": "Hjelp",\r
-  "Current style": "Nåværende stil",\r
-  "Undoes your last action": "Angrer siste redigering",\r
-  "Redoes your last action": "Gjør om siste angring",\r
-  "Cut selection": "Klipp ut område",\r
-  "Copy selection": "Kopier område",\r
-  "Save as": "Lagre som",\r
-  "Paste from clipboard": "Lim inn",\r
-  "Remove formatting": "Fjern formattering",\r
-  "Direction left to right": "Fra venstre mot høyre",\r
-  "Direction right to left": "Fra høyre mot venstre",\r
-  "Insert/Overwrite": "Sett inn/Overskriv",\r
-  "OK": "OK",\r
-  "Cancel": "Avbryt",\r
-  "Path": "Tekstvelger",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Du er i tekstmodus  Klikk på [<>] for å gå tilbake til WYSIWIG.",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Visning i eget vindu har kjente problemer med Internet Explorer, på grunn av problemer med denne nettleseren. Mulige problemer er et uryddig skjermbilde, manglende editorfunksjoner og/eller at nettleseren crasher. Hvis du bruker Windows 95 eller Windows 98 er det også muligheter for at Windows will crashe.\n\nTrykk ",\r
-  "Cancel": "Avbryt",\r
-  "Insert/Modify Link": "Rediger lenke",\r
-  "New window (_blank)": "Eget vindu (_blank)",\r
-  "None (use implicit)": "Ingen (bruk standardinnstilling)",\r
-  "Other": "Annen",\r
-  "Same frame (_self)": "Samme ramme (_self)",\r
-  "Target:": "Mål:",\r
-  "Title (tooltip):": "Tittel (tooltip):",\r
-  "Top frame (_top)": "Toppramme (_top)",\r
-  "URL:": "Adresse:",\r
-  "You must enter the URL where this link points to": "Du må skrive inn en adresse som denne lenken skal peke til",\r
-  "Clear Inline Font Specifications": "Fjerne inline font spesifikasjoner",\r
-  "Would you like to clear font typefaces?": "Ønsker du å fjerne skrifttyper",\r
-  "Would you like to clear font sizes?": "Ønsker du å fjerne skrift størrelser",\r
-  "Would you like to clear font colours?": "Ønsker du å fjerne farger på skriften",\r
-  "Print document": "Skriv ut dokumentet",\r
-  "Split Block": "Seperasjonsblokk",\r
-  "Toggle Borders": "Skru av/på hjelpelinjer på tabeller",\r
-  "Select all": "Merk alt",\r
-  // Loading messages\r
-  "Loading in progress. Please wait !": "WYSIWYG laster, vennligst vent!",\r
-  "Constructing main object": "Vennligst vent",\r
-  "Create Toolbar": "Lag verktøylinje",\r
-  "Register panel right": "Registrer høyrepanel",\r
-  "Register panel left": "Registrer venstrepanel",\r
-  "Register panel top": "Registrer toppanel",\r
-  "Register panel bottom": "Registrer bunnpanel"\r
-\r
-};\r
diff --git a/mailboxes/xinha/lang/nl.js b/mailboxes/xinha/lang/nl.js
deleted file mode 100644 (file)
index 3fe6b8c..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "nl", ENCODING: UTF-8\r
-// Author: Michel Weegeerink (info@mmc-shop.nl), http://mmc-shop.nl\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-{\r
-  "Bold": "Vet",\r
-  "Italic": "Cursief",\r
-  "Underline": "Onderstrepen",\r
-  "Strikethrough": "Doorhalen",\r
-  "Subscript": "Subscript",\r
-  "Superscript": "Superscript",\r
-  "Justify Left": "Links uitlijnen",\r
-  "Justify Center": "Centreren",\r
-  "Justify Right": "Rechts uitlijnen",\r
-  "Justify Full": "Uitvullen",\r
-  "Ordered List": "Nummering",\r
-  "Bulleted List": "Opsommingstekens",\r
-  "Decrease Indent": "Inspringing verkleinen",\r
-  "Increase Indent": "Inspringing vergroten",\r
-  "Font Color": "Tekstkleur",\r
-  "Background Color": "Achtergrondkleur",\r
-  "Horizontal Rule": "Horizontale lijn",\r
-  "Insert Web Link": "Hyperlink invoegen/aanpassen",\r
-  "Insert/Modify Image": "Afbeelding invoegen/aanpassen",\r
-  "Insert Table": "Tabel invoegen",\r
-  "Toggle HTML Source": "HTML broncode",\r
-  "Enlarge Editor": "Vergroot Editor",\r
-  "About this editor": "Over deze editor",\r
-  "Help using editor": "HTMLArea help",\r
-  "Current style": "Huidige stijl",\r
-  "Undoes your last action": "Ongedaan maken",\r
-  "Redoes your last action": "Herhalen",\r
-  "Cut selection": "Knippen",\r
-  "Copy selection": "Kopi?ren",\r
-  "Paste from clipboard": "Plakken",\r
-  "Direction left to right": "Tekstrichting links naar rechts",\r
-  "Direction right to left": "Tekstrichting rechts naar links",\r
-  "OK": "OK",\r
-  "Cancel": "Annuleren",\r
-  "Path": "Pad",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Je bent in TEKST-mode. Gebruik de [<>] knop om terug te keren naar WYSIWYG-mode.",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Fullscreen-mode veroorzaakt problemen met Internet Explorer door bugs in de webbrowser die we niet kunnen omzeilen. Hierdoor kunnen de volgende effecten optreden: verknoeide teksten, een verlies aan editor-functionaliteit en/of willekeurig vastlopen van de webbrowser. Als u Windows 95 of 98 gebruikt, is het zeer waarschijnlijk dat u een algemene beschermingsfout (",\r
-  "Cancel": "Annuleren",\r
-  "Insert/Modify Link": "Hyperlink invoegen/aanpassen",\r
-  "New window (_blank)": "Nieuw venster (_blank)",\r
-  "None (use implicit)": "Geen",\r
-  "Other": "Ander",\r
-  "Same frame (_self)": "Zelfde frame (_self)",\r
-  "Target:": "Doel:",\r
-  "Title (tooltip):": "Titel (tooltip):",\r
-  "Top frame (_top)": "Bovenste frame (_top)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Geef de URL in waar de link naar verwijst"\r
-}\r
diff --git a/mailboxes/xinha/lang/pl.js b/mailboxes/xinha/lang/pl.js
deleted file mode 100644 (file)
index b5bd5ce..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-// I18N constants
-// LANG: "pl", ENCODING: UTF-8
-// translated: Krzysztof Kotowicz, http://www.eskot.krakow.pl/portfolio/, koto@webworkers.pl
-{
-  "Bold": "Pogrubienie",
-  "Italic": "Pochylenie",
-  "Underline": "Podkreślenie",
-  "Strikethrough": "Przekreślenie",
-  "Subscript": "Indeks dolny",
-  "Superscript": "Indeks górny",
-  "Justify Left": "Wyrównaj do lewej",
-  "Justify Center": "Wyśrodkuj",
-  "Justify Right": "Wyrównaj do prawej",
-  "Justify Full": "Wyjustuj",
-  "Ordered List": "Numerowanie",
-  "Bulleted List": "Wypunktowanie",
-  "Decrease Indent": "Zmniejsz wcięcie",
-  "Increase Indent": "Zwiększ wcięcie",
-  "Font Color": "Kolor czcionki",
-  "Background Color": "Kolor tła",
-  "Horizontal Rule": "Linia pozioma",
-  "Insert Web Link": "Wstaw adres sieci Web",
-  "Insert/Modify Image": "Wstaw obraz",
-  "Insert Table": "Wstaw tabelę",
-  "Toggle HTML Source": "Edycja WYSIWYG/w źródle strony",
-  "Enlarge Editor": "Pełny ekran",
-  "About this editor": "Informacje o tym edytorze",
-  "Help using editor": "Pomoc",
-  "Current style": "Obecny styl",
-  "Undoes your last action": "Cofa ostatnio wykonane polecenie",
-  "Redoes your last action": "Ponawia ostatnio wykonane polecenie",
-  "Cut selection": "Wycina zaznaczenie do schowka",
-  "Copy selection": "Kopiuje zaznaczenie do schowka",
-  "Paste from clipboard": "Wkleja zawartość schowka",
-  "Direction left to right": "Kierunek tekstu lewo-prawo",
-  "Direction right to left": "Kierunek tekstu prawo-lewo",
-  "Remove formatting": "Usuń formatowanie",
-  "Select all": "Zaznacz wszystko",
-  "Print document": "Drukuj dokument",
-  "Clear MSOffice tags": "Wyczyść tagi MSOffice",
-  "Clear Inline Font Specifications": "Wycisz bezpośrednie przypisania czcionek",
-  "Split Block": "Podziel blok",
-  "Toggle Borders": "Włącz / wyłącz ramki",
-
-  "&mdash; format &mdash;": "&mdash; Format &mdash;",
-  "Heading 1": "Nagłówek 1",
-  "Heading 2": "Nagłówek 2",
-  "Heading 3": "Nagłówek 3",
-  "Heading 4": "Nagłówek 4",
-  "Heading 5": "Nagłówek 5",
-  "Heading 6": "Nagłówek 6",
-  "Normal": "Normalny",
-  "Address": "Adres",
-  "Formatted": "Preformatowany",
-
-  //dialogs
-  "OK": "OK",
-  "Cancel": "Anuluj",
-  "Path": "Ścieżka",
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Jesteś w TRYBIE TEKSTOWYM. Użyj przycisku [<>], aby przełączyć się na tryb WYSIWYG.",
-  "The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Przycisk Wklej nie działa w przeglądarkach Mozilla z uwagi na ustawienia bezpieczeństwa. Naciśnij CRTL-V, aby wkleić zawartość schowka.",
-
-  "Alignment:": "Wyrównanie:",
-  "Not set": "Nie ustawione",
-  "Left": "Do lewej",
-  "Right": "Do prawej",
-  "Texttop": "Góra tekstu",
-  "Absmiddle": "Abs. środek",
-  "Baseline": "Linia bazowa",
-  "Absbottom": "Abs. dół",
-  "Bottom": "Dół",
-  "Middle": "Środek",
-  "Top": "Góra",
-
-  "Layout": "Layout",
-  "Spacing": "Spacjowanie",
-  "Horizontal:": "Poziome:",
-  "Horizontal padding": "Wcięcie poziome",
-  "Vertical:": "Pionowe:",
-  "Vertical padding": "Wcięcie pionowe",
-  "Border thickness:": "Grubość obramowania:",
-  "Leave empty for no border": "Bez ramek - zostaw puste",
-
-  //Insert Link
-  "Insert/Modify Link": "Wstaw/edytuj odnośnik",
-  "None (use implicit)": "Brak",
-  "New window (_blank)": "Nowe okno (_blank)",
-  "Same frame (_self)": "Ta sama ramka (_self)",
-  "Top frame (_top)": "Główna ramka (_top)",
-  "Other": "Inne",
-  "Target:": "Okno docelowe:",
-  "Title (tooltip):": "Tytuł (tooltip):",
-  "URL:": "URL:",
-  "You must enter the URL where this link points to": "Musisz podać URL, na jaki będzie wskazywał odnośnik",
-
-  // Insert Table
-  "Insert Table": "Wstaw tabelę",
-  "Rows:": "Wierszy:",
-  "Number of rows": "Liczba wierszy",
-  "Cols:": "Kolumn:",
-  "Number of columns": "Liczba kolumn",
-  "Width:": "Szerokość:",
-  "Width of the table": "Szerokość tabeli",
-  "Percent": "Procent",
-  "Pixels": "Pikseli",
-  "Em": "Em",
-  "Width unit": "Jednostka",
-  "Fixed width columns": "Kolumny o stałej szerokości",
-  "Positioning of this table": "Pozycjonowanie tabeli",
-  "Cell spacing:": "Odstęp komórek:",
-  "Space between adjacent cells": "Przestrzeń pomiędzy komórkami",
-  "Cell padding:": "Wcięcie komórek:",
-  "Space between content and border in cell": "Przestrzeń między krawędzią a zawartością komórki",
-
-  // Insert Image
-  "Insert Image": "Wstaw obrazek",
-  "Image URL:": "URL obrazka:",
-  "Enter the image URL here": "Podaj URL obrazka",
-  "Preview": "Podgląd",
-  "Preview the image in a new window": "Podgląd obrazka w nowym oknie",
-  "Alternate text:": "Tekst alternatywny:",
-  "For browsers that don't support images": "Dla przeglądarek, które nie obsługują obrazków",
-  "Positioning of this image": "Pozycjonowanie obrazka",
-  "Image Preview:": "Podgląd obrazka:"
-}
diff --git a/mailboxes/xinha/lang/pt_br.js b/mailboxes/xinha/lang/pt_br.js
deleted file mode 100644 (file)
index 156216d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "bt_br", ENCODING: UTF-8\r
-// Brazilian Portuguese Translation by Alex Piaz <webmaster@globalmap.com>\r
-\r
-{
-  "Bold": "Negrito",
-  "Italic": "Itálico",
-  "Underline": "Sublinhado",
-  "Strikethrough": "Tachado",
-  "Subscript": "Subescrito",
-  "Superscript": "Sobrescrito",
-  "Justify Left": "Alinhar à Esquerda",
-  "Justify Center": "Centralizar",
-  "Justify Right": "Alinhar à Direita",
-  "Justify Full": "Justificar",
-  "Ordered List": "Lista Numerada",
-  "Bulleted List": "Lista Marcadores",
-  "Decrease Indent": "Diminuir Indentação",
-  "Increase Indent": "Aumentar Indentação",
-  "Font Color": "Cor da Fonte",
-  "Background Color": "Cor do Fundo",
-  "Horizontal Rule": "Linha Horizontal",
-  "Insert Web Link": "Inserir Link",
-  "Insert/Modify Image": "Inserir Imagem",
-  "Insert Table": "Inserir Tabela",
-  "Toggle HTML Source": "Ver Código-Fonte",
-  "Enlarge Editor": "Expandir Editor",
-  "About this editor": "Sobre",
-  "Help using editor": "Ajuda",
-  "Current style": "Estilo Atual"
-}
diff --git a/mailboxes/xinha/lang/ro.js b/mailboxes/xinha/lang/ro.js
deleted file mode 100644 (file)
index 6565bd2..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "ro", ENCODING: UTF-8\r
-// Author: Mihai Bazon, http://dynarch.com/mishoo\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-{\r
-  "Bold": "Îngroşat",\r
-  "Italic": "Italic",\r
-  "Underline": "Subliniat",\r
-  "Strikethrough": "Tăiat",\r
-  "Subscript": "Indice jos",\r
-  "Superscript": "Indice sus",\r
-  "Justify Left": "Aliniere la stânga",\r
-  "Justify Center": "Aliniere pe centru",\r
-  "Justify Right": "Aliniere la dreapta",\r
-  "Justify Full": "Aliniere în ambele părţi",\r
-  "Ordered List": "Listă ordonată",\r
-  "Bulleted List": "Listă marcată",\r
-  "Decrease Indent": "Micşorează alineatul",\r
-  "Increase Indent": "Măreşte alineatul",\r
-  "Font Color": "Culoarea textului",\r
-  "Background Color": "Culoare de fundal",\r
-  "Horizontal Rule": "Linie orizontală",\r
-  "Insert Web Link": "Inserează/modifică link",\r
-  "Insert/Modify Image": "Inserează/modifică imagine",\r
-  "Insert Table": "Inserează un tabel",\r
-  "Toggle HTML Source": "Sursa HTML / WYSIWYG",\r
-  "Enlarge Editor": "Maximizează editorul",\r
-  "About this editor": "Despre editor",\r
-  "Help using editor": "Documentaţie (devel)",\r
-  "Current style": "Stilul curent",\r
-  "Undoes your last action": "Anulează ultima acţiune",\r
-  "Redoes your last action": "Reface ultima acţiune anulată",\r
-  "Cut selection": "Taie în clipboard",\r
-  "Copy selection": "Copie în clipboard",\r
-  "Paste from clipboard": "Aduce din clipboard",\r
-  "Direction left to right": "Direcţia de scriere: stânga - dreapta",\r
-  "Direction right to left": "Direcţia de scriere: dreapta - stânga",\r
-  "OK": "OK",\r
-  "Cancel": "Anulează",\r
-  "Path": "Calea",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Eşti în modul TEXT.  Apasă butonul [<>] pentru a te întoarce în modul WYSIWYG.",\r
-  "Cancel": "Renunţă",\r
-  "Insert/Modify Link": "Inserează/modifcă link",\r
-  "New window (_blank)": "Fereastră nouă (_blank)",\r
-  "None (use implicit)": "Nimic (foloseşte ce-i implicit)",\r
-  "Other": "Alt target",\r
-  "Same frame (_self)": "Aceeaşi fereastră (_self)",\r
-  "Target:": "Ţinta:",\r
-  "Title (tooltip):": "Titlul (tooltip):",\r
-  "Top frame (_top)": "Fereastra principală (_top)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Trebuie să introduceţi un URL"\r
-}\r
diff --git a/mailboxes/xinha/lang/ru.js b/mailboxes/xinha/lang/ru.js
deleted file mode 100644 (file)
index 5290b7f..0000000
+++ /dev/null
@@ -1,185 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "ru", ENCODING: UTF-8\r
-// Author: Yulya Shtyryakova, <yulya@vdcom.ru>\r
-\r
-// Some additions by: Alexey Kirpichnikov, <alexkir@kiwistudio.ru>\r
-// I took French version as a source of English phrases because French version was the most comprehensive\r
-// (fr.js was the largest file, actually) %)\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-{\r
-  "Bold": "Полужирный",\r
-  "Italic": "Наклонный",\r
-  "Underline": "Подчеркнутый",\r
-  "Strikethrough": "Перечеркнутый",\r
-  "Subscript": "Нижний индекс",\r
-  "Superscript": "Верхний индекс",\r
-  "Justify Left": "По левому краю",\r
-  "Justify Center": "По центру",\r
-  "Justify Right": "По правому краю",\r
-  "Justify Full": "По ширине",\r
-  "Ordered List": "Нумерованный список",\r
-  "Bulleted List": "Маркированный список",\r
-  "Decrease Indent": "Уменьшить отступ",\r
-  "Increase Indent": "Увеличить отступ",\r
-  "Font Color": "Цвет шрифта",\r
-  "Background Color": "Цвет фона",\r
-  "Horizontal Rule": "Горизонтальный разделитель",\r
-  "Insert Web Link": "Вставить гиперссылку",\r
-  "Insert/Modify Image": "Вставить изображение",\r
-  "Insert Table": "Вставить таблицу",\r
-  "Toggle HTML Source": "Показать Html-код",\r
-  "Enlarge Editor": "Увеличить редактор",\r
-  "About this editor": "О редакторе",\r
-  "Help using editor": "Помощь",\r
-  "Current style": "Текущий стиль",\r
-  "Undoes your last action": "Отменить",\r
-  "Redoes your last action": "Повторить",\r
-  "Cut selection": "Вырезать",\r
-  "Copy selection": "Копировать",\r
-  "Paste from clipboard": "Вставить",\r
-  "Direction left to right": "Направление слева направо",\r
-  "Direction right to left": "Направление справа налево",\r
-  "Remove formatting": "Убрать форматирование",\r
-  "Select all": "Выделить все",\r
-  "Print document": "Печать",\r
-  "Clear MSOffice tags": "Удалить разметку MSOffice",\r
-  "Clear Inline Font Specifications": "Удалить непосредственное задание шрифтов",\r
-  "Would you like to clear font typefaces?": "Удалить типы шрифтов?",\r
-  "Would you like to clear font sizes?": "Удалить размеры шрифтов ?",\r
-  "Would you like to clear font colours?": "Удалить цвета шрифтов ?",\r
-  "Split Block": "Разделить блок",\r
-  "Toggle Borders": "Включить/выключить отображение границ",\r
-  "Save as": "Сохранить как",\r
-  "Insert/Overwrite": "Вставка/замена",\r
-  "&mdash; format &mdash;": "&mdash; форматирование &mdash;",\r
-  "Heading 1": "Заголовок 1",\r
-  "Heading 2": "Заголовок 2",\r
-  "Heading 3": "Заголовок 3",\r
-  "Heading 4": "Заголовок 4",\r
-  "Heading 5": "Заголовок 5",\r
-  "Heading 6": "Заголовок 6",\r
-  "Normal": "Обычный текст",\r
-  "Address": "Адрес",\r
-  "Formatted": "Отформатированный текст",\r
-\r
-  "&mdash; font &mdash;": "&mdash; шрифт &mdash;",\r
-  "&mdash; size &mdash;": "&mdash; размер &mdash;",\r
-\r
-\r
-// Диалоги\r
-\r
-  "OK": "OK",\r
-  "Cancel": "Отмена",\r
-  "Path": "Путь",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Вы в режиме отображения Html-кода. нажмите кнопку [<>], чтобы переключиться в визуальный режим.",\r
-\r
-"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 на клавиатуре, чтобы вставить.",\r
-\r
-  "Your Document is not well formed. Check JavaScript console for details.": "Ваш документ неправильно сформирован. Посмотрите Консоль JavaScript, чтобы узнать подробности.",\r
-\r
-  "Alignment:": "Выравнивание",\r
-  "Not set": "Не установлено",\r
-  "Left": "По левому краю",\r
-  "Right": "По правому краю",\r
-  "Texttop": "По верхней границе текста",\r
-  "Absmiddle": "По середине текста",\r
-  "Baseline": "По нижней границе текста",\r
-  "Absbottom": "По нижней границе",\r
-  "Bottom": "По нижнему краю",\r
-  "Middle": "Посредине",\r
-  "Top": "По верхнему краю",\r
-\r
-  "Layout": "Расположение",\r
-  "Spacing": "Поля",\r
-  "Horizontal:": "По горизонтали",\r
-  "Horizontal padding": "Горизонтальные поля",\r
-  "Vertical:": "По вертикали",\r
-  "Vertical padding": "Вертикальные поля",\r
-  "Border thickness:": "Толщина рамки",\r
-  "Leave empty for no border": "Оставьте пустым, чтобы убрать рамку",\r
-\r
-  //Insert Link\r
-  "Insert/Modify Link": "Вставка/изменение ссылки",\r
-  "None (use implicit)": "По умолчанию",\r
-  "New window (_blank)": "Новое окно (_blank)",\r
-  "Same frame (_self)": "То же окно (_self)",\r
-  "Top frame (_top)": "Родительское окно (_top)",\r
-  "Other": "Другое",\r
-  "Target:": "Открывать в окне:",\r
-  "Title (tooltip):": "Всплывающая подсказка",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Вы должны указать URL, на который будет указывать ссылка",\r
-  "You need to select some text before creating a link": "Вы должны выделить текст, который будет преобразован в ссылку",\r
-\r
-  // Insert Table\r
-  "Insert Table": "Вставка таблицы",\r
-  "Rows:": "Строки",\r
-  "Number of rows": "Количество строк",\r
-  "Cols:": "Столбцы",\r
-  "Number of columns": "Количество столбцов",\r
-  "Width:": "Ширина",\r
-  "Width of the table": "Ширина таблицы",\r
-  "Percent": "проценты",\r
-  "Pixels": "пикселы",\r
-  "Em": "em",\r
-  "Width unit": "Единицы измерения",\r
-  "Fixed width columns": "Столбцы фиксированной ширины",\r
-  "Positioning of this table": "Расположение таблицы",\r
-  "Cell spacing:": "Расстояние между ячейками",\r
-  "Space between adjacent cells": "Расстояние между соседними ячейками",\r
-  "Cell padding:": "Поля в ячейках",\r
-  "Space between content and border in cell": "Расстояние между границей ячейки и текстом",\r
-  "You must enter a number of rows": "Вы должны ввести количество строк",\r
-  "You must enter a number of columns": "Вы должны ввести количество столбцов",\r
-\r
-  // Insert Image\r
-  "Insert Image": "Вставка изображения",\r
-  "Image URL:": "URL изображения",\r
-  "Enter the image URL here": "Вставьте адрес изображения",\r
-  "Preview": "Предварительный просмотр",\r
-  "Preview the image in a new window": "Предварительный просмотр в отдельном окне",\r
-  "Alternate text:": "Альтернативный текст",\r
-  "For browsers that don't support images": "Для браузеров, которые не отображают картинки",\r
-  "Positioning of this image": "Расположение изображения",\r
-  "Image Preview:": "Предварительный просмотр",\r
-  "You must enter the URL": "Вы должны ввести URL",\r
-\r
-  // Editor Help\r
-  "Xinha Help": "Помощь",\r
-  "Editor Help": "Помощь",\r
-  "Keyboard shortcuts": "Горячие клавиши",\r
-  "The editor provides the following key combinations:": "Редактор поддерживает следующие комбинации клавиш:",\r
-  "ENTER": "ENTER",\r
-  "new paragraph": "новый абзац",\r
-  "SHIFT-ENTER": "SHIFT+ENTER",\r
-  "insert linebreak": "перенос строки",\r
-  "Set format to paragraph": "Отформатировать абзац",\r
-  "Clean content pasted from Word": "Очистить текст, вставленный из Word",\r
-  "Headings": "Заголовки",\r
-  "Close": "Закрыть",\r
-\r
-  // Loading messages\r
-  "Loading in progress. Please wait !": "Загрузка... Пожалуйста, подождите.",\r
-  "Constructing main object": "Создание главного объекта",\r
-  "Constructing object": "Создание объекта",\r
-  "Register panel right": "Регистрация правой панели",\r
-  "Register panel left": "Регистрация левой панели",\r
-  "Register panel top": "Регистрация верхней панели",\r
-  "Register panel bottom": "Регистрация нижней панели",\r
-  "Create Toolbar": "Создание панели инструментов",\r
-  "Create StatusBar": "Создание панели состояния",\r
-  "Generate Xinha object": "Создание объекта Xinha",\r
-  "Init editor size": "Инициализация размера редактора",\r
-  "Init IFrame": "инициализация iframe",\r
-  "Register plugin $plugin": "Регистрация $plugin"\r
-};\r
diff --git a/mailboxes/xinha/lang/sh.js b/mailboxes/xinha/lang/sh.js
deleted file mode 100644 (file)
index 2706304..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// I18N constants
-
-// LANG: "sh", ENCODING: UTF-8 | ISO-8859-2
-// Author: Ljuba Ranković, http://www.rankovic.net/ljubar
-
-// 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.)
-
-{
-               "Bold": "Masno",
-               "Italic": "Kurziv",
-               "Underline": "Podvučeno",
-               "Strikethrough": "Precrtano",
-               "Subscript": "Indeks-tekst",
-               "Superscript": "Eksponent-tekst",
-               "Justify Left":"Ravnanje ulevo",
-               "Justify Center": "Ravnanje po simetrali",
-               "Justify Right": "Ravnanje udesno",
-               "Justify Full": "Puno ravnanje",
-               "Ordered List": "Lista sa rednim brojevima",
-               "Bulleted List": "Lista sa simbolima",
-               "Decrease Indent": "smanji uvlačenje",
-               "Increase Indent": "Povećaj uvlačenje",
-               "Font Color": "Boja slova",
-               "Background Color": "Boja pozadine",
-               "Horizontal Rule": "Horizontalna linija",
-               "Insert Web Link": "Dodaj web link",
-               "Insert/Modify Image": "Dodaj/promeni sliku",
-               "Insert Table": "Ubaci tabelu",
-               "Toggle HTML Source": "Prebaci na HTML kod",
-               "Enlarge Editor": "Povećaj editor",
-               "About this editor": "O ovom editoru",
-               "Help using editor": "Pomoć pri korišćenju editora",
-               "Current style": "Važeći stil",
-               "Undoes your last action": "Poništava poslednju radnju",
-               "Redoes your last action": "Vraća poslednju radnju",
-               "Cut selection": "Iseci izabrano",
-               "Copy selection": "Kopiraj izabrano",
-               "Paste from clipboard": "Zalepi iz klipborda",
-               "Direction left to right": "Pravac s leva na desno",
-               "Direction right to left": "Pravac s desna na levo",
-        "Remove formatting": "Ukoni formatiranje",
-        "Select all": "Izaberi sve",
-        "Print document": "Štampaj dokument",
-        "Clear MSOffice tags": "Obriši MSOffice tagove",
-        "Clear Inline Font Specifications": "Obriši dodeljene osobine fonta",
-        "Split Block": "Podeli blok",
-        "Toggle Borders": "Izmeni okvire",
-
-        "&mdash; format &mdash;": "&mdash; Format &mdash;",
-        "Heading 1": "Zaglavlje 1",
-        "Heading 2": "Zaglavlje 2",
-        "Heading 3": "Zaglavlje 3",
-        "Heading 4": "Zaglavlje 4",
-        "Heading 5": "Zaglavlje 5",
-        "Heading 6": "Zaglavlje 6",
-        "Normal": "Običan",
-        "Address": "Adresa",
-        "Formatted": "Formatiran",
-        
-        // dialogs
-               "OK": "OK",
-               "Cancel": "Poništi",
-               "Path": "Putanja",
-               "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Nalazite se u TEXT režimu.  Koristite [<>] dugme za povratak na WYSIWYG.",
-
-               "The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "",
-
-        "Alignment:": "Ravnanje",
-        "Not set": "Nije postavljeno",
-        "Left": "Levo",
-        "Right": "Desno",
-        "Texttop": "Vrh teksta",
-        "Absmiddle": "Apsolutna sredina",
-        "Baseline": "Donja linija",
-        "Absbottom": "Apsolutno dno",
-        "Bottom": "Dno",
-        "Middle": "Sredina",
-        "Top": "Vrh",
-
-        "Layout": "Prelom",
-        "Spacing": "Razmak",
-        "Horizontal:": "Po horizontali",
-        "Horizontal padding": "Horizontalno odstojanje",
-        "Vertical:": "Po vertikali",
-        "Vertical padding": "Vertikalno odstojanje",
-        "Border thickness:": "Debljina okvira",
-        "Leave empty for no border": "Ostavi prazno kad nema okvira",
-               
-        // Insert Link
-               "Insert/Modify Link": "Dodaj/promeni Link",
-               "None (use implicit)": "koristi podrazumevano",
-               "New window (_blank)": "Novom prozoru (_blank)",
-               "Same frame (_self)": "Isti frejm (_self)",
-               "Top frame (_top)": "Glavni frejm (_top)",
-               "Other": "Drugo",
-               "Target:": "Otvori u:",
-               "Title (tooltip):": "Naziv (tooltip):",
-               "URL:": "URL:",
-               "You must enter the URL where this link points to": "Morate uneti URL na koji vodi ovaj link",
-               
-        // Insert Table
-        "Insert Table": "Ubaci tabelu",
-        "Rows:": "Redovi",
-        "Number of rows": "Broj redova",
-        "Cols:": "Kolone",
-        "Number of columns": "Broj kolona",
-        "Width:": "Širina",
-        "Width of the table": "Širina tabele",
-        "Percent": "Procenat",
-        "Pixels": "Pikseli",
-        "Em": "Em",
-        "Width unit": "Jedinica širine",
-        "Fixed width columns": "Fiksirana širina kolona",
-        "Positioning of this table": "Postavljanje ove tabele",
-        "Cell spacing:": "Rastojanje ćelija",
-        "Space between adjacent cells": "Rastojanje naspramnih ćelija",
-        "Cell padding:": "Unutrašnja odstojanja u ćeliji",
-        "Space between content and border in cell": "Rastojanje između sadržaja i okvira ćelije",
-
-        // Insert Image
-        "Insert Image": "Ubaci sliku",
-        "Image URL:": "URL slike",
-        "Enter the image URL here": "Unesite URL slike ovde",
-        "Preview": "Pregled",
-        "Preview the image in a new window": "Pregledaj sliku u novom prozoru",
-        "Alternate text:": "Alternativni tekst",
-        "For browsers that don't support images": "Za pretraživače koji ne podržavaju slike",
-        "Positioning of this image": "Postavljanje ove slike",
-        "Image Preview:": "Pregled slike",
-        
-        // Select Color popup
-               "Select Color": "Izaberite boju"
-};
diff --git a/mailboxes/xinha/lang/si.js b/mailboxes/xinha/lang/si.js
deleted file mode 100644 (file)
index 90a69b5..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "si", ENCODING: UTF-8\r
-// Author: Tomaz Kregar, x_tomo_x@email.si\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-{\r
-  "Bold": "Krepko",\r
-  "Italic": "Ležeče",\r
-  "Underline": "Podčrtano",\r
-  "Strikethrough": "Prečrtano",\r
-  "Subscript": "Podpisano",\r
-  "Superscript": "Nadpisano",\r
-  "Justify Left": "Poravnaj levo",\r
-  "Justify Center": "Na sredino",\r
-  "Justify Right": "Poravnaj desno",\r
-  "Justify Full": "Porazdeli vsebino",\r
-  "Ordered List": "Oštevilčevanje",\r
-  "Bulleted List": "Označevanje",\r
-  "Decrease Indent": "Zmanjšaj zamik",\r
-  "Increase Indent": "Povečaj zamik",\r
-  "Font Color": "Barva pisave",\r
-  "Background Color": "Barva ozadja",\r
-  "Horizontal Rule": "Vodoravna črta",\r
-  "Insert Web Link": "Vstavi hiperpovezavo",\r
-  "Insert/Modify Image": "Vstavi sliko",\r
-  "Insert Table": "Vstavi tabelo",\r
-  "Toggle HTML Source": "Preklopi na HTML kodo",\r
-  "Enlarge Editor": "Povečaj urejevalnik",\r
-  "About this editor": "Vizitka za urejevalnik",\r
-  "Help using editor": "Pomoč za urejevalnik",\r
-  "Current style": "Trenutni slog",\r
-  "Undoes your last action": "Razveljavi zadnjo akcijo",\r
-  "Redoes your last action": "Uveljavi zadnjo akcijo",\r
-  "Cut selection": "Izreži",\r
-  "Copy selection": "Kopiraj",\r
-  "Paste from clipboard": "Prilepi",\r
-  "OK": "V redu",\r
-  "Cancel": "Prekliči",\r
-  "Path": "Pot",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Si v tekstovnem načinu.  Uporabi [<>] gumb za prklop nazaj na WYSIWYG."\r
-}\r
diff --git a/mailboxes/xinha/lang/sr.js b/mailboxes/xinha/lang/sr.js
deleted file mode 100644 (file)
index 06f78c4..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// I18N constants
-
-// LANG: "sh", ENCODING: UTF-8 | ISO-8859-5
-// Author: Ljuba Ranković, http://www.rankovic.net/ljubar
-
-// 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.)
-
-{
-               "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": "Пребаци на приказ ХТМЛ кода",
-               "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": "Обриши примењене особине фонта",
-        "Split Block": "Подели блок",
-        "Toggle Borders": "Пребаци оквирне линије",
-
-        "&mdash; format &mdash;": "&mdash; Format &mdash;",
-        "Heading 1": "Заглавље 1",
-        "Heading 2": "Заглавље 2",
-        "Heading 3": "Заглавље 3",
-        "Heading 4": "Заглавље 4",
-        "Heading 5": "Заглавље 5",
-        "Heading 6": "Заглавље 6",
-        "Normal": "обичан",
-        "Address": "адреса",
-        "Formatted": "форматиран",           
-               
-        // dialogs
-               "OK": "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 на тастатури да директно залепите.",
-               
-        "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):": "Назив (tooltip):",
-               "URL:": "УРЛ:",
-               "You must enter the URL where this link points to": "Морате унети УРЛ на који води овај линк",
-
-        // Insert Table
-        "Insert Table": "Убаци табелу",
-        "Rows:": "Редови",
-        "Number of rows": "Број редова",
-        "Cols:": "Колоне",
-        "Number of columns": "Број колона",
-        "Width:": "Ширина",
-        "Width of the table": "Ширина табеле",
-        "Percent": "Процената",
-        "Pixels": "Пиксела",
-        "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": "Растојање између садржаја у ћелији и њеног оквира",
-
-        // Insert Image
-        "Insert Image": "Убаци слику",
-        "Image URL:": "УРЛ слике",
-        "Enter the image URL here": "Унесите УРЛ слике овде",
-        "Preview": "Преглед",
-        "Preview the image in a new window": "Прегледај слику у новом прозору",
-        "Alternate text:": "алтернативни текст",
-        "For browsers that don't support images": "За претраживаче који не подржавају слике",
-        "Positioning of this image": "Постављање ове слике",
-        "Image Preview:": "Преглед слике",
-
-        // Select Color popup
-               "Select Color": "Изабери боју"
-};
diff --git a/mailboxes/xinha/lang/sv.js b/mailboxes/xinha/lang/sv.js
deleted file mode 100644 (file)
index 61af49e..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-// I18N constants
-// LANG: "sv", ENCODING: UTF-8
-
-// Swedish version for htmlArea v3.0
-// Initital translation by pat <pat@engvall.nu>
-// Synced with additional contants in rev. 477 (Mar 2006) by Thomas Loo <tloo@saltstorm.net>
-
-{
-  "Bold": "Fet",
-  "Italic": "Kursiv",
-  "Underline": "Understruken",
-  "Strikethrough": "Genomstruken",
-  "Subscript": "Nedsänkt",
-  "Superscript": "Upphöjd",
-  "Justify Left": "Vänsterjustera",
-  "Justify Center": "Centrera",
-  "Justify Right": "Högerjustera",
-  "Justify Full": "Marginaljustera",
-  "Ordered List": "Numrerad lista",
-  "Bulleted List": "Punktlista",
-  "Decrease Indent": "Minska indrag",
-  "Increase Indent": "Öka indrag",
-  "Font Color": "Textfärg",
-  "Background Color": "Bakgrundsfärg",
-  "Horizontal Rule": "Vågrät linje",
-  "Insert Web Link": "Infoga länk",
-  "Insert/Modify Image": "Infoga bild",
-  "Toggle HTML Source": "Visa källkod",
-  "Enlarge Editor": "Visa i eget fönster",
-  "About this editor": "Om denna editor",
-  "Help using editor": "Hjälp",
-  "Current style": "Nuvarande stil",
-
-  "Undoes your last action": "Ångra kommando",
-  "Redoes your last action": "Upprepa kommando",
-  "Select all": "Markera allt",
-  "Print document": "Skriv ut",
-  "Clear MSOffice tags": "Städa bort MS Office taggar",
-  "Clear Inline Font Specifications": "Rensa inbäddad typsnittsinformation",
-  "Remove formatting": "Rensa formattering",
-  "Toggle Borders": "Objektramar",
-  "Split Block": "Dela block",
-  "Direction left to right": "Vänster till höger",
-  "Direction right to left": "Höger till vänster",
-
-  "Insert/Overwrite": "Infoga/Skriv över",
-  "OK": "OK",
-  "Cancel": "Avbryt",
-  "Path": "Objekt",
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Du befinner dig i texläge. Klicka på ikonen [<>] ovan för att växla tillbaka till WYSIWIG läge",
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Visning i fullskärmsläga fungerar dåligt i din webläsare. Möjliga problem resulterar i en ryckig editor, saknade editorfunktioner och/eller att webläsaren kraschar. Om du använder Windows 95/98 finns också möjligheten att Windows kraschar.\n\nTryck ",
-  "The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Denna knapp fungerar ej i Mozillabaserad webläsare, använd istället snabbtangenterna CTRL-V på tangentbordet för att klistra in.",
-
-  "Insert/Modify Link": "Redigera länk",
-  "New window (_blank)": "Nytt fönster (_blank)",
-  "None (use implicit)": "Ingen (använd standardinställing)",
-  "Other": "Annan",
-  "Same frame (_self)": "Samma ram (_self)",
-  "Target:": "Mål:",
-  "Title (tooltip):": "Titel (tooltip):",
-  "Top frame (_top)": "Toppram (_top)",
-  "URL:": "Sökväg:",
-  "You must enter the URL where this link points to": "Du måsta ange en adress till vilken länken skall peka på",
-  "Would you like to clear font typefaces?": "Radera alla typsnittsinformation ?",
-  "Would you like to clear font sizes?": "Radera alla fontstorlekar ?",
-  "Would you like to clear font colours?": "Ta bort all textfärger ?",
-
-  "You need to select some text before creating a link": "Du måsta markera ett objekt att applicera länken på!",
-
-  // Insert Table
-  "Insert Table": "Infoga tabell",
-  "Rows:": "Rader:",
-  "Number of rows": "Antal rader",
-  "Cols:": "Kolumner:",
-  "Number of columns": "Antal kolumner",
-  "Width:": "Bredd:",
-  "Width of the table": "Tabellbredd",
-  "Percent": "Procent",
-  "Pixels": "Pixlar",
-  "Em": "",
-  "Width unit": "Breddenheter",
-  "Fixed width columns": "Fixerad bredd",
-  "Alignment:": "Marginaljustering",
-  "Positioning of this table": "Tabellposition",
-  "Border thickness:": "Ramtjocklek",
-  "Leave empty for no border": "Lämna fältet tomt för att undvika ramar",
-  "Spacing": "Cellegenskaper",
-  "Cell spacing:": "Cellmarginaler:",
-  "Space between adjacent cells": "Utrymme mellan celler",
-  "Cell padding:": "Cellindrag:",
-  "Space between content and border in cell": "Utrymme mellan ram och cellinnehåll",
-  "You must enter a number of rows": "Ange ental rader",
-  "You must enter a number of columns": "Ange antal kolumner",
-
-  // Editor Help
-  "Keyboard shortcuts": "Snabbtangenter",
-  "The editor provides the following key combinations:": "Editorn nyttjar följande kombinationer:",
-  "new paragraph": "Ny paragraf ",
-  "insert linebreak": "Infoga radbrytning ",
-  "Set format to paragraph": "Aktivera paragrafläge",
-  "Clean content pasted from Word": "Rensa innehåll inklistrat från MS Word",
-  "Headings": "Skapa standardrubrik",
-  "Cut selection": "Klipp ut markering",
-  "Copy selection": "Kopiera  markering",
-  "Paste from clipboard": "Klistra in",
-  "Close": "Stäng",
-
-  // Loading messages
-  "Loading in progress. Please wait !": "Editorn laddas. Vänta...",
-  "Constructing main object": "Skapar huvudobjekt",
-  "Create Toolbar": "Skapar verktygspanel",
-  "Register panel right": "Registerar panel höger",
-  "Register panel left": "Registerar panel vänster",
-  "Register panel top": "Registerar toppanel",
-  "Register panel bottom": "Registerar fotpanel"
-}
diff --git a/mailboxes/xinha/lang/vn.js b/mailboxes/xinha/lang/vn.js
deleted file mode 100644 (file)
index 4bdd0d3..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// I18N constants : Vietnamese\r
-// LANG: "en", ENCODING: UTF-8\r
-// Author: Nguyễn Đình Nam, <hncryptologist@yahoo.com>\r
-// Modified 21/07/2004 by Phạm Mai Quân <pmquan@4vn.org>\r
-\r
-{\r
-  "Bold": "Đậm",\r
-  "Italic": "Nghiêng",\r
-  "Underline": "Gạch Chân",\r
-  "Strikethrough": "Gạch Xóa",\r
-  "Subscript": "Viết Xuống Dưới",\r
-  "Superscript": "Viết Lên Trên",\r
-  "Justify Left": "Căn Trái",\r
-  "Justify Center": "Căn Giữa",\r
-  "Justify Right": "Căn Phải",\r
-  "Justify Full": "Căn Đều",\r
-  "Ordered List": "Danh Sách Có Thứ Tự (1, 2, 3)",\r
-  "Bulleted List": "Danh Sách Phi Thứ Tự (Chấm đầu dòng)",\r
-  "Decrease Indent": "Lùi Ra Ngoài",\r
-  "Increase Indent": "Thụt Vào Trong",\r
-  "Font Color": "Màu Chữ",\r
-  "Background Color": "Màu Nền",\r
-  "Horizontal Rule": "Dòng Kẻ Ngang",\r
-  "Insert Web Link": "Tạo Liên Kết",\r
-  "Insert/Modify Image": "Chèn Ảnh",\r
-  "Insert Table": "Chèn Bảng",\r
-  "Toggle HTML Source": "Chế Độ Mã HTML",\r
-  "Enlarge Editor": "Phóng To Ô Soạn Thảo",\r
-  "About this editor": "Tự Giới Thiệu",\r
-  "Help using editor": "Giúp Đỡ",\r
-  "Current style": "Định Dạng Hiện Thời",\r
-  "Undoes your last action": "Hủy thao tác trước",\r
-  "Redoes your last action": "Lấy lại thao tác vừa bỏ",\r
-  "Cut selection": "Cắt",\r
-  "Copy selection": "Sao chép",\r
-  "Paste from clipboard": "Dán",\r
-  "Direction left to right": "Viết từ trái sang phải",\r
-  "Direction right to left": "Viết từ phải sang trái",\r
-  "OK": "Đồng ý",\r
-  "Cancel": "Hủy",\r
-  "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Chế độ phóng to ô soạn thảo có thể gây lỗi với Internet Explorer vì một số lỗi của trình duyệt này, vì thế chế độ này có thể sẽ không chạy. Hiển thị không đúng, lộn xộn, không có đầy đủ chức năng, và cũng có thể làm trình duyệt của bạn bị tắt ngang. Nếu bạn đang sử dụng Windows 9x bạn có thể bị báo lỗi ",\r
-  "Path": "Đường Dẫn",\r
-  "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWYG.": "Bạn đang ở chế độ text.  Sử dụng nút [<>] để chuyển lại chế độ WYSIWIG.",\r
-  "Cancel": "Hủy",\r
-  "Insert/Modify Link": "Thêm/Chỉnh sửa đường dẫn",\r
-  "New window (_blank)": "Cửa sổ mới (_blank)",\r
-  "None (use implicit)": "Không (sử dụng implicit)",\r
-  "OK": "Đồng ý",\r
-  "Other": "Khác",\r
-  "Same frame (_self)": "Trên cùng khung (_self)",\r
-  "Target:": "Nơi hiện thị:",\r
-  "Title (tooltip):": "Tiêu đề (của hướng dẫn):",\r
-  "Top frame (_top)": "Khung trên cùng (_top)",\r
-  "URL:": "URL:",\r
-  "You must enter the URL where this link points to": "Bạn phải điền địa chỉ (URL) mà đường dẫn sẽ liên kết tới"\r
-}\r
diff --git a/mailboxes/xinha/license.txt b/mailboxes/xinha/license.txt
deleted file mode 100644 (file)
index e7798cf..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-htmlArea License (based on BSD license)\r
-Copyright (c) 2002-2004, interactivetools.com, inc.\r
-Copyright (c) 2003-2004 dynarch.com\r
-All rights reserved.\r
-\r
-Redistribution and use in source and binary forms, with or without\r
-modification, are permitted provided that the following conditions are met:\r
-\r
-1) Redistributions of source code must retain the above copyright notice,\r
-   this list of conditions and the following disclaimer.\r
-\r
-2) Redistributions in binary form must reproduce the above copyright notice,\r
-   this list of conditions and the following disclaimer in the documentation\r
-   and/or other materials provided with the distribution.\r
-\r
-3) Neither the name of interactivetools.com, inc. nor the names of its\r
-   contributors may be used to endorse or promote products derived from this\r
-   software without specific prior written permission.\r
-\r
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\r
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
-POSSIBILITY OF SUCH DAMAGE.\r
diff --git a/mailboxes/xinha/modules/ColorPicker/ColorPicker.js b/mailboxes/xinha/modules/ColorPicker/ColorPicker.js
deleted file mode 100644 (file)
index dfdeb85..0000000
+++ /dev/null
@@ -1,522 +0,0 @@
-ColorPicker._pluginInfo={name:"colorPicker",version:"1.0",developer:"James Sleeman",developer_url:"http://www.gogo.co.nz/",c_owner:"Gogo Internet Services",license:"htmlArea",sponsor:"Gogo Internet Services",sponsor_url:"http://www.gogo.co.nz/"};
-function ColorPicker(){
-}
-Xinha.colorPicker=function(_1){
-if(Xinha.colorPicker.savedColors.length===0){
-Xinha.colorPicker.loadColors();
-}
-var _2=this;
-var _3=false;
-var _4=false;
-var _5=0;
-var _6=0;
-this.callback=_1.callback?_1.callback:function(_7){
-alert("You picked "+_7);
-};
-this.websafe=_1.websafe?_1.websafe:false;
-this.savecolors=_1.savecolors?_1.savecolors:20;
-this.cellsize=parseInt(_1.cellsize?_1.cellsize:"10px",10);
-this.side=_1.granularity?_1.granularity:18;
-var _8=this.side+1;
-var _9=this.side-1;
-this.value=1;
-this.saved_cells=null;
-this.table=document.createElement("table");
-this.table.className="dialog";
-this.table.cellSpacing=this.table.cellPadding=0;
-this.table.onmouseup=function(){
-_3=false;
-_4=false;
-};
-this.tbody=document.createElement("tbody");
-this.table.appendChild(this.tbody);
-this.table.style.border="1px solid WindowFrame";
-this.table.style.zIndex="1000";
-var tr=document.createElement("tr");
-var td=document.createElement("td");
-td.colSpan=this.side;
-td.className="title";
-td.style.fontFamily="small-caption,caption,sans-serif";
-td.style.fontSize="x-small";
-td.appendChild(document.createTextNode(Xinha._lc("Click a color...")));
-td.style.borderBottom="1px solid WindowFrame";
-tr.appendChild(td);
-td=null;
-var td=document.createElement("td");
-td.className="title";
-td.colSpan=2;
-td.style.fontFamily="Tahoma,Verdana,sans-serif";
-td.style.borderBottom="1px solid WindowFrame";
-td.style.paddingRight="0";
-tr.appendChild(td);
-var _c=document.createElement("div");
-_c.title=Xinha._lc("Close");
-_c.className="buttonColor";
-_c.style.height="11px";
-_c.style.width="11px";
-_c.style.cursor="pointer";
-_c.onclick=function(){
-_2.close();
-};
-_c.appendChild(document.createTextNode("\xd7"));
-_c.align="center";
-_c.style.verticalAlign="top";
-_c.style.position="relative";
-_c.style.cssFloat="right";
-_c.style.styleFloat="right";
-_c.style.padding="0";
-_c.style.margin="2px";
-_c.style.backgroundColor="transparent";
-_c.style.fontSize="11px";
-if(!Xinha.is_ie){
-_c.style.lineHeight="9px";
-}
-_c.style.letterSpacing="0";
-td.appendChild(_c);
-this.tbody.appendChild(tr);
-_c=tr=td=null;
-this.constrain_cb=document.createElement("input");
-this.constrain_cb.type="checkbox";
-this.chosenColor=document.createElement("input");
-this.chosenColor.type="text";
-this.chosenColor.maxLength=7;
-this.chosenColor.style.width="50px";
-this.chosenColor.style.fontSize="11px";
-this.chosenColor.onchange=function(){
-if(/#[0-9a-f]{6,6}/i.test(this.value)){
-_2.backSample.style.backgroundColor=this.value;
-_2.foreSample.style.color=this.value;
-}
-};
-this.backSample=document.createElement("div");
-this.backSample.appendChild(document.createTextNode("\xa0"));
-this.backSample.style.fontWeight="bold";
-this.backSample.style.fontFamily="small-caption,caption,sans-serif";
-this.backSample.fontSize="x-small";
-this.foreSample=document.createElement("div");
-this.foreSample.appendChild(document.createTextNode(Xinha._lc("Sample")));
-this.foreSample.style.fontWeight="bold";
-this.foreSample.style.fontFamily="small-caption,caption,sans-serif";
-this.foreSample.fontSize="x-small";
-function toHex(_d){
-var h=_d.toString(16);
-if(h.length<2){
-h="0"+h;
-}
-return h;
-}
-function tupleToColor(_f){
-return "#"+toHex(_f.red)+toHex(_f.green)+toHex(_f.blue);
-}
-function nearestPowerOf(num,_11){
-return Math.round(Math.round(num/_11)*_11);
-}
-function doubleHexDec(dec){
-return parseInt(dec.toString(16)+dec.toString(16),16);
-}
-function rgbToWebsafe(_13){
-_13.red=doubleHexDec(nearestPowerOf(parseInt(toHex(_13.red).charAt(0),16),3));
-_13.blue=doubleHexDec(nearestPowerOf(parseInt(toHex(_13.blue).charAt(0),16),3));
-_13.green=doubleHexDec(nearestPowerOf(parseInt(toHex(_13.green).charAt(0),16),3));
-return _13;
-}
-function hsvToRGB(h,s,v){
-var _17;
-if(s===0){
-_17={red:v,green:v,blue:v};
-}else{
-h/=60;
-var i=Math.floor(h);
-var f=h-i;
-var p=v*(1-s);
-var q=v*(1-s*f);
-var t=v*(1-s*(1-f));
-switch(i){
-case 0:
-_17={red:v,green:t,blue:p};
-break;
-case 1:
-_17={red:q,green:v,blue:p};
-break;
-case 2:
-_17={red:p,green:v,blue:t};
-break;
-case 3:
-_17={red:p,green:q,blue:v};
-break;
-case 4:
-_17={red:t,green:p,blue:v};
-break;
-default:
-_17={red:v,green:p,blue:q};
-break;
-}
-}
-_17.red=Math.ceil(_17.red*255);
-_17.green=Math.ceil(_17.green*255);
-_17.blue=Math.ceil(_17.blue*255);
-return _17;
-}
-this.open=function(_1d,_1e,_1f){
-this.table.style.display="";
-this.pick_color();
-if(_1f&&/#[0-9a-f]{6,6}/i.test(_1f)){
-this.chosenColor.value=_1f;
-this.backSample.style.backgroundColor=_1f;
-this.foreSample.style.color=_1f;
-}
-this.table.style.position="absolute";
-var e=_1e;
-var top=0;
-var _22=0;
-do{
-top+=e.offsetTop;
-_22+=e.offsetLeft;
-e=e.offsetParent;
-}while(e);
-var x,y;
-if(/top/.test(_1d)){
-if(top-this.table.offsetHeight>0){
-this.table.style.top=(top-this.table.offsetHeight)+"px";
-}else{
-this.table.style.top=0;
-}
-}else{
-this.table.style.top=(top+_1e.offsetHeight)+"px";
-}
-if(/left/.test(_1d)){
-this.table.style.left=_22+"px";
-}else{
-if(_22-(this.table.offsetWidth-_1e.offsetWidth)>0){
-this.table.style.left=(_22-(this.table.offsetWidth-_1e.offsetWidth))+"px";
-}else{
-this.table.style.left=0;
-}
-}
-};
-function pickCell(_24){
-_2.chosenColor.value=_24.colorCode;
-_2.backSample.style.backgroundColor=_24.colorCode;
-_2.foreSample.style.color=_24.colorCode;
-if((_24.hue>=195&&_24.saturation>0.5)||(_24.hue===0&&_24.saturation===0&&_24.value<0.5)||(_24.hue!==0&&_2.value<0.75)){
-_24.style.borderColor="#fff";
-}else{
-_24.style.borderColor="#000";
-}
-_5=_24.thisrow;
-_6=_24.thiscol;
-}
-function pickValue(_25){
-if(_2.value<0.5){
-_25.style.borderColor="#fff";
-}else{
-_25.style.borderColor="#000";
-}
-_9=_25.thisrow;
-_8=_25.thiscol;
-_2.chosenColor.value=_2.saved_cells[_5][_6].colorCode;
-_2.backSample.style.backgroundColor=_2.saved_cells[_5][_6].colorCode;
-_2.foreSample.style.color=_2.saved_cells[_5][_6].colorCode;
-}
-function unpickCell(row,col){
-_2.saved_cells[row][col].style.borderColor=_2.saved_cells[row][col].colorCode;
-}
-this.pick_color=function(){
-var _28,cols;
-var _29=this;
-var _2a=359/(this.side);
-var _2b=1/(this.side-1);
-var _2c=1/(this.side-1);
-var _2d=this.constrain_cb.checked;
-if(this.saved_cells===null){
-this.saved_cells=[];
-for(var row=0;row<this.side;row++){
-var tr=document.createElement("tr");
-this.saved_cells[row]=[];
-for(var col=0;col<this.side;col++){
-var td=document.createElement("td");
-if(_2d){
-td.colorCode=tupleToColor(rgbToWebsafe(hsvToRGB(_2a*row,_2b*col,this.value)));
-}else{
-td.colorCode=tupleToColor(hsvToRGB(_2a*row,_2b*col,this.value));
-}
-this.saved_cells[row][col]=td;
-td.style.height=this.cellsize+"px";
-td.style.width=this.cellsize-2+"px";
-td.style.borderWidth="1px";
-td.style.borderStyle="solid";
-td.style.borderColor=td.colorCode;
-td.style.backgroundColor=td.colorCode;
-if(row==_5&&col==_6){
-td.style.borderColor="#000";
-this.chosenColor.value=td.colorCode;
-this.backSample.style.backgroundColor=td.colorCode;
-this.foreSample.style.color=td.colorCode;
-}
-td.hue=_2a*row;
-td.saturation=_2b*col;
-td.thisrow=row;
-td.thiscol=col;
-td.onmousedown=function(){
-_3=true;
-_29.saved_cells[_5][_6].style.borderColor=_29.saved_cells[_5][_6].colorCode;
-pickCell(this);
-};
-td.onmouseover=function(){
-if(_3){
-pickCell(this);
-}
-};
-td.onmouseout=function(){
-if(_3){
-this.style.borderColor=this.colorCode;
-}
-};
-td.ondblclick=function(){
-Xinha.colorPicker.remember(this.colorCode,_29.savecolors);
-_29.callback(this.colorCode);
-_29.close();
-};
-td.appendChild(document.createTextNode(" "));
-td.style.cursor="pointer";
-tr.appendChild(td);
-td=null;
-}
-var td=document.createElement("td");
-td.appendChild(document.createTextNode(" "));
-td.style.width=this.cellsize+"px";
-tr.appendChild(td);
-td=null;
-var td=document.createElement("td");
-this.saved_cells[row][col+1]=td;
-td.appendChild(document.createTextNode(" "));
-td.style.width=this.cellsize-2+"px";
-td.style.height=this.cellsize+"px";
-td.constrainedColorCode=tupleToColor(rgbToWebsafe(hsvToRGB(0,0,_2c*row)));
-td.style.backgroundColor=td.colorCode=tupleToColor(hsvToRGB(0,0,_2c*row));
-td.style.borderWidth="1px";
-td.style.borderStyle="solid";
-td.style.borderColor=td.colorCode;
-if(row==_9){
-td.style.borderColor="black";
-}
-td.hue=_2a*row;
-td.saturation=_2b*col;
-td.hsv_value=_2c*row;
-td.thisrow=row;
-td.thiscol=col+1;
-td.onmousedown=function(){
-_4=true;
-_29.saved_cells[_9][_8].style.borderColor=_29.saved_cells[_9][_8].colorCode;
-_29.value=this.hsv_value;
-_29.pick_color();
-pickValue(this);
-};
-td.onmouseover=function(){
-if(_4){
-_29.value=this.hsv_value;
-_29.pick_color();
-pickValue(this);
-}
-};
-td.onmouseout=function(){
-if(_4){
-this.style.borderColor=this.colorCode;
-}
-};
-td.style.cursor="pointer";
-tr.appendChild(td);
-td=null;
-this.tbody.appendChild(tr);
-tr=null;
-}
-var tr=document.createElement("tr");
-this.saved_cells[row]=[];
-for(var col=0;col<this.side;col++){
-var td=document.createElement("td");
-if(_2d){
-td.colorCode=tupleToColor(rgbToWebsafe(hsvToRGB(0,0,_2c*(this.side-col-1))));
-}else{
-td.colorCode=tupleToColor(hsvToRGB(0,0,_2c*(this.side-col-1)));
-}
-this.saved_cells[row][col]=td;
-td.style.height=this.cellsize+"px";
-td.style.width=this.cellsize-2+"px";
-td.style.borderWidth="1px";
-td.style.borderStyle="solid";
-td.style.borderColor=td.colorCode;
-td.style.backgroundColor=td.colorCode;
-td.hue=0;
-td.saturation=0;
-td.value=_2c*(this.side-col-1);
-td.thisrow=row;
-td.thiscol=col;
-td.onmousedown=function(){
-_3=true;
-_29.saved_cells[_5][_6].style.borderColor=_29.saved_cells[_5][_6].colorCode;
-pickCell(this);
-};
-td.onmouseover=function(){
-if(_3){
-pickCell(this);
-}
-};
-td.onmouseout=function(){
-if(_3){
-this.style.borderColor=this.colorCode;
-}
-};
-td.ondblclick=function(){
-Xinha.colorPicker.remember(this.colorCode,_29.savecolors);
-_29.callback(this.colorCode);
-_29.close();
-};
-td.appendChild(document.createTextNode(" "));
-td.style.cursor="pointer";
-tr.appendChild(td);
-td=null;
-}
-this.tbody.appendChild(tr);
-tr=null;
-var tr=document.createElement("tr");
-var td=document.createElement("td");
-tr.appendChild(td);
-td.colSpan=this.side+2;
-td.style.padding="3px";
-if(this.websafe){
-var div=document.createElement("div");
-var _33=document.createElement("label");
-_33.appendChild(document.createTextNode(Xinha._lc("Web Safe: ")));
-this.constrain_cb.onclick=function(){
-_29.pick_color();
-};
-_33.appendChild(this.constrain_cb);
-_33.style.fontFamily="small-caption,caption,sans-serif";
-_33.style.fontSize="x-small";
-div.appendChild(_33);
-td.appendChild(div);
-div=null;
-}
-var div=document.createElement("div");
-var _33=document.createElement("label");
-_33.style.fontFamily="small-caption,caption,sans-serif";
-_33.style.fontSize="x-small";
-_33.appendChild(document.createTextNode(Xinha._lc("Color: ")));
-_33.appendChild(this.chosenColor);
-div.appendChild(_33);
-var but=document.createElement("span");
-but.className="buttonColor ";
-but.style.fontSize="13px";
-but.style.width="24px";
-but.style.marginLeft="2px";
-but.style.padding="0px 4px";
-but.style.cursor="pointer";
-but.onclick=function(){
-Xinha.colorPicker.remember(_29.chosenColor.value,_29.savecolors);
-_29.callback(_29.chosenColor.value);
-_29.close();
-};
-but.appendChild(document.createTextNode("OK"));
-but.align="center";
-div.appendChild(but);
-td.appendChild(div);
-var _35=document.createElement("table");
-_35.style.width="100%";
-var _36=document.createElement("tbody");
-_35.appendChild(_36);
-var _37=document.createElement("tr");
-_36.appendChild(_37);
-var _38=document.createElement("td");
-_37.appendChild(_38);
-_38.appendChild(this.backSample);
-_38.style.width="50%";
-var _39=document.createElement("td");
-_37.appendChild(_39);
-_39.appendChild(this.foreSample);
-_39.style.width="50%";
-td.appendChild(_35);
-var _3a=document.createElement("div");
-_3a.style.clear="both";
-function createSavedColors(_3b){
-var _3c=false;
-var div=document.createElement("div");
-div.style.width=_29.cellsize+"px";
-div.style.height=_29.cellsize+"px";
-div.style.margin="1px";
-div.style.border="1px solid black";
-div.style.cursor="pointer";
-div.style.backgroundColor=_3b;
-div.style[_3c?"styleFloat":"cssFloat"]="left";
-div.ondblclick=function(){
-_29.callback(_3b);
-_29.close();
-};
-div.onclick=function(){
-_29.chosenColor.value=_3b;
-_29.backSample.style.backgroundColor=_3b;
-_29.foreSample.style.color=_3b;
-};
-_3a.appendChild(div);
-}
-for(var _3e=0;_3e<Xinha.colorPicker.savedColors.length;_3e++){
-createSavedColors(Xinha.colorPicker.savedColors[_3e]);
-}
-td.appendChild(_3a);
-this.tbody.appendChild(tr);
-document.body.appendChild(this.table);
-}else{
-for(var row=0;row<this.side;row++){
-for(var col=0;col<this.side;col++){
-if(_2d){
-this.saved_cells[row][col].colorCode=tupleToColor(rgbToWebsafe(hsvToRGB(_2a*row,_2b*col,this.value)));
-}else{
-this.saved_cells[row][col].colorCode=tupleToColor(hsvToRGB(_2a*row,_2b*col,this.value));
-}
-this.saved_cells[row][col].style.backgroundColor=this.saved_cells[row][col].colorCode;
-this.saved_cells[row][col].style.borderColor=this.saved_cells[row][col].colorCode;
-}
-}
-var _3f=this.saved_cells[_5][_6];
-this.chosenColor.value=_3f.colorCode;
-this.backSample.style.backgroundColor=_3f.colorCode;
-this.foreSample.style.color=_3f.colorCode;
-if((_3f.hue>=195&&_3f.saturation>0.5)||(_3f.hue===0&&_3f.saturation===0&&_3f.value<0.5)||(_3f.hue!==0&&_29.value<0.75)){
-_3f.style.borderColor="#fff";
-}else{
-_3f.style.borderColor="#000";
-}
-}
-};
-this.close=function(){
-this.table.style.display="none";
-};
-};
-Xinha.colorPicker.savedColors=[];
-Xinha.colorPicker.remember=function(_40,_41){
-for(var i=Xinha.colorPicker.savedColors.length;i--;){
-if(Xinha.colorPicker.savedColors[i]==_40){
-return false;
-}
-}
-Xinha.colorPicker.savedColors.splice(0,0,_40);
-Xinha.colorPicker.savedColors=Xinha.colorPicker.savedColors.slice(0,_41);
-var _43=new Date();
-_43.setMonth(_43.getMonth()+1);
-document.cookie="XinhaColorPicker="+escape(Xinha.colorPicker.savedColors.join("-"))+";expires="+_43.toGMTString();
-return true;
-};
-Xinha.colorPicker.loadColors=function(){
-var _44=document.cookie.indexOf("XinhaColorPicker");
-if(_44!=-1){
-var _45=(document.cookie.indexOf("=",_44)+1);
-var end=document.cookie.indexOf(";",_44);
-if(end==-1){
-end=document.cookie.length;
-}
-Xinha.colorPicker.savedColors=unescape(document.cookie.substring(_45,end)).split("-");
-}
-};
-Xinha.colorPicker._lc=function(_47){
-return Xinha._lc(_47);
-};
-\r
diff --git a/mailboxes/xinha/modules/CreateLink/link.html b/mailboxes/xinha/modules/CreateLink/link.html
deleted file mode 100644 (file)
index adad400..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-<html>
-
-<head>
-  <title>Insert/Modify Link</title>
-  <script type="text/javascript" src="../../popups/popup.js"></script>
-  <link rel="stylesheet" type="text/css" href="../../popups/popup.css" />
-
-  <script type="text/javascript">
-    window.resizeTo(400, 200);
-
-Xinha = window.opener.Xinha;
-
-function i18n(str) {
-  return (Xinha._lc(str, 'Xinha'));
-}
-
-function onTargetChanged() {
-  var f = document.getElementById("f_other_target");
-  if (this.value == "_other") {
-    f.style.visibility = "visible";
-    f.select();
-    f.focus();
-  } else f.style.visibility = "hidden";
-}
-
-function Init() {
-  __dlg_translate('Xinha');
-  __dlg_init();
-
-  // Make sure the translated string appears in the drop down. (for gecko)
-  document.getElementById("f_target").selectedIndex = 1;
-  document.getElementById("f_target").selectedIndex = 0;
-
-  var param = window.dialogArguments;
-  var target_select = document.getElementById("f_target");
-  var use_target = true;
-  if (param) {
-    if ( typeof param["f_usetarget"] != "undefined" ) {
-      use_target = param["f_usetarget"];
-    }
-    if ( typeof param["f_href"] != "undefined" ) {
-      document.getElementById("f_href").value = param["f_href"];
-      document.getElementById("f_title").value = param["f_title"];
-      comboSelectValue(target_select, param["f_target"]);
-      if (target_select.value != param.f_target) {
-        var opt = document.createElement("option");
-        opt.value = param.f_target;
-        opt.innerHTML = opt.value;
-        target_select.appendChild(opt);
-        opt.selected = true;
-      }
-    }
-  }
-  if (! use_target) {
-    document.getElementById("f_target_label").style.visibility = "hidden";
-    document.getElementById("f_target").style.visibility = "hidden";
-    document.getElementById("f_other_target").style.visibility = "hidden";
-  }
-  var opt = document.createElement("option");
-  opt.value = "_other";
-  opt.innerHTML = i18n("Other");
-  target_select.appendChild(opt);
-  target_select.onchange = onTargetChanged;
-  document.getElementById("f_href").focus();
-  document.getElementById("f_href").select();
-}
-
-function onOK() {
-  var required = {
-    // f_href shouldn't be required or otherwise removing the link by entering an empty
-    // url isn't possible anymore.
-    // "f_href": i18n("You must enter the URL where this link points to")
-  };
-  for (var i in required) {
-    var el = document.getElementById(i);
-    if (!el.value) {
-      alert(required[i]);
-      el.focus();
-      return false;
-    }
-  }
-  // pass data back to the calling window
-  var fields = ["f_href", "f_title", "f_target" ];
-  var param = new Object();
-  for (var i in fields) {
-    var id = fields[i];
-    var el = document.getElementById(id);
-    param[id] = el.value;
-  }
-  if (param.f_target == "_other")
-    param.f_target = document.getElementById("f_other_target").value;
-  __dlg_close(param);
-  return false;
-}
-
-function onCancel() {
-  __dlg_close(null);
-  return false;
-}
-
-</script>
-
-</head>
-
-<body class="dialog" onload="Init()">
-<div class="title">Insert/Modify Link</div>
-<form>
-<table border="0" style="width: 100%;">
-  <tr>
-    <td class="label">URL:</td>
-    <td><input type="text" id="f_href" style="width: 100%" /></td>
-  </tr>
-  <tr>
-    <td class="label">Title (tooltip):</td>
-    <td><input type="text" id="f_title" style="width: 100%" /></td>
-  </tr>
-  <tr>
-    <td class="label"><span id="f_target_label">Target:</span></td>
-    <td><select id="f_target">
-      <option value="">None (use implicit)</option>
-      <option value="_blank">New window (_blank)</option>
-      <option value="_self">Same frame (_self)</option>
-      <option value="_top">Top frame (_top)</option>
-    </select>
-    <input type="text" name="f_other_target" id="f_other_target" size="10" style="visibility: hidden" />
-    </td>
-  </tr>
-</table>
-
-<div id="buttons">
-  <button type="submit" name="ok" onclick="return onOK();">OK</button>
-  <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
-</div>
-</form>
-</body>
-</html>
\ No newline at end of file
diff --git a/mailboxes/xinha/modules/CreateLink/link.js b/mailboxes/xinha/modules/CreateLink/link.js
deleted file mode 100644 (file)
index 57d8c1b..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-CreateLink._pluginInfo={name:"CreateLink",origin:"Xinha Core",version:"$LastChangedRevision: 694 $".replace(/^[^:]*: (.*) \$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/modules/CreateLink/link.js $".replace(/^[^:]*: (.*) \$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"};
-function CreateLink(_1){
-}
-Xinha.prototype._createLink=function(_2){
-var _3=this;
-var _4=null;
-if(typeof _2=="undefined"){
-_2=this.getParentElement();
-if(_2){
-while(_2&&!/^a$/i.test(_2.tagName)){
-_2=_2.parentNode;
-}
-}
-}
-if(!_2){
-var _5=_3.getSelection();
-var _6=_3.createRange(_5);
-var _7=0;
-if(Xinha.is_ie){
-if(_5.type=="Control"){
-_7=_6.length;
-}else{
-_7=_6.compareEndPoints("StartToEnd",_6);
-}
-}else{
-_7=_6.compareBoundaryPoints(_6.START_TO_END,_6);
-}
-if(_7===0){
-alert(Xinha._lc("You need to select some text before creating a link"));
-return;
-}
-_4={f_href:"",f_title:"",f_target:"",f_usetarget:_3.config.makeLinkShowsTarget};
-}else{
-_4={f_href:Xinha.is_ie?_3.stripBaseURL(_2.href):_2.getAttribute("href"),f_title:_2.title,f_target:_2.target,f_usetarget:_3.config.makeLinkShowsTarget};
-}
-Dialog(_3.config.URIs.link,function(_8){
-if(!_8){
-return false;
-}
-var a=_2;
-if(!a){
-try{
-var _a=Xinha.uniq("http://www.example.com/Link");
-_3._doc.execCommand("createlink",false,_a);
-var _b=_3._doc.getElementsByTagName("a");
-for(var i=0;i<_b.length;i++){
-var _d=_b[i];
-if(_d.href==_a){
-if(!a){
-a=_d;
-}
-_d.href=_8.f_href;
-if(_8.f_target){
-_d.target=_8.f_target;
-}
-if(_8.f_title){
-_d.title=_8.f_title;
-}
-}
-}
-}
-catch(ex){
-}
-}else{
-var _e=_8.f_href.trim();
-_3.selectNodeContents(a);
-if(_e===""){
-_3._doc.execCommand("unlink",false,null);
-_3.updateToolbar();
-return false;
-}else{
-a.href=_e;
-}
-}
-if(!(a&&a.tagName.toLowerCase()=="a")){
-return false;
-}
-a.target=_8.f_target.trim();
-a.title=_8.f_title.trim();
-_3.selectNodeContents(a);
-_3.updateToolbar();
-},_4);
-};
-\r
diff --git a/mailboxes/xinha/modules/Dialogs/dialog.js b/mailboxes/xinha/modules/Dialogs/dialog.js
deleted file mode 100644 (file)
index fcb57d5..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-function Dialog(_1,_2,_3){
-if(typeof _3=="undefined"){
-_3=window;
-}
-Dialog._geckoOpenModal(_1,_2,_3);
-}
-Dialog._parentEvent=function(ev){
-setTimeout(function(){
-if(Dialog._modal&&!Dialog._modal.closed){
-Dialog._modal.focus();
-}
-},50);
-try{
-if(Dialog._modal&&!Dialog._modal.closed){
-Xinha._stopEvent(ev);
-}
-}
-catch(e){
-}
-};
-Dialog._return=null;
-Dialog._modal=null;
-Dialog._arguments=null;
-Dialog._geckoOpenModal=function(_5,_6,_7){
-var _8=window.open(_5,"hadialog","toolbar=no,menubar=no,personalbar=no,width=10,height=10,"+"scrollbars=no,resizable=yes,modal=yes,dependable=yes");
-Dialog._modal=_8;
-Dialog._arguments=_7;
-function capwin(w){
-Xinha._addEvent(w,"click",Dialog._parentEvent);
-Xinha._addEvent(w,"mousedown",Dialog._parentEvent);
-Xinha._addEvent(w,"focus",Dialog._parentEvent);
-}
-function relwin(w){
-Xinha._removeEvent(w,"click",Dialog._parentEvent);
-Xinha._removeEvent(w,"mousedown",Dialog._parentEvent);
-Xinha._removeEvent(w,"focus",Dialog._parentEvent);
-}
-capwin(window);
-for(var i=0;i<window.frames.length;i++){
-try{
-capwin(window.frames[i]);
-}
-catch(e){
-}
-}
-Dialog._return=function(_c){
-if(_c&&_6){
-_6(_c);
-}
-relwin(window);
-for(var i=0;i<window.frames.length;i++){
-try{
-relwin(window.frames[i]);
-}
-catch(e){
-}
-}
-Dialog._modal=null;
-};
-Dialog._modal.focus();
-};
-\r
diff --git a/mailboxes/xinha/modules/Dialogs/inline-dialog.js b/mailboxes/xinha/modules/Dialogs/inline-dialog.js
deleted file mode 100644 (file)
index fb9129a..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-Xinha.Dialog=function(_1,_2,_3){
-this.id={};
-this.r_id={};
-this.editor=_1;
-this.document=document;
-this.rootElem=document.createElement("div");
-this.rootElem.className="dialog";
-this.rootElem.style.position="absolute";
-this.rootElem.style.display="none";
-this.editor._framework.ed_cell.insertBefore(this.rootElem,this.editor._framework.ed_cell.firstChild);
-this.rootElem.style.width=this.width=this.editor._framework.ed_cell.offsetWidth+"px";
-this.rootElem.style.height=this.height=this.editor._framework.ed_cell.offsetHeight+"px";
-var _4=this;
-if(typeof _3=="function"){
-this._lc=_3;
-}else{
-if(_3){
-this._lc=function(_5){
-return Xinha._lc(_5,_3);
-};
-}else{
-this._lc=function(_6){
-return _6;
-};
-}
-}
-_2=_2.replace(/\[([a-z0-9_]+)\]/ig,function(_7,id){
-if(typeof _4.id[id]=="undefined"){
-_4.id[id]=Xinha.uniq("Dialog");
-_4.r_id[_4.id[id]]=id;
-}
-return _4.id[id];
-}).replace(/<l10n>(.*?)<\/l10n>/ig,function(_9,_a){
-return _4._lc(_a);
-}).replace(/="_\((.*?)\)"/g,function(_b,_c){
-return "=\""+_4._lc(_c)+"\"";
-});
-this.rootElem.innerHTML=_2;
-this.editor.notifyOn("resize",function(e,_e){
-_4.rootElem.style.width=_4.width=_4.editor._framework.ed_cell.offsetWidth+"px";
-_4.rootElem.style.height=_4.height=_4.editor._framework.ed_cell.offsetHeight+"px";
-_4.onresize();
-});
-};
-Xinha.Dialog.prototype.onresize=function(){
-return true;
-};
-Xinha.Dialog.prototype.show=function(_f){
-if(Xinha.is_ie){
-this._lastRange=this.editor._createRange(this.editor._getSelection());
-}
-if(typeof _f!="undefined"){
-this.setValues(_f);
-}
-this._restoreTo=[this.editor._textArea.style.display,this.editor._iframe.style.visibility,this.editor.hidePanels()];
-this.editor._textArea.style.display="none";
-this.editor._iframe.style.visibility="hidden";
-this.rootElem.style.display="";
-};
-Xinha.Dialog.prototype.hide=function(){
-this.rootElem.style.display="none";
-this.editor._textArea.style.display=this._restoreTo[0];
-this.editor._iframe.style.visibility=this._restoreTo[1];
-this.editor.showPanels(this._restoreTo[2]);
-if(Xinha.is_ie){
-this._lastRange.select();
-}
-this.editor.updateToolbar();
-return this.getValues();
-};
-Xinha.Dialog.prototype.toggle=function(){
-if(this.rootElem.style.display=="none"){
-this.show();
-}else{
-this.hide();
-}
-};
-Xinha.Dialog.prototype.setValues=function(_10){
-for(var i in _10){
-var _12=this.getElementsByName(i);
-if(!_12){
-continue;
-}
-for(var x=0;x<_12.length;x++){
-var e=_12[x];
-switch(e.tagName.toLowerCase()){
-case "select":
-for(var j=0;j<e.options.length;j++){
-if(typeof _10[i]=="object"){
-for(var k=0;k<_10[i].length;k++){
-if(_10[i][k]==e.options[j].value){
-e.options[j].selected=true;
-}
-}
-}else{
-if(_10[i]==e.options[j].value){
-e.options[j].selected=true;
-}
-}
-}
-break;
-case "textarea":
-case "input":
-switch(e.getAttribute("type")){
-case "radio":
-if(e.value==_10[i]){
-e.checked=true;
-}
-break;
-case "checkbox":
-if(typeof _10[i]=="object"){
-for(var j in _10[i]){
-if(_10[i][j]==e.value){
-e.checked=true;
-}
-}
-}else{
-if(_10[i]==e.value){
-e.checked=true;
-}
-}
-break;
-default:
-e.value=_10[i];
-}
-break;
-default:
-break;
-}
-}
-}
-};
-Xinha.Dialog.prototype.getValues=function(){
-var _17=[];
-var _18=Xinha.collectionToArray(this.rootElem.getElementsByTagName("input")).append(Xinha.collectionToArray(this.rootElem.getElementsByTagName("textarea"))).append(Xinha.collectionToArray(this.rootElem.getElementsByTagName("select")));
-for(var x=0;x<_18.length;x++){
-var i=_18[x];
-if(!(i.name&&this.r_id[i.name])){
-continue;
-}
-if(typeof _17[this.r_id[i.name]]=="undefined"){
-_17[this.r_id[i.name]]=null;
-}
-var v=_17[this.r_id[i.name]];
-switch(i.tagName.toLowerCase()){
-case "select":
-if(i.multiple){
-if(!v.push){
-if(v!=null){
-v=[v];
-}else{
-v=new Array();
-}
-}
-for(var j=0;j<i.options.length;j++){
-if(i.options[j].selected){
-v.push(i.options[j].value);
-}
-}
-}else{
-if(i.selectedIndex>=0){
-v=i.options[i.selectedIndex];
-}
-}
-break;
-case "textarea":
-case "input":
-default:
-switch(i.type.toLowerCase()){
-case "radio":
-if(i.checked){
-v=i.value;
-break;
-}
-case "checkbox":
-if(v==null){
-if(this.getElementsByName(this.r_id[i.name]).length>1){
-v=new Array();
-}
-}
-if(i.checked){
-if(v!=null&&typeof v=="object"&&v.push){
-v.push(i.value);
-}else{
-v=i.value;
-}
-}
-break;
-default:
-v=i.value;
-break;
-}
-}
-_17[this.r_id[i.name]]=v;
-}
-return _17;
-};
-Xinha.Dialog.prototype.getElementById=function(id){
-return this.document.getElementById(this.id[id]?this.id[id]:id);
-};
-Xinha.Dialog.prototype.getElementsByName=function(_1e){
-return this.document.getElementsByName(this.id[_1e]?this.id[_1e]:_1e);
-};
-\r
diff --git a/mailboxes/xinha/modules/Dialogs/panel-dialog.js b/mailboxes/xinha/modules/Dialogs/panel-dialog.js
deleted file mode 100644 (file)
index 321dac0..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-
-Xinha.PanelDialog = function(editor, side, html, localizer)
-{
-  this.id    = { };
-  this.r_id  = { }; // reverse lookup id
-  this.editor   = editor;
-  this.document = document;
-  this.rootElem = editor.addPanel(side);
-
-  var dialog = this;
-  if(typeof localizer == 'function')
-  {
-    this._lc = localizer;
-  }
-  else if(localizer)
-  {
-    this._lc = function(string)
-    {
-      return Xinha._lc(string,localizer);
-    };
-  }
-  else
-  {
-    this._lc = function(string)
-    {
-      return string;
-    };
-  }
-
-  html = html.replace(/\[([a-z0-9_]+)\]/ig,
-                      function(fullString, id)
-                      {
-                        if(typeof dialog.id[id] == 'undefined')
-                        {
-                          dialog.id[id] = Xinha.uniq('Dialog');
-                          dialog.r_id[dialog.id[id]] = id;
-                        }
-                        return dialog.id[id];
-                      }
-             ).replace(/<l10n>(.*?)<\/l10n>/ig,
-                       function(fullString,translate)
-                       {
-                         return dialog._lc(translate) ;
-                       }
-             ).replace(/="_\((.*?)\)"/g,
-                       function(fullString, translate)
-                       {
-                         return '="' + dialog._lc(translate) + '"';
-                       }
-             );
-
-  this.rootElem.innerHTML = html;
-};
-
-Xinha.PanelDialog.prototype.show = function(values)
-{
-  this.editor.showPanel(this.rootElem);
-};
-
-Xinha.PanelDialog.prototype.hide = function()
-{
-  this.editor.hidePanel(this.rootElem);
-  return this.getValues();
-};
-
-Xinha.PanelDialog.prototype.onresize   = Xinha.Dialog.prototype.onresize;
-
-Xinha.PanelDialog.prototype.toggle     = Xinha.Dialog.prototype.toggle;
-
-Xinha.PanelDialog.prototype.setValues  = Xinha.Dialog.prototype.setValues;
-
-Xinha.PanelDialog.prototype.getValues  = Xinha.Dialog.prototype.getValues;
-
-Xinha.PanelDialog.prototype.getElementById    = Xinha.Dialog.prototype.getElementById;
-
-Xinha.PanelDialog.prototype.getElementsByName = Xinha.Dialog.prototype.getElementsByName;
\ No newline at end of file
diff --git a/mailboxes/xinha/modules/Dialogs/popupwin.js b/mailboxes/xinha/modules/Dialogs/popupwin.js
deleted file mode 100644 (file)
index 6fcffe4..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-function PopupWin(_1,_2,_3,_4){
-this.editor=_1;
-this.handler=_3;
-var _5=window.open("","__ha_dialog","toolbar=no,menubar=no,personalbar=no,width=600,height=600,left=20,top=40,scrollbars=no,resizable=yes");
-this.window=_5;
-var _6=_5.document;
-this.doc=_6;
-var _7=this;
-var _8=document.baseURI||document.URL;
-if(_8&&_8.match(/(.*)\/([^\/]+)/)){
-_8=RegExp.$1+"/";
-}
-if(typeof _editor_url!="undefined"&&!(/^\//.test(_editor_url))&&!(/http:\/\//.test(_editor_url))){
-_8+=_editor_url;
-}else{
-_8=_editor_url;
-}
-if(!(/\/$/.test(_8))){
-_8+="/";
-}
-this.baseURL=_8;
-_6.open();
-var _9="<html><head><title>"+_2+"</title>\n";
-_9+="<style type=\"text/css\">@import url("+_editor_url+"Xinha.css);</style>\n";
-if(_editor_skin!=""){
-_9+="<style type=\"text/css\">@import url("+_editor_url+"skins/"+_editor_skin+"/skin.css);</style>\n";
-}
-_9+="</head>\n";
-_9+="<body class=\"dialog popupwin\" id=\"--HA-body\"></body></html>";
-_6.write(_9);
-_6.close();
-function init2(){
-var _a=_6.body;
-if(!_a){
-setTimeout(init2,25);
-return false;
-}
-_5.title=_2;
-_6.documentElement.style.padding="0px";
-_6.documentElement.style.margin="0px";
-var _b=_6.createElement("div");
-_b.className="content";
-_7.content=_b;
-_a.appendChild(_b);
-_7.element=_a;
-_4(_7);
-_5.focus();
-}
-init2();
-}
-PopupWin.prototype.callHandler=function(){
-var _c=["input","textarea","select"];
-var _d={};
-for(var ti=_c.length;--ti>=0;){
-var _f=_c[ti];
-var els=this.content.getElementsByTagName(_f);
-for(var j=0;j<els.length;++j){
-var el=els[j];
-var val=el.value;
-if(el.tagName.toLowerCase()=="input"){
-if(el.type=="checkbox"){
-val=el.checked;
-}
-}
-_d[el.name]=val;
-}
-}
-this.handler(this,_d);
-return false;
-};
-PopupWin.prototype.close=function(){
-this.window.close();
-};
-PopupWin.prototype.addButtons=function(){
-var _14=this;
-var div=this.doc.createElement("div");
-this.content.appendChild(div);
-div.id="buttons";
-div.className="buttons";
-for(var i=0;i<arguments.length;++i){
-var btn=arguments[i];
-var _18=this.doc.createElement("button");
-div.appendChild(_18);
-_18.innerHTML=HTMLArea._lc(btn,"HTMLArea");
-switch(btn.toLowerCase()){
-case "ok":
-HTMLArea.addDom0Event(_18,"click",function(){
-_14.callHandler();
-_14.close();
-return false;
-});
-break;
-case "cancel":
-HTMLArea.addDom0Event(_18,"click",function(){
-_14.close();
-return false;
-});
-break;
-}
-}
-};
-PopupWin.prototype.showAtElement=function(){
-var _19=this;
-setTimeout(function(){
-var w=_19.content.offsetWidth+4;
-var h=_19.content.offsetHeight+4;
-var el=_19.content;
-var s=el.style;
-s.position="absolute";
-s.left=parseInt((w-el.offsetWidth)/2,10)+"px";
-s.top=parseInt((h-el.offsetHeight)/2,10)+"px";
-if(HTMLArea.is_gecko){
-_19.window.innerWidth=w;
-_19.window.innerHeight=h;
-}else{
-_19.window.resizeTo(w+8,h+70);
-}
-},25);
-};
-\r
diff --git a/mailboxes/xinha/modules/FullScreen/full-screen.js b/mailboxes/xinha/modules/FullScreen/full-screen.js
deleted file mode 100644 (file)
index 7487aa8..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-function FullScreen(_1,_2){
-this.editor=_1;
-_1._superclean_on=false;
-cfg=_1.config;
-cfg.registerButton("fullscreen",this._lc("Maximize/Minimize Editor"),[_editor_url+cfg.imgURL+"ed_buttons_main.gif",8,0],true,function(e,_4,_5){
-e._fullScreen();
-});
-cfg.addToolbarElement("fullscreen","popupeditor",0);
-}
-FullScreen._pluginInfo={name:"FullScreen",version:"1.0",developer:"James Sleeman",developer_url:"http://www.gogo.co.nz/",c_owner:"Gogo Internet Services",license:"htmlArea",sponsor:"Gogo Internet Services",sponsor_url:"http://www.gogo.co.nz/"};
-FullScreen.prototype._lc=function(_6){
-return Xinha._lc(_6,{url:_editor_url+"modules/FullScreen/lang/",context:"FullScreen"});
-};
-Xinha.prototype._fullScreen=function(){
-var e=this;
-function sizeItUp(){
-if(!e._isFullScreen||e._sizing){
-return false;
-}
-e._sizing=true;
-var _8=Xinha.viewportSize();
-var h=_8.y-e.config.fullScreenMargins[0]-e.config.fullScreenMargins[2];
-var w=_8.x-e.config.fullScreenMargins[1]-e.config.fullScreenMargins[3];
-e.sizeEditor(w+"px",h+"px",true,true);
-e._sizing=false;
-if(e._toolbarObjects.fullscreen){
-e._toolbarObjects.fullscreen.swapImage([_editor_url+cfg.imgURL+"ed_buttons_main.gif",9,0]);
-}
-}
-function sizeItDown(){
-if(e._isFullScreen||e._sizing){
-return false;
-}
-e._sizing=true;
-e.initSize();
-e._sizing=false;
-if(e._toolbarObjects.fullscreen){
-e._toolbarObjects.fullscreen.swapImage([_editor_url+cfg.imgURL+"ed_buttons_main.gif",8,0]);
-}
-}
-function resetScroll(){
-if(e._isFullScreen){
-window.scroll(0,0);
-window.setTimeout(resetScroll,150);
-}
-}
-if(typeof this._isFullScreen=="undefined"){
-this._isFullScreen=false;
-if(e.target!=e._iframe){
-Xinha._addEvent(window,"resize",sizeItUp);
-}
-}
-if(Xinha.is_gecko){
-this.deactivateEditor();
-}
-if(this._isFullScreen){
-this._htmlArea.style.position="";
-if(!Xinha.is_ie){
-this._htmlArea.style.border="";
-}
-try{
-if(Xinha.is_ie&&document.compatMode=="CSS1Compat"){
-var _b=document.getElementsByTagName("html");
-}else{
-var _b=document.getElementsByTagName("body");
-}
-_b[0].style.overflow="";
-}
-catch(e){
-}
-this._isFullScreen=false;
-sizeItDown();
-var _c=this._htmlArea;
-while((_c=_c.parentNode)&&_c.style){
-_c.style.position=_c._xinha_fullScreenOldPosition;
-_c._xinha_fullScreenOldPosition=null;
-}
-if(Xinha.ie_version<7){
-var _d=document.getElementsByTagName("select");
-for(var i=0;i<_d.length;++i){
-_d[i].style.visibility="visible";
-}
-}
-window.scroll(this._unScroll.x,this._unScroll.y);
-}else{
-this._unScroll={x:(window.pageXOffset)?(window.pageXOffset):(document.documentElement)?document.documentElement.scrollLeft:document.body.scrollLeft,y:(window.pageYOffset)?(window.pageYOffset):(document.documentElement)?document.documentElement.scrollTop:document.body.scrollTop};
-var _c=this._htmlArea;
-while((_c=_c.parentNode)&&_c.style){
-_c._xinha_fullScreenOldPosition=_c.style.position;
-_c.style.position="static";
-}
-if(Xinha.ie_version<7){
-var _d=document.getElementsByTagName("select");
-var s,currentEditor;
-for(var i=0;i<_d.length;++i){
-s=_d[i];
-currentEditor=false;
-while(s=s.parentNode){
-if(s==this._htmlArea){
-currentEditor=true;
-break;
-}
-}
-if(!currentEditor&&_d[i].style.visibility!="hidden"){
-_d[i].style.visibility="hidden";
-}
-}
-}
-window.scroll(0,0);
-this._htmlArea.style.position="absolute";
-this._htmlArea.style.zIndex=999;
-this._htmlArea.style.left=e.config.fullScreenMargins[3]+"px";
-this._htmlArea.style.top=e.config.fullScreenMargins[0]+"px";
-if(!Xinha.is_ie){
-this._htmlArea.style.border="none";
-}
-this._isFullScreen=true;
-resetScroll();
-try{
-if(Xinha.is_ie&&document.compatMode=="CSS1Compat"){
-var _b=document.getElementsByTagName("html");
-}else{
-var _b=document.getElementsByTagName("body");
-}
-_b[0].style.overflow="hidden";
-}
-catch(e){
-}
-sizeItUp();
-}
-if(Xinha.is_gecko){
-this.activateEditor();
-}
-this.focusEditor();
-};
-\r
diff --git a/mailboxes/xinha/modules/FullScreen/lang/de.js b/mailboxes/xinha/modules/FullScreen/lang/de.js
deleted file mode 100644 (file)
index 72ff5a3..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-// I18N constants
-// LANG: "de", ENCODING: UTF-8
-// translated: Raimund Meyer xinha@ray-of-light.org
-{
-  "Maximize/Minimize Editor": "Editor maximieren/verkleinern"
-};
diff --git a/mailboxes/xinha/modules/FullScreen/lang/fr.js b/mailboxes/xinha/modules/FullScreen/lang/fr.js
deleted file mode 100644 (file)
index af4b014..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-// I18N constants
-// LANG: "fr", ENCODING: UTF-8
-{
-  "Maximize/Minimize Editor": "Agrandir/Réduire l'éditeur"
-};
\ No newline at end of file
diff --git a/mailboxes/xinha/modules/FullScreen/lang/ja.js b/mailboxes/xinha/modules/FullScreen/lang/ja.js
deleted file mode 100644 (file)
index f10c4da..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-// I18N constants
-// LANG: "ja", ENCODING: UTF-8
-{
-  "Maximize/Minimize Editor": "エディタの最大化/最小化"
-};
\ No newline at end of file
diff --git a/mailboxes/xinha/modules/FullScreen/lang/nb.js b/mailboxes/xinha/modules/FullScreen/lang/nb.js
deleted file mode 100644 (file)
index aba7c2b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-// I18N constants
-// LANG: "nb", ENCODING: UTF-8
-// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
-{
-  "Maximize/Minimize Editor": "Maksimer/Minimer WYSIWYG vindu"
-};
\ No newline at end of file
diff --git a/mailboxes/xinha/modules/FullScreen/lang/pl.js b/mailboxes/xinha/modules/FullScreen/lang/pl.js
deleted file mode 100644 (file)
index 0c639bb..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-// I18N constants
-// LANG: "pl", ENCODING: UTF-8
-// translated: Krzysztof Kotowicz, koto1sa@o2.pl, http://www.eskot.krakow.pl/portfolio
-{
-  "Maximize/Minimize Editor": "Maksymalizuj/minimalizuj edytor"
-};
diff --git a/mailboxes/xinha/modules/FullScreen/lang/ru.js b/mailboxes/xinha/modules/FullScreen/lang/ru.js
deleted file mode 100644 (file)
index b2248ef..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-// I18N constants\r
-// LANG: "ru", ENCODING: UTF-8\r
-// Author: Andrei Blagorazumov, a@fnr.ru\r
-{\r
-  "Maximize/Minimize Editor": "Развернуть/Свернуть редактор"\r
-};
\ No newline at end of file
diff --git a/mailboxes/xinha/modules/FullScreen/lang/sv.js b/mailboxes/xinha/modules/FullScreen/lang/sv.js
deleted file mode 100644 (file)
index c27fee5..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-// I18N constants
-// LANG: "sv" (Swedish), ENCODING: UTF-8
-// translated: Erik Dalén, <dalen@jpl.se>
-{
-  "Maximize/Minimize Editor": "Maximera/Minimera WYSIWYG fönster"
-};
diff --git a/mailboxes/xinha/modules/Gecko/Gecko.js b/mailboxes/xinha/modules/Gecko/Gecko.js
deleted file mode 100644 (file)
index 1f03ef4..0000000
+++ /dev/null
@@ -1,386 +0,0 @@
-Gecko._pluginInfo={name:"Gecko",origin:"Xinha Core",version:"$LastChangedRevision: 716 $".replace(/^[^:]*: (.*) \$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/modules/Gecko/Gecko.js $".replace(/^[^:]*: (.*) \$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"};
-function Gecko(_1){
-this.editor=_1;
-_1.Gecko=this;
-}
-Gecko.prototype.onKeyPress=function(ev){
-var _3=this.editor;
-var s=_3.getSelection();
-if(_3.isShortCut(ev)){
-switch(_3.getKey(ev).toLowerCase()){
-case "z":
-if(_3._unLink&&_3._unlinkOnUndo){
-Xinha._stopEvent(ev);
-_3._unLink();
-_3.updateToolbar();
-return true;
-}
-break;
-case "a":
-sel=_3.getSelection();
-sel.removeAllRanges();
-range=_3.createRange();
-range.selectNodeContents(_3._doc.body);
-sel.addRange(range);
-Xinha._stopEvent(ev);
-return true;
-break;
-case "v":
-if(!_3.config.htmlareaPaste){
-return true;
-}
-break;
-}
-}
-switch(_3.getKey(ev)){
-case " ":
-var _5=function(_6,_7){
-var _8=_6.nextSibling;
-if(typeof _7=="string"){
-_7=_3._doc.createElement(_7);
-}
-var a=_6.parentNode.insertBefore(_7,_8);
-Xinha.removeFromParent(_6);
-a.appendChild(_6);
-_8.data=" "+_8.data;
-s.collapse(_8,1);
-_3._unLink=function(){
-var t=a.firstChild;
-a.removeChild(t);
-a.parentNode.insertBefore(t,a);
-Xinha.removeFromParent(a);
-_3._unLink=null;
-_3._unlinkOnUndo=false;
-};
-_3._unlinkOnUndo=true;
-return a;
-};
-if(_3.config.convertUrlsToLinks&&s&&s.isCollapsed&&s.anchorNode.nodeType==3&&s.anchorNode.data.length>3&&s.anchorNode.data.indexOf(".")>=0){
-var _b=s.anchorNode.data.substring(0,s.anchorOffset).search(/\S{4,}$/);
-if(_b==-1){
-break;
-}
-if(_3._getFirstAncestor(s,"a")){
-break;
-}
-var _c=s.anchorNode.data.substring(0,s.anchorOffset).replace(/^.*?(\S*)$/,"$1");
-var _d=_c.match(Xinha.RE_email);
-if(_d){
-var _e=s.anchorNode;
-var _f=_e.splitText(s.anchorOffset);
-var _10=_e.splitText(_b);
-_5(_10,"a").href="mailto:"+_d[0];
-break;
-}
-RE_date=/([0-9]+\.)+/;
-RE_ip=/(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/;
-var _11=_c.match(Xinha.RE_url);
-if(_11){
-if(RE_date.test(_c)){
-if(!RE_ip.test(_c)){
-break;
-}
-}
-var _12=s.anchorNode;
-var _13=_12.splitText(s.anchorOffset);
-var _14=_12.splitText(_b);
-_5(_14,"a").href=(_11[1]?_11[1]:"http://")+_11[2];
-break;
-}
-}
-break;
-}
-switch(ev.keyCode){
-case 27:
-if(_3._unLink){
-_3._unLink();
-Xinha._stopEvent(ev);
-}
-break;
-break;
-case 8:
-case 46:
-if(!ev.shiftKey&&this.handleBackspace()){
-Xinha._stopEvent(ev);
-}
-default:
-_3._unlinkOnUndo=false;
-if(s.anchorNode&&s.anchorNode.nodeType==3){
-var a=_3._getFirstAncestor(s,"a");
-if(!a){
-break;
-}
-if(!a._updateAnchTimeout){
-if(s.anchorNode.data.match(Xinha.RE_email)&&a.href.match("mailto:"+s.anchorNode.data.trim())){
-var _16=s.anchorNode;
-var _17=function(){
-a.href="mailto:"+_16.data.trim();
-a._updateAnchTimeout=setTimeout(_17,250);
-};
-a._updateAnchTimeout=setTimeout(_17,1000);
-break;
-}
-var m=s.anchorNode.data.match(Xinha.RE_url);
-if(m&&a.href.match(s.anchorNode.data.trim())){
-var _19=s.anchorNode;
-var _1a=function(){
-m=_19.data.match(Xinha.RE_url);
-if(m){
-a.href=(m[1]?m[1]:"http://")+m[2];
-}
-a._updateAnchTimeout=setTimeout(_1a,250);
-};
-a._updateAnchTimeout=setTimeout(_1a,1000);
-}
-}
-}
-break;
-}
-return false;
-};
-Gecko.prototype.handleBackspace=function(){
-var _1b=this.editor;
-setTimeout(function(){
-var sel=_1b.getSelection();
-var _1d=_1b.createRange(sel);
-var SC=_1d.startContainer;
-var SO=_1d.startOffset;
-var EC=_1d.endContainer;
-var EO=_1d.endOffset;
-var _22=SC.nextSibling;
-if(SC.nodeType==3){
-SC=SC.parentNode;
-}
-if(!(/\S/.test(SC.tagName))){
-var p=document.createElement("p");
-while(SC.firstChild){
-p.appendChild(SC.firstChild);
-}
-SC.parentNode.insertBefore(p,SC);
-Xinha.removeFromParent(SC);
-var r=_1d.cloneRange();
-r.setStartBefore(_22);
-r.setEndAfter(_22);
-r.extractContents();
-sel.removeAllRanges();
-sel.addRange(r);
-}
-},10);
-};
-Gecko.prototype.inwardHtml=function(_25){
-_25=_25.replace(/<(\/?)strong(\s|>|\/)/ig,"<$1b$2");
-_25=_25.replace(/<(\/?)em(\s|>|\/)/ig,"<$1i$2");
-_25=_25.replace(/<(\/?)del(\s|>|\/)/ig,"<$1strike$2");
-return _25;
-};
-Gecko.prototype.outwardHtml=function(_26){
-_26=_26.replace(/<script[\s]*src[\s]*=[\s]*['"]chrome:\/\/.*?["']>[\s]*<\/script>/ig,"");
-return _26;
-};
-Gecko.prototype.onExecCommand=function(_27,UI,_29){
-try{
-this.editor._doc.execCommand("useCSS",false,true);
-this.editor._doc.execCommand("styleWithCSS",false,false);
-}
-catch(ex){
-}
-switch(_27){
-case "paste":
-alert(Xinha._lc("The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly."));
-return true;
-}
-return false;
-};
-Gecko.prototype.onMouseDown=function(ev){
-if(ev.target.tagName.toLowerCase()=="hr"){
-var sel=this.editor.getSelection();
-var _2c=this.editor.createRange(sel);
-_2c.selectNode(ev.target);
-}
-};
-Xinha.prototype.insertNodeAtSelection=function(_2d){
-var sel=this.getSelection();
-var _2f=this.createRange(sel);
-sel.removeAllRanges();
-_2f.deleteContents();
-var _30=_2f.startContainer;
-var pos=_2f.startOffset;
-var _32=_2d;
-switch(_30.nodeType){
-case 3:
-if(_2d.nodeType==3){
-_30.insertData(pos,_2d.data);
-_2f=this.createRange();
-_2f.setEnd(_30,pos+_2d.length);
-_2f.setStart(_30,pos+_2d.length);
-sel.addRange(_2f);
-}else{
-_30=_30.splitText(pos);
-if(_2d.nodeType==11){
-_32=_32.firstChild;
-}
-_30.parentNode.insertBefore(_2d,_30);
-this.selectNodeContents(_32);
-this.updateToolbar();
-}
-break;
-case 1:
-if(_2d.nodeType==11){
-_32=_32.firstChild;
-}
-_30.insertBefore(_2d,_30.childNodes[pos]);
-this.selectNodeContents(_32);
-this.updateToolbar();
-break;
-}
-};
-Xinha.prototype.getParentElement=function(sel){
-if(typeof sel=="undefined"){
-sel=this.getSelection();
-}
-var _34=this.createRange(sel);
-try{
-var p=_34.commonAncestorContainer;
-if(!_34.collapsed&&_34.startContainer==_34.endContainer&&_34.startOffset-_34.endOffset<=1&&_34.startContainer.hasChildNodes()){
-p=_34.startContainer.childNodes[_34.startOffset];
-}
-while(p.nodeType==3){
-p=p.parentNode;
-}
-return p;
-}
-catch(ex){
-return null;
-}
-};
-Xinha.prototype.activeElement=function(sel){
-if((sel===null)||this.selectionEmpty(sel)){
-return null;
-}
-if(!sel.isCollapsed){
-if(sel.anchorNode.childNodes.length>sel.anchorOffset&&sel.anchorNode.childNodes[sel.anchorOffset].nodeType==1){
-return sel.anchorNode.childNodes[sel.anchorOffset];
-}else{
-if(sel.anchorNode.nodeType==1){
-return sel.anchorNode;
-}else{
-return null;
-}
-}
-}
-return null;
-};
-Xinha.prototype.selectionEmpty=function(sel){
-if(!sel){
-return true;
-}
-if(typeof sel.isCollapsed!="undefined"){
-return sel.isCollapsed;
-}
-return true;
-};
-Xinha.prototype.selectNodeContents=function(_38,pos){
-this.focusEditor();
-this.forceRedraw();
-var _3a;
-var _3b=typeof pos=="undefined"?true:false;
-var sel=this.getSelection();
-_3a=this._doc.createRange();
-if(_3b&&_38.tagName&&_38.tagName.toLowerCase().match(/table|img|input|textarea|select/)){
-_3a.selectNode(_38);
-}else{
-_3a.selectNodeContents(_38);
-}
-sel.removeAllRanges();
-sel.addRange(_3a);
-};
-Xinha.prototype.insertHTML=function(_3d){
-var sel=this.getSelection();
-var _3f=this.createRange(sel);
-this.focusEditor();
-var _40=this._doc.createDocumentFragment();
-var div=this._doc.createElement("div");
-div.innerHTML=_3d;
-while(div.firstChild){
-_40.appendChild(div.firstChild);
-}
-var _42=this.insertNodeAtSelection(_40);
-};
-Xinha.prototype.getSelectedHTML=function(){
-var sel=this.getSelection();
-var _44=this.createRange(sel);
-return Xinha.getHTML(_44.cloneContents(),false,this);
-};
-Xinha.prototype.getSelection=function(){
-return this._iframe.contentWindow.getSelection();
-};
-Xinha.prototype.createRange=function(sel){
-this.activateEditor();
-if(typeof sel!="undefined"){
-try{
-return sel.getRangeAt(0);
-}
-catch(ex){
-return this._doc.createRange();
-}
-}else{
-return this._doc.createRange();
-}
-};
-Xinha.prototype.isKeyEvent=function(_46){
-return _46.type=="keypress";
-};
-Xinha.prototype.getKey=function(_47){
-return String.fromCharCode(_47.charCode);
-};
-Xinha.getOuterHTML=function(_48){
-return (new XMLSerializer()).serializeToString(_48);
-};
-Xinha.prototype.cc=String.fromCharCode(173);
-Xinha.prototype.setCC=function(_49){
-if(_49=="textarea"){
-var ta=this._textArea;
-var _4b=ta.selectionStart;
-var _4c=ta.value.substring(0,_4b);
-var _4d=ta.value.substring(_4b,ta.value.length);
-if(_4d.match(/^[^<]*>/)){
-var _4e=_4d.indexOf(">")+1;
-ta.value=_4c+_4d.substring(0,_4e)+this.cc+_4d.substring(_4e,_4d.length);
-}else{
-ta.value=_4c+this.cc+_4d;
-}
-}else{
-var sel=this.getSelection();
-sel.getRangeAt(0).insertNode(document.createTextNode(this.cc));
-}
-};
-Xinha.prototype.findCC=function(_50){
-var _51=(_50=="textarea")?window:this._iframe.contentWindow;
-if(_51.find(this.cc)){
-if(_50=="textarea"){
-var ta=this._textArea;
-var _53=pos=ta.selectionStart;
-var end=ta.selectionEnd;
-var _55=ta.scrollTop;
-ta.value=ta.value.substring(0,_53)+ta.value.substring(end,ta.value.length);
-ta.selectionStart=pos;
-ta.selectionEnd=pos;
-ta.scrollTop=_55;
-ta.focus();
-}else{
-var sel=this.getSelection();
-sel.getRangeAt(0).deleteContents();
-}
-}
-};
-Xinha.prototype._standardToggleBorders=Xinha.prototype._toggleBorders;
-Xinha.prototype._toggleBorders=function(){
-var _57=this._standardToggleBorders();
-var _58=this._doc.getElementsByTagName("TABLE");
-for(var i=0;i<_58.length;i++){
-_58[i].style.display="none";
-_58[i].style.display="table";
-}
-return _57;
-};
-\r
diff --git a/mailboxes/xinha/modules/Gecko/paraHandlerBest.js b/mailboxes/xinha/modules/Gecko/paraHandlerBest.js
deleted file mode 100644 (file)
index 317fead..0000000
+++ /dev/null
@@ -1,293 +0,0 @@
-EnterParagraphs._pluginInfo={name:"EnterParagraphs",version:"1.0",developer:"Adam Wright",developer_url:"http://www.hipikat.org/",sponsor:"The University of Western Australia",sponsor_url:"http://www.uwa.edu.au/",license:"htmlArea"};
-EnterParagraphs.prototype._whiteSpace=/^\s*$/;
-EnterParagraphs.prototype._pExclusions=/^(address|blockquote|body|dd|div|dl|dt|fieldset|form|h1|h2|h3|h4|h5|h6|hr|li|noscript|ol|p|pre|table|ul)$/i;
-EnterParagraphs.prototype._pContainers=/^(body|del|div|fieldset|form|ins|map|noscript|object|td|th)$/i;
-EnterParagraphs.prototype._pBreak=/^(address|pre|blockquote)$/i;
-EnterParagraphs.prototype._permEmpty=/^(area|base|basefont|br|col|frame|hr|img|input|isindex|link|meta|param)$/i;
-EnterParagraphs.prototype._elemSolid=/^(applet|br|button|hr|img|input|table)$/i;
-EnterParagraphs.prototype._pifySibling=/^(address|blockquote|del|div|dl|fieldset|form|h1|h2|h3|h4|h5|h6|hr|ins|map|noscript|object|ol|p|pre|table|ul|)$/i;
-EnterParagraphs.prototype._pifyForced=/^(ul|ol|dl|table)$/i;
-EnterParagraphs.prototype._pifyParent=/^(dd|dt|li|td|th|tr)$/i;
-function EnterParagraphs(_1){
-this.editor=_1;
-if(Xinha.is_gecko){
-this.onKeyPress=this.__onKeyPress;
-}
-}
-EnterParagraphs.prototype.name="EnterParagraphs";
-EnterParagraphs.prototype.insertAdjacentElement=function(_2,_3,el){
-if(_3=="BeforeBegin"){
-_2.parentNode.insertBefore(el,_2);
-}else{
-if(_3=="AfterEnd"){
-_2.nextSibling?_2.parentNode.insertBefore(el,_2.nextSibling):_2.parentNode.appendChild(el);
-}else{
-if(_3=="AfterBegin"&&_2.firstChild){
-_2.insertBefore(el,_2.firstChild);
-}else{
-if(_3=="BeforeEnd"||_3=="AfterBegin"){
-_2.appendChild(el);
-}
-}
-}
-}
-};
-EnterParagraphs.prototype.forEachNodeUnder=function(_5,_6,_7,_8){
-var _9,end;
-if(_5.nodeType==11&&_5.firstChild){
-_9=_5.firstChild;
-end=_5.lastChild;
-}else{
-_9=end=_5;
-}
-while(end.lastChild){
-end=end.lastChild;
-}
-return this.forEachNode(_9,end,_6,_7,_8);
-};
-EnterParagraphs.prototype.forEachNode=function(_a,_b,_c,_d,_e){
-var _f=function(_10,_11){
-return (_11=="ltr"?_10.nextSibling:_10.previousSibling);
-};
-var _12=function(_13,_14){
-return (_14=="ltr"?_13.firstChild:_13.lastChild);
-};
-var _15,lookup,fnReturnVal;
-var _16=_e;
-var _17=false;
-while(_15!=_d=="ltr"?_b:_a){
-if(!_15){
-_15=_d=="ltr"?_a:_b;
-}else{
-if(_12(_15,_d)){
-_15=_12(_15,_d);
-}else{
-if(_f(_15,_d)){
-_15=_f(_15,_d);
-}else{
-lookup=_15;
-while(!_f(lookup,_d)&&lookup!=(_d=="ltr"?_b:_a)){
-lookup=lookup.parentNode;
-}
-_15=(_f(lookup,_d)?_f(lookup,_d):lookup);
-}
-}
-}
-_17=(_15==(_d=="ltr"?_b:_a));
-switch(_c){
-case "cullids":
-fnReturnVal=this._fenCullIds(_15,_16);
-break;
-case "find_fill":
-fnReturnVal=this._fenEmptySet(_15,_16,_c,_17);
-break;
-case "find_cursorpoint":
-fnReturnVal=this._fenEmptySet(_15,_16,_c,_17);
-break;
-}
-if(fnReturnVal[0]){
-return fnReturnVal[1];
-}
-if(_17){
-break;
-}
-if(fnReturnVal[1]){
-_16=fnReturnVal[1];
-}
-}
-return false;
-};
-EnterParagraphs.prototype._fenEmptySet=function(_18,_19,_1a,_1b){
-if(!_19&&!_18.firstChild){
-_19=_18;
-}
-if((_18.nodeType==1&&this._elemSolid.test(_18.nodeName))||(_18.nodeType==3&&!this._whiteSpace.test(_18.nodeValue))||(_18.nodeType!=1&&_18.nodeType!=3)){
-switch(_1a){
-case "find_fill":
-return new Array(true,false);
-break;
-case "find_cursorpoint":
-return new Array(true,_18);
-break;
-}
-}
-if(_1b){
-return new Array(true,_19);
-}
-return new Array(false,_19);
-};
-EnterParagraphs.prototype._fenCullIds=function(_1c,_1d,_1e){
-if(_1d.id){
-_1e[_1d.id]?_1d.id="":_1e[_1d.id]=true;
-}
-return new Array(false,_1e);
-};
-EnterParagraphs.prototype.processSide=function(rng,_20){
-var _21=function(_22,_23){
-return (_23=="left"?_22.previousSibling:_22.nextSibling);
-};
-var _24=_20=="left"?rng.startContainer:rng.endContainer;
-var _25=_20=="left"?rng.startOffset:rng.endOffset;
-var _26,start=_24;
-while(start.nodeType==1&&!this._permEmpty.test(start.nodeName)){
-start=(_25?start.lastChild:start.firstChild);
-}
-while(_26=_26?(_21(_26,_20)?_21(_26,_20):_26.parentNode):start){
-if(_21(_26,_20)){
-if(this._pExclusions.test(_21(_26,_20).nodeName)){
-return this.processRng(rng,_20,_26,_21(_26,_20),(_20=="left"?"AfterEnd":"BeforeBegin"),true,false);
-}
-}else{
-if(this._pContainers.test(_26.parentNode.nodeName)){
-return this.processRng(rng,_20,_26,_26.parentNode,(_20=="left"?"AfterBegin":"BeforeEnd"),true,false);
-}else{
-if(this._pExclusions.test(_26.parentNode.nodeName)){
-if(this._pBreak.test(_26.parentNode.nodeName)){
-return this.processRng(rng,_20,_26,_26.parentNode,(_20=="left"?"AfterBegin":"BeforeEnd"),false,(_20=="left"?true:false));
-}else{
-return this.processRng(rng,_20,(_26=_26.parentNode),(_21(_26,_20)?_21(_26,_20):_26.parentNode),(_21(_26,_20)?(_20=="left"?"AfterEnd":"BeforeBegin"):(_20=="left"?"AfterBegin":"BeforeEnd")),false,false);
-}
-}
-}
-}
-}
-};
-EnterParagraphs.prototype.processRng=function(rng,_28,_29,_2a,_2b,_2c,_2d){
-var _2e=_28=="left"?rng.startContainer:rng.endContainer;
-var _2f=_28=="left"?rng.startOffset:rng.endOffset;
-var _30=this.editor;
-var _31=_30._doc.createRange();
-_31.selectNode(_29);
-if(_28=="left"){
-_31.setEnd(_2e,_2f);
-rng.setStart(_31.startContainer,_31.startOffset);
-}else{
-if(_28=="right"){
-_31.setStart(_2e,_2f);
-rng.setEnd(_31.endContainer,_31.endOffset);
-}
-}
-var cnt=_31.cloneContents();
-this.forEachNodeUnder(cnt,"cullids","ltr",this.takenIds,false,false);
-var _33,pifyOffset,fill;
-_33=_28=="left"?(_31.endContainer.nodeType==3?true:false):(_31.startContainer.nodeType==3?false:true);
-pifyOffset=_33?_31.startOffset:_31.endOffset;
-_33=_33?_31.startContainer:_31.endContainer;
-if(this._pifyParent.test(_33.nodeName)&&_33.parentNode.childNodes.item(0)==_33){
-while(!this._pifySibling.test(_33.nodeName)){
-_33=_33.parentNode;
-}
-}
-if(cnt.nodeType==11&&!cnt.firstChild){
-if(_33.nodeName!="BODY"||(_33.nodeName=="BODY"&&pifyOffset!=0)){
-cnt.appendChild(_30._doc.createElement(_33.nodeName));
-}
-}
-fill=this.forEachNodeUnder(cnt,"find_fill","ltr",false);
-if(fill&&this._pifySibling.test(_33.nodeName)&&((pifyOffset==0)||(pifyOffset==1&&this._pifyForced.test(_33.nodeName)))){
-_29=_30._doc.createElement("p");
-_29.innerHTML="&nbsp;";
-if((_28=="left")&&_33.previousSibling){
-return new Array(_33.previousSibling,"AfterEnd",_29);
-}else{
-if((_28=="right")&&_33.nextSibling){
-return new Array(_33.nextSibling,"BeforeBegin",_29);
-}else{
-return new Array(_33.parentNode,(_28=="left"?"AfterBegin":"BeforeEnd"),_29);
-}
-}
-}
-if(fill){
-if(fill.nodeType==3){
-fill=_30._doc.createDocumentFragment();
-}
-if((fill.nodeType==1&&!this._elemSolid.test())||fill.nodeType==11){
-var _34=_30._doc.createElement("p");
-_34.innerHTML="&nbsp;";
-fill.appendChild(_34);
-}else{
-var _34=_30._doc.createElement("p");
-_34.innerHTML="&nbsp;";
-fill.parentNode.insertBefore(parentNode,fill);
-}
-}
-if(fill){
-_29=fill;
-}else{
-_29=(_2c||(cnt.nodeType==11&&!cnt.firstChild))?_30._doc.createElement("p"):_30._doc.createDocumentFragment();
-_29.appendChild(cnt);
-}
-if(_2d){
-_29.appendChild(_30._doc.createElement("br"));
-}
-return new Array(_2a,_2b,_29);
-};
-EnterParagraphs.prototype.isNormalListItem=function(rng){
-var _36,listNode;
-_36=rng.startContainer;
-if((typeof _36.nodeName!="undefined")&&(_36.nodeName.toLowerCase()=="li")){
-listNode=_36;
-}else{
-if((typeof _36.parentNode!="undefined")&&(typeof _36.parentNode.nodeName!="undefined")&&(_36.parentNode.nodeName.toLowerCase()=="li")){
-listNode=_36.parentNode;
-}else{
-return false;
-}
-}
-if(!listNode.previousSibling){
-if(rng.startOffset==0){
-return false;
-}
-}
-return true;
-};
-EnterParagraphs.prototype.__onKeyPress=function(ev){
-if(ev.keyCode==13&&!ev.shiftKey&&this.editor._iframe.contentWindow.getSelection){
-return this.handleEnter(ev);
-}
-};
-EnterParagraphs.prototype.handleEnter=function(ev){
-var _39;
-var sel=this.editor.getSelection();
-var rng=this.editor.createRange(sel);
-if(this.isNormalListItem(rng)){
-return true;
-}
-this.takenIds=new Object();
-var _3c=this.processSide(rng,"left");
-var _3d=this.processSide(rng,"right");
-_39=_3d[2];
-sel.removeAllRanges();
-rng.deleteContents();
-var _3e=this.forEachNodeUnder(_39,"find_cursorpoint","ltr",false,true);
-if(!_3e){
-alert("INTERNAL ERROR - could not find place to put cursor after ENTER");
-}
-if(_3c){
-this.insertAdjacentElement(_3c[0],_3c[1],_3c[2]);
-}
-if(_3d&&_3d.nodeType!=1){
-this.insertAdjacentElement(_3d[0],_3d[1],_3d[2]);
-}
-if((_3e)&&(this._permEmpty.test(_3e.nodeName))){
-var _3f=0;
-while(_3e.parentNode.childNodes.item(_3f)!=_3e){
-_3f++;
-}
-sel.collapse(_3e.parentNode,_3f);
-}else{
-try{
-sel.collapse(_3e,0);
-if(_3e.nodeType==3){
-_3e=_3e.parentNode;
-}
-this.editor.scrollToElement(_3e);
-}
-catch(e){
-}
-}
-this.editor.updateToolbar();
-Xinha._stopEvent(ev);
-return true;
-};
-\r
diff --git a/mailboxes/xinha/modules/Gecko/paraHandlerDirty.js b/mailboxes/xinha/modules/Gecko/paraHandlerDirty.js
deleted file mode 100644 (file)
index aef5722..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-EnterParagraphs._pluginInfo={name:"EnterParagraphs",origin:"Xinha Core",version:"$LastChangedRevision: 688 $".replace(/^[^:]*: (.*) \$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL: http://svn.xinha.python-hosting.com/trunk/modules/Gecko/paraHandlerDirty.js $".replace(/^[^:]*: (.*) \$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"};
-function EnterParagraphs(_1){
-this.editor=_1;
-}
-EnterParagraphs.prototype.onKeyPress=function(ev){
-if(ev.keyCode==13&&!ev.shiftKey){
-this.dom_checkInsertP();
-Xinha._stopEvent(ev);
-}
-};
-EnterParagraphs.prototype.dom_checkInsertP=function(){
-var _3=this.editor;
-var p,body;
-var _5=_3.getSelection();
-var _6=_3.createRange(_5);
-if(!_6.collapsed){
-_6.deleteContents();
-}
-_3.deactivateEditor();
-var SC=_6.startContainer;
-var SO=_6.startOffset;
-var EC=_6.endContainer;
-var EO=_6.endOffset;
-if(SC==EC&&SC==body&&!SO&&!EO){
-p=_3._doc.createTextNode(" ");
-body.insertBefore(p,body.firstChild);
-_6.selectNodeContents(p);
-SC=_6.startContainer;
-SO=_6.startOffset;
-EC=_6.endContainer;
-EO=_6.endOffset;
-}
-p=_3.getAllAncestors();
-var _b=null;
-body=_3._doc.body;
-for(var i=0;i<p.length;++i){
-if(Xinha.isParaContainer(p[i])){
-break;
-}else{
-if(Xinha.isBlockElement(p[i])&&!(/body|html/i.test(p[i].tagName))){
-_b=p[i];
-break;
-}
-}
-}
-if(!_b){
-var _d=_6.startContainer;
-while(_d.parentNode&&!Xinha.isParaContainer(_d.parentNode)){
-_d=_d.parentNode;
-}
-var _e=_d;
-var _f=_d;
-while(_e.previousSibling){
-if(_e.previousSibling.tagName){
-if(!Xinha.isBlockElement(_e.previousSibling)){
-_e=_e.previousSibling;
-}else{
-break;
-}
-}else{
-_e=_e.previousSibling;
-}
-}
-while(_f.nextSibling){
-if(_f.nextSibling.tagName){
-if(!Xinha.isBlockElement(_f.nextSibling)){
-_f=_f.nextSibling;
-}else{
-break;
-}
-}else{
-_f=_f.nextSibling;
-}
-}
-_6.setStartBefore(_e);
-_6.setEndAfter(_f);
-_6.surroundContents(_3._doc.createElement("p"));
-_b=_6.startContainer.firstChild;
-_6.setStart(SC,SO);
-}
-_6.setEndAfter(_b);
-var r2=_6.cloneRange();
-_5.removeRange(_6);
-var df=r2.extractContents();
-if(df.childNodes.length===0){
-df.appendChild(_3._doc.createElement("p"));
-df.firstChild.appendChild(_3._doc.createElement("br"));
-}
-if(df.childNodes.length>1){
-var nb=_3._doc.createElement("p");
-while(df.firstChild){
-var s=df.firstChild;
-df.removeChild(s);
-nb.appendChild(s);
-}
-df.appendChild(nb);
-}
-if(!(/\S/.test(_b.innerHTML))){
-_b.innerHTML="&nbsp;";
-}
-p=df.firstChild;
-if(!(/\S/.test(p.innerHTML))){
-p.innerHTML="<br />";
-}
-if((/^\s*<br\s*\/?>\s*$/.test(p.innerHTML))&&(/^h[1-6]$/i.test(p.tagName))){
-df.appendChild(_3.convertNode(p,"p"));
-df.removeChild(p);
-}
-var _14=_b.parentNode.insertBefore(df.firstChild,_b.nextSibling);
-_3.activateEditor();
-_5=_3.getSelection();
-_5.removeAllRanges();
-_5.collapse(_14,0);
-_3.scrollToElement(_14);
-};
-\r
diff --git a/mailboxes/xinha/modules/GetHtml/DOMwalk.js b/mailboxes/xinha/modules/GetHtml/DOMwalk.js
deleted file mode 100644 (file)
index ee47633..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-function GetHtmlImplementation(_1){
-this.editor=_1;
-}
-GetHtmlImplementation._pluginInfo={name:"GetHtmlImplementation DOMwalk",origin:"Xinha Core",version:"$LastChangedRevision: 742 $".replace(/^[^:]*: (.*) \$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/modules/GetHtml/DOMwalk.js $".replace(/^[^:]*: (.*) \$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"};
-Xinha.getHTML=function(_2,_3,_4){
-try{
-return Xinha.getHTMLWrapper(_2,_3,_4);
-}
-catch(ex){
-alert(Xinha._lc("Your Document is not well formed. Check JavaScript console for details."));
-return _4._iframe.contentWindow.document.body.innerHTML;
-}
-};
-Xinha.emptyAttributes=" checked disabled ismap readonly nowrap compact declare selected defer multiple noresize noshade ";
-Xinha.getHTMLWrapper=function(_5,_6,_7,_8){
-var _9="";
-if(!_8){
-_8="";
-}
-switch(_5.nodeType){
-case 10:
-case 6:
-case 12:
-break;
-case 2:
-break;
-case 4:
-_9+=(Xinha.is_ie?("\n"+_8):"")+"<![CDATA["+_5.data+"]]>";
-break;
-case 5:
-_9+="&"+_5.nodeValue+";";
-break;
-case 7:
-_9+=(Xinha.is_ie?("\n"+_8):"")+"<?"+_5.target+" "+_5.data+" ?>";
-break;
-case 1:
-case 11:
-case 9:
-var _a;
-var i;
-var _c=(_5.nodeType==1)?_5.tagName.toLowerCase():"";
-if((_c=="script"||_c=="noscript")&&_7.config.stripScripts){
-break;
-}
-if(_6){
-_6=!(_7.config.htmlRemoveTags&&_7.config.htmlRemoveTags.test(_c));
-}
-if(Xinha.is_ie&&_c=="head"){
-if(_6){
-_9+=(Xinha.is_ie?("\n"+_8):"")+"<head>";
-}
-var _d=RegExp.multiline;
-RegExp.multiline=true;
-var _e=_5.innerHTML.replace(Xinha.RE_tagName,function(_f,p1,p2){
-return p1+p2.toLowerCase();
-});
-RegExp.multiline=_d;
-_9+=_e+"\n";
-if(_6){
-_9+=(Xinha.is_ie?("\n"+_8):"")+"</head>";
-}
-break;
-}else{
-if(_6){
-_a=(!(_5.hasChildNodes()||Xinha.needsClosingTag(_5)));
-_9+=(Xinha.is_ie&&Xinha.isBlockElement(_5)?("\n"+_8):"")+"<"+_5.tagName.toLowerCase();
-var _12=_5.attributes;
-for(i=0;i<_12.length;++i){
-var a=_12.item(i);
-if(typeof a.nodeValue=="object"){
-continue;
-}
-if(_5.tagName.toLowerCase()=="input"&&_5.type.toLowerCase()=="checkbox"&&a.nodeName.toLowerCase()=="value"&&a.nodeValue.toLowerCase()=="on"){
-continue;
-}
-if(!a.specified&&!(_5.tagName.toLowerCase().match(/input|option/)&&a.nodeName=="value")&&!(_5.tagName.toLowerCase().match(/area/)&&a.nodeName.match(/shape|coords/i))){
-continue;
-}
-var _14=a.nodeName.toLowerCase();
-if(/_moz_editor_bogus_node/.test(_14)){
-_9="";
-break;
-}
-if(/(_moz)|(contenteditable)|(_msh)/.test(_14)){
-continue;
-}
-var _15;
-if(Xinha.emptyAttributes.indexOf(" "+_14+" ")!=-1){
-_15=_14;
-}else{
-if(_14!="style"){
-if(typeof _5[a.nodeName]!="undefined"&&_14!="href"&&_14!="src"&&!(/^on/.test(_14))){
-_15=_5[a.nodeName];
-}else{
-_15=a.nodeValue;
-if(Xinha.is_ie&&(_14=="href"||_14=="src")){
-_15=_7.stripBaseURL(_15);
-}
-if(_7.config.only7BitPrintablesInURLs&&(_14=="href"||_14=="src")){
-_15=_15.replace(/([^!-~]+)/g,function(_16){
-return escape(_16);
-});
-}
-}
-}else{
-if(!Xinha.is_ie){
-_15=_5.style.cssText.replace(/rgb\(.*?\)/ig,function(rgb){
-return Xinha._colorToRgb(rgb);
-});
-}
-}
-}
-if(/^(_moz)?$/.test(_15)){
-continue;
-}
-_9+=" "+_14+"=\""+Xinha.htmlEncode(_15)+"\"";
-}
-if(Xinha.is_ie&&_5.style.cssText){
-_9+=" style=\""+_5.style.cssText.toLowerCase()+"\"";
-}
-if(Xinha.is_ie&&_5.tagName.toLowerCase()=="option"&&_5.selected){
-_9+=" selected=\"selected\"";
-}
-if(_9!==""){
-if(_a&&_c=="p"){
-_9+=">&nbsp;</p>";
-}else{
-if(_a){
-_9+=" />";
-}else{
-_9+=">";
-}
-}
-}
-}
-}
-var _18=false;
-if(_c=="script"||_c=="noscript"){
-if(!_7.config.stripScripts){
-if(Xinha.is_ie){
-var _19="\n"+_5.innerHTML.replace(/^[\n\r]*/,"").replace(/\s+$/,"")+"\n"+_8;
-}else{
-var _19=(_5.hasChildNodes())?_5.firstChild.nodeValue:"";
-}
-_9+=_19+"</"+_c+">"+((Xinha.is_ie)?"\n":"");
-}
-}else{
-for(i=_5.firstChild;i;i=i.nextSibling){
-if(!_18&&i.nodeType==1&&Xinha.isBlockElement(i)){
-_18=true;
-}
-_9+=Xinha.getHTMLWrapper(i,true,_7,_8+"  ");
-}
-if(_6&&!_a){
-_9+=(Xinha.is_ie&&Xinha.isBlockElement(_5)&&_18?("\n"+_8):"")+"</"+_5.tagName.toLowerCase()+">";
-}
-}
-break;
-case 3:
-_9=/^script|noscript|style$/i.test(_5.parentNode.tagName)?_5.data:Xinha.htmlEncode(_5.data);
-break;
-case 8:
-_9="<!--"+_5.data+"-->";
-break;
-}
-return _9;
-};
-\r
diff --git a/mailboxes/xinha/modules/GetHtml/TransformInnerHTML.js b/mailboxes/xinha/modules/GetHtml/TransformInnerHTML.js
deleted file mode 100644 (file)
index 4043edb..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-function GetHtmlImplementation(_1){
-this.editor=_1;
-}
-GetHtmlImplementation._pluginInfo={name:"GetHtmlImplementation TransformInnerHTML",version:"1.0",developer:"Nelson Bright",developer_url:"http://www.brightworkweb.com/",sponsor:"",sponsor_url:"",license:"htmlArea"};
-HTMLArea.RegExpCache=[new RegExp().compile(/<\s*\/?([^\s\/>]+)[\s*\/>]/gi),new RegExp().compile(/(\s+)_moz[^=>]*=[^\s>]*/gi),new RegExp().compile(/\s*=\s*(([^'"][^>\s]*)([>\s])|"([^"]+)"|'([^']+)')/g),new RegExp().compile(/\/>/g),new RegExp().compile(/<(br|hr|img|input|link|meta|param|embed|area)((\s*\S*="[^"]*")*)>/g),new RegExp().compile(/(checked|compact|declare|defer|disabled|ismap|multiple|no(href|resize|shade|wrap)|readonly|selected)([\s>])/gi),new RegExp().compile(/(="[^']*)'([^'"]*")/),new RegExp().compile(/&(?=[^<]*>)/g),new RegExp().compile(/<\s+/g),new RegExp().compile(/\s+(\/)?>/g),new RegExp().compile(/\s{2,}/g),new RegExp().compile(/\s+([^=\s]+)((="[^"]+")|([\s>]))/g),new RegExp().compile(/\s+contenteditable(=[^>\s\/]*)?/gi),new RegExp().compile(/((href|src)=")([^\s]*)"/g),new RegExp().compile(/<\/?(div|p|h[1-6]|table|tr|td|th|ul|ol|li|blockquote|object|br|hr|img|embed|param|pre|script|html|head|body|meta|link|title|area|input|form|textarea|select|option)[^>]*>/g),new RegExp().compile(/<\/(div|p|h[1-6]|table|tr|ul|ol|blockquote|object|html|head|body|script|form|select)( [^>]*)?>/g),new RegExp().compile(/<(div|p|h[1-6]|table|tr|ul|ol|blockquote|object|html|head|body|script|form|select)( [^>]*)?>/g),new RegExp().compile(/<(td|th|li|option|br|hr|embed|param|pre|meta|link|title|area|input|textarea)[^>]*>/g),new RegExp().compile(/(^|<\/(pre|script)>)(\s|[^\s])*?(<(pre|script)[^>]*>|$)/g),new RegExp().compile(/(<pre[^>]*>)([\s\S])*?(<\/pre>)/g),new RegExp().compile(/(^|<!--[\s\S]*?-->)([\s\S]*?)(?=<!--[\s\S]*?-->|$)/g),new RegExp().compile(/\S*=""/g),new RegExp().compile(/<!--[\s\S]*?-->|<\?[\s\S]*?\?>|<\/?\w[^>]*>/g),new RegExp().compile(/(^|<\/script>)[\s\S]*?(<script[^>]*>|$)/g)];
-HTMLArea.prototype.cleanHTML=function(_2){
-var c=HTMLArea.RegExpCache;
-_2=_2.replace(c[0],function(_4){
-return _4.toLowerCase();
-}).replace(c[1]," ").replace(c[12]," ").replace(c[2],"=\"$2$4$5\"$3").replace(c[21]," ").replace(c[11],function(_5,p1,p2){
-return " "+p1.toLowerCase()+p2;
-}).replace(c[3],">").replace(c[9],"$1>").replace(c[5],"$1=\"$1\"$3").replace(c[4],"<$1$2 />").replace(c[6],"$1$2").replace(c[8],"<").replace(c[10]," ");
-if(HTMLArea.is_ie&&c[13].test(_2)){
-_2=_2.replace(c[13],"$1"+this.stripBaseURL(RegExp.$3)+"\"");
-}
-if(this.config.only7BitPrintablesInURLs){
-if(HTMLArea.is_ie){
-c[13].test(_2);
-}
-if(c[13].test(_2)){
-try{
-_2=_2.replace(c[13],"$1"+decodeURIComponent(RegExp.$3).replace(/([^!-~]+)/g,function(_8){
-return escape(_8);
-})+"\"");
-}
-catch(e){
-_2=_2.replace(c[13],"$1"+RegExp.$3.replace(/([^!-~]+)/g,function(_9){
-return escape(_9);
-})+"\"");
-}
-}
-}
-return _2;
-};
-HTMLArea.indent=function(s,_b){
-HTMLArea.__nindent=0;
-HTMLArea.__sindent="";
-HTMLArea.__sindentChar=(typeof _b=="undefined")?"  ":_b;
-var c=HTMLArea.RegExpCache;
-if(HTMLArea.is_gecko){
-s=s.replace(c[19],function(_d){
-return _d.replace(/<br \/>/g,"\n");
-});
-}
-s=s.replace(c[18],function(_e){
-_e=_e.replace(c[20],function(st,$1,$2){
-string=$2.replace(/[\n\r]/gi," ").replace(/\s+/gi," ").replace(c[14],function(str){
-if(str.match(c[16])){
-var s="\n"+HTMLArea.__sindent+str;
-HTMLArea.__sindent+=HTMLArea.__sindentChar;
-++HTMLArea.__nindent;
-return s;
-}else{
-if(str.match(c[15])){
---HTMLArea.__nindent;
-HTMLArea.__sindent="";
-for(var i=HTMLArea.__nindent;i>0;--i){
-HTMLArea.__sindent+=HTMLArea.__sindentChar;
-}
-return "\n"+HTMLArea.__sindent+str;
-}else{
-if(str.match(c[17])){
-return "\n"+HTMLArea.__sindent+str;
-}
-}
-}
-return str;
-});
-return $1+string;
-});
-return _e;
-});
-s=s.replace(/^\s*/,"").replace(/ +\n/g,"\n").replace(/[\r\n]+<\/script>/g,"\n</script>");
-return s;
-};
-HTMLArea.getHTML=function(_15,_16,_17){
-var _18="";
-var c=HTMLArea.RegExpCache;
-if(_15.nodeType==11){
-var div=document.createElement("div");
-var _1b=_15.insertBefore(div,_15.firstChild);
-for(j=_1b.nextSibling;j;j=j.nextSibling){
-_1b.appendChild(j.cloneNode(true));
-}
-_18+=_1b.innerHTML.replace(c[23],function(_1c){
-_1c=_1c.replace(c[22],function(tag){
-if(/^<[!\?]/.test(tag)){
-return tag;
-}else{
-return _17.cleanHTML(tag);
-}
-});
-return _1c;
-});
-}else{
-var _1e=(_15.nodeType==1)?_15.tagName.toLowerCase():"";
-if(_16){
-_18+="<"+_1e;
-var _1f=_15.attributes;
-for(i=0;i<_1f.length;++i){
-var a=_1f.item(i);
-if(!a.specified){
-continue;
-}
-var _21=a.nodeName.toLowerCase();
-var _22=a.nodeValue;
-_18+=" "+_21+"=\""+_22+"\"";
-}
-_18+=">";
-}
-if(_1e=="html"){
-innerhtml=_17._doc.documentElement.innerHTML;
-}else{
-innerhtml=_15.innerHTML;
-}
-_18+=innerhtml.replace(c[23],function(_23){
-_23=_23.replace(c[22],function(tag){
-if(/^<[!\?]/.test(tag)){
-return tag;
-}else{
-if(!(_17.config.htmlRemoveTags&&_17.config.htmlRemoveTags.test(tag.replace(/<([^\s>\/]+)/,"$1")))){
-return _17.cleanHTML(tag);
-}else{
-return "";
-}
-}
-});
-return _23;
-});
-if(HTMLArea.is_ie){
-_18=_18.replace(/<li( [^>]*)?>/g,"</li><li$1>").replace(/(<(ul|ol)[^>]*>)[\s\n]*<\/li>/g,"$1").replace(/<\/li>([\s\n]*<\/li>)+/g,"</li>");
-}
-if(HTMLArea.is_gecko){
-_18=_18.replace(/<br \/>\n$/,"");
-}
-if(_16){
-_18+="</"+_1e+">";
-}
-_18=HTMLArea.indent(_18);
-}
-return _18;
-};
-\r
diff --git a/mailboxes/xinha/modules/InsertImage/insert_image.html b/mailboxes/xinha/modules/InsertImage/insert_image.html
deleted file mode 100644 (file)
index f4f81af..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-<!DOCTYPE html\r
-     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\r
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
-  <title>Insert Image</title>\r
-\r
-<script type="text/javascript" src="../../popups/popup.js"></script>\r
-<link rel="stylesheet" type="text/css" href="../../popups/popup.css" />\r
-\r
-<script type="text/javascript">\r
-\r
-\r
-Xinha = window.opener.Xinha;\r
-function i18n(str) {\r
-  return (Xinha._lc(str, 'Xinha'));\r
-}\r
-\r
-function Init() {\r
-  __dlg_translate('Xinha');\r
-  __dlg_init(null,{width:410,height:400});\r
-  // Make sure the translated string appears in the drop down. (for gecko)\r
-  document.getElementById("f_align").selectedIndex = 1;\r
-  document.getElementById("f_align").selectedIndex = 5;\r
-  var param = window.dialogArguments;\r
-  if (param["f_base"]) {\r
-      document.getElementById("f_base").value = param["f_base"];\r
-  }\r
-  document.getElementById("f_url").value    = param["f_url"] ? param["f_url"] : "";\r
-  document.getElementById("f_alt").value    = param["f_alt"] ? param["f_alt"] : "";\r
-  document.getElementById("f_border").value = (typeof param["f_border"]!="undefined") ? param["f_border"] : "";\r
-  document.getElementById("f_align").value  = param["f_align"] ? param["f_align"] : "";\r
-  document.getElementById("f_vert").value   = (typeof param["f_vert"]!="undefined") ? param["f_vert"] : "";\r
-  document.getElementById("f_horiz").value  = (typeof param["f_horiz"]!="undefined") ? param["f_horiz"] : "";\r
-  if (param["f_url"]) {\r
-      window.ipreview.location.replace(Xinha._resolveRelativeUrl(param.f_base, param.f_url));\r
-  }\r
-  document.getElementById("f_url").focus();\r
-}\r
-\r
-function onOK() {\r
-  var required = {\r
-    "f_url": i18n("You must enter the URL")\r
-  };\r
-  for (var i in required) {\r
-    var el = document.getElementById(i);\r
-    if (!el.value) {\r
-      alert(required[i]);\r
-      el.focus();\r
-      return false;\r
-    }\r
-  }\r
-  // pass data back to the calling window\r
-  var fields = ["f_url", "f_alt", "f_align", "f_border",\r
-                "f_horiz", "f_vert"];\r
-  var param = new Object();\r
-  for (var i in fields) {\r
-    var id = fields[i];\r
-    var el = document.getElementById(id);\r
-    param[id] = el.value;\r
-  }\r
-  __dlg_close(param);\r
-  return false;\r
-}\r
-\r
-function onCancel() {\r
-  __dlg_close(null);\r
-  return false;\r
-}\r
-\r
-function onPreview() {\r
-  var f_url = document.getElementById("f_url");\r
-  var url = f_url.value;\r
-  var base = document.getElementById("f_base").value;\r
-  if (!url) {\r
-    alert(i18n("You must enter the URL"));\r
-    f_url.focus();\r
-    return false;\r
-  }\r
-  window.ipreview.location.replace(Xinha._resolveRelativeUrl(base, url));\r
-  return false;\r
-}\r
-</script>\r
-\r
-</head>\r
-\r
-<body class="dialog" onload="Init()">\r
-\r
-<div class="title">Insert Image</div>\r
-<!--- new stuff --->\r
-<form action="" method="get">\r
-<input type="hidden" name="base" id="f_base"/>\r
-<table border="0" width="100%" style="padding: 0px; margin: 0px">\r
-  <tbody>\r
-\r
-  <tr>\r
-    <td style="width: 7em; text-align: right">Image URL:</td>\r
-    <td><input type="text" name="url" id="f_url" style="width:75%"\r
-      title="Enter the image URL here" />\r
-      <button name="preview" onclick="return onPreview();"\r
-      title="Preview the image in a new window">Preview</button>\r
-    </td>\r
-  </tr>\r
-  <tr>\r
-    <td style="width: 7em; text-align: right">Alternate text:</td>\r
-    <td><input type="text" name="alt" id="f_alt" style="width:100%"\r
-      title="For browsers that don't support images" /></td>\r
-  </tr>\r
-\r
-  </tbody>\r
-</table>\r
-\r
-<br />\r
-\r
-<fieldset style="float: left; margin-left: 5px;">\r
-<legend>Layout</legend>\r
-\r
-<div class="space"></div>\r
-\r
-<div class="fl">Alignment:</div>\r
-<select size="1" name="align" id="f_align"\r
-  title="Positioning of this image">\r
-  <option value=""                             >Not set</option>\r
-  <option value="left"                         >Left</option>\r
-  <option value="right"                        >Right</option>\r
-  <option value="texttop"                      >Texttop</option>\r
-  <option value="absmiddle"                    >Absmiddle</option>\r
-  <option value="baseline" selected="1"        >Baseline</option>\r
-  <option value="absbottom"                    >Absbottom</option>\r
-  <option value="bottom"                       >Bottom</option>\r
-  <option value="middle"                       >Middle</option>\r
-  <option value="top"                          >Top</option>\r
-</select>\r
-\r
-<br />\r
-\r
-<div class="fl">Border thickness:</div>\r
-<input type="text" name="border" id="f_border" size="5"\r
-title="Leave empty for no border" />\r
-\r
-<div class="space"></div>\r
-\r
-</fieldset>\r
-\r
-<fieldset>\r
-<legend>Spacing</legend>\r
-\r
-<div class="space"></div>\r
-\r
-<div class="fr">Horizontal:</div>\r
-<input type="text" name="horiz" id="f_horiz" size="5"\r
-title="Horizontal padding" />\r
-\r
-<br />\r
-\r
-<div class="fr">Vertical:</div>\r
-<input type="text" name="vert" id="f_vert" size="5"\r
-title="Vertical padding" />\r
-\r
-<div class="space"></div>\r
-\r
-</fieldset>\r
-<br style="clear:all"/>\r
-<div>\r
-Image Preview:<br />\r
-    <iframe name="ipreview" id="ipreview" frameborder="0" style="border : 1px solid gray;" \r
-       height="200" width="100%" src="../../popups/blank.html"></iframe>\r
-</div>\r
-<div id="buttons">\r
-<button type="button" name="ok" onclick="return onOK();">OK</button>\r
-<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>\r
-</div>\r
-</form>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/mailboxes/xinha/modules/InsertImage/insert_image.js b/mailboxes/xinha/modules/InsertImage/insert_image.js
deleted file mode 100644 (file)
index 2af77df..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-InsertImage._pluginInfo={name:"InsertImage",origin:"Xinha Core",version:"$LastChangedRevision: 733 $".replace(/^[^:]*: (.*) \$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/modules/InsertImage/insert_image.js $".replace(/^[^:]*: (.*) \$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"};
-function InsertImage(_1){
-}
-Xinha.prototype._insertImage=function(_2){
-var _3=this;
-var _4;
-if(typeof _2=="undefined"){
-_2=this.getParentElement();
-if(_2&&_2.tagName.toLowerCase()!="img"){
-_2=null;
-}
-}
-var _5;
-if(typeof _3.config.baseHref!="undefined"&&_3.config.baseHref!==null){
-_5=_3.config.baseHref;
-}else{
-var _6=window.location.toString().split("/");
-_6.pop();
-_5=_6.join("/");
-}
-if(_2){
-_4={f_base:_5,f_url:Xinha.is_ie?_3.stripBaseURL(_2.src):_2.getAttribute("src"),f_alt:_2.alt,f_border:_2.border,f_align:_2.align,f_vert:(_2.vspace!=-1?_2.vspace:""),f_horiz:(_2.hspace!=-1?_2.hspace:""),f_width:_2.width,f_height:_2.height};
-}else{
-_4={f_base:_5,f_url:""};
-}
-Dialog(_3.config.URIs.insert_image,function(_7){
-if(!_7){
-return false;
-}
-var _8=_2;
-if(!_8){
-if(Xinha.is_ie){
-var _9=_3.getSelection();
-var _a=_3.createRange(_9);
-_3._doc.execCommand("insertimage",false,_7.f_url);
-_8=_a.parentElement();
-if(_8.tagName.toLowerCase()!="img"){
-_8=_8.previousSibling;
-}
-}else{
-_8=document.createElement("img");
-_8.src=_7.f_url;
-_3.insertNodeAtSelection(_8);
-if(!_8.tagName){
-_8=_a.startContainer.firstChild;
-}
-}
-}else{
-_8.src=_7.f_url;
-}
-for(var _b in _7){
-var _c=_7[_b];
-switch(_b){
-case "f_alt":
-if(_c){
-_8.alt=_c;
-}else{
-_8.removeAttribute("alt");
-}
-break;
-case "f_border":
-if(_c){
-_8.border=parseInt(_c||"0");
-}else{
-_8.removeAttribute("border");
-}
-break;
-case "f_align":
-if(_c){
-_8.align=_c;
-}else{
-_8.removeAttribute("align");
-}
-break;
-case "f_vert":
-if(_c){
-_8.vspace=parseInt(_c||"0");
-}else{
-_8.removeAttribute("vspace");
-}
-break;
-case "f_horiz":
-if(_c){
-_8.hspace=parseInt(_c||"0");
-}else{
-_8.removeAttribute("hspace");
-}
-break;
-case "f_width":
-if(_c){
-_8.width=parseInt(_c||"0");
-}else{
-_8.removeAttribute("width");
-}
-break;
-case "f_height":
-if(_c){
-_8.height=parseInt(_c||"0");
-}else{
-_8.removeAttribute("height");
-}
-break;
-}
-}
-},_4);
-};
-\r
diff --git a/mailboxes/xinha/modules/InsertTable/insert_table.html b/mailboxes/xinha/modules/InsertTable/insert_table.html
deleted file mode 100644 (file)
index 351a0a2..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-<html>\r
-\r
-<head>\r
-  <title>Insert Table</title>\r
-\r
-<script type="text/javascript" src="../../popups/popup.js"></script>\r
-<link rel="stylesheet" type="text/css" href="../../popups/popup.css" />\r
-\r
-<script type="text/javascript">\r
-\r
-window.resizeTo(425, 250);\r
-\r
-Xinha = window.opener.Xinha;\r
-function i18n(str) {\r
-  return (Xinha._lc(str, 'Xinha'));\r
-}\r
-\r
-function Init() {\r
-  Xinha = window.opener.Xinha; // load the Xinha plugin and lang file\r
-  __dlg_translate('Xinha');\r
-  __dlg_init(null, Xinha.is_ie ? null : {width:425,height:250});\r
-  // Make sure the translated string appears in the drop down. (for gecko)\r
-  document.getElementById("f_unit").selectedIndex = 1;\r
-  document.getElementById("f_unit").selectedIndex = 0;\r
-  document.getElementById("f_align").selectedIndex = 1;\r
-  document.getElementById("f_align").selectedIndex = 0;\r
-  document.getElementById("f_rows").focus();\r
-}\r
-\r
-function onOK() {\r
-  var required = {\r
-    "f_rows": i18n("You must enter a number of rows"),\r
-    "f_cols": i18n("You must enter a number of columns")\r
-  };\r
-  for (var i in required) {\r
-    var el = document.getElementById(i);\r
-    if (!el.value) {\r
-      alert(required[i]);\r
-      el.focus();\r
-      return false;\r
-    }\r
-  }\r
-  var fields = ["f_rows", "f_cols", "f_width", "f_unit", "f_fixed",\r
-                "f_align", "f_border", "f_spacing", "f_padding"];\r
-  var param = new Object();\r
-  for (var i in fields) {\r
-    var id = fields[i];\r
-    var el = document.getElementById(id);\r
-    param[id] = (el.type == "checkbox") ? el.checked : el.value;\r
-  }\r
-  __dlg_close(param);\r
-  return false;\r
-}\r
-\r
-function onCancel() {\r
-  __dlg_close(null);\r
-  return false;\r
-}\r
-\r
-</script>\r
-\r
-</head>\r
-\r
-<body class="dialog" onload="Init()">\r
-\r
-<div class="title">Insert Table</div>\r
-\r
-<form action="" method="get">\r
-<table border="0" style="padding: 0px; margin: 0px">\r
-  <tbody>\r
-\r
-  <tr>\r
-    <td style="width: 4em; text-align: right">Rows:</td>\r
-    <td><input type="text" name="rows" id="f_rows" size="5" title="Number of rows" value="2" /></td>\r
-    <td style="width: 4em; text-align: right">Width:</td>\r
-    <td><input type="text" name="width" id="f_width" size="5" title="Width of the table" value="100" /></td>\r
-    <td><select size="1" name="unit" id="f_unit" title="Width unit">\r
-      <option value="%" selected="1"  >Percent</option>\r
-      <option value="px"              >Pixels</option>\r
-      <option value="em"              >Em</option>\r
-    </select></td>\r
-  </tr>\r
-  <tr>\r
-    <td style="width: 4em; text-align: right">Cols:</td>\r
-    <td><input type="text" name="cols" id="f_cols" size="5" title="Number of columns" value="4" /></td>\r
-    <td style="text-align: right"><input type="checkbox" checked="checked" name="fixed" id="f_fixed" /></td>\r
-    <td colspan="2"><label for="f_fixed"\r
-    >Fixed width columns</label></td>\r
-  </tr>\r
-  </tbody>\r
-</table>\r
-\r
-<p />\r
-\r
-<fieldset style="float: left; margin-left: 5px;">\r
-<legend>Layout</legend>\r
-\r
-<div class="space"></div>\r
-\r
-<div class="fl">Alignment:</div>\r
-<select size="1" name="align" id="f_align"\r
-  title="Positioning of this table">\r
-  <option value="" selected="1"                >Not set</option>\r
-  <option value="left"                         >Left</option>\r
-  <option value="right"                        >Right</option>\r
-  <option value="texttop"                      >Texttop</option>\r
-  <option value="absmiddle"                    >Absmiddle</option>\r
-  <option value="baseline"                     >Baseline</option>\r
-  <option value="absbottom"                    >Absbottom</option>\r
-  <option value="bottom"                       >Bottom</option>\r
-  <option value="middle"                       >Middle</option>\r
-  <option value="top"                          >Top</option>\r
-</select>\r
-\r
-<p />\r
-\r
-<div class="fl">Border thickness:</div>\r
-<input type="text" name="border" id="f_border" size="5" value="1"\r
-title="Leave empty for no border" />\r
-<!--\r
-<p />\r
-\r
-<div class="fl">Collapse borders:</div>\r
-<input type="checkbox" name="collapse" id="f_collapse" />\r
--->\r
-<div class="space"></div>\r
-\r
-</fieldset>\r
-\r
-<fieldset style="float:right; margin-right: 5px;">\r
-<legend>Spacing</legend>\r
-\r
-<div class="space"></div>\r
-\r
-<div class="fr">Cell spacing:</div>\r
-<input type="text" name="spacing" id="f_spacing" size="5" value="1"\r
-title="Space between adjacent cells" />\r
-\r
-<p />\r
-\r
-<div class="fr">Cell padding:</div>\r
-<input type="text" name="padding" id="f_padding" size="5" value="1"\r
-title="Space between content and border in cell" />\r
-\r
-<div class="space"></div>\r
-\r
-</fieldset>\r
-\r
-<div style="margin-top: 85px; border-top: 1px solid #999; padding: 2px; text-align: right;">\r
-<button type="button" name="ok" onclick="return onOK();">OK</button>\r
-<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>\r
-</div>\r
-\r
-</form>\r
-\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/mailboxes/xinha/modules/InsertTable/insert_table.js b/mailboxes/xinha/modules/InsertTable/insert_table.js
deleted file mode 100644 (file)
index 74183b2..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-InsertTable._pluginInfo={name:"InsertTable",origin:"Xinha Core",version:"$LastChangedRevision: 688 $".replace(/^[^:]*: (.*) \$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL: http://svn.xinha.python-hosting.com/trunk/modules/InsertTable/insert_table.js $".replace(/^[^:]*: (.*) \$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"};
-function InsertTable(_1){
-}
-Xinha.prototype._insertTable=function(){
-var _2=this.getSelection();
-var _3=this.createRange(_2);
-var _4=this;
-Dialog(_4.config.URIs.insert_table,function(_5){
-if(!_5){
-return false;
-}
-var _6=_4._doc;
-var _7=_6.createElement("table");
-for(var _8 in _5){
-var _9=_5[_8];
-if(!_9){
-continue;
-}
-switch(_8){
-case "f_width":
-_7.style.width=_9+_5.f_unit;
-break;
-case "f_align":
-_7.align=_9;
-break;
-case "f_border":
-_7.border=parseInt(_9,10);
-break;
-case "f_spacing":
-_7.cellSpacing=parseInt(_9,10);
-break;
-case "f_padding":
-_7.cellPadding=parseInt(_9,10);
-break;
-}
-}
-var _a=0;
-if(_5.f_fixed){
-_a=Math.floor(100/parseInt(_5.f_cols,10));
-}
-var _b=_6.createElement("tbody");
-_7.appendChild(_b);
-for(var i=0;i<_5.f_rows;++i){
-var tr=_6.createElement("tr");
-_b.appendChild(tr);
-for(var j=0;j<_5.f_cols;++j){
-var td=_6.createElement("td");
-if(_a){
-td.style.width=_a+"%";
-}
-tr.appendChild(td);
-td.appendChild(_6.createTextNode("\xa0"));
-}
-}
-if(Xinha.is_ie){
-_3.pasteHTML(_7.outerHTML);
-}else{
-_4.insertNodeAtSelection(_7);
-}
-return true;
-},null);
-};
-\r
diff --git a/mailboxes/xinha/modules/InternetExplorer/InternetExplorer.js b/mailboxes/xinha/modules/InternetExplorer/InternetExplorer.js
deleted file mode 100644 (file)
index a1d965e..0000000
+++ /dev/null
@@ -1,203 +0,0 @@
-InternetExplorer._pluginInfo={name:"Internet Explorer",origin:"Xinha Core",version:"$LastChangedRevision: 737 $".replace(/^[^:]*: (.*) \$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL: http://svn.xinha.python-hosting.com/tags/0.92beta/modules/InternetExplorer/InternetExplorer.js $".replace(/^[^:]*: (.*) \$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"};
-function InternetExplorer(_1){
-this.editor=_1;
-_1.InternetExplorer=this;
-}
-InternetExplorer.prototype.onKeyPress=function(ev){
-if(this.editor.isShortCut(ev)){
-switch(this.editor.getKey(ev).toLowerCase()){
-case "n":
-this.editor.execCommand("formatblock",false,"<p>");
-Xinha._stopEvent(ev);
-return true;
-break;
-case "1":
-case "2":
-case "3":
-case "4":
-case "5":
-case "6":
-this.editor.execCommand("formatblock",false,"<h"+this.editor.getKey(ev).toLowerCase()+">");
-Xinha._stopEvent(ev);
-return true;
-break;
-}
-}
-switch(ev.keyCode){
-case 8:
-case 46:
-if(this.handleBackspace()){
-Xinha._stopEvent(ev);
-return true;
-}
-break;
-}
-return false;
-};
-InternetExplorer.prototype.handleBackspace=function(){
-var _3=this.editor;
-var _4=_3.getSelection();
-if(_4.type=="Control"){
-var _5=_3.activeElement(_4);
-Xinha.removeFromParent(_5);
-return true;
-}
-var _6=_3.createRange(_4);
-var r2=_6.duplicate();
-r2.moveStart("character",-1);
-var a=r2.parentElement();
-if(a!=_6.parentElement()&&(/^a$/i.test(a.tagName))){
-r2.collapse(true);
-r2.moveEnd("character",1);
-r2.pasteHTML("");
-r2.select();
-return true;
-}
-};
-InternetExplorer.prototype.inwardHtml=function(_9){
-_9=_9.replace(/<(\/?)del(\s|>|\/)/ig,"<$1strike$2");
-return _9;
-};
-Xinha.prototype.insertNodeAtSelection=function(_a){
-this.insertHTML(_a.outerHTML);
-};
-Xinha.prototype.getParentElement=function(_b){
-if(typeof _b=="undefined"){
-_b=this.getSelection();
-}
-var _c=this.createRange(_b);
-switch(_b.type){
-case "Text":
-var _d=_c.parentElement();
-while(true){
-var _e=_c.duplicate();
-_e.moveToElementText(_d);
-if(_e.inRange(_c)){
-break;
-}
-if((_d.nodeType!=1)||(_d.tagName.toLowerCase()=="body")){
-break;
-}
-_d=_d.parentElement;
-}
-return _d;
-case "None":
-return _c.parentElement();
-case "Control":
-return _c.item(0);
-default:
-return this._doc.body;
-}
-};
-Xinha.prototype.activeElement=function(_f){
-if((_f===null)||this.selectionEmpty(_f)){
-return null;
-}
-if(_f.type.toLowerCase()=="control"){
-return _f.createRange().item(0);
-}else{
-var _10=_f.createRange();
-var _11=this.getParentElement(_f);
-if(_11.innerHTML==_10.htmlText){
-return _11;
-}
-return null;
-}
-};
-Xinha.prototype.selectionEmpty=function(sel){
-if(!sel){
-return true;
-}
-return this.createRange(sel).htmlText==="";
-};
-Xinha.prototype.selectNodeContents=function(_13,pos){
-this.focusEditor();
-this.forceRedraw();
-var _15;
-var _16=typeof pos=="undefined"?true:false;
-if(_16&&_13.tagName&&_13.tagName.toLowerCase().match(/table|img|input|select|textarea/)){
-_15=this._doc.body.createControlRange();
-_15.add(_13);
-}else{
-_15=this._doc.body.createTextRange();
-_15.moveToElementText(_13);
-}
-_15.select();
-};
-Xinha.prototype.insertHTML=function(_17){
-this.focusEditor();
-var sel=this.getSelection();
-var _19=this.createRange(sel);
-_19.pasteHTML(_17);
-};
-Xinha.prototype.getSelectedHTML=function(){
-var sel=this.getSelection();
-var _1b=this.createRange(sel);
-if(_1b.htmlText){
-return _1b.htmlText;
-}else{
-if(_1b.length>=1){
-return _1b.item(0).outerHTML;
-}
-}
-return "";
-};
-Xinha.prototype.getSelection=function(){
-return this._doc.selection;
-};
-Xinha.prototype.createRange=function(sel){
-return sel.createRange();
-};
-Xinha.prototype.isKeyEvent=function(_1d){
-return _1d.type=="keydown";
-};
-Xinha.prototype.getKey=function(_1e){
-return String.fromCharCode(_1e.keyCode);
-};
-Xinha.getOuterHTML=function(_1f){
-return _1f.outerHTML;
-};
-Xinha.prototype.cc=String.fromCharCode(8201);
-Xinha.prototype.setCC=function(_20){
-if(_20=="textarea"){
-var ta=this._textArea;
-var pos=document.selection.createRange();
-pos.collapse();
-pos.text=this.cc;
-var _23=ta.value.indexOf(this.cc);
-var _24=ta.value.substring(0,_23);
-var _25=ta.value.substring(_23+this.cc.length,ta.value.length);
-if(_25.match(/^[^<]*>/)){
-var _26=_25.indexOf(">")+1;
-ta.value=_24+_25.substring(0,_26)+this.cc+_25.substring(_26,_25.length);
-}else{
-ta.value=_24+this.cc+_25;
-}
-}else{
-var sel=this.getSelection();
-var r=sel.createRange();
-if(sel.type=="Control"){
-var _29=r.item(0);
-_29.outerHTML+=this.cc;
-}else{
-r.collapse();
-r.text=this.cc;
-}
-}
-};
-Xinha.prototype.findCC=function(_2a){
-var _2b=(_2a=="textarea")?this._textArea:this._doc.body;
-range=_2b.createTextRange();
-if(range.findText(escape(this.cc))){
-range.select();
-range.text="";
-}
-if(range.findText(this.cc)){
-range.select();
-range.text="";
-}
-if(_2a=="textarea"){
-this._textArea.focus();
-}
-};
-\r
diff --git a/mailboxes/xinha/popups/about.html b/mailboxes/xinha/popups/about.html
deleted file mode 100644 (file)
index 2091075..0000000
+++ /dev/null
@@ -1,296 +0,0 @@
-<!--\r
-\r
-(c) dynarch.com, 2003-2004\r
-Author: Mihai Bazon, http://dynarch.com/mishoo\r
-Distributed as part of HTMLArea 3.0\r
-\r
-"You are not expected to understand this...  I don't neither."\r
-\r
-                      (from The Linux Kernel Source Code,\r
-                            ./arch/x86_64/ia32/ptrace.c:90)\r
-\r
-;-)\r
-\r
--->\r
-\r
-<html style="height: 100%">\r
-<head>\r
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r
-<title>About Xinha</title>\r
-<script type="text/javascript" src="popup.js"></script>\r
-<script type="text/javascript">\r
-window.resizeTo(450, 250);\r
-var TABS = [];\r
-var CURRENT_TAB = 0;\r
-var CONTENT_HEIGHT_DIFF = 0;\r
-var CONTENT_WIDTH_DIFF = 0;\r
-function selectTab(idx) {\r
-  var ct = TABS[CURRENT_TAB];\r
-  ct.className = ct.className.replace(/\s*tab-current\s*/, ' ');\r
-  ct = TABS[CURRENT_TAB = idx];\r
-  ct.className += ' tab-current';\r
-  for (var i = TABS.length; --i >= 0;) {\r
-    var area = document.getElementById("tab-area-" + i);\r
-    if (CURRENT_TAB == i) {\r
-      area.style.display = "block";\r
-    } else {\r
-      area.style.display = "none";\r
-    }\r
-  }\r
-  document.body.style.visibility = "hidden";\r
-  document.body.style.visibility = "visible";\r
-  document.cookie = "HTMLAREA-ABOUT-TAB=" + idx;\r
-}\r
-var editor = null;\r
-function initDocument() {\r
-  editor = window.dialogArguments;\r
-  Xinha = window.opener.Xinha;\r
-\r
-  var plugins = document.getElementById("plugins");\r
-  var j = 0;\r
-  var html = "<table width='99%' cellpadding='2' cellspacing=2 style='margin-top: 1em; collapse-borders: collapse; border: 1px solid black;'>" +\r
-    "<thead><tr>" +\r
-    "<td>Name</td>" +\r
-    "<td>Developer</td>" +\r
-    "<td>Sponsored by</td>" +\r
-    "<td>License</td>" +\r
-    "</tr></thead><tbody>";\r
-  for (var i in editor.plugins) {\r
-    var info = editor.plugins[i];\r
-    if (typeof info != 'object' || !info.name || typeof info.name !='string')   continue;\r
-    html += "<tr><td>" + info.name + " v" + info.version + "</td>" +\r
-            "<td><a href='" + info.developer_url + "' target='_blank' title='Visit developer website'>" +\r
-      info.developer + "</a></td>" +\r
-      "<td><a href='" + info.sponsor_url + "' target='_blank' title='Visit sponsor website'>" +\r
-      info.sponsor + "</a></td>" +\r
-      "<td>" + info.license + "</td></tr>";\r
-    ++j;\r
-  }\r
-\r
-  if (j) {\r
-          html += "</tbody></table>" +\r
-      "<p>License \"htmlArea\" means that the plugin is distributed under the same terms " +\r
-      "as Xinha itself.</p>";\r
-    plugins.innerHTML = "<p>The following plugins have been loaded.</p>" + html;\r
-  } else {\r
-    plugins.innerHTML = "<p>No plugins have been loaded</p>";\r
-  }\r
-\r
-  plugins.innerHTML += "<p>User agent reports:<br/>" + navigator.userAgent + "</p>";\r
-\r
-  var content = document.getElementById("content");\r
-  if (window.innerHeight) {\r
-    CONTENT_HEIGHT_DIFF = window.innerHeight - 250;\r
-    CONTENT_WIDTH_DIFF = window.innerWidth - content.offsetWidth;\r
-  } else {\r
-    CONTENT_HEIGHT_DIFF = document.body.offsetHeight - 250;\r
-    CONTENT_WIDTH_DIFF = document.body.offsetWidth - 400;\r
-  }\r
-  window.onresize();\r
-  var bar = document.getElementById("tabbar");\r
-  j = 0;\r
-  for (var i = bar.firstChild; i; i = i.nextSibling) {\r
-    TABS.push(i);\r
-    i.__msh_tab = j;\r
-    i.onmousedown = function(ev) { selectTab(this.__msh_tab); Xinha._stopEvent(ev || window.event); };\r
-    var area = document.getElementById("tab-area-" + j);\r
-    if (/tab-current/.test(i.className)) {\r
-      CURRENT_TAB = j;\r
-      area.style.display = "block";\r
-    } else {\r
-      area.style.display = "none";\r
-    }\r
-    ++j;\r
-  }\r
-  if (document.cookie.match(/HTMLAREA-ABOUT-TAB=([0-9]+)/))\r
-    selectTab(RegExp.$1);\r
-}\r
-window.onresize = function() {\r
-  var content = document.getElementById("content");\r
-  if (window.innerHeight) {\r
-    content.style.height = (window.innerHeight - CONTENT_HEIGHT_DIFF) + "px";\r
-    content.style.width = (window.innerWidth - CONTENT_WIDTH_DIFF) + "px";\r
-  } else {\r
-    content.style.height = (document.body.offsetHeight - CONTENT_HEIGHT_DIFF) + "px";\r
-    //content.style.width = (document.body.offsetWidth - CONTENT_WIDTH_DIFF) + "px";\r
-  }\r
-}\r
-</script>\r
-<style>\r
-  html,body,textarea,table\r
-  { font-family: helvetica,arial,sans-serif;\r
-    font-size: 11px; padding: 0px; margin: 0px;\r
-  }\r
-\r
-  body { padding: 0px; background: #f5f6f6; color: black; }\r
-  a:link, a:visited { color: #00f; }\r
-  a:hover           { color: #f00; }\r
-  a:active          { color: #f80; }\r
-  button            { font: 11px; border-width: 1px; background-color:#f5f6f6; color:black; }\r
-\r
-  p { margin: 0.5em 0px; }\r
-\r
-  #tdheader h1\r
-  { font: bold 40px "Staccato222 BT", cursive; margin: 0px; padding-left:4px; border-bottom: 1px solid #6a6; }\r
-  h1 { font: bold 20px; margin: 0px; border-bottom: 1px solid #6a6; }\r
-  h2 { font: bold 110%; margin: 0.7em 0px; }\r
-\r
-  thead {\r
-    font-weight: bold;\r
-    background-color: #CCC;\r
-  }\r
-\r
-  thead td { padding-left:4px; }\r
-\r
-  .buttons {\r
-    text-align: right; padding: 3px;\r
-    background-color: white;\r
-    border-top: 1px solid #555;\r
-  }\r
-\r
-  #tabbar {\r
-    position: relative;\r
-    left: 10px;\r
-  }\r
-  .tab {\r
-    color: #OOO;\r
-    cursor: pointer;\r
-    margin-left: -5px;\r
-    float: left; position: relative;\r
-    border: 1px solid #555;\r
-    top: -3px; left: -2px;\r
-    padding: 2px 10px 3px 10px;\r
-    border-top: none; background-color: #CCC;\r
-    -moz-border-radius: 0px 0px 4px 4px;\r
-    z-index: 0;\r
-  }\r
-  .tab-current\r
-  {\r
-    color: #000;\r
-    top: -4px;\r
-    background-color: #f5f6f6;\r
-    padding: 3px 10px 4px 10px;\r
-    z-index: 10;\r
-  }\r
-\r
-  li, ol, ul { margin-top: 0px; margin-bottom: 0px; }\r
-</style></head>\r
-<body onload="__dlg_init(); initDocument();"\r
-><table cellspacing="0" cellpadding="0" style="border-collapse: collapse;\r
-      width: 100%; height: 100%;">\r
-\r
-<tr style="height: 1em"><td id="tdheader">\r
-\r
-<h1><img src="../images/xinha_logo.gif" alt="Xinha" /></h1>\r
-\r
-</td></tr>\r
-<tr><td id="tdcontent" style="padding: 0.5em;">\r
-\r
-<div style="overflow: auto; height: 250px;" id="content">\r
-<div id="tab-areas">\r
-\r
-<div id="tab-area-0">\r
-\r
-  <p>A free WYSIWYG editor replacement for <tt>&lt;textarea&gt;</tt> fields.</p>\r
-  <p>Visit the <a href="http://xinha.gogo.co.nz/">Xinha Website</a> for more information.</p>\r
-\r
-  <p>\r
-   Use of Xinha is granted by the terms of the htmlArea License (based on BSD license)\r
-  </p>\r
-  <p>\r
-    Xinha was originally based on work by Mihai Bazon which is:\r
-  </p>\r
-  <blockquote><pre>Copyright (c) 2003-2004 dynarch.com.\r
-    Copyright (c) 2002-2003 interactivetools.com, inc.\r
-    This copyright notice MUST stay intact for use.</pre></blockquote>\r
-\r
-</div>\r
-\r
-<div id="tab-area-1">\r
-\r
-  <p>\r
-   The development of Xinha would not have been possible without the original work of <a href="http://dynarch.com/">Mihai Bazon</a>, <a href="http://interactivetools.com" target="_blank">InteractiveTools.com</a>, and the many sponsors and contributors from around the world.\r
-  </p>\r
-\r
-</div>\r
-\r
-<div id="tab-area-2">\r
-<pre>htmlArea License (based on BSD license)\r
-Copyright (c) 2002-2004, interactivetools.com, inc.\r
-Copyright (c) 2003-2004 dynarch.com\r
-All rights reserved.\r
-\r
-Redistribution and use in source and binary forms, with or without\r
-modification, are permitted provided that the following conditions are met:\r
-\r
-1) Redistributions of source code must retain the above copyright notice,\r
-   this list of conditions and the following disclaimer.\r
-\r
-2) Redistributions in binary form must reproduce the above copyright notice,\r
-   this list of conditions and the following disclaimer in the documentation\r
-   and/or other materials provided with the distribution.\r
-\r
-3) Neither the name of interactivetools.com, inc. nor the names of its\r
-   contributors may be used to endorse or promote products derived from this\r
-   software without specific prior written permission.\r
-\r
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\r
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
-POSSIBILITY OF SUCH DAMAGE.</pre>\r
-</div>\r
-\r
-<div id="tab-area-3">\r
-<div id="plugins">\r
-</div>\r
-</div>\r
-\r
-\r
-<div id="tab-area-4">\r
-  <script type="text/javascript">\r
-    if(window.opener && window.opener.Xinha)\r
-    {\r
-      var ver = window.opener.Xinha.version;\r
-      document.write('<pre>'\r
-                      + '\nRelease: ' + ver.Release + ' (' + ver.Date + ')'\r
-                      + '\nHead: ' + ver.Head\r
-                      + '\nRevision: ' + ver.Revision\r
-                      + '\nLast Changed By: ' + ver.RevisionBy\r
-                      + '\n' +\r
-                      '</pre>');\r
-    }\r
-    else\r
-    {\r
-      document.write('<pre>Version information unavailable.</pre>');\r
-    }\r
-  </script>\r
-</div>\r
-\r
-</div></div>\r
-\r
-\r
-</td></tr>\r
-<tr style="height: 1em"><td id="tdfooter">\r
-\r
-\r
-<div class="buttons">\r
-<div id="tabbar"\r
-><div class="tab tab-current"\r
->About</div><div class="tab"\r
->Thanks</div><div class="tab"\r
->License</div><div class="tab"\r
->Plugins</div><div class="tab"\r
->Version</div></div>\r
-<button type="button" onclick="__dlg_close(null);">Close</button>\r
-</div>\r
-\r
-</td></tr></table>\r
-\r
-</body></html>\r
diff --git a/mailboxes/xinha/popups/blank.html b/mailboxes/xinha/popups/blank.html
deleted file mode 100644 (file)
index 5b1b16d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<html>\r
-</html>
\ No newline at end of file
diff --git a/mailboxes/xinha/popups/editor_help.html b/mailboxes/xinha/popups/editor_help.html
deleted file mode 100644 (file)
index ac4fb1a..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<html>\r
- <head>\r
-  <title>Editor Help</title>\r
-  <script type="text/javascript" src="popup.js"></script>\r
-  <link rel="stylesheet" type="text/css" href="popup.css" />\r
-\r
-<script type="text/javascript">\r
-  window.resizeTo(400, 480);\r
-Xinha = window.opener.Xinha;\r
-function Init() {\r
-  __dlg_translate('Xinha');\r
-  __dlg_init();\r
-\r
-}\r
-\r
-\r
-function onCancel() {\r
-  __dlg_close(null);\r
-  return false;\r
-}\r
-\r
-</script>\r
-</head>\r
-\r
-<body class="dialog" onload="Init()">\r
-<div class="title">Xinha Help</div>\r
-<table width="100%" style="background: white none repeat scroll 0%;">\r
-  <thead style="border: 1px solid gray; background: silver none repeat scroll 0%;">\r
-  <tr>\r
-    <th colspan="2"> \r
-      <span style="text-align:center">Keyboard shortcuts</span><br />\r
-      <span>The editor provides the following key combinations:</span>\r
-    </th>\r
-  </tr>\r
-  </thead>\r
-  <tbody>\r
-  <tr><td>ENTER</td><td><span>new paragraph</span>(&lt;P&gt;)</td></tr>\r
-  <tr><td>SHIFT-ENTER</td><td><span>insert linebreak</span>(&lt;BR&gt;)</td></tr>\r
-  <tr><td>CTRL-A</td><td><span>Select all</span></td></tr>\r
-  <tr><td>CTRL-B</td><td><span>Bold</span></td></tr>\r
-  <tr><td>CTRL-I</td><td><span>Italic</span></td></tr>\r
-  <tr><td>CTRL-U</td><td><span>Underline</span></td></tr>\r
-  <tr><td>CTRL-S</td><td><span>Strikethrough</span></td></tr>\r
-  <tr><td>CTRL-L</td><td><span>Justify Left</span></td></tr>\r
-  <tr><td>CTRL-E</td><td><span>Justify Center</span></td></tr>\r
-  <tr><td>CTRL-R</td><td><span>Justify Right</span></td></tr>\r
-  <tr><td>CTRL-J</td><td><span>Justify Full</span></td></tr>\r
-  <tr><td>CTRL-Z</td><td><span>Undoes your last action</span></td></tr>\r
-  <tr><td>CTRL-Y</td><td><span>Redoes your last action</span></td></tr>\r
-  <tr><td>CTRL-N</td><td><span>Set format to paragraph</span></td></tr>\r
-  <tr><td>CTRL-0 (zero)</td><td><span>Clean content pasted from Word</span></td></tr>\r
-  <tr><td>CTRL-1 .. CTRL-6</td><td><span>Headings</span> (&lt;h1&gt; .. &lt;h6&gt;)</td></tr>\r
-  <tr><td>CTRL-X</td><td><span>Cut selection</span></td></tr>\r
-  <tr><td>CTRL-C</td><td><span>Copy selection</span></td></tr>\r
-  <tr><td>CTRL-V</td><td><span>Paste from clipboard</span></td></tr>\r
-  </tbody>\r
-</table>\r
-<div id="buttons">\r
-  <button type="button" name="cancel" onclick="return onCancel();">Close</button>\r
-</div>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/mailboxes/xinha/popups/popup.css b/mailboxes/xinha/popups/popup.css
deleted file mode 100644 (file)
index 7bf9358..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-html, body, .dialog {
-  background: ButtonFace;
-  color: ButtonText;
-  font: 11px Tahoma,Verdana,sans-serif;
-  margin: 0px;
-  padding: 0px;
-}
-body { padding: 5px; }
-form { padding: 0px; margin: 0px; }
-form p {
-  margin-top: 5px;
-  margin-bottom: 5px;
-}
-table {
-  font: 11px Tahoma,Verdana,sans-serif;
-}
-select, input, button { font: 11px Tahoma,Verdana,sans-serif; }
-button { width: 70px; }
-table .label { text-align: right; width: 8em; }
-
-.fl { width: 9em; float: left; padding: 2px 5px; text-align: right; }
-.fr { width: 7em; float: left; padding: 2px 5px; text-align: right; }
-fieldset { padding: 0px 10px 5px 5px; }
-.space { padding: 2px; }
-.title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px;
-border-bottom: 1px solid black; letter-spacing: 2px;
-}
-.buttonColor {
-  padding: 1px;
-  cursor: default;
-  border: 1px solid;
-  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
-}
-#buttons {
-      margin-top: 1em; 
-      border-top: 1px solid #999;
-      padding: 1em; 
-      text-align: right;
-}
\ No newline at end of file
diff --git a/mailboxes/xinha/popups/popup.js b/mailboxes/xinha/popups/popup.js
deleted file mode 100644 (file)
index 9cb5210..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-Xinha=window.opener.Xinha;
-HTMLArea=window.opener.Xinha;
-function getAbsolutePos(el){
-var r={x:el.offsetLeft,y:el.offsetTop};
-if(el.offsetParent){
-var _3=getAbsolutePos(el.offsetParent);
-r.x+=_3.x;
-r.y+=_3.y;
-}
-return r;
-}
-function comboSelectValue(c,_5){
-var _6=c.getElementsByTagName("option");
-for(var i=_6.length;--i>=0;){
-var op=_6[i];
-op.selected=(op.value==_5);
-}
-c.value=_5;
-}
-function __dlg_onclose(){
-opener.Dialog._return(null);
-}
-function __dlg_init(_9,_a){
-__xinha_dlg_init(_a);
-}
-function __xinha_dlg_init(_b){
-if(window.__dlg_init_done){
-return true;
-}
-if(window.opener._editor_skin!=""){
-var _c=document.getElementsByTagName("head")[0];
-var _d=document.createElement("link");
-_d.type="text/css";
-_d.href=window.opener._editor_url+"skins/"+window.opener._editor_skin+"/skin.css";
-_d.rel="stylesheet";
-_c.appendChild(_d);
-}
-window.dialogArguments=opener.Dialog._arguments;
-var _e=document.body;
-if(!_b){
-var _f=Xinha.viewportSize(window);
-_b={width:_f.x,height:_e.scrollHeight};
-}
-window.resizeTo(_b.width,_b.height);
-var _f=Xinha.viewportSize(window);
-window.resizeBy(0,_e.scrollHeight-_f.y);
-if(_b.top&&_b.left){
-window.moveTo(_b.left,_b.top);
-}else{
-if(!Xinha.is_ie){
-var x=opener.screenX+(opener.outerWidth-_b.width)/2;
-var y=opener.screenY+(opener.outerHeight-_b.height)/2;
-}else{
-var x=(self.screen.availWidth-_b.width)/2;
-var y=(self.screen.availHeight-_b.height)/2;
-}
-window.moveTo(x,y);
-}
-Xinha.addDom0Event(document.body,"keypress",__dlg_close_on_esc);
-window.__dlg_init_done=true;
-}
-function __dlg_translate(_12){
-var _13=["input","select","legend","span","option","td","th","button","div","label","a","img"];
-for(var _14=0;_14<_13.length;++_14){
-var _15=document.getElementsByTagName(_13[_14]);
-for(var i=_15.length;--i>=0;){
-var _17=_15[i];
-if(_17.firstChild&&_17.firstChild.data){
-var txt=Xinha._lc(_17.firstChild.data,_12);
-if(txt){
-_17.firstChild.data=txt;
-}
-}
-if(_17.title){
-var txt=Xinha._lc(_17.title,_12);
-if(txt){
-_17.title=txt;
-}
-}
-if(_17.tagName.toLowerCase()=="input"&&(/^(button|submit|reset)$/i.test(_17.type))){
-var txt=Xinha._lc(_17.value,_12);
-if(txt){
-_17.value=txt;
-}
-}
-}
-}
-document.title=Xinha._lc(document.title,_12);
-}
-function __dlg_close(val){
-opener.Dialog._return(val);
-window.close();
-}
-function __dlg_close_on_esc(ev){
-ev||(ev=window.event);
-if(ev.keyCode==27){
-__dlg_close(null);
-return false;
-}
-return true;
-}
-\r
diff --git a/mailboxes/xinha/popups/select_color.html b/mailboxes/xinha/popups/select_color.html
deleted file mode 100644 (file)
index b64a484..0000000
+++ /dev/null
@@ -1,359 +0,0 @@
-<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">-->\r
-<html><head><title>Select Color</title>\r
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
-<script type="text/javascript" src="popup.js"></script>\r
-<script type="text/javascript">\r
-window.resizeTo(240, 182);\r
-// run on page load\r
-function Init()\r
-{\r
-  __dlg_translate('Xinha');\r
-  __dlg_init();\r
-  Xinha.addDom0Event(document, 'keypress', __dlg_close_on_esc);\r
-\r
-  var color = window.dialogArguments;\r
-  color = ValidateColor(color) || '000000';\r
-  View(color);\r
-}\r
-// preview color\r
-function View(color)\r
-{\r
-  document.getElementById("ColorPreview").style.backgroundColor = '#' + color;\r
-  document.getElementById("ColorHex").value = '#' + color;\r
-}\r
-// select color\r
-function Set(string)\r
-{\r
-  var color = ValidateColor(string);\r
-  if (color == null)\r
-  {\r
-    alert("Invalid color code: " + string);\r
-  }\r
-  else\r
-  {\r
-    View(color);\r
-    __dlg_close(color);\r
-  }\r
-}\r
-// return valid color code\r
-function ValidateColor(string)\r
-{\r
-  string = string || '';\r
-  string = string + "";\r
-  string = string.toUpperCase();\r
-  var chars = '0123456789ABCDEF';\r
-  var out   = '';\r
-  // remove invalid color chars\r
-  for (var i=0; i<string.length; i++)\r
-  {\r
-    var schar = string.charAt(i);\r
-    if (chars.indexOf(schar) != -1) out += schar;\r
-  }\r
-  // check length\r
-  if (out.length != 6) return null;\r
-  return out;\r
-}\r
-</script>\r
-<style type="text/css">\r
-body { background:buttonface; margin:0; padding:0; }\r
-form { margin:0; padding:0; }\r
-#containerpreview td { background:buttonface; }\r
-#preview { background-color:#000000; padding:1px; height:21px; width:50px; }\r
-#ColorPreview { height:100%; width:100%; }\r
-#ColorHex { font-size:12px; background:buttonface; border:0; }\r
-#palettecolor { cursor:pointer; }\r
-#palettecolor td { width:10px; height:10px; }\r
-</style>\r
-</head>\r
-<body class="dialog" onload="Init()">\r
-\r
-<form action="#" method="get" onsubmit="Set(document.getElementById('ColorHex').value); return false;">\r
-<table border="0" cellspacing="0" cellpadding="4" width="100%" id="containerpreview">\r
- <tr>\r
-  <td valign="middle"><div id="preview"><div id="ColorPreview"></div></div></td>\r
-  <td valign="middle" width="100%"><input type="text" name="ColorHex"\r
-    id="ColorHex" value="" size=15></td>\r
- </tr>\r
-</table>\r
-</form>\r
-\r
-<table id="palettecolor" border="0" cellspacing="1" cellpadding="0" width="100%" bgcolor="#000000">\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#003300" onmouseover="View('003300')" onclick="Set('003300')"></td>\r
-<td bgcolor="#006600" onmouseover="View('006600')" onclick="Set('006600')"></td>\r
-<td bgcolor="#009900" onmouseover="View('009900')" onclick="Set('009900')"></td>\r
-<td bgcolor="#00CC00" onmouseover="View('00CC00')" onclick="Set('00CC00')"></td>\r
-<td bgcolor="#00FF00" onmouseover="View('00FF00')" onclick="Set('00FF00')"></td>\r
-<td bgcolor="#330000" onmouseover="View('330000')" onclick="Set('330000')"></td>\r
-<td bgcolor="#333300" onmouseover="View('333300')" onclick="Set('333300')"></td>\r
-<td bgcolor="#336600" onmouseover="View('336600')" onclick="Set('336600')"></td>\r
-<td bgcolor="#339900" onmouseover="View('339900')" onclick="Set('339900')"></td>\r
-<td bgcolor="#33CC00" onmouseover="View('33CC00')" onclick="Set('33CC00')"></td>\r
-<td bgcolor="#33FF00" onmouseover="View('33FF00')" onclick="Set('33FF00')"></td>\r
-<td bgcolor="#660000" onmouseover="View('660000')" onclick="Set('660000')"></td>\r
-<td bgcolor="#663300" onmouseover="View('663300')" onclick="Set('663300')"></td>\r
-<td bgcolor="#666600" onmouseover="View('666600')" onclick="Set('666600')"></td>\r
-<td bgcolor="#669900" onmouseover="View('669900')" onclick="Set('669900')"></td>\r
-<td bgcolor="#66CC00" onmouseover="View('66CC00')" onclick="Set('66CC00')"></td>\r
-<td bgcolor="#66FF00" onmouseover="View('66FF00')" onclick="Set('66FF00')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#333333" onmouseover="View('333333')" onclick="Set('333333')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#000033" onmouseover="View('000033')" onclick="Set('000033')"></td>\r
-<td bgcolor="#003333" onmouseover="View('003333')" onclick="Set('003333')"></td>\r
-<td bgcolor="#006633" onmouseover="View('006633')" onclick="Set('006633')"></td>\r
-<td bgcolor="#009933" onmouseover="View('009933')" onclick="Set('009933')"></td>\r
-<td bgcolor="#00CC33" onmouseover="View('00CC33')" onclick="Set('00CC33')"></td>\r
-<td bgcolor="#00FF33" onmouseover="View('00FF33')" onclick="Set('00FF33')"></td>\r
-<td bgcolor="#330033" onmouseover="View('330033')" onclick="Set('330033')"></td>\r
-<td bgcolor="#333333" onmouseover="View('333333')" onclick="Set('333333')"></td>\r
-<td bgcolor="#336633" onmouseover="View('336633')" onclick="Set('336633')"></td>\r
-<td bgcolor="#339933" onmouseover="View('339933')" onclick="Set('339933')"></td>\r
-<td bgcolor="#33CC33" onmouseover="View('33CC33')" onclick="Set('33CC33')"></td>\r
-<td bgcolor="#33FF33" onmouseover="View('33FF33')" onclick="Set('33FF33')"></td>\r
-<td bgcolor="#660033" onmouseover="View('660033')" onclick="Set('660033')"></td>\r
-<td bgcolor="#663333" onmouseover="View('663333')" onclick="Set('663333')"></td>\r
-<td bgcolor="#666633" onmouseover="View('666633')" onclick="Set('666633')"></td>\r
-<td bgcolor="#669933" onmouseover="View('669933')" onclick="Set('669933')"></td>\r
-<td bgcolor="#66CC33" onmouseover="View('66CC33')" onclick="Set('66CC33')"></td>\r
-<td bgcolor="#66FF33" onmouseover="View('66FF33')" onclick="Set('66FF33')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#666666" onmouseover="View('666666')" onclick="Set('666666')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#000066" onmouseover="View('000066')" onclick="Set('000066')"></td>\r
-<td bgcolor="#003366" onmouseover="View('003366')" onclick="Set('003366')"></td>\r
-<td bgcolor="#006666" onmouseover="View('006666')" onclick="Set('006666')"></td>\r
-<td bgcolor="#009966" onmouseover="View('009966')" onclick="Set('009966')"></td>\r
-<td bgcolor="#00CC66" onmouseover="View('00CC66')" onclick="Set('00CC66')"></td>\r
-<td bgcolor="#00FF66" onmouseover="View('00FF66')" onclick="Set('00FF66')"></td>\r
-<td bgcolor="#330066" onmouseover="View('330066')" onclick="Set('330066')"></td>\r
-<td bgcolor="#333366" onmouseover="View('333366')" onclick="Set('333366')"></td>\r
-<td bgcolor="#336666" onmouseover="View('336666')" onclick="Set('336666')"></td>\r
-<td bgcolor="#339966" onmouseover="View('339966')" onclick="Set('339966')"></td>\r
-<td bgcolor="#33CC66" onmouseover="View('33CC66')" onclick="Set('33CC66')"></td>\r
-<td bgcolor="#33FF66" onmouseover="View('33FF66')" onclick="Set('33FF66')"></td>\r
-<td bgcolor="#660066" onmouseover="View('660066')" onclick="Set('660066')"></td>\r
-<td bgcolor="#663366" onmouseover="View('663366')" onclick="Set('663366')"></td>\r
-<td bgcolor="#666666" onmouseover="View('666666')" onclick="Set('666666')"></td>\r
-<td bgcolor="#669966" onmouseover="View('669966')" onclick="Set('669966')"></td>\r
-<td bgcolor="#66CC66" onmouseover="View('66CC66')" onclick="Set('66CC66')"></td>\r
-<td bgcolor="#66FF66" onmouseover="View('66FF66')" onclick="Set('66FF66')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#999999" onmouseover="View('999999')" onclick="Set('999999')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#000099" onmouseover="View('000099')" onclick="Set('000099')"></td>\r
-<td bgcolor="#003399" onmouseover="View('003399')" onclick="Set('003399')"></td>\r
-<td bgcolor="#006699" onmouseover="View('006699')" onclick="Set('006699')"></td>\r
-<td bgcolor="#009999" onmouseover="View('009999')" onclick="Set('009999')"></td>\r
-<td bgcolor="#00CC99" onmouseover="View('00CC99')" onclick="Set('00CC99')"></td>\r
-<td bgcolor="#00FF99" onmouseover="View('00FF99')" onclick="Set('00FF99')"></td>\r
-<td bgcolor="#330099" onmouseover="View('330099')" onclick="Set('330099')"></td>\r
-<td bgcolor="#333399" onmouseover="View('333399')" onclick="Set('333399')"></td>\r
-<td bgcolor="#336699" onmouseover="View('336699')" onclick="Set('336699')"></td>\r
-<td bgcolor="#339999" onmouseover="View('339999')" onclick="Set('339999')"></td>\r
-<td bgcolor="#33CC99" onmouseover="View('33CC99')" onclick="Set('33CC99')"></td>\r
-<td bgcolor="#33FF99" onmouseover="View('33FF99')" onclick="Set('33FF99')"></td>\r
-<td bgcolor="#660099" onmouseover="View('660099')" onclick="Set('660099')"></td>\r
-<td bgcolor="#663399" onmouseover="View('663399')" onclick="Set('663399')"></td>\r
-<td bgcolor="#666699" onmouseover="View('666699')" onclick="Set('666699')"></td>\r
-<td bgcolor="#669999" onmouseover="View('669999')" onclick="Set('669999')"></td>\r
-<td bgcolor="#66CC99" onmouseover="View('66CC99')" onclick="Set('66CC99')"></td>\r
-<td bgcolor="#66FF99" onmouseover="View('66FF99')" onclick="Set('66FF99')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#CCCCCC" onmouseover="View('CCCCCC')" onclick="Set('CCCCCC')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#0000CC" onmouseover="View('0000CC')" onclick="Set('0000CC')"></td>\r
-<td bgcolor="#0033CC" onmouseover="View('0033CC')" onclick="Set('0033CC')"></td>\r
-<td bgcolor="#0066CC" onmouseover="View('0066CC')" onclick="Set('0066CC')"></td>\r
-<td bgcolor="#0099CC" onmouseover="View('0099CC')" onclick="Set('0099CC')"></td>\r
-<td bgcolor="#00CCCC" onmouseover="View('00CCCC')" onclick="Set('00CCCC')"></td>\r
-<td bgcolor="#00FFCC" onmouseover="View('00FFCC')" onclick="Set('00FFCC')"></td>\r
-<td bgcolor="#3300CC" onmouseover="View('3300CC')" onclick="Set('3300CC')"></td>\r
-<td bgcolor="#3333CC" onmouseover="View('3333CC')" onclick="Set('3333CC')"></td>\r
-<td bgcolor="#3366CC" onmouseover="View('3366CC')" onclick="Set('3366CC')"></td>\r
-<td bgcolor="#3399CC" onmouseover="View('3399CC')" onclick="Set('3399CC')"></td>\r
-<td bgcolor="#33CCCC" onmouseover="View('33CCCC')" onclick="Set('33CCCC')"></td>\r
-<td bgcolor="#33FFCC" onmouseover="View('33FFCC')" onclick="Set('33FFCC')"></td>\r
-<td bgcolor="#6600CC" onmouseover="View('6600CC')" onclick="Set('6600CC')"></td>\r
-<td bgcolor="#6633CC" onmouseover="View('6633CC')" onclick="Set('6633CC')"></td>\r
-<td bgcolor="#6666CC" onmouseover="View('6666CC')" onclick="Set('6666CC')"></td>\r
-<td bgcolor="#6699CC" onmouseover="View('6699CC')" onclick="Set('6699CC')"></td>\r
-<td bgcolor="#66CCCC" onmouseover="View('66CCCC')" onclick="Set('66CCCC')"></td>\r
-<td bgcolor="#66FFCC" onmouseover="View('66FFCC')" onclick="Set('66FFCC')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#FFFFFF" onmouseover="View('FFFFFF')" onclick="Set('FFFFFF')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#0000FF" onmouseover="View('0000FF')" onclick="Set('0000FF')"></td>\r
-<td bgcolor="#0033FF" onmouseover="View('0033FF')" onclick="Set('0033FF')"></td>\r
-<td bgcolor="#0066FF" onmouseover="View('0066FF')" onclick="Set('0066FF')"></td>\r
-<td bgcolor="#0099FF" onmouseover="View('0099FF')" onclick="Set('0099FF')"></td>\r
-<td bgcolor="#00CCFF" onmouseover="View('00CCFF')" onclick="Set('00CCFF')"></td>\r
-<td bgcolor="#00FFFF" onmouseover="View('00FFFF')" onclick="Set('00FFFF')"></td>\r
-<td bgcolor="#3300FF" onmouseover="View('3300FF')" onclick="Set('3300FF')"></td>\r
-<td bgcolor="#3333FF" onmouseover="View('3333FF')" onclick="Set('3333FF')"></td>\r
-<td bgcolor="#3366FF" onmouseover="View('3366FF')" onclick="Set('3366FF')"></td>\r
-<td bgcolor="#3399FF" onmouseover="View('3399FF')" onclick="Set('3399FF')"></td>\r
-<td bgcolor="#33CCFF" onmouseover="View('33CCFF')" onclick="Set('33CCFF')"></td>\r
-<td bgcolor="#33FFFF" onmouseover="View('33FFFF')" onclick="Set('33FFFF')"></td>\r
-<td bgcolor="#6600FF" onmouseover="View('6600FF')" onclick="Set('6600FF')"></td>\r
-<td bgcolor="#6633FF" onmouseover="View('6633FF')" onclick="Set('6633FF')"></td>\r
-<td bgcolor="#6666FF" onmouseover="View('6666FF')" onclick="Set('6666FF')"></td>\r
-<td bgcolor="#6699FF" onmouseover="View('6699FF')" onclick="Set('6699FF')"></td>\r
-<td bgcolor="#66CCFF" onmouseover="View('66CCFF')" onclick="Set('66CCFF')"></td>\r
-<td bgcolor="#66FFFF" onmouseover="View('66FFFF')" onclick="Set('66FFFF')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#FF0000" onmouseover="View('FF0000')" onclick="Set('FF0000')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#990000" onmouseover="View('990000')" onclick="Set('990000')"></td>\r
-<td bgcolor="#993300" onmouseover="View('993300')" onclick="Set('993300')"></td>\r
-<td bgcolor="#996600" onmouseover="View('996600')" onclick="Set('996600')"></td>\r
-<td bgcolor="#999900" onmouseover="View('999900')" onclick="Set('999900')"></td>\r
-<td bgcolor="#99CC00" onmouseover="View('99CC00')" onclick="Set('99CC00')"></td>\r
-<td bgcolor="#99FF00" onmouseover="View('99FF00')" onclick="Set('99FF00')"></td>\r
-<td bgcolor="#CC0000" onmouseover="View('CC0000')" onclick="Set('CC0000')"></td>\r
-<td bgcolor="#CC3300" onmouseover="View('CC3300')" onclick="Set('CC3300')"></td>\r
-<td bgcolor="#CC6600" onmouseover="View('CC6600')" onclick="Set('CC6600')"></td>\r
-<td bgcolor="#CC9900" onmouseover="View('CC9900')" onclick="Set('CC9900')"></td>\r
-<td bgcolor="#CCCC00" onmouseover="View('CCCC00')" onclick="Set('CCCC00')"></td>\r
-<td bgcolor="#CCFF00" onmouseover="View('CCFF00')" onclick="Set('CCFF00')"></td>\r
-<td bgcolor="#FF0000" onmouseover="View('FF0000')" onclick="Set('FF0000')"></td>\r
-<td bgcolor="#FF3300" onmouseover="View('FF3300')" onclick="Set('FF3300')"></td>\r
-<td bgcolor="#FF6600" onmouseover="View('FF6600')" onclick="Set('FF6600')"></td>\r
-<td bgcolor="#FF9900" onmouseover="View('FF9900')" onclick="Set('FF9900')"></td>\r
-<td bgcolor="#FFCC00" onmouseover="View('FFCC00')" onclick="Set('FFCC00')"></td>\r
-<td bgcolor="#FFFF00" onmouseover="View('FFFF00')" onclick="Set('FFFF00')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#00FF00" onmouseover="View('00FF00')" onclick="Set('00FF00')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#990033" onmouseover="View('990033')" onclick="Set('990033')"></td>\r
-<td bgcolor="#993333" onmouseover="View('993333')" onclick="Set('993333')"></td>\r
-<td bgcolor="#996633" onmouseover="View('996633')" onclick="Set('996633')"></td>\r
-<td bgcolor="#999933" onmouseover="View('999933')" onclick="Set('999933')"></td>\r
-<td bgcolor="#99CC33" onmouseover="View('99CC33')" onclick="Set('99CC33')"></td>\r
-<td bgcolor="#99FF33" onmouseover="View('99FF33')" onclick="Set('99FF33')"></td>\r
-<td bgcolor="#CC0033" onmouseover="View('CC0033')" onclick="Set('CC0033')"></td>\r
-<td bgcolor="#CC3333" onmouseover="View('CC3333')" onclick="Set('CC3333')"></td>\r
-<td bgcolor="#CC6633" onmouseover="View('CC6633')" onclick="Set('CC6633')"></td>\r
-<td bgcolor="#CC9933" onmouseover="View('CC9933')" onclick="Set('CC9933')"></td>\r
-<td bgcolor="#CCCC33" onmouseover="View('CCCC33')" onclick="Set('CCCC33')"></td>\r
-<td bgcolor="#CCFF33" onmouseover="View('CCFF33')" onclick="Set('CCFF33')"></td>\r
-<td bgcolor="#FF0033" onmouseover="View('FF0033')" onclick="Set('FF0033')"></td>\r
-<td bgcolor="#FF3333" onmouseover="View('FF3333')" onclick="Set('FF3333')"></td>\r
-<td bgcolor="#FF6633" onmouseover="View('FF6633')" onclick="Set('FF6633')"></td>\r
-<td bgcolor="#FF9933" onmouseover="View('FF9933')" onclick="Set('FF9933')"></td>\r
-<td bgcolor="#FFCC33" onmouseover="View('FFCC33')" onclick="Set('FFCC33')"></td>\r
-<td bgcolor="#FFFF33" onmouseover="View('FFFF33')" onclick="Set('FFFF33')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#0000FF" onmouseover="View('0000FF')" onclick="Set('0000FF')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#990066" onmouseover="View('990066')" onclick="Set('990066')"></td>\r
-<td bgcolor="#993366" onmouseover="View('993366')" onclick="Set('993366')"></td>\r
-<td bgcolor="#996666" onmouseover="View('996666')" onclick="Set('996666')"></td>\r
-<td bgcolor="#999966" onmouseover="View('999966')" onclick="Set('999966')"></td>\r
-<td bgcolor="#99CC66" onmouseover="View('99CC66')" onclick="Set('99CC66')"></td>\r
-<td bgcolor="#99FF66" onmouseover="View('99FF66')" onclick="Set('99FF66')"></td>\r
-<td bgcolor="#CC0066" onmouseover="View('CC0066')" onclick="Set('CC0066')"></td>\r
-<td bgcolor="#CC3366" onmouseover="View('CC3366')" onclick="Set('CC3366')"></td>\r
-<td bgcolor="#CC6666" onmouseover="View('CC6666')" onclick="Set('CC6666')"></td>\r
-<td bgcolor="#CC9966" onmouseover="View('CC9966')" onclick="Set('CC9966')"></td>\r
-<td bgcolor="#CCCC66" onmouseover="View('CCCC66')" onclick="Set('CCCC66')"></td>\r
-<td bgcolor="#CCFF66" onmouseover="View('CCFF66')" onclick="Set('CCFF66')"></td>\r
-<td bgcolor="#FF0066" onmouseover="View('FF0066')" onclick="Set('FF0066')"></td>\r
-<td bgcolor="#FF3366" onmouseover="View('FF3366')" onclick="Set('FF3366')"></td>\r
-<td bgcolor="#FF6666" onmouseover="View('FF6666')" onclick="Set('FF6666')"></td>\r
-<td bgcolor="#FF9966" onmouseover="View('FF9966')" onclick="Set('FF9966')"></td>\r
-<td bgcolor="#FFCC66" onmouseover="View('FFCC66')" onclick="Set('FFCC66')"></td>\r
-<td bgcolor="#FFFF66" onmouseover="View('FFFF66')" onclick="Set('FFFF66')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#FFFF00" onmouseover="View('FFFF00')" onclick="Set('FFFF00')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#990099" onmouseover="View('990099')" onclick="Set('990099')"></td>\r
-<td bgcolor="#993399" onmouseover="View('993399')" onclick="Set('993399')"></td>\r
-<td bgcolor="#996699" onmouseover="View('996699')" onclick="Set('996699')"></td>\r
-<td bgcolor="#999999" onmouseover="View('999999')" onclick="Set('999999')"></td>\r
-<td bgcolor="#99CC99" onmouseover="View('99CC99')" onclick="Set('99CC99')"></td>\r
-<td bgcolor="#99FF99" onmouseover="View('99FF99')" onclick="Set('99FF99')"></td>\r
-<td bgcolor="#CC0099" onmouseover="View('CC0099')" onclick="Set('CC0099')"></td>\r
-<td bgcolor="#CC3399" onmouseover="View('CC3399')" onclick="Set('CC3399')"></td>\r
-<td bgcolor="#CC6699" onmouseover="View('CC6699')" onclick="Set('CC6699')"></td>\r
-<td bgcolor="#CC9999" onmouseover="View('CC9999')" onclick="Set('CC9999')"></td>\r
-<td bgcolor="#CCCC99" onmouseover="View('CCCC99')" onclick="Set('CCCC99')"></td>\r
-<td bgcolor="#CCFF99" onmouseover="View('CCFF99')" onclick="Set('CCFF99')"></td>\r
-<td bgcolor="#FF0099" onmouseover="View('FF0099')" onclick="Set('FF0099')"></td>\r
-<td bgcolor="#FF3399" onmouseover="View('FF3399')" onclick="Set('FF3399')"></td>\r
-<td bgcolor="#FF6699" onmouseover="View('FF6699')" onclick="Set('FF6699')"></td>\r
-<td bgcolor="#FF9999" onmouseover="View('FF9999')" onclick="Set('FF9999')"></td>\r
-<td bgcolor="#FFCC99" onmouseover="View('FFCC99')" onclick="Set('FFCC99')"></td>\r
-<td bgcolor="#FFFF99" onmouseover="View('FFFF99')" onclick="Set('FFFF99')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#00FFFF" onmouseover="View('00FFFF')" onclick="Set('00FFFF')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#9900CC" onmouseover="View('9900CC')" onclick="Set('9900CC')"></td>\r
-<td bgcolor="#9933CC" onmouseover="View('9933CC')" onclick="Set('9933CC')"></td>\r
-<td bgcolor="#9966CC" onmouseover="View('9966CC')" onclick="Set('9966CC')"></td>\r
-<td bgcolor="#9999CC" onmouseover="View('9999CC')" onclick="Set('9999CC')"></td>\r
-<td bgcolor="#99CCCC" onmouseover="View('99CCCC')" onclick="Set('99CCCC')"></td>\r
-<td bgcolor="#99FFCC" onmouseover="View('99FFCC')" onclick="Set('99FFCC')"></td>\r
-<td bgcolor="#CC00CC" onmouseover="View('CC00CC')" onclick="Set('CC00CC')"></td>\r
-<td bgcolor="#CC33CC" onmouseover="View('CC33CC')" onclick="Set('CC33CC')"></td>\r
-<td bgcolor="#CC66CC" onmouseover="View('CC66CC')" onclick="Set('CC66CC')"></td>\r
-<td bgcolor="#CC99CC" onmouseover="View('CC99CC')" onclick="Set('CC99CC')"></td>\r
-<td bgcolor="#CCCCCC" onmouseover="View('CCCCCC')" onclick="Set('CCCCCC')"></td>\r
-<td bgcolor="#CCFFCC" onmouseover="View('CCFFCC')" onclick="Set('CCFFCC')"></td>\r
-<td bgcolor="#FF00CC" onmouseover="View('FF00CC')" onclick="Set('FF00CC')"></td>\r
-<td bgcolor="#FF33CC" onmouseover="View('FF33CC')" onclick="Set('FF33CC')"></td>\r
-<td bgcolor="#FF66CC" onmouseover="View('FF66CC')" onclick="Set('FF66CC')"></td>\r
-<td bgcolor="#FF99CC" onmouseover="View('FF99CC')" onclick="Set('FF99CC')"></td>\r
-<td bgcolor="#FFCCCC" onmouseover="View('FFCCCC')" onclick="Set('FFCCCC')"></td>\r
-<td bgcolor="#FFFFCC" onmouseover="View('FFFFCC')" onclick="Set('FFFFCC')"></td>\r
-</tr>\r
-<tr>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#FF00FF" onmouseover="View('FF00FF')" onclick="Set('FF00FF')"></td>\r
-<td bgcolor="#000000" onmouseover="View('000000')" onclick="Set('000000')"></td>\r
-<td bgcolor="#9900FF" onmouseover="View('9900FF')" onclick="Set('9900FF')"></td>\r
-<td bgcolor="#9933FF" onmouseover="View('9933FF')" onclick="Set('9933FF')"></td>\r
-<td bgcolor="#9966FF" onmouseover="View('9966FF')" onclick="Set('9966FF')"></td>\r
-<td bgcolor="#9999FF" onmouseover="View('9999FF')" onclick="Set('9999FF')"></td>\r
-<td bgcolor="#99CCFF" onmouseover="View('99CCFF')" onclick="Set('99CCFF')"></td>\r
-<td bgcolor="#99FFFF" onmouseover="View('99FFFF')" onclick="Set('99FFFF')"></td>\r
-<td bgcolor="#CC00FF" onmouseover="View('CC00FF')" onclick="Set('CC00FF')"></td>\r
-<td bgcolor="#CC33FF" onmouseover="View('CC33FF')" onclick="Set('CC33FF')"></td>\r
-<td bgcolor="#CC66FF" onmouseover="View('CC66FF')" onclick="Set('CC66FF')"></td>\r
-<td bgcolor="#CC99FF" onmouseover="View('CC99FF')" onclick="Set('CC99FF')"></td>\r
-<td bgcolor="#CCCCFF" onmouseover="View('CCCCFF')" onclick="Set('CCCCFF')"></td>\r
-<td bgcolor="#CCFFFF" onmouseover="View('CCFFFF')" onclick="Set('CCFFFF')"></td>\r
-<td bgcolor="#FF00FF" onmouseover="View('FF00FF')" onclick="Set('FF00FF')"></td>\r
-<td bgcolor="#FF33FF" onmouseover="View('FF33FF')" onclick="Set('FF33FF')"></td>\r
-<td bgcolor="#FF66FF" onmouseover="View('FF66FF')" onclick="Set('FF66FF')"></td>\r
-<td bgcolor="#FF99FF" onmouseover="View('FF99FF')" onclick="Set('FF99FF')"></td>\r
-<td bgcolor="#FFCCFF" onmouseover="View('FFCCFF')" onclick="Set('FFCCFF')"></td>\r
-<td bgcolor="#FFFFFF" onmouseover="View('FFFFFF')" onclick="Set('FFFFFF')"></td>\r
-</tr>\r
-</table>\r
-\r
-</body></html>
\ No newline at end of file
diff --git a/mailboxes/xinha/release-notes.txt b/mailboxes/xinha/release-notes.txt
deleted file mode 100644 (file)
index 30611b3..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-Xinha - The Community-Built Online HTML Editor\r
-\r
-For bug reports, forum, and updates go to \r
-http://xinha.org\r
-\r
-Release History\r
-\r
-Xinha 0.92beta\r
- - fixed Ticket #831 stop empty anchors from being removed\r
- - Make htmlarea.js just load XinhaCore.js instead of being a copy of it.\r
- - fixed Ticket #445 Toggle TableBorder doesn't work if this.fullpage=true or using FullPage plugin\r
- - fixed Ticket #551 shape and coord attributes of area element are ignored by IE\r
- - fixed Ticket #650 SpellChecker is not compatible with FullPage plugin\r
- - fixed Ticket #816 CharacterMap and ListType panel modes make editor jump to top in IE\r
- - fixed Ticket #570 change behaviour of justify when an image is selected to make the image float left/right, \r
-   click the justify button again to undo it\r
- - fixed Ticket #891 noscript content got escaped\r
- - fixed Ticket #857 Firefox fails to load in fullpage mode when <link ..> tag in wrong place.\r
- - fixed Ticket #841 Spell Checker - Won't return to xinha.\r
- - fixed Ticket #914 All buttons stay grey & this.getParentElement is not a function message when not calling\r
-   Xinha.loadPlugins() in xinha_init function\r
- - fixed Ticket #911 Background color does not work in Firefox\r
- - fixed Ticket #912 an error is thrown in Mozilla when clicking merge cells button and fewer than 2 cells are selected\r
- - fixed Ticket #816 CharacterMap and ListType panel modes make editor jump to top in IE\r
- - fixed Ticket #917 getHTMLWrapper in IE renders attributes like _stylist_usedtobe="[object Object]"\r
- - fixed Ticket #556 stripBaseHref didn't work without baseHref defined explicitly.\r
- - Update InsertPicture plugin Update\r
- - fixed Ticket #921 EFM extended file manager - iframe height problem (IE)\r
- - Ticket #923 colorPicker face lift & localisation\r
- - fixed Ticket #924 EFM + ImageManager re-transforming of url to original image after automatic resize broken\r
- - Ticket #900- retain editing position position between modes\r
- - fixed Ticket #928 ImageManager fails if (another) Files.php exists in include path\r
- - fixed Ticket #935 EFM demo_images php upload allowed: possible security risk\r
- - Ticket #939 Japanese langage support \r
- - fixed Ticket #3 Horizontal Rule Selection\r
- - Plugin ExtendedFileManager: added doc to allowed upload extensions\r
- - Plugin PasteText update\r
- - Plugin HtmlEntities: default preset iso-8859-1\r
- - fixed Ticket #948 IE: inline styles are not rendered by DOMwalk getHTML()\r
- - Plugin HorizontalRule update\r
- - Plugin SaveSubmit update\r
- - Plugin Linker update\r
- - fixed Ticket #823 editor contents was not submitted when using JavaScript form.submit() without prior form.onsubmit()\r
- - fixed Ticket #459 all body attributes removed in full page mode in FireFox\r
- - _editor_url is now converted to absolute if it is relative. \r
- - fixed Ticket #594 IE: insertHTML() inserts HTML outside editor when editor is not focussed\r
- - Ticket #954 FullScreen mode can now be called programmatically or on startup with or without button\r
- - fixed Ticket #321 FullScreen : select elements show through in IE6 \r
- - fixed Ticket #953 Statusbar has ugly white gap at the bottom when switching back from full screen in IE \r
- - fixed Ticket #952 FullScreen: scrollbars don't disappear in IE in QuirksMode\r
- - fixed Ticket #603 Popop Dialog Height problems\r
- - fixed Ticket #955 DOMwalk getHTML outputs empty attribute with value "true" instead of attribute name and some are skipped at all\r
\r
-Xinha 0.91beta\r
- - changed namespace from HTMLArea to Xinha\r
- - the core file is now named XinhaCore.js instead of htmlarea.js,\r
-   please change your pages accordingly (the htmlarea.js will be removed!)\r
- - the color picker script is now loaded on demand to reduce initial loading time\r
\r
-Xinha 0.9beta\r
-This equals Xinha revision 635 of Jan 11 2007\r
- - All JavaScript files over 2kb have been compressed using the dojo JavaScript compressor\r
- - All gifs have been optimized using Trout's GIF Optimizer version 2.3
\ No newline at end of file