You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by fe...@apache.org on 2007/07/22 16:51:30 UTC

svn commit: r558490 [16/33] - in /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha: ./ images/ images/de/ images/fr/ lang/ modules/ modules/ColorPicker/ modules/CreateLink/ modules/Dialogs/ m...

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/select.html
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/select.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/select.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/select.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,209 @@
+<html>
+
+<head>
+  <title>Insert/Edit Form Element SELECT</title>
+  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+  <script type="text/javascript" src="../../../popups/popup.js"></script>
+
+<script type="text/javascript">
+var fields = ["f_name", "f_size", "f_tabindex", "f_multiple", "f_disabled"];
+
+function Init() {
+	window.resizeTo(350,320);
+  __dlg_translate("Forms");
+	__dlg_init();
+	var param = window.dialogArguments;
+  for (var i in fields) {
+    switch (fields[i]) {
+    case "f_multiple":
+    case "f_disabled":
+      document.getElementById(fields[i]).checked = (param[fields[i]]==fields[i].substring(2,20)) || (param[fields[i]] == true); break;
+    case "f_size":
+      document.getElementById(fields[i]).value = (param[fields[i]]<=0)?"":param[fields[i]]; break;
+    default:
+      document.getElementById(fields[i]).value = param[fields[i]]; break;
+    }
+  }
+  for (var i=0; i<=param.f_options.length-1; i++) {
+		document.getElementById("f_select").options[i] = new Option(param.f_options[i].text, param.f_options[i].value);
+	}
+  document.getElementById("f_name").focus();
+}
+
+function onOK() {
+	var el = document.getElementById("f_name");
+	if (!el.value) {
+		alert(HTMLArea._lc("You must enter a Name","Forms"));
+		el.focus();
+	  return false;
+	}
+  // pass data back to the calling window
+  var param = new Object();
+  for (var i in fields) {
+    switch (fields[i]) { 
+    case "f_multiple":
+      if (document.getElementById("f_size").value=="1") 
+        param["f_multiple"] = "";
+      else
+  	    param["f_multiple"] = (document.getElementById(fields[i]).checked)?"multiple":"";
+	    break;
+    case "f_disabled":
+      param[fields[i]] = (document.getElementById(fields[i]).checked)?"disabled":""; break;
+    default:
+      param[fields[i]] = document.getElementById(fields[i]).value; break;
+    }
+  }
+  function optionValues(text,value) {
+		this.text = text;
+		this.value = value;
+	}
+	optionNodes = new Array(); // for option text/value pairs
+	for (var i=0; i<= document.getElementById("f_select").options.length-1; i++) {
+		optionNodes[i] = new optionValues(document.getElementById("f_select").options[i].text, document.getElementById("f_select").options[i].value);
+	}
+	param["f_options"] = optionNodes;
+	__dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+	__dlg_close(null);
+	return false;
+}
+
+
+//functions to build select options list
+//Populates Label and Value fields with selected option values
+function getValues(){
+	var d = document;
+	d.getElementById("f_optionvalue").value = d.getElementById("f_select").options[d.getElementById("f_select").selectedIndex].value;
+	d.getElementById("f_optiontext").value = d.getElementById("f_select").options[d.getElementById("f_select").selectedIndex].text;
+	d.getElementById("f_update").value ="Update Option";
+}
+
+//Add or update options to the select box
+function addItem(item) {
+	var d = document;
+	if (item.f_optiontext.value =="") {alert(HTMLArea._lc("Please enter a Label","Forms"));}
+ 	else { 
+		if (d.getElementById("f_select").options.selectedIndex != -1) { //update item
+			var indx = d.getElementById("f_select").options.selectedIndex;
+			d.getElementById("f_select").options[indx].text=d.getElementById("f_optiontext").value;
+			d.getElementById("f_select").options[indx].value=d.getElementById("f_optionvalue").value;
+		} else { //add new item
+			var newItem = d.getElementById("f_select").options.length++;
+			d.getElementById("f_select").options[newItem].text=d.getElementById("f_optiontext").value;
+			d.getElementById("f_select").options[newItem].value=d.getElementById("f_optionvalue").value;
+		}
+		d.getElementById("f_select").selectedIndex = -1; //deselect
+		d.getElementById("f_optiontext").value="";//clean up
+		d.getElementById("f_optionvalue").value="";
+		d.getElementById("f_update").value ="Add Option";
+		d.getElementById("f_optiontext").focus();
+	}
+}
+//Clears selected option
+function deleteItem() {
+	var d = document;
+	for (var i = d.getElementById("f_select").options.length - 1; i>=0; i--) { 
+		var opt = d.getElementById("f_select").options[i]; 
+		if (opt.selected) { 
+			d.getElementById("f_select").options[i] = null; 
+		} 
+	} 
+	d.getElementById("f_select").selectedIndex = -1; 
+	d.getElementById("f_optiontext").value="";
+	d.getElementById("f_optionvalue").value="";
+	d.getElementById("f_optiontext").focus();
+} 
+//Moves selected option up
+function moveOptionUp() {
+	var d = document;
+	for (i=0; i<d.getElementById("f_select").options.length; i++) {
+		if (d.getElementById("f_select").options[i].selected) {
+			if (i != 0 && !d.getElementById("f_select").options[i-1].selected) {
+				swapOptions(d.getElementById("f_select"),i,i-1);
+				d.getElementById("f_select").options[i-1].selected = true;
+			}
+		}
+	}
+}
+//Moves selected option down
+function moveOptionDown() {
+	var d = document;
+	for (i=d.getElementById("f_select").options.length-1; i>=0; i--) {
+		if (d.getElementById("f_select").options[i].selected) {
+			if (i != (d.getElementById("f_select").options.length-1) && ! d.getElementById("f_select").options[i+1].selected) {
+				swapOptions(d.getElementById("f_select"),i,i+1);
+				d.getElementById("f_select").options[i+1].selected = true;
+			}
+		}
+	}
+}
+	
+function swapOptions(obj,i,j) {
+	var o = obj.options;
+	var i_selected = o[i].selected;
+	var j_selected = o[j].selected;
+	var temp = new Option(o[i].text, o[i].value);
+	var temp2= new Option(o[j].text, o[j].value);
+	o[i] = temp2;
+	o[j] = temp;
+	o[i].selected = j_selected;
+	o[j].selected = i_selected;
+}
+</script>
+</head>
+
+<body class="dialog" onload="Init()">
+  <div id="f_type" class="title">Form Element: SELECT</div>
+  <form action="" method="get">
+    <div class="fr">Name/ID:</div>
+    <input type="text" name="name" id="f_name" title="Name of the form select" />
+    <p />
+    <div class="fr">Size:</div>
+    <input name="size" id="f_size" type="text" value="" size="15" />
+    <p />
+		<div class="fr"><nobr>Multiple Select</nobr></div>
+    <input name="multiple" id="f_multiple" type="checkbox" value="multiple" />
+    <p />
+    <div class="fr">Disabled</div>
+    <input type="checkbox" name="disabled" id="f_disabled" value="disabled" />
+    <p />
+    <div class="fr">Tab Index:</div>
+    <input type="text" name="tabindex" id="f_tabindex" />
+    <p />
+    <div class="space"></div>
+    <fieldset id="fldLayout">
+	  <legend>Options</legend>
+      <table border="0" cellspacing="0" width="100%">
+		  <tr>
+      <td align="right">
+        <select name="select" id="f_select" Size="6" onchange="getValues();"  style="width:16em">
+   	    </select>
+      </td>
+      <td align="center">
+        <input type="button" name="up" value="Move Up" style="width:6em" onClick="moveOptionUp()"><br />
+	      <input type="button" name="down" value="Move Down" style="width:6em" onClick="moveOptionDown()"><br />
+        <input type="button" name="delete" value="Delete" style="width:6em" onClick="deleteItem();">
+      </td>
+      </tr>
+      </table>
+      <div class="space"></div>
+      <table border="0" cellspacing="0" width="100%">
+		  <tr>
+			  <td align="right">Lable:</td>
+			  <td><input type="text" id="f_optiontext" name="optionText" value="" size="15"></td>
+			  <td align="right">Value:</td>
+			  <td><input name="optionValue" id="f_optionvalue" type="text" value="" size="15"></td>
+        <td><input type="button" name="update" id="f_update" value="Add" onclick="addItem(document.forms[0])"></td>
+		  </tr>
+		  </table>
+	  </fieldset>
+	  <div id="buttons">
+      <button type="button" name="ok" onclick="return onOK();">OK</button>
+      <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
+    </div>      
+  </form>
+</body>
+</html>

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/select.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/textarea.html
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/textarea.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/textarea.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/textarea.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,113 @@
+<html>
+
+<head>
+  <title>Insert/Edit Form Element TEXTAREA</title>
+  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+  <script type="text/javascript" src="../../../popups/popup.js"></script>
+
+<script type="text/javascript">
+
+var fields = ["f_name", "f_text", "f_cols", "f_rows", "f_wrap", "f_tabindex", "f_accesskey", "f_readOnly", "f_disabled"];
+
+function Init() {
+  window.resizeTo(280,260);
+  __dlg_translate("Forms");
+	__dlg_init();
+	var param = window.dialogArguments;
+  for (var i in fields) {
+    switch (fields[i]) { 
+    case "f_readOnly":
+    case "f_disabled":
+      document.getElementById(fields[i]).checked = (param[fields[i]]==fields[i].substring(2,20)) || (param[fields[i]] == true);  break;
+    default:
+      document.getElementById(fields[i]).value = param[fields[i]]; break;
+    }
+  }
+  document.getElementById("f_name").focus();
+}
+
+function onOK() {
+	var el = document.getElementById("f_name");
+	if (!el.value) {
+		alert(HTMLArea._lc("You must enter a Name","Forms"));
+		el.focus();
+	  return false;
+	}
+  // pass data back to the calling window
+  var param = new Object();
+  for (var i in fields) {
+    switch (fields[i]) { 
+    case "f_readOnly":
+    case "f_disabled":
+      if(HTMLArea.is_ie)
+        param[fields[i]] = (document.getElementById(fields[i]).checked)?true:"";
+      else
+        param[fields[i]] = (document.getElementById(fields[i]).checked)?fields[i].substring(2,20):"";
+      break;
+    default:
+      param[fields[i]] = document.getElementById(fields[i]).value; break;
+    }
+  }
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+	__dlg_close(null);
+	return false;
+}
+</script>
+</head>
+
+<body class="dialog" onload="Init()">
+<div id="f_type" class="title">Form Element: TEXTAREA</div>
+<form action="" method="get">
+  <div class="fr">Name/ID:</div>
+  <input type="text" name="name" id="f_name" title="name of the textarea" />
+  <p />
+  <fieldset>
+	<legend>Dimensions</legend>
+    <div class="fr">Columns:</div>
+    <input type="text" name="cols" id="f_cols" size="5" title="Width in number of characters" />
+    <p />
+    <div class="fr">Rows:</div>
+		<input type="text" name="rows" id="f_rows" size="5" title="Height in number of rows" />
+    <p />
+	</fieldset>
+  <div class="space"></div>
+  <div class="fr">Wrap Mode:</div>
+  <select name="wrap" id="f_wrap">
+    <option value=""></option>
+    <option value="off">Off</option>
+    <option value="soft">Soft</option>
+    <option value="hard">Hard</option>
+    <option value="physical">Physical</option>
+    <option value="virtual">Virtual</option>
+    <option value="normal">normal</option>
+    <option value="nowrap">nowrap</option>
+    <option value="pre">pre</option>    
+  </select>
+  <p />
+  <div class="fr">Read Only</div>
+  <input type="checkbox" name="readOnly" id="f_readOnly" value="readOnly" />
+  <p />
+  <div class="fr">Disabled</div>
+  <input type="checkbox" name="disabled" id="f_disabled" value="disabled" />
+  <p />
+  <div class="fr">Tab Index:</div>
+  <input type="text" name="tabindex" id="f_tabindex" />
+  <p />
+  <div class="fr">Access Key:</div>
+  <input type="text" name="accesskey" id="f_accesskey" />
+  <p />
+  
+  <div class="fr">Initial Text:</div>
+  <input type="text" name="text" id="f_text" title="Default text (optional)" />
+  <div id="buttons">
+    <button type="button" name="ok" onclick="return onOK();">OK</button>
+    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
+  </div>  
+</form>
+
+</body>
+</html>

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Forms/popups/textarea.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/full-page.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/full-page.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/full-page.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/full-page.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,200 @@
+function FullPage(_1){
+this.editor=_1;
+var _2=_1.config;
+_2.fullPage=true;
+var _3=this;
+_2.registerButton("FP-docprop",this._lc("Document properties"),_1.imgURL("docprop.gif","FullPage"),false,function(_4,id){
+_3.buttonPress(_4,id);
+});
+_2.addToolbarElement(["separator","FP-docprop"],"separator",-1);
+}
+FullPage._pluginInfo={name:"FullPage",version:"1.0",developer:"Mihai Bazon",developer_url:"http://dynarch.com/mishoo/",c_owner:"Mihai Bazon",sponsor:"Thycotic Software Ltd.",sponsor_url:"http://thycotic.com",license:"htmlArea"};
+FullPage.prototype._lc=function(_6){
+return HTMLArea._lc(_6,"FullPage");
+};
+FullPage.prototype.buttonPress=function(_7,id){
+var _9=this;
+switch(id){
+case "FP-docprop":
+var _a=_7._doc;
+var _b=_a.getElementsByTagName("link");
+var _c="";
+var _d="";
+var _e="";
+var _f="";
+var _10="";
+for(var i=_b.length;--i>=0;){
+var _12=_b[i];
+if(/stylesheet/i.test(_12.rel)){
+if(/alternate/i.test(_12.rel)){
+_d=_12.href;
+}else{
+_c=_12.href;
+}
+}
+}
+var _13=_a.getElementsByTagName("meta");
+for(var i=_13.length;--i>=0;){
+var _14=_13[i];
+if(/content-type/i.test(_14.httpEquiv)){
+r=/^text\/html; *charset=(.*)$/i.exec(_14.content);
+_10=r[1];
+}else{
+if((/keywords/i.test(_14.name))||(/keywords/i.test(_14.id))){
+_e=_14.content;
+}else{
+if((/description/i.test(_14.name))||(/description/i.test(_14.id))){
+_f=_14.content;
+}
+}
+}
+}
+var _15=_a.getElementsByTagName("title")[0];
+_15=_15?_15.innerHTML:"";
+var _16={f_doctype:_7.doctype,f_title:_15,f_body_bgcolor:HTMLArea._colorToRgb(_a.body.style.backgroundColor),f_body_fgcolor:HTMLArea._colorToRgb(_a.body.style.color),f_base_style:_c,f_alt_style:_d,f_charset:_10,f_keywords:_e,f_description:_f,editor:_7};
+_7._popupDialog("plugin://FullPage/docprop",function(_17){
+_9.setDocProp(_17);
+},_16);
+break;
+}
+};
+FullPage.prototype.setDocProp=function(_18){
+var txt="";
+var doc=this.editor._doc;
+var _1b=doc.getElementsByTagName("head")[0];
+var _1c=doc.getElementsByTagName("link");
+var _1d=doc.getElementsByTagName("meta");
+var _1e=null;
+var _1f=null;
+var _20=null;
+var _21=null;
+var _22=null;
+var _23=null;
+for(var i=_1c.length;--i>=0;){
+var _25=_1c[i];
+if(/stylesheet/i.test(_25.rel)){
+if(/alternate/i.test(_25.rel)){
+_1f=_25;
+}else{
+_1e=_25;
+}
+}
+}
+for(var i=_1d.length;--i>=0;){
+var _26=_1d[i];
+if(/content-type/i.test(_26.httpEquiv)){
+r=/^text\/html; *charset=(.*)$/i.exec(_26.content);
+_20=r[1];
+_21=_26;
+}else{
+if((/keywords/i.test(_26.name))||(/keywords/i.test(_26.id))){
+_22=_26;
+}else{
+if((/description/i.test(_26.name))||(/description/i.test(_26.id))){
+_23=_26;
+}
+}
+}
+}
+function createLink(alt){
+var _28=doc.createElement("link");
+_28.rel=alt?"alternate stylesheet":"stylesheet";
+_1b.appendChild(_28);
+return _28;
+}
+function createMeta(_29,_2a,_2b){
+var _2c=doc.createElement("meta");
+if(_29!=""){
+_2c.httpEquiv=_29;
+}
+if(_2a!=""){
+_2c.name=_2a;
+}
+if(_2a!=""){
+_2c.id=_2a;
+}
+_2c.content=_2b;
+_1b.appendChild(_2c);
+return _2c;
+}
+if(!_1e&&_18.f_base_style){
+_1e=createLink(false);
+}
+if(_18.f_base_style){
+_1e.href=_18.f_base_style;
+}else{
+if(_1e){
+_1b.removeChild(_1e);
+}
+}
+if(!_1f&&_18.f_alt_style){
+_1f=createLink(true);
+}
+if(_18.f_alt_style){
+_1f.href=_18.f_alt_style;
+}else{
+if(_1f){
+_1b.removeChild(_1f);
+}
+}
+if(_21){
+_1b.removeChild(_21);
+_21=null;
+}
+if(!_21&&_18.f_charset){
+_21=createMeta("Content-Type","","text/html; charset="+_18.f_charset);
+}
+if(!_22&&_18.f_keywords){
+_22=createMeta("","keywords",_18.f_keywords);
+}else{
+if(_18.f_keywords){
+_22.content=_18.f_keywords;
+}else{
+if(_22){
+_1b.removeChild(_22);
+}
+}
+}
+if(!_23&&_18.f_description){
+_23=createMeta("","description",_18.f_description);
+}else{
+if(_18.f_description){
+_23.content=_18.f_description;
+}else{
+if(_23){
+_1b.removeChild(_23);
+}
+}
+}
+for(var i in _18){
+var val=_18[i];
+switch(i){
+case "f_title":
+var _2e=doc.getElementsByTagName("title")[0];
+if(!_2e){
+_2e=doc.createElement("title");
+_1b.appendChild(_2e);
+}else{
+while(node=_2e.lastChild){
+_2e.removeChild(node);
+}
+}
+if(!HTMLArea.is_ie){
+_2e.appendChild(doc.createTextNode(val));
+}else{
+doc.title=val;
+}
+break;
+case "f_doctype":
+this.editor.setDoctype(val);
+break;
+case "f_body_bgcolor":
+doc.body.style.backgroundColor=val;
+break;
+case "f_body_fgcolor":
+doc.body.style.color=val;
+break;
+}
+}
+};
+

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/full-page.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/img/docprop.gif
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/img/docprop.gif?view=auto&rev=558490
==============================================================================
Binary file - no diff available.

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/img/docprop.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/de.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/de.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,18 @@
+// I18N for the FullPage plugin
+// LANG: "de", ENCODING: UTF-8
+// Author: Holger Hees, http://www.systemconcept.de
+{
+  "Alternate style-sheet:": "Alternativer Stylesheet:",
+  "Background color:": "Hintergrundfarbe:",
+  "Cancel": "Abbrechen",
+  "DOCTYPE:": "DOCTYPE:",
+  "Document properties": "Dokumenteigenschaften",
+  "Document title:": "Dokumenttitel:",
+  "OK": "OK",
+  "Primary style-sheet:": "Stylesheet:",
+  "Text color:": "Textfarbe:",
+  "Character set:": "Zeichensatz",
+  "Description:": "Beschreibung",
+  "Keywords:": "Schlüsselworte",
+  "UTF-8 (recommended)": "UTF-8 (empfohlen)"
+}

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/de.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/fr.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/fr.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,17 @@
+// I18N for the FullPage plugin
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Alternate style-sheet:": "Feuille CSS alternative",
+  "Background color:": "Couleur d'arrière plan",
+  "Cancel": "Annuler",
+  "DOCTYPE:": "DOCTYPE",
+  "Document properties": "Propriétés du document",
+  "Document title:": "Titre du document",
+  "OK": "OK",
+  "Primary style-sheet:": "Feuille CSS primaire",
+  "Text color:": "Couleur de texte",
+  "Character set:": "Jeu de caractères",
+  "Description:": "Description",
+  "Keywords:": "Mots clés",
+  "UTF-8 (recommended)": "UTF-8 (recommandé)"
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/fr.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/he.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/he.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/he.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/he.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,14 @@
+// I18N for the FullPage plugin
+// LANG: "he", ENCODING: UTF-8
+// Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org>
+{
+  "Alternate style-sheet:": "גיליון סגנון אחר:",
+  "Background color:": "צבע רקע:",
+  "Cancel": "ביטול",
+  "DOCTYPE:": "DOCTYPE:",
+  "Document properties": "מאפייני מסמך",
+  "Document title:": "כותרת מסמך:",
+  "OK": "אישור",
+  "Primary style-sheet:": "גיליון סגנון ראשי:",
+  "Text color:": "צבע טקסט:"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/he.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ja.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ja.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,17 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Alternate style-sheet:": "代替スタイルシート:",
+  "Background color:": "背景色:",
+  "Cancel": "中止",
+  "DOCTYPE:": "DOCTYPE:",
+  "Document properties": "文書のプロパティ",
+  "Document title:": "文書の表題:",
+  "OK": "OK",
+  "Primary style-sheet:": "優先スタイルシート:",
+  "Text color:": "文字色:",
+  "Character set:": "文字セット:",
+  "Description:": "説明:",
+  "Keywords:": "キーワード:",
+  "UTF-8 (recommended)": "UTF-8 (推奨)"
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ja.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nb.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nb.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nb.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,17 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "Alternate style-sheet:": "Alternativt stilsett:",
+  "Background color:": "Bakgrunnsfarge:",
+  "Cancel": "Avbryt",
+  "DOCTYPE:": "DOCTYPE:",
+  "Keywords:": "Nøkkelord",
+  "Description:": "Beskrivelse",
+  "Character set:": "Tegnsett",
+  "Document properties": "Egenskaper for dokument",
+  "Document title:": "Tittel på dokument:",
+  "OK": "OK",
+  "Primary style-sheet:": "Stilsett:",
+  "Text color:": "Tekstfarge:"
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nb.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nl.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nl.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nl.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nl.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,13 @@
+// I18N for the FullPage plugin
+// LANG: "nl", ENCODING: UTF-8
+{
+  "Alternate style-sheet:": "Wisselen van style-sheet:",
+  "Background color:": "Achtergrondkleur:",
+  "Cancel": "Annuleren",
+  "DOCTYPE:": "DOCTYPE:",
+  "Document properties": "Documenteigenschappen",
+  "Document title:": "Documenttitel:",
+  "OK": "OK",
+  "Primary style-sheet:": "Primaire style-sheet:",
+  "Text color:": "Tekstkleur:"
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/nl.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/pl.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/pl.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/pl.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/pl.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,18 @@
+// I18N for the FullPage plugin
+// LANG: "pl", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz, koto1sa@o2.pl, http://www.eskot.krakow.pl/portfolio
+{
+  "Alternate style-sheet:": "Alternatywny arkusz stylów:",
+  "Background color:": "Kolor tła:",
+  "Cancel": "Anuluj",
+  "DOCTYPE:": "DOCTYPE:",
+  "Document properties": "Właściwości dokumentu",
+  "Document title:": "Tytuł dokumentu:",
+  "OK": "OK",
+  "Primary style-sheet:": "Arkusz stylów:",
+  "Text color:": "Kolor tekstu:",
+  "Character set:": "Zestaw znaków",
+  "Description:": "Opis",
+  "Keywords:": "Słowa kluczowe",
+  "UTF-8 (recommended)": "UTF-8 (zalecany)"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/pl.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ro.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ro.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ro.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ro.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,14 @@
+// I18N for the FullPage plugin
+// LANG: "en", ENCODING: UTF-8
+// Author: Mihai Bazon, http://dynarch.com/mishoo
+{
+  "Alternate style-sheet:": "Template CSS alternativ:",
+  "Background color:": "Culoare de fundal:",
+  "Cancel": "Renunţă",
+  "DOCTYPE:": "DOCTYPE:",
+  "Document properties": "Proprietăţile documentului",
+  "Document title:": "Titlul documentului:",
+  "OK": "Acceptă",
+  "Primary style-sheet:": "Template CSS principal:",
+  "Text color:": "Culoare text:"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/lang/ro.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/popups/docprop.html
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/popups/docprop.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/popups/docprop.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/popups/docprop.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,142 @@
+<html>
+<head>
+<title>Document properties</title>
+<script type="text/javascript" src="../../../popups/popup.js"></script>
+<script type="text/javascript" src="../../../modules/ColorPicker/ColorPicker.js"></script>
+<link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+<script type="text/javascript">
+FullPage = window.opener.FullPage; // load the FullPage plugin and lang file ;-)
+window.resizeTo(400, 130);
+var accepted = {
+  f_doctype       : true,
+  f_title         : true,
+  f_body_bgcolor  : true,
+  f_body_fgcolor  : true,
+  f_base_style    : true,
+  f_alt_style     : true,
+  f_charset       : true,
+  f_keywords      : true,
+  f_description   : true
+};
+
+var editor = null;
+function Init() {
+  __dlg_translate('FullPage');
+  __dlg_init();
+  var params = window.dialogArguments;
+  for (var i in params) {
+    if (i in accepted) {
+      var el = document.getElementById(i);
+      el.value = params[i];
+    }
+  }
+  editor = params.editor;
+
+  var bgCol_pick = document.getElementById('bgCol_pick');
+  var f_body_bgcolor = document.getElementById('f_body_bgcolor');
+  var bgColPicker = new Xinha.colorPicker({cellsize:'5px',callback:function(color){f_body_bgcolor.value=color;}});
+  bgCol_pick.onclick = function() { bgColPicker.open('top,right', f_body_bgcolor ); }
+
+  var fgCol_pick = document.getElementById('fgCol_pick');
+  var f_body_fgcolor = document.getElementById('f_body_fgcolor');
+  var fgColPicker = new Xinha.colorPicker({cellsize:'5px',callback:function(color){f_body_fgcolor.value=color;}});
+  fgCol_pick.onclick = function() { fgColPicker.open('top,right', f_body_fgcolor ); }
+
+  document.getElementById("f_title").focus();
+  document.getElementById("f_title").select();
+}
+
+function onOK() {
+  var required = {
+  };
+  for (var i in required) {
+    var el = document.getElementById(i);
+    if (!el.value) {
+      alert(required[i]);
+      el.focus();
+      return false;
+    }
+  }
+
+  var param = {};
+  for (var i in accepted) {
+    var el = document.getElementById(i);
+    param[i] = el.value;
+  }
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+</script>
+<style type="text/css">
+.fr { width: 11em; float: left; padding: 2px 5px; text-align: right; }
+.txt { width:200px; }
+div { clear:both; }
+.picker { width:30px; }
+</style>
+</head>
+
+<body class="dialog" onload="Init()">
+
+<div class="title">Document properties</div>
+
+<div>
+  <label class="fr" for="f_title">Document title:</label>
+  <input type="text" id="f_title" class="txt" />
+</div>
+<div>
+  <label class="fr" for="f_doctype">DOCTYPE:</label>
+  <input type="text" id="f_doctype" class="txt" />
+</div>
+<div>
+  <label class="fr" for="f_keywords">Keywords:</label>
+
+  <input type="text" id="f_keywords" class="txt" />
+</div>
+<div>
+  <label class="fr" for="f_description">Description:</label>
+  <input type="text" id="f_description" class="txt" />
+</div>
+<div>
+  <label class="fr" for="f_charset">Character set:</label>
+  <select id="f_charset" class="txt">
+    <option value=""></option>
+    <option value="utf-8">UTF-8 (recommended)</option>
+    <option value="windows-1251">cyrillic (WINDOWS-1251)</option>
+
+    <option value="koi8-r">cyrillic (KOI8-R)</option>
+    <option value="iso-8859-5">cyrillic (ISO-8859-5)</option>
+    <option value="iso-8859-1">western (ISO-8859-1)</option>
+  </select>
+</div>
+<div>
+  <label class="fr" for="f_base_style">Primary style-sheet:</label>
+  <input type="text" id="f_base_style" class="txt" />
+</div>
+<div>
+  <label class="fr" for="f_alt_style">Alternate style-sheet:</label>
+  <input type="text" id="f_alt_style" class="txt" />
+</div>
+<div>
+  <label class="fr" for="f_body_bgcolor">Background color:</label>
+  <input name="f_body_bgcolor" type="text" id="f_body_bgcolor" size="7" />
+  <button type="button" id="bgCol_pick" class="picker">...</button>
+</div>
+<div>
+  <label class="fr" for="f_body_fgcolor">Text color:</label>
+  <input name="f_body_fgcolor" type="text" id="f_body_fgcolor" size="7" />
+  <button type="button" id="fgCol_pick" class="picker">...</button>
+</div>
+
+<div id="buttons">
+  <button type="button" name="ok" onclick="return onOK();"><span>OK</span></button>
+
+  <button type="button" name="cancel" onclick="return onCancel();"><span>Cancel</span></button>
+</div>
+
+</body>
+</html>
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/FullPage/popups/docprop.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/GetHtml/get-html.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/GetHtml/get-html.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/GetHtml/get-html.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/GetHtml/get-html.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,17 @@
+/**
+ Implemented now as GetHtmlImplementation plugin in modules/GetHtml/TransformInnerHTML.js
+  */
+  
+function GetHtml(editor) {
+    editor.config.getHtmlMethod = "TransformInnerHTML";
+}
+
+GetHtml._pluginInfo = {
+	name          : "GetHtml",
+	version       : "1.0",
+	developer     : "Nelson Bright",
+	developer_url : "http://www.brightworkweb.com/",
+	sponsor       : "",
+    sponsor_url   : "",
+	license       : "htmlArea"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/GetHtml/get-html.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/horizontal-rule.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/horizontal-rule.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/horizontal-rule.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/horizontal-rule.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,127 @@
+HorizontalRule._pluginInfo={name:"HorizontalRule",version:"1.0",developer:"Nelson Bright",developer_url:"http://www.brightworkweb.com/",c_owner:"Nelson Bright",sponsor:"BrightWork, Inc.",sponsor_url:"http://www.brightworkweb.com/",license:"htmlArea"};
+function HorizontalRule(_1){
+this.editor=_1;
+var _2=_1.config;
+var _3=_2.toolbar;
+var _4=this;
+_2.registerButton({id:"edithorizontalrule",tooltip:this._lc("Insert/edit horizontal rule"),image:[_editor_url+"images/ed_buttons_main.gif",6,0],textMode:false,action:function(_5){
+_4.buttonPress(_5);
+}});
+_2.addToolbarElement("edithorizontalrule","inserthorizontalrule",0);
+}
+HorizontalRule.prototype._lc=function(_6){
+return Xinha._lc(_6,"HorizontalRule");
+};
+HorizontalRule.prototype.buttonPress=function(_7){
+this.editor=_7;
+this._editHorizontalRule();
+};
+HorizontalRule.prototype._editHorizontalRule=function(_8){
+editor=this.editor;
+var _9=editor._getSelection();
+var _a=editor._createRange(_9);
+var _b=null;
+if(typeof _8=="undefined"){
+_8=editor.getParentElement();
+if(_8&&!/^hr$/i.test(_8.tagName)){
+_8=null;
+}
+}
+if(_8){
+var _c=_8.style.width||_8.width;
+_b={f_size:parseInt(_8.style.height,10)||_8.size,f_widthUnit:(/(%|px)$/.test(_c))?RegExp.$1:"px",f_width:parseInt(_c,10),f_color:Xinha._colorToRgb(_8.style.backgroundColor)||_8.color,f_align:_8.style.textAlign||_8.align,f_noshade:(parseInt(_8.style.borderWidth,10)==0)||_8.noShade};
+}
+editor._popupDialog("plugin://HorizontalRule/edit_horizontal_rule.html",function(_d){
+if(!_d){
+return false;
+}
+var hr=_8;
+if(!hr){
+var _f=editor._doc.createElement("hr");
+for(var _10 in _d){
+var _11=_d[_10];
+if(_11==""){
+continue;
+}
+switch(_10){
+case "f_width":
+if(_d["f_widthUnit"]=="%"){
+_f.style.width=_11+"%";
+}else{
+_f.style.width=_11+"px";
+}
+break;
+case "f_size":
+_f.style.height=_11+"px";
+break;
+case "f_align":
+_f.style.textAlign=_11;
+switch(_11){
+case "left":
+_f.style.marginLeft="0";
+break;
+case "right":
+_f.style.marginRight="0";
+break;
+case "center":
+_f.style.marginLeft="auto";
+_f.style.marginRight="auto";
+break;
+}
+break;
+case "f_color":
+_f.style.backgroundColor=_11;
+break;
+case "f_noshade":
+_f.style.border="0";
+break;
+}
+}
+if(Xinha.is_gecko){
+editor.execCommand("inserthtml",false,Xinha.getOuterHTML(_f));
+}else{
+editor.insertNodeAtSelection(_f);
+}
+}else{
+for(var _10 in _d){
+var _11=_d[_10];
+switch(_10){
+case "f_width":
+if(_d["f_widthUnit"]=="%"){
+hr.style.width=_11+"%";
+}else{
+hr.style.width=_11+"px";
+}
+break;
+case "f_size":
+hr.style.height=_11+"px";
+break;
+case "f_align":
+hr.style.textAlign=_11;
+switch(_11){
+case "left":
+hr.style.marginLeft="0";
+hr.style.marginRight=null;
+break;
+case "right":
+hr.style.marginRight="0";
+hr.style.marginLeft=null;
+break;
+case "center":
+hr.style.marginLeft="auto";
+hr.style.marginRight="auto";
+break;
+}
+break;
+case "f_color":
+hr.style.backgroundColor=_11;
+break;
+case "f_noshade":
+break;
+}
+hr.style.border=(_d["f_noshade"])?"0":null;
+}
+}
+},_b);
+};
+

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/horizontal-rule.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/de.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/de.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,21 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
+{
+  "Insert/edit horizontal rule": "horizontale Linie einfügen/bearbeiten",
+  "Horizontal Rule": "Horizontale Linie",
+  "Layout": "Gestaltung",
+  "Width:": "Breite:",
+  "percent": "Prozent",
+  "pixels": "Pixel",
+  "Height:": "Höhe:",
+  "Alignment:": "Ausrichtung:",
+  "Left": "links",
+  "Center": "zentriert",
+  "Right": "rechts",
+  "Style": "Stil",
+  "Color:": "Farbe",
+  "No shading": "keine Schattierung",
+  "Note:": "Anmerkung",
+  "To select an existing horizontal rule, a double-click may be needed.": "Um eine horizontale Linie auszuwählen kann ein Doppelklick erforderlich sein."
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/de.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/fr.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/fr.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,20 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Insert/edit horizontal rule": "Insérer une règle horizontale",
+  "Horizontal Rule": "Règle horizontale",
+  "Layout": "Layout",
+  "Width:": "Largeur",
+  "percent": "pourcent",
+  "pixels": "pixels",
+  "Height:": "Hauteur",
+  "Alignment:": "Alignement",
+  "Left": "Gauche",
+  "Center": "Centre",
+  "Right": "Droite",
+  "Style": "Style",
+  "Color:": "Couleur",
+  "No shading": "Pas d'ombre",
+  "Note:": "Note",
+  "To select an existing horizontal rule, a double-click may be needed.": "Pour sélectionner une règle horizontale, un double-clic peut être nécessaire."
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/fr.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/ja.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/ja.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,21 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+// This string is for auto detection of multi-encoding editor : 国際化文字検出用文字列
+{
+  "Insert/edit horizontal rule": "水平線の挿入/修正",
+  "Horizontal Rule": "水平線",
+  "Layout": "レイアウト",
+  "Width:": "幅:",
+  "percent": "パーセント",
+  "pixels": "ピクセル",
+  "Height:": "高さ:",
+  "Alignment:": "行揃え:",
+  "Left": "å·¦",
+  "Center": "中央",
+  "Right": "右",
+  "Style": "スタイル",
+  "Color:": "色:",
+  "No shading": "影付けなし",
+  "Note:": "備考",
+  "To select an existing horizontal rule, a double-click may be needed.":"既存の水平線を選択するにはDoubleClickが必要。"
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/ja.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/nb.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/nb.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/nb.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,21 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "Insert/edit horizontal rule": "Sett inn/ rediger horisontal linje",
+  "Horizontal Rule": "Horisontal linje",
+  "Layout": "Oppsett",
+  "Width:": "Bredde:",
+  "percent": "prosent",
+  "pixels": "Piksel",
+  "Height:": "Høyde:",
+  "Alignment:": "Justering:",
+  "Left": "Venstre",
+  "Center": "Sentrert",
+  "Right": "Høyre",
+  "Style": "Stil",
+  "Color:": "Farge",
+  "No shading": "Ingen skygge",
+  "Note:": "Notat",
+  "To select an existing horizontal rule, a double-click may be needed.": "For å velge en horisontal linje kan det hende du må dobbeltklikke."
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/lang/nb.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/popups/edit_horizontal_rule.html
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/popups/edit_horizontal_rule.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/popups/edit_horizontal_rule.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/popups/edit_horizontal_rule.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,141 @@
+<!DOCTYPE html
+     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>Insert/Edit Horizontal Rule</title>
+  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+  <script type="text/javascript" src="../../../popups/popup.js"></script>
+  <script type="text/javascript" src="../../../modules/ColorPicker/ColorPicker.js"></script>
+<script type="text/javascript">
+editor = window.opener.editor;
+
+function Init() {
+	__dlg_translate("HorizontalRule");
+	__dlg_init(null,{width:320,height:290});
+	var params = window.dialogArguments;
+	if(params) {
+		document.getElementById("f_size").value = params.f_size;
+		document.getElementById("f_width").value = params.f_width;
+		document.getElementById("f_widthUnit").value = params.f_widthUnit;
+		document.getElementById("f_align").value = params.f_align;
+		document.getElementById("f_color").value = params.f_color;
+		document.getElementById("hrpv").style.backgroundColor = params.f_color;
+		document.getElementById("f_noshade").checked = params.f_noshade;
+	}
+	
+	var colpick = document.getElementById('hrpv');
+	var f_color = document.getElementById('f_color');
+	var colPicker = new Xinha.colorPicker({cellsize:'5px',callback:selectColor});
+	colpick.onclick = function() { colPicker.open('top,left',colpick, f_color.value ); }
+	
+	document.getElementById("f_width").focus();
+}
+
+function onOK() {
+  var fields = ["f_size", "f_width", "f_widthUnit", "f_align", "f_color", "f_noshade"];
+  var param = {};
+  for (var i in fields) {
+    var id = fields[i];
+	var el = document.getElementById(id);
+    param[id] = (el.type == "checkbox") ? el.checked : el.value;
+  }
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+
+function selectColor(color) {
+	document.getElementById('hrpv').style.backgroundColor = color;
+	document.getElementById('f_color').value = color;
+}
+window.onload = Init;
+</script>
+
+<style type="text/css">
+.buttonColor {
+  padding: 1px;
+  cursor: default;
+  border: 1px solid;
+  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
+}
+
+.buttonColor-hilite {
+  border-color: #000;
+}
+
+.buttonColor .chooser {
+  height: 0.6em;
+  border: 1px solid;
+  padding: 0px 1em;
+  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
+}
+
+.buttonColor .nocolor {
+  padding: 0px;
+  height: 0.6em;
+  border: 1px solid;
+  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
+}
+.buttonColor .nocolor-hilite { background-color: #fff; color: #f00; }
+</style>
+
+</head>
+
+<body class="dialog">
+<div class="title">Horizontal Rule</div>
+<form action="" method="get">
+  <fieldset>
+  <legend>Layout</legend>
+    <div class="fr">Width:</div>
+    <input style="margin-right: 0.5em;" name="f_width" id="f_width" size="5" type="text" />
+    <select style="margin-right: 0.5em;" name="f_widthUnit" id="f_widthUnit">
+      <option value="%">percent</option>
+      <option value="px">pixels</option>
+    </select>
+	<br />
+    <div class="fr">Height:</div>
+    <input style="margin-right: 0.5em;" name="f_size" id="f_size" size="5" type="text" /> <span>pixels</span>
+	<br />
+    <div class="fr">Alignment:</div>
+    <select name="f_align" id="f_align">
+      <option value="left">Left</option>
+      <option value="center">Center</option>
+      <option value="right">Right</option>
+    </select>
+
+  </fieldset>
+  <fieldset>
+  <legend>Style</legend>
+    <div class="fr">Color:</div>
+    <table cellpadding="2" cellspacing="0" id="hrbtn" class="buttonColor">
+    <tr>
+      <td class="chooser" id="hrpv"
+          onmouseover="document.getElementById('hrbtn').style.borderColor='black'"
+          onmouseout="document.getElementById('hrbtn').style.borderColor='ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight'"
+          >&nbsp;</td>
+      <td class="nocolor" id="hrclr"
+          onmouseover="document.getElementById('hrclr').style.color='#f00'"
+          onmouseout="document.getElementById('hrclr').style.color='#000'"
+          onclick="document.getElementById('f_color').value='';	document.getElementById('hrpv').style.backgroundColor=''">&#x00d7;</td>
+    </tr>
+    </table>
+    <br />
+    <div class="fr"> </div>
+    <input type="hidden" name="f_color" id="f_color" />
+    <input type="checkbox" name="f_noshade" id="f_noshade" value="noshade" />
+    <span>No shading</span>
+    <br />
+  </fieldset>
+<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

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HorizontalRule/popups/edit_horizontal_rule.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/Entities.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/Entities.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/Entities.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/Entities.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,204 @@
+{
+"&iexcl;" : "¡",
+"&cent;" : "¢",
+"&pound;" : "£",
+"&curren;" : "¤",
+"&yen;" : "Â¥",
+"&brvbar;" : "¦",
+"&sect;" : "§",
+"&uml;" : "¨",
+"&copy;" : "©",
+"&ordf;" : "ª",
+"&laquo;" : "«",
+"&not;" : "¬",
+"&reg;" : "®",
+"&macr;" : "¯",
+"&deg;" : "°",
+"&plusmn;" : "±",
+"&sup2;" : "²",
+"&sup3;" : "³",
+"&acute;" : "´",
+"&micro;" : "µ",
+"&para;" : "¶",
+"&middot;" : "·",
+"&cedil;" : "¸",
+"&sup1;" : "¹",
+"&ordm;" : "º",
+"&raquo;" : "»",
+"&frac14;" : "¼",
+"&frac12;" : "½",
+"&frac34;" : "¾",
+"&iquest;" : "¿",
+"&Agrave;" : "À",
+"&Aacute;" : "Á",
+"&Acirc;" : "Â",
+"&Atilde;" : "Ã",
+"&Auml;" : "Ä",
+"&Aring;" : "Å",
+"&AElig;" : "Æ",
+"&Ccedil;" : "Ç",
+"&Egrave;" : "È",
+"&Eacute;" : "É",
+"&Ecirc;" : "Ê",
+"&Euml;" : "Ë",
+"&Igrave;" : "Ì",
+"&Iacute;" : "Í",
+"&Icirc;" : "Î",
+"&Iuml;" : "Ï",
+"&ETH;" : "Ð",
+"&Ntilde;" : "Ñ",
+"&Ograve;" : "Ò",
+"&Oacute;" : "Ó",
+"&Ocirc;" : "Ô",
+"&Otilde;" : "Õ",
+"&Ouml;" : "Ö",
+"&times;" : "×",
+"&Oslash;" : "Ø",
+"&Ugrave;" : "Ù",
+"&Uacute;" : "Ú",
+"&Ucirc;" : "Û",
+"&Uuml;" : "Ü",
+"&Yacute;" : "Ý",
+"&THORN;" : "Þ",
+"&szlig;" : "ß",
+"&agrave;" : "à",
+"&aacute;" : "á",
+"&acirc;" : "â",
+"&atilde;" : "ã",
+"&auml;" : "ä",
+"&aring;" : "Ã¥",
+"&aelig;" : "æ",
+"&ccedil;" : "ç",
+"&egrave;" : "è",
+"&eacute;" : "é",
+"&ecirc;" : "ê",
+"&euml;" : "ë",
+"&igrave;" : "ì",
+"&iacute;" : "í",
+"&icirc;" : "î",
+"&iuml;" : "ï",
+"&eth;" : "ð",
+"&ntilde;" : "ñ",
+"&ograve;" : "ò",
+"&oacute;" : "ó",
+"&oacute;" : "ó",
+"&ocirc;" : "ô",
+"&otilde;" : "õ",
+"&ouml;" : "ö",
+"&divide;" : "÷",
+"&oslash;" : "ø",
+"&ugrave;" : "ù",
+"&uacute;" : "ú",
+"&ucirc;" : "û",
+"&uuml;" : "ü",
+"&yacute;" : "ý",
+"&thorn;" : "þ",
+"&yuml;" : "ÿ",
+"&fnof;" : "ƒ",
+"&Alpha;" : "Α",
+"&Beta;" : "Β",
+"&Gamma;" : "Γ",
+"&Delta;" : "Δ",
+"&Epsilon;" : "Ε",
+"&Zeta;" : "Ζ",
+"&Eta;" : "Η",
+"&Theta;" : "Θ",
+"&Iota;" : "Ι",
+"&Kappa;" : "Κ",
+"&Lambda;" : "Λ",
+"&Mu;" : "Μ",
+"&Nu;" : "Ν",
+"&Xi;" : "Ξ",
+"&Omicron;" : "Ο ",
+"&Pi;" : "Π",
+"&Rho;" : "Ρ",
+"&Sigma;" : "Σ",
+"&Tau;" : "Τ",
+"&Upsilon;" : "Î¥",
+"&Phi;" : "Φ",
+"&Chi;" : "Χ",
+"&Psi;" : "Ψ",
+"&Omega;" : "Ω",
+"&alpha;" : "α",
+"&beta;" : "β",
+"&gamma;" : "γ",
+"&delta;" : "δ",
+"&epsilon;" : "ε",
+"&zeta;" : "ζ",
+"&eta;" : "η",
+"&theta;" : "θ",
+"&iota;" : "ι",
+"&kappa;" : "κ",
+"&lambda;" : "λ",
+"&mu;" : "μ",
+"&nu;" : "ν",
+"&xi;" : "ξ",
+"&omicron;" : "ο",
+"&pi;" : "π",
+"&rho;" : "ρ",
+"&sigmaf;" : "ς",
+"&sigma;" : "σ",
+"&tau;" : "τ",
+"&upsilon;" : "υ",
+"&phi;" : "φ",
+"&omega;" : "ω",
+"&bull;" : "•",
+"&hellip;" : "…",
+"&prime;" : "′",
+"&Prime;" : "″",
+"&oline;" : "‾",
+"&frasl;" : "⁄",
+"&trade;" : "™",
+"&larr;" : "←",
+"&uarr;" : "↑",
+"&rarr;" : "→",
+"&darr;" : "↓",
+"&harr;" : "↔",
+"&rArr;" : "⇒",
+"&part;" : "∂",
+"&prod;" : "∏",
+"&sum;" : "∑",
+"&minus;" : "−",
+"&radic;" : "√",
+"&infin;" : "∞",
+"&cap;" : "∩",
+"&int;" : "∫",
+"&asymp;" : "≈",
+"&ne;" : "≠",
+"&equiv;" : "≡",
+"&le;" : "≤",
+"&ge;" : "≥",
+"&loz;" : "◊",
+"&spades;" : "♠",
+"&clubs;" : "♣",
+"&hearts;" : "♥",
+"&diams;" : "♦",
+"&OElig;" : "Œ",
+"&oelig;" : "œ",
+"&Scaron;" : "Å ",
+"&scaron;" : "Å¡",
+"&Yuml;" : "Ÿ",
+"&circ;" : "ˆ",
+"&tilde;" : "˜",
+"&ndash;" : "–",
+"&mdash;" : "—",
+"&lsquo;" : "‘",
+"&rsquo;" : "’",
+"&sbquo;" : "‚",
+"&ldquo;" : "“",
+"&rdquo;" : "”",
+"&bdquo;" : "„",
+"&dagger;" : "†",
+"&Dagger;" : "‡",
+"&permil;" : "‰",
+"&lsaquo;" : "‹",
+"&rsaquo;" : "›",
+"&euro;" : "€",
+
+	// \x22 means '"' -- we use hex reprezentation so that we don't disturb
+	// JS compressors (well, at least mine fails.. ;)
+	
+	"&nbsp;" : "\xA0",
+	"&#8804;" : String.fromCharCode(0x2264), 
+	"&#8805;" : String.fromCharCode(0x2265)
+}

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/Entities.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/html-entities.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/html-entities.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/html-entities.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/html-entities.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,51 @@
+/*------------------------------------------*\
+HtmlEntities for Xinha
+____________________
+
+Intended to faciliate the use of special characters with ISO 8 bit encodings.
+
+Using the conversion map provided by mharrisonline in ticket #127
+
+If you want to adjust the list, e.g. to except the characters that are available in the used charset,
+edit Entities.js. 
+You may save it under a different name using the xinha_config.HtmlEntities.EntitiesFile variable
+
+ISO-8859-1 preset is default, set
+  
+  xinha_config.HtmlEntities.Encoding = null;
+
+if you want all special characters to be converted or want to load a custom file 
+\*------------------------------------------*/
+
+function HtmlEntities(editor) {
+	this.editor = editor;
+}
+
+HtmlEntities._pluginInfo = {
+  name          : "HtmlEntities",
+  version       : "1.0",
+  developer     : "Raimund Meyer",
+  developer_url : "http://rheinauf.de",
+  c_owner       : "Xinha community",
+  sponsor       : "",
+  sponsor_url   : "",
+  license       : "Creative Commons Attribution-ShareAlike License"
+}
+Xinha.Config.prototype.HtmlEntities =
+{
+	Encoding     : 'iso-8859-1',
+	EntitiesFile : _editor_url + "plugins/HtmlEntities/Entities.js"
+}
+HtmlEntities.prototype.onGenerate = function() {
+    var e = this.editor;
+    var url = (e.config.HtmlEntities.Encoding) ?  _editor_url + "plugins/HtmlEntities/"+e.config.HtmlEntities.Encoding+".js" : e.config.HtmlEntities.EntitiesFile;
+    var callback = function (getback) {
+    	var specialReplacements = e.config.specialReplacements;
+    	eval("var replacements =" + getback);
+    	for (var i in  replacements)
+		{
+			specialReplacements[i] =  replacements[i];	
+		}
+    }
+    Xinha._getback(url,callback);
+}

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/html-entities.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/iso-8859-1.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/iso-8859-1.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/iso-8859-1.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/iso-8859-1.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,109 @@
+{
+"&fnof;" : "ƒ",
+"&Alpha;" : "Α",
+"&Beta;" : "Β",
+"&Gamma;" : "Γ",
+"&Delta;" : "Δ",
+"&Epsilon;" : "Ε",
+"&Zeta;" : "Ζ",
+"&Eta;" : "Η",
+"&Theta;" : "Θ",
+"&Iota;" : "Ι",
+"&Kappa;" : "Κ",
+"&Lambda;" : "Λ",
+"&Mu;" : "Μ",
+"&Nu;" : "Ν",
+"&Xi;" : "Ξ",
+"&Omicron;" : "Ο ",
+"&Pi;" : "Π",
+"&Rho;" : "Ρ",
+"&Sigma;" : "Σ",
+"&Tau;" : "Τ",
+"&Upsilon;" : "Î¥",
+"&Phi;" : "Φ",
+"&Chi;" : "Χ",
+"&Psi;" : "Ψ",
+"&Omega;" : "Ω",
+"&alpha;" : "α",
+"&beta;" : "β",
+"&gamma;" : "γ",
+"&delta;" : "δ",
+"&epsilon;" : "ε",
+"&zeta;" : "ζ",
+"&eta;" : "η",
+"&theta;" : "θ",
+"&iota;" : "ι",
+"&kappa;" : "κ",
+"&lambda;" : "λ",
+"&mu;" : "μ",
+"&nu;" : "ν",
+"&xi;" : "ξ",
+"&omicron;" : "ο",
+"&pi;" : "π",
+"&rho;" : "ρ",
+"&sigmaf;" : "ς",
+"&sigma;" : "σ",
+"&tau;" : "τ",
+"&upsilon;" : "υ",
+"&phi;" : "φ",
+"&omega;" : "ω",
+"&bull;" : "•",
+"&hellip;" : "…",
+"&prime;" : "′",
+"&Prime;" : "″",
+"&oline;" : "‾",
+"&frasl;" : "⁄",
+"&trade;" : "™",
+"&larr;" : "←",
+"&uarr;" : "↑",
+"&rarr;" : "→",
+"&darr;" : "↓",
+"&harr;" : "↔",
+"&rArr;" : "⇒",
+"&part;" : "∂",
+"&prod;" : "∏",
+"&sum;" : "∑",
+"&minus;" : "−",
+"&radic;" : "√",
+"&infin;" : "∞",
+"&cap;" : "∩",
+"&int;" : "∫",
+"&asymp;" : "≈",
+"&ne;" : "≠",
+"&equiv;" : "≡",
+"&le;" : "≤",
+"&ge;" : "≥",
+"&loz;" : "◊",
+"&spades;" : "♠",
+"&clubs;" : "♣",
+"&hearts;" : "♥",
+"&diams;" : "♦",
+"&OElig;" : "Œ",
+"&oelig;" : "œ",
+"&Scaron;" : "Å ",
+"&scaron;" : "Å¡",
+"&Yuml;" : "Ÿ",
+"&circ;" : "ˆ",
+"&tilde;" : "˜",
+"&ndash;" : "–",
+"&mdash;" : "—",
+"&lsquo;" : "‘",
+"&rsquo;" : "’",
+"&sbquo;" : "‚",
+"&ldquo;" : "“",
+"&rdquo;" : "”",
+"&bdquo;" : "„",
+"&dagger;" : "†",
+"&Dagger;" : "‡",
+"&permil;" : "‰",
+"&lsaquo;" : "‹",
+"&rsaquo;" : "›",
+"&euro;" : "€",
+
+	// \x22 means '"' -- we use hex reprezentation so that we don't disturb
+	// JS compressors (well, at least mine fails.. ;)
+	
+	"&nbsp;" : "\xA0",
+	"&#8804;" : String.fromCharCode(0x2264), 
+	"&#8805;" : String.fromCharCode(0x2265)
+}

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlEntities/iso-8859-1.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/README
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/README?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/README (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/README Sun Jul 22 07:50:10 2007
@@ -0,0 +1,104 @@
+// Plugin for htmlArea to run code through the server's HTML Tidy
+// By Adam Wright, for The University of Western Australia
+//
+//   Email:      zeno@ucc.gu.uwa.edu.au
+//   Homepage:   http://blog.hipikat.org/
+//
+// Distributed under the same terms as HTMLArea itself.
+// This notice MUST stay intact for use (see license.txt).
+//
+// Version: 0.5
+// Released to the outside world: 04/03/04
+
+
+HtmlTidy is a plugin for the popular cross-browser TTY WYSIWYG editor,
+htmlArea (http://www.interactivetools.com/products/htmlarea/). HtmlTidy
+basically queries HTML Tidy (http://tidy.sourceforge.net/) on the
+server side, getting it to make-html-nice, instead of relying on masses
+of javascript, which the client would have to download.
+
+Hi, this is a quick explanation of how to install HtmlTidy. Much better
+documentation is probably required, and you're welcome to write it :)
+
+
+* The HtmlTidy directory you should have found this file in should
+  include the following:
+
+  - README
+        This file, providing help installing the plugin.
+
+  - html-tidy-config.cfg
+        This file contains the configuration options HTML Tidy uses to
+        clean html, and can be modified to suit your organizations
+        requirements.
+
+  - html-tidy-logic.php
+        This is the php script, which is queried with dirty html and is
+        responsible for invoking HTML Tidy, getting nice new html and
+        returning it to the client.
+
+  - html-tidy.js
+        The main htmlArea plugin, providing functionality to tidy html
+        through the htmlArea interface.
+
+  - htmlarea.js.onmode_event.diff
+        At the time of publishing, an extra event handler was required
+        inside the main htmlarea.js file. htmlarea.js may be patched
+        against this file to make the changes reuquired, but be aware
+        that the event handler may either now be in the core or
+        htmlarea.js may have changed enough to invalidate the patch.
+	
+	UPDATE: now it exists in the official htmlarea.js; applying
+	this patch is thus no longer necessary.
+
+  - img/html-tidy.gif
+        The HtmlTidy icon, for the htmlArea toolbar. Created by Dan
+        Petty for The University of Western Australia.
+
+  - lang/en.js
+        English language file. Add your own language files here and
+        please contribute back into the htmlArea community!
+
+  The HtmlArea directory should be extracted to your htmlarea/plugins/
+  directory.
+
+
+* Make sure the onMode event handler mentioned above, regarding
+  htmlarea.js.onmode_event.diff, exists in your htmlarea.js
+
+
+* html-tidy-logic.php should be executable, and your web server should
+  be configured to execute php scripts in the directory
+  html-tidy-logic.php exists in.
+
+
+* HTML Tidy needs to be installed on your server, and 'tidy' should be
+  an alias to it, lying in the PATH known to the user executing such
+  web scripts.
+
+
+* In your htmlArea configuration, do something like this:
+
+    HTMLArea.loadPlugin("HtmlTidy");
+
+    editor = new HTMLArea("doc");
+    editor.registerPlugin("HtmlTidy");
+
+
+* Then, in your htmlArea toolbar configuration, use:
+
+    - "HT-html-tidy"
+        This will create the 'tidy broom' icon on the toolbar, which
+        will attempt to tidy html source when clicked, and;
+
+    - "HT-auto-tidy"
+        This will create an "Auto Tidy" / "Don't Tidy" dropdown, to
+        select whether the source should be tidied automatically when
+        entering source view. On by default, if you'd like it otherwise
+        you can do so programatically after generating the toolbar :)
+        (Or just hack it to be otherwise...)
+    
+
+Thank you.
+
+Any bugs you find can be emailed to zeno@ucc.gu.uwa.edu.au

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/README
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy-config.cfg
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy-config.cfg?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy-config.cfg (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy-config.cfg Sun Jul 22 07:50:10 2007
@@ -0,0 +1,29 @@
+// Default configuration file for the htmlArea, HtmlTidy plugin
+// By Adam Wright, for The University of Western Australia
+//
+// Evertything you always wanted to know about HTML Tidy *
+// can be found at http://tidy.sourceforge.net/, and a
+// quick reference to the configuration options exists at
+// http://tidy.sourceforge.net/docs/quickref.html
+//
+// * But were afraid to ask
+//
+// Distributed under the same terms as HTMLArea itself.
+// This notice MUST stay intact for use (see license.txt).
+
+word-2000: yes
+clean: yes
+drop-font-tags: no
+doctype: auto
+drop-empty-paras: yes
+drop-proprietary-attributes: yes
+enclose-block-text: yes
+enclose-text: yes
+escape-cdata: yes
+logical-emphasis: yes
+indent: auto
+indent-spaces: 2
+break-before-br: yes
+output-xhtml: yes
+
+force-output: yes

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy-logic.php
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy-logic.php?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy-logic.php (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy-logic.php Sun Jul 22 07:50:10 2007
@@ -0,0 +1,79 @@
+<?php 
+##
+##  Plugin for htmlArea, to run code through the server's HTML Tidy
+##   By Adam Wright, for The University of Western Australia
+##    This is the server-side script, which dirty code is run through.
+##
+##  Distributed under the same terms as HTMLArea itself.
+##  This notice MUST stay intact for use (see license.txt).
+##
+
+	// Get the original source
+	$source = $_POST['htisource_name'];
+	$source = stripslashes($source);
+  $cwd = str_replace("\\","/",getcwd())."/";
+  
+	// Open a tidy process - I hope it's installed!
+	$descriptorspec = array(
+		0 => array("pipe", "r"),
+		1 => array("pipe", "w")
+	);
+	$process = @proc_open("tidy -utf8 -config {$cwd}html-tidy-config.cfg", $descriptorspec, $pipes);
+
+
+	// Make sure the program started and we got the hooks...
+	// Either way, get some source code into $source
+	if (is_resource($process)) {
+
+		// Feed untidy source into the stdin
+		fwrite($pipes[0], $source);
+		fclose($pipes[0]);
+
+		// Read clean source out to the browser
+		while (!feof($pipes[1])) {
+			//echo fgets($pipes[1], 1024);
+			$newsrc .= fgets($pipes[1], 1024);
+		}
+		fclose($pipes[1]);
+
+		// Clean up after ourselves
+		proc_close($process);
+
+	} else {
+    /* Use tidy if it's available from PECL */
+    if( function_exists('tidy_parse_string') )
+    {
+      $tempsrc = tidy_parse_string($source);
+      tidy_clean_repair();
+      $newsrc = tidy_get_output();
+    }
+    else
+    {
+      // Better give them back what they came with, so they don't lose it all...
+      $newsrc = "<body>\n" .$source. "\n</body>";
+    }
+	}
+
+	// Split our source into an array by lines
+	$srcLines = preg_split("/\n/",$newsrc,-1,PREG_SPLIT_NO_EMPTY);
+
+	// Get only the lines between the body tags
+	$startLn = 0;
+	while ( strpos( $srcLines[$startLn++], '<body' ) === false && $startLn < sizeof($srcLines) );
+	$endLn = $startLn;
+	while ( strpos( $srcLines[$endLn++], '</body' ) === false && $endLn < sizeof($srcLines) );
+
+	$srcLines = array_slice( $srcLines, $startLn, ($endLn - $startLn - 1) );
+
+	// Create a set of javascript code to compile a new source string
+	foreach ($srcLines as $line) {
+		$jsMakeSrc .= "\tns += '" . str_replace("'","\'",$line) . "\\n';\n";
+	}
+if(!sizeof($srcLines)) {
+    echo "alert(HTMLArea._lc('Tidy failed.  Check your HTML for syntax errors.', 'HtmlTidy'));\n";
+} else {
+?>
+var ns="";
+<?php echo $jsMakeSrc; ?>
+editor.setHTML(ns);
+<? } ?>
\ No newline at end of file

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,105 @@
+// Plugin for htmlArea to run code through the server's HTML Tidy
+// By Adam Wright, for The University of Western Australia
+//
+// Distributed under the same terms as HTMLArea itself.
+// This notice MUST stay intact for use (see license.txt).
+
+function HtmlTidy(editor) {
+	this.editor = editor;
+
+	var cfg = editor.config;
+	var bl = HtmlTidy.btnList;
+	var self = this;
+
+	this.onMode = this.__onMode;
+
+	// register the toolbar buttons provided by this plugin
+	var toolbar = [];
+	for (var i = 0; i < bl.length; ++i) {
+		var btn = bl[i];
+		if (btn == "html-tidy") {
+			var id = "HT-html-tidy";
+			cfg.registerButton(id, this._lc("HTML Tidy"), editor.imgURL(btn[0] + ".gif", "HtmlTidy"), true,
+					   function(editor, id) {
+						   // dispatch button press event
+						   self.buttonPress(editor, id);
+					   }, btn[1]);
+			toolbar.push(id);
+		} else if (btn == "html-auto-tidy") {
+            var btnTxt = [this._lc("Auto-Tidy"), this._lc("Don't Tidy")];
+            var optionItems = new Object();
+            optionItems[btnTxt[0]] = "auto";
+            optionItems[btnTxt[1]] = "noauto";
+			var ht_class = {
+				id	: "HT-auto-tidy",
+				options	: optionItems,
+				action	: function (editor) { self.__onSelect(editor, this); },
+				refresh	: function (editor) { },
+				context	: "body"
+			};
+			cfg.registerDropdown(ht_class);
+		}
+	}
+
+	for (var i in toolbar) {
+		cfg.toolbar[0].push(toolbar[i]);
+	}
+}
+
+HtmlTidy._pluginInfo = {
+	name          : "HtmlTidy",
+	version       : "1.0",
+	developer     : "Adam Wright",
+	developer_url : "http://blog.hipikat.org/",
+	sponsor       : "The University of Western Australia",
+	sponsor_url   : "http://www.uwa.edu.au/",
+	license       : "htmlArea"
+};
+
+HtmlTidy.prototype._lc = function(string) {
+    return HTMLArea._lc(string, 'HtmlTidy');
+};
+
+HtmlTidy.prototype.__onSelect = function(editor, obj) {
+	// Get the toolbar element object
+	var elem = editor._toolbarObjects[obj.id].element;
+
+	// Set our onMode event appropriately
+	if (elem.value == "auto")
+		this.onMode = this.__onMode;
+	else
+		this.onMode = null;
+};
+
+HtmlTidy.prototype.__onMode = function(mode) {
+	if ( mode == "textmode" ) {
+		this.buttonPress(this.editor, "HT-html-tidy");
+	}
+};
+
+HtmlTidy.btnList = [
+		    null, // separator
+		    ["html-tidy"],
+		    ["html-auto-tidy"]
+];
+
+HtmlTidy.prototype.buttonPress = function(editor, id) {
+
+	switch (id)
+  {
+    case "HT-html-tidy":
+    {
+      var oldhtml = editor.getHTML();
+      if(oldhtml=="") break; //don't clean empty text
+      // Ask the server for some nice new html, based on the old...
+      HTMLArea._postback(_editor_url + 'plugins/HtmlTidy/html-tidy-logic.php', {'htisource_name' : oldhtml},
+                            function(javascriptResponse) { eval(javascriptResponse) });
+    }
+		break;
+	}
+};
+
+HtmlTidy.prototype.processTidied = function(newSrc) {
+	editor = this.editor;
+	editor.setHTML(newSrc);
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/html-tidy.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/img/html-tidy.gif
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/img/html-tidy.gif?view=auto&rev=558490
==============================================================================
Binary file - no diff available.

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/img/html-tidy.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/de.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/de.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,7 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// Author: Raimund Meyer ray@ray-of-light.org
+{
+  "HTML Tidy": "HTML Tidy",
+	"Tidy failed.  Check your HTML for syntax errors.": "Tidy fehlgeschlagen. Prüfen Sie den HTML Code nach Syntax-Fehlern."  
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/de.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/fr.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/fr.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "HTML Tidy": "HTML Tidy",
+  "Auto-Tidy": "Tidy automatique",
+  "Don't Tidy": "Tidy non utilisé",
+  "Tidy failed.  Check your HTML for syntax errors.": "Tidy a échoué. Vérifiez votre HTML for des erreurs de syntaxe"
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/fr.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/ja.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/ja.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "HTML Tidy": "HTML Tidy",
+  "Auto-Tidy": "自動適正化",
+  "Don't Tidy": "適正化しない",
+  "Tidy failed.  Check your HTML for syntax errors.":"適正化に失敗しました。HTMLの文法エラーを確認してください。"
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/ja.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nb.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nb.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nb.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,7 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "HTML Tidy": "HTML Tidy",
+  "Tidy failed.  Check your HTML for syntax errors.": "Tidy feilet. Sjekk HTML koden for syntaksfeil."
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nb.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nl.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nl.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nl.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nl.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,5 @@
+// I18N constants
+// LANG: "nl", ENCODING: UTF-8
+{
+  "HT-html-tidy": "HTML opschonen"
+};
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/HtmlTidy/lang/nl.js
------------------------------------------------------------------------------
    svn:eol-style = native