svn commit: r578051 [15/31] - in /lenya/branches/revolution/1.3.x/src: java/org/apache/lenya/cms/content/flat/ webapp/lenya/modules/xinha/ webapp/lenya/modules/xinha/contrib/ webapp/lenya/modules/xinha/examples/ webapp/lenya/modules/xinha/images/ webap...

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FormOperations/panel.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FormOperations/panel.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FormOperations/panel.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FormOperations/panel.html Fri Sep 21 03:36:30 2007
@@ -0,0 +1,212 @@
+<h1 name="[h1]" id="[h1]"><l10n>Form Editor</l10n></h1>
+  <fieldset name="[fs_form]" id="[fs_form]">
+    <legend>Form</legend>
+    <table>
+      <tr>
+        <th><label>Action:</label></th>
+        <td><input type="text" size="25" name="[action]" id="[action]" /></td>
+
+        <th><label>Method:</label></th>
+        <td><select name="[method]" id="[method]"><option value="POST">POST</option><option value="GET">GET</option></select></td>
+      </tr>
+    </table>
+  </fieldset>
+
+  <fieldset name="[fs_text]" id="[fs_text]">
+    <legend>Text Field</legend>
+
+    <table>
+      <tr>
+        <th>Name:</th>
+        <td>
+          <input type="text" name="[text_name]" id="[text_name]" size="25" />
+        </td>
+        <th>&nbsp;</th>
+        <td>&nbsp;</td>
+      </tr>
+      <tr>
+        <th>Type:</th>
+        <td>
+          <select name="[text_type]" id="[text_type]">
+            <option value="text">normal text field</option>
+            <option value="password">password</option>
+            <option value="hidden">hidden field</option>
+          </select>
+        </td>
+        <th>Initial Value:</th>
+        <td>
+          <input type="text" name="[text_value]" id="[text_value]" size="25" />
+        </td>
+      </tr>
+      <tr>
+        <th>Width:</th>
+        <td>
+          <input type="text" name="[text_width]" id="[text_width]" size="5" />
+          <select name="[text_width_units]" id="[text_width_units]">
+            <option value="em">chars</option>
+            <option value="px">px</option
+                >
+            <option value="%">%</option>
+          </select>
+        </td>
+        <th>Max Length:</th>
+        <td>
+          <input type="text" name="[text_maxlength]" id="[text_maxlength]"   size="5" />
+        </td>
+      </tr>
+    </table>
+  </fieldset>
+
+  <fieldset name="[fs_cbrd]" id="[fs_cbrd]">
+    <legend>Check Box/Radio Button</legend>
+    <table>
+      <tr>
+        <th>Name:</th>
+        <td>
+          <input type="text" name="[cbrd_name]" id="[cbrd_name]" size="25" />
+        </td>
+        <th>Value:</th>
+        <td>
+          <input type="text" name="[cbrd_value]" id="[cbrd_value]" size="25" />
+        </td>
+      </tr>
+      <tr>
+        <th>Type:</th>
+        <td>
+          <select name="[cbrd_type]" id="[cbrd_type]">
+            <option value="checkbox">Check Box ("Select Many")</option>
+            <option value="radio">Radio Button ("Select One")</option>
+          </select>
+        </td>
+        <th>Selected by default:</th>
+        <td><input type="checkbox" name="[cbrd_checked]" id="[cbrd_checked]" value="1" /></td>
+      </tr>
+      <tr>
+        <td colspan="4">
+          <p class="help">
+            Tip: Check boxes (select many) and radio buttons (select one only) that are choices for a single question should have the same Name to work correctly.
+          </p>
+        </td>
+      </tr>
+    </table>
+  </fieldset>
+
+  <fieldset name="[fs_button]" id="[fs_button]">
+    <legend>Button</legend>
+    <table>
+      <tr>
+        <th>Name:</th>
+        <td>
+          <input type="text" name="[button_name]" id="[button_name]" size="25" />
+        </td>
+        <th>Label:</th>
+        <td>
+          <input type="text" name="[button_value]" id="[button_value]" size="25" />
+        </td>
+      </tr>
+      <tr>
+        <th>Type:</th>
+        <td>
+          <select name="[button_type]" id="[button_type]">
+            <option value="submit">Submit</option>
+            <option value="reset">Reset</option>
+          </select>
+        </td>
+        <td>&nbsp;</td>
+        <td>&nbsp;</td>
+      </tr>
+    </table>
+  </fieldset>
+
+
+  <fieldset name="[fs_textarea]" id="[fs_textarea]">
+    <legend>Multi-line Field</legend>
+    <table>
+      <tr>
+        <th>Name:</th>
+        <td><input type="text" name="[textarea_name]" id="[textarea_name]" size="25" /></td>
+
+    <th>Initial Value</th>
+      </tr>
+
+      <tr>
+        <th>Width:</th>
+        <td>
+          <input type="text" name="[textarea_width]" id="[textarea_width]" size="5" />
+          <select name="[textarea_width_units]" id="[textarea_width_units]">
+            <option value="em">chars</option>
+            <option value="px">px</option>
+            <option value="%">%</option>
+          </select>
+        </td>
+        <td rowspan="2"><textarea name="[textarea_value]" cols="40" rows="4" id="[textarea_value]"></textarea></td>
+      </tr>
+
+      <tr>
+        <th>Height:</th>
+        <td>
+          <input type="text" name="[textarea_height]" id="[textarea_height]" size="5" />
+          <select name="[textarea_height_units]" id="[textarea_height_units]">
+            <option value="em">chars</option>
+            <option value="px">px</option>
+          </select>
+        </td>
+      </tr>
+
+    </table>
+  </fieldset>
+
+  <fieldset name="[fs_select]" id="[fs_select]">
+    <legend>Drop-Down/List Field</legend>
+
+<table>
+  <tr>
+    <th>Name:</th>
+    <td>
+      <input type="text" name="[select_name]" id="[select_name]" size="25" />
+    </td>
+    <th colspan="2">Options</th>
+  </tr>
+  <tr>
+    <th>May Choose Multiple:</th>
+    <td>
+      <input type="checkbox" name="[select_multiple]" id="[select_multiple]" size="25" value="1" />
+    </td>
+    <td rowspan="3">
+      <select name="[select_options]" size="5" id="[select_options]" >
+      </select>
+    </td>
+    <td rowspan="3">
+      <input name="button" type="button" id="[add_option]" value="Add"       />
+      <br>
+      <input name="button2" type="button" id="[del_option]" value="Delete"    />
+      <br>
+      <input name="button2"  type="button" id="[up_option]" value="Move Up"   />
+      <br>
+      <input name="button2"  type="button" id="[down_option]" value="Move Down" />
+    </td>
+  </tr>
+  <tr>
+    <th>Width:</th>
+    <td>
+      <input type="text" name="[select_width]" id="[select_width]" size="5" />
+      <select name="[select_width_units]" id="[select_width_units]">
+        <option value="em">chars</option>
+        <option value="px">px</option>
+        <option value="%">%</option>
+      </select>
+    </td>
+  </tr>
+  <tr>
+    <th>Height:</th>
+    <td>
+      <input type="text" name="[select_height]" id="[select_height]" size="5" />
+      <select name="[select_height_units]" id="[select_height_units]">
+        <option value="items">items</option>
+        <option value="px">px</option>
+      </select>
+    </td>
+  </tr>
+</table>
+  </fieldset>
+</div>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/forms.css
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/forms.css?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/forms.css (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/forms.css Fri Sep 21 03:36:30 2007
@@ -0,0 +1,3 @@
+form {
+  border: 1px dotted red;
+}

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/forms.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/forms.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/forms.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/forms.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,354 @@
+function Forms(_1){
+this.editor=_1;
+var _2=_1.config;
+var bl=Forms.btnList;
+var _4=this;
+var _5=["linebreak"];
+for(var i=0;i<bl.length;++i){
+var _7=bl[i];
+if(!_7){
+_5.push("separator");
+}else{
+var id=_7[0];
+if(i<3){
+_2.registerButton(id,this._lc(_7[1]),_1.imgURL("ed_"+_7[0]+".gif","Forms"),false,function(_9,id){
+_4.buttonPress(_9,id);
+});
+}else{
+_2.registerButton(id,this._lc(_7[1]),_1.imgURL("ed_"+_7[0]+".gif","Forms"),false,function(_b,id){
+_4.buttonPress(_b,id);
+},"form");
+}
+_5.push(id);
+}
+}
+_2.toolbar.push(_5);
+}
+Forms._pluginInfo={name:"Forms",origin:"version: 1.0, by Nelson Bright, BrightWork, Inc., http://www.brightworkweb.com",version:"2.0",developer:"Udo Schmal",developer_url:"",sponsor:"L.N.Schaffrath NeueMedien",sponsor_url:"http://www.schaffrath-neuemedien.de/",c_owner:"Udo Schmal & Schaffrath-NeueMedien",license:"htmlArea"};
+Forms.btnList=[null,["form","Form"],null,["textarea","Textarea"],["select","Selection Field"],["checkbox","Checkbox"],["radio","Radio Button"],["text","Text Field"],["password","Password Field"],["file","File Field"],["button","Button"],["submit","Submit Button"],["reset","Reset Button"],["image","Image Button"],["hidden","Hidden Field"],["label","Label"],["fieldset","Field Set"]];
+Forms.prototype._lc=function(_d){
+return HTMLArea._lc(_d,"Forms");
+};
+Forms.prototype.onGenerate=function(){
+var _e="Form-style";
+var _f=this.editor._doc.getElementById(_e);
+if(_f==null){
+_f=this.editor._doc.createElement("link");
+_f.id=_e;
+_f.rel="stylesheet";
+_f.href=_editor_url+"plugins/Forms/forms.css";
+this.editor._doc.getElementsByTagName("HEAD")[0].appendChild(_f);
+}
+};
+Forms.prototype.buttonPress=function(_10,_11,_12){
+function optionValues(_13,_14){
+this.text=_13;
+this.value=_14;
+}
+var _15=new Object();
+var _16=_11;
+var sel=_10._getSelection();
+var _18=_10._createRange(sel);
+if(_11=="form"){
+var pe=_10.getParentElement();
+var frm=null;
+while(pe&&(pe.nodeType==1)&&(pe.tagName.toLowerCase()!="body")){
+if(pe.tagName.toLowerCase()=="form"){
+frm=pe;
+break;
+}else{
+pe=pe.parentNode;
+}
+}
+if(frm){
+_15.f_name=frm.name;
+_15.f_action=frm.action;
+_15.f_method=frm.method;
+_15.f_enctype=frm.enctype;
+_15.f_target=frm.target;
+}else{
+_15.f_name="";
+_15.f_action="";
+_15.f_method="";
+_15.f_enctype="";
+_15.f_target="";
+}
+_10._popupDialog("plugin://Forms/form",function(_1b){
+if(_1b){
+if(frm){
+frm.name=_1b["f_name"];
+frm.setAttribute("action",_1b["f_action"]);
+frm.setAttribute("method",_1b["f_method"]);
+frm.setAttribute("enctype",_1b["f_enctype"]);
+frm.setAttribute("target",_1b["f_target"]);
+}else{
+frm="<form name=\""+_1b["f_name"]+"\"";
+if(_1b["f_action"]!=""){
+frm+=" action=\""+_1b["f_action"]+"\"";
+}
+if(_1b["f_method"]!=""){
+frm+=" method=\""+_1b["f_method"]+"\"";
+}
+if(_1b["f_enctype"]!=""){
+frm+=" enctype=\""+_1b["f_enctype"]+"\"";
+}
+if(_1b["f_target"]!=""){
+frm+=" target=\""+_1b["f_target"]+"\"";
+}
+frm+=">";
+_10.surroundHTML(frm,"&nbsp;</form>");
+}
+}
+},_15);
+}else{
+var _1c="";
+if(typeof _12=="undefined"){
+_12=_10.getParentElement();
+var tag=_12.tagName.toLowerCase();
+if(_12&&(tag=="legend")){
+_12=_12.parentElement;
+tag=_12.tagName.toLowerCase();
+}
+if(_12&&!(tag=="textarea"||tag=="select"||tag=="input"||tag=="label"||tag=="fieldset")){
+_12=null;
+}
+}
+if(_12){
+_16=_12.tagName.toLowerCase();
+_15.f_name=_12.name;
+_1c=_12.tagName;
+if(_16=="input"){
+_15.f_type=_12.type;
+_16=_12.type;
+}
+switch(_16){
+case "textarea":
+_15.f_cols=_12.cols;
+_15.f_rows=_12.rows;
+_15.f_text=_12.innerHTML;
+_15.f_wrap=_12.getAttribute("wrap");
+_15.f_readOnly=_12.getAttribute("readOnly");
+_15.f_disabled=_12.getAttribute("disabled");
+_15.f_tabindex=_12.getAttribute("tabindex");
+_15.f_accesskey=_12.getAttribute("accesskey");
+break;
+case "select":
+_15.f_size=parseInt(_12.size);
+_15.f_multiple=_12.getAttribute("multiple");
+_15.f_disabled=_12.getAttribute("disabled");
+_15.f_tabindex=_12.getAttribute("tabindex");
+var _1e=new Array();
+for(var i=0;i<=_12.options.length-1;i++){
+_1e[i]=new optionValues(_12.options[i].text,_12.options[i].value);
+}
+_15.f_options=_1e;
+break;
+case "text":
+case "password":
+_15.f_value=_12.value;
+_15.f_size=_12.size;
+_15.f_maxLength=_12.maxLength;
+_15.f_readOnly=_12.getAttribute("readOnly");
+_15.f_disabled=_12.getAttribute("disabled");
+_15.f_tabindex=_12.getAttribute("tabindex");
+_15.f_accesskey=_12.getAttribute("accesskey");
+break;
+case "hidden":
+_15.f_value=_12.value;
+break;
+case "submit":
+case "reset":
+_15.f_value=_12.value;
+_15.f_disabled=_12.getAttribute("disabled");
+_15.f_tabindex=_12.getAttribute("tabindex");
+_15.f_accesskey=_12.getAttribute("accesskey");
+break;
+case "checkbox":
+case "radio":
+_15.f_value=_12.value;
+_15.f_checked=_12.checked;
+_15.f_disabled=_12.getAttribute("disabled");
+_15.f_tabindex=_12.getAttribute("tabindex");
+_15.f_accesskey=_12.getAttribute("accesskey");
+break;
+case "button":
+_15.f_value=_12.value;
+_15.f_onclick=_12.getAttribute("onclick");
+_15.f_disabled=_12.getAttribute("disabled");
+_15.f_tabindex=_12.getAttribute("tabindex");
+_15.f_accesskey=_12.getAttribute("accesskey");
+break;
+case "image":
+_15.f_value=_12.value;
+_15.f_src=_12.src;
+_15.f_disabled=_12.getAttribute("disabled");
+_15.f_tabindex=_12.getAttribute("tabindex");
+_15.f_accesskey=_12.getAttribute("accesskey");
+break;
+case "file":
+_15.f_disabled=_12.getAttribute("disabled");
+_15.f_tabindex=_12.getAttribute("tabindex");
+_15.f_accesskey=_12.getAttribute("accesskey");
+break;
+case "label":
+_15.f_text=_12.innerHTML;
+_15.f_for=_12.getAttribute("for");
+_15.f_accesskey=_12.getAttribute("accesskey");
+break;
+case "fieldset":
+if(_12.firstChild.tagName.toLowerCase()=="legend"){
+_15.f_text=_12.firstChild.innerHTML;
+}else{
+_15.f_text="";
+}
+break;
+}
+}else{
+_15.f_name="";
+switch(_11){
+case "textarea":
+case "select":
+case "label":
+case "fieldset":
+_1c=_11;
+break;
+default:
+_1c="input";
+_15.f_type=_11;
+break;
+}
+_15.f_options="";
+_15.f_cols="20";
+_15.f_rows="4";
+_15.f_multiple="false";
+_15.f_value="";
+_15.f_size="";
+_15.f_maxLength="";
+_15.f_checked="";
+_15.f_src="";
+_15.f_onclick="";
+_15.f_wrap="";
+_15.f_readOnly="false";
+_15.f_disabled="false";
+_15.f_tabindex="";
+_15.f_accesskey="";
+_15.f_for="";
+_15.f_text="";
+_15.f_legend="";
+}
+_10._popupDialog("plugin://Forms/"+_1c+".html",function(_20){
+if(_20){
+if(_20["f_cols"]){
+if(isNaN(parseInt(_20["f_cols"],10))||parseInt(_20["f_cols"],10)<=0){
+_20["f_cols"]="";
+}
+}
+if(_20["f_rows"]){
+if(isNaN(parseInt(_20["f_rows"],10))||parseInt(_20["f_rows"],10)<=0){
+_20["f_rows"]="";
+}
+}
+if(_20["f_size"]){
+if(isNaN(parseInt(_20["f_size"],10))||parseInt(_20["f_size"],10)<=0){
+_20["f_size"]="";
+}
+}
+if(_20["f_maxlength"]){
+if(isNaN(parseInt(_20["f_maxLength"],10))||parseInt(_20["f_maxLength"],10)<=0){
+_20["f_maxLength"]="";
+}
+}
+if(_12){
+for(field in _20){
+if((field=="f_text")||(field=="f_options")||(field=="f_onclick")||(field=="f_checked")){
+continue;
+}
+if(_20[field]!=""){
+_12.setAttribute(field.substring(2,20),_20[field]);
+}else{
+_12.removeAttribute(field.substring(2,20));
+}
+}
+if(_16=="textarea"){
+_12.innerHTML=_20["f_text"];
+}else{
+if(_16=="select"){
+_12.options.length=0;
+var _21=_20["f_options"];
+for(i=0;i<=_21.length-1;i++){
+_12.options[i]=new Option(_21[i].text,_21[i].value);
+}
+}else{
+if(_16=="label"){
+_12.innerHTML=_20["f_text"];
+}else{
+if(_16=="fieldset"){
+if(_15.f_text!=""){
+if(_12.firstChild.tagName.toLowerCase()=="legend"){
+_12.firstChild.innerHTML=_20["f_text"];
+}
+}else{
+}
+}else{
+if((_16=="checkbox")||(_16=="radio")){
+if(_20["f_checked"]!=""){
+_12.checked=true;
+}else{
+_12.checked=false;
+}
+}else{
+if(_20["f_onclick"]){
+_12.onclick="";
+if(_20["f_onclick"]!=""){
+_12.onclick=_20["f_onclick"];
+}
+}
+}
+}
+}
+}
+}
+}else{
+var _22="";
+for(field in _20){
+if(!_20[field]){
+continue;
+}
+if((_20[field]=="")||(field=="f_text")||(field=="f_options")){
+continue;
+}
+_22+=" "+field.substring(2,20)+"=\""+_20[field]+"\"";
+}
+if(_16=="textarea"){
+_22="<textarea"+_22+">"+_20["f_text"]+"</textarea>";
+}else{
+if(_16=="select"){
+_22="<select"+_22+">";
+var _21=_20["f_options"];
+for(i=0;i<=_21.length-1;i++){
+_22+="<option value=\""+_21[i].value+"\">"+_21[i].text+"</option>";
+}
+_22+="</select>";
+}else{
+if(_16=="label"){
+_22="<label"+_22+">"+_20["f_text"]+"</label>";
+}else{
+if(_16=="fieldset"){
+_22="<fieldset"+_22+">";
+if(_20["f_legend"]!=""){
+_22+="<legend>"+_20["f_text"]+"</legend>";
+}
+_22+="</fieldset>";
+}else{
+_22="<input type=\""+_16+"\""+_22+">";
+}
+}
+}
+}
+_10.insertHTML(_22);
+}
+}
+},_15);
+}
+};
+

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_button.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_button.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_button.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_checkbox.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_checkbox.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_checkbox.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_fieldset.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_fieldset.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_fieldset.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_file.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_file.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_file.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_form.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_form.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_form.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_hidden.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_hidden.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_hidden.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_image.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_image.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_image.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_label.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_label.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_label.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_password.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_password.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_password.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_radio.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_radio.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_radio.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_reset.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_reset.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_reset.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_select.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_select.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_select.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_submit.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_submit.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_submit.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_text.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_text.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_text.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_textarea.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_textarea.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/img/ed_textarea.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/lang/ja.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/lang/ja.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/lang/ja.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/lang/ja.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,86 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Form": "フォーム",
+  "Textarea": "テキストエリア",
+  "Selection Field": "選択肢フィールド",
+  "Checkbox": "チェックボックス",
+  "Radio Button": "ラジオボタン",
+  "Text Field": "テキストフィールド",
+  "Password Field": "パスワードフィールド",
+  "File Field": "ファイルフィールド",
+  "Submit Button": "送信ボタン",
+  "Reset Button": "リセットボタン",
+  "Image Button": "画像ボタン",
+  "Button": "ボタン",
+  "Hidden Field": "非表示フィールド",
+  "Label": "ラベル",
+  "Field Set": "フィールドセット",
+  "Form Element: INPUT": "フォーム要素: INPUT",
+  "Form Element: SELECT": "フォーム要素: SELECT",
+  "Form Element: TEXTAREA": "フォーム要素: TEXTAREA",
+  "Form Element: LABEL": "フォーム要素: LABEL",
+  "Form Element: FIELDSET": "フォーム要素: FIELDSET",
+  "Form Name:": "フォーム名:",
+  "Form handler script": "フォーム処理スクリプト",
+  "Action URL:": "アクションURL:",
+  "Method:": "メソッド:",
+  "Post": "POST",
+  "Get": "GET",
+  "Encoding:": "エンコード:",
+  "HTML-Form to CGI (default)": "HTMLフォームからCGIへ(デフォルト)",
+  "multipart Form Data (File-Upload)": "マルチパート(ファイルアップロード用)",
+  "Target Frame:": "ターゲット:",
+  "Name/ID:": "名前/ID:",
+  "Value:": "値:",
+  "Disabled": "無効",
+  "Checked": "チェック済み",
+  "Tab Index:": "タブ順序:",
+  "Access Key:": "アクセスキー:",
+  "Read Only": "読み取り専用",
+  "Dimensions": "大きさ",
+  "Size:": "サイズ:",
+  "Max length:": "最大長:",
+  "Button Script": "ボタンスクリプト",
+  "'onClick'=": "'onClick'=",
+  "Image source": "画像ソース",
+  "Image URL:": "画像URL:",
+  "Multiple Select": "複数選択",
+  "Options": "選択肢",
+  "Lable:": "ラベル:",
+  "Move Up": "上へ",
+  "Move Down": "下へ",
+  "Delete": "削除",
+  "Add": "追加",
+  "Columns:": "列数:",
+  "Rows:": "行数:",
+  "Wrap Mode:": "折り返し:",
+  "Off": "オフ",
+  "Soft": "ソフト",
+  "Hard": "ハード",
+  "Physical": "物理的",
+  "Virtual": "仮想",
+  "normal": "標準",
+  "nowrap": "折り返しなし",
+  "pre": "フォーマット済み",
+  "Initial Text:": "初期テキスト:",
+  "Text:": "テキスト:",
+  "For Control:": "制御対象:",
+  "Legend:": "グループ名:",
+  "Cancel": "中止",
+  "Name": "名前",
+  "Name of the form input": "フォーム入力の名前",
+  "Value of the form input": "フォーム入力の値",
+  "Size of text box in characters": "文字数によるテキストボックスの大きさ",
+  "Maximum number of characters accepted": "入力可能な最大文字数",
+  "Javascript for button click": "ボタンクリック時のJavaScritp",
+  "URL of image": "画像のURL",
+  "Name of the form select": "",
+  "name of the textarea": "テキストエリアの名前",
+  "Width in number of characters": "文字数による幅",
+  "Height in number of rows": "行数による高さ",
+  "Default text (optional)": "テキスト初期値(オプション)",
+  "You must enter the form name": "フォーム名が必要です",
+  "You must enter a Name": "名前が必要です",
+  "Please enter a Label": "ラベルを入力してください"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/fieldset.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/fieldset.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/fieldset.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/fieldset.html Fri Sep 21 03:36:30 2007
@@ -0,0 +1,46 @@
+<html>
+
+<head>
+  <title>Insert/Edit Form Element FIELDSET</title>
+  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+  <script type="text/javascript" src="../../../popups/popup.js"></script>
+
+<script type="text/javascript">
+function Init() {
+	window.resizeTo(350,320);
+  __dlg_translate("Forms");
+	__dlg_init();
+	var param = window.dialogArguments;
+  document.getElementById("f_text").value = param["f_text"];
+  document.getElementById("f_text").focus();
+}
+
+function onOK() {
+	// pass data back to the calling window
+  var param = new Object();
+  param["f_text"] = document.getElementById("f_text").value;
+	__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: FIELDSET</div>
+  <form action="" method="get">
+    <div class="fr">Legend:</div>
+    <input type="text" name="text" id="f_text" />
+    <p />
+    <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>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/form.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/form.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/form.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/form.html Fri Sep 21 03:36:30 2007
@@ -0,0 +1,90 @@
+<html>
+
+<head>
+  <title>Insert/Edit Form</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_action", "f_method", "f_enctype", "f_target"];
+
+function Init() {
+  window.resizeTo(400, 170);
+  __dlg_translate("Forms");
+	__dlg_init();
+  var param = window.dialogArguments;
+  for (var i in fields) {
+    document.getElementById(fields[i]).value = param[fields[i]];
+  }
+ 	document.getElementById("f_name").focus();
+}
+
+function onOK() {
+  var required = {
+    "f_name": "You must enter the form name"
+  };
+  for (var i in required) {
+	  var el = document.getElementById(i);
+	  if (!el.value) {
+		alert(HTMLArea._lc(required[i],"Forms"));
+		el.focus();
+		return false;
+	  }
+  }
+  // pass data back to the calling window
+  var param = new Object();
+  for (var i in fields) {
+    param[fields[i]] = document.getElementById(fields[i]).value;
+  }
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+</script>
+</head>
+
+<body class="dialog" onload="Init()">
+<div class="title">Form</div>
+<form action="" method="get">
+  <div class="fr">Form Name:</div>
+  <input type="text" name="name" id="f_name" size="20" title="Name" />
+  <p />
+
+  <fieldset>
+  <legend>Form handler script</legend>
+  <div class="space"></div>
+  <div class="fr">Action URL:</div>
+  <input name="action" id="f_action" type="text" size="30">
+  <p />
+  <div class="fr">Method:</div>
+  <select name="f_method" id="f_method">
+    <option value=""></option>
+    <option value="post">Post</option>
+    <option value="get">Get</option>
+  </select>
+  <div class="space"></div>
+  <div class="fr">Encoding:</div>
+  <select name="enctype" id="f_enctype">
+    <option value=""></option>
+    <option value="application/x-www-form-urlencoded">HTML-Form to CGI (default)</option>
+    <option value="multipart/form-data">multipart Form Data (File-Upload)</option>
+  </select>
+  <p />
+  <div class="fr">Target Frame:</div>
+  <input name="target" id="f_target" type="text" size="30">
+  <p />  
+  </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>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/input.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/input.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/input.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/input.html Fri Sep 21 03:36:30 2007
@@ -0,0 +1,179 @@
+<html>
+
+<head>
+  <title>Insert/Edit Form Element INPUT</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 = null;
+var type;
+function Init() {
+  __dlg_translate("Forms");
+	__dlg_init();
+	var param = window.dialogArguments;
+  type = param.f_type;
+  document.getElementById("f_type").innerHTML = HTMLArea._lc('Form Element: INPUT', "Forms") + '(' + type + ')';
+  document.getElementById("txt").style.display = "none";
+  document.getElementById("chk").style.display = "none";
+  document.getElementById("btn").style.display = "none";
+  document.getElementById("img").style.display = "none";
+  switch (type) {
+    case "text":
+    case "password":
+      fields = ["f_name", "f_value", "f_readOnly", "f_disabled", "f_tabindex", "f_accesskey", "f_size", "f_maxLength"];
+      height = 350;
+      document.getElementById("txt").style.display = "block";
+      break;
+    case "checkbox":
+		case "radio": 
+      fields = ["f_name", "f_value", "f_checked", "f_disabled", "f_tabindex", "f_accesskey"];
+      document.getElementById("chk").style.display = "block";
+      height = 280;
+      break;
+		case "button": 
+      fields = ["f_name", "f_value", "f_disabled", "f_onclick", "f_tabindex", "f_accesskey"];
+      document.getElementById("btn").style.display = "block";
+      height = 300;
+	    break;
+		case "file":
+      fields = ["f_name", "f_disabled", "f_tabindex", "f_accesskey"];
+      document.getElementById("f_value").disabled = true;
+      height = 280;
+      break;
+    case "image": 
+      fields = ["f_name", "f_disabled", "f_tabindex", "f_accesskey", "f_src"];
+      document.getElementById("img").style.display = "block";
+      document.getElementById("f_value").disabled = true;
+      height = 300;
+      break;
+    case "reset":
+    case "submit":
+      fields = ["f_name", "f_value", "f_disabled", "f_tabindex", "f_accesskey"];
+      height =260;
+      break;
+    case "hidden":
+      fields = ["f_name", "f_value"];
+      document.getElementById("f_disabled").disabled = true;
+      document.getElementById("f_tabindex").disabled = true;
+      document.getElementById("f_accesskey").disabled = true;
+      height =260;
+      break;
+  }
+  for (var i in fields) {
+    switch (fields[i]) { 
+    case "f_readOnly": 
+    case "f_disabled":
+    case "f_checked":
+      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;
+    }
+  }
+  window.resizeTo(320,height);
+	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":
+    case "f_checked":
+      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"></div>
+  <form action="" method="get">
+    <div class="fr">Name/ID:</div>
+    <input type="text" name="name" id="f_name" title="Name of the form input" />
+    <p />
+    <div class="fr">Value:</div>
+    <input type="text" name="value" id="f_value" title="Value of the form input" />
+    <p />
+    <div class="fr">Disabled</div>
+    <input type="checkbox" name="disabled" id="f_disabled" value="disabled" />
+    <p />
+    
+  <div id="chk">
+    <div class="fr">Checked</div>
+      <input name="checked" id="f_checked" type="checkbox" />
+    <p />
+	</div>
+	  
+    <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 id="txt">
+    <div class="fr">Read Only</div>
+    <input type="checkbox" name="readOnly" id="f_readOnly" value="readOnly" />
+    <p />
+    
+	  <fieldset>
+  	<legend>Dimensions</legend>
+      <div class="space"></div>
+      <div class="fr">Size:</div>
+      <input type="text" name="size" id="f_size" size="5" title="Size of text box in characters" />
+      <div class="space"></div>
+      <div class="fr">Max length:</div>
+      <input type="text" name="maxLength" id="f_maxLength" size="5"	title="Maximum number of characters accepted" />
+      <div class="space"></div>
+	  </fieldset>
+  </div>
+  <div id="btn">
+	  <fieldset>
+	  <legend> Button Script</legend>
+	    <div class="space"></div>
+      <div class="fr">'onClick'=</div>
+      <input type="text" name="onClick" id="f_onclick" title="Javascript for button click" />
+      <div class="space"></div>
+	  </fieldset>
+  </div>
+	<div id="img">
+	  <fieldset>
+	  <legend>Image source</legend>
+	    <div class="space"></div>
+      <div class="fr">Image URL:</div>
+      <input type="text" name="src" id="f_src" title="URL of image" />
+      <div class="space"></div>
+	  </fieldset>
+  </div>
+  <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>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/label.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/label.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/label.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/label.html Fri Sep 21 03:36:30 2007
@@ -0,0 +1,59 @@
+<html>
+
+<head>
+  <title>Insert/Edit Form Element LABEL</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_text","f_for","f_accesskey"];
+
+function Init() {
+	window.resizeTo(350,320);
+  __dlg_translate("Forms");
+	__dlg_init();
+	var param = window.dialogArguments;
+  for (var i in fields) {
+    document.getElementById(fields[i]).value = param[fields[i]];
+  }
+  document.getElementById("f_text").focus();
+}
+
+function onOK() {
+	// pass data back to the calling window
+    // pass data back to the calling window
+  var param = new Object();
+  for (var i in fields) {
+    param[fields[i]] = document.getElementById(fields[i]).value;
+  }
+	__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: LABEL</div>
+  <form action="" method="get">
+    <div class="fr">Text:</div>
+    <input type="text" name="text" id="f_text" />
+    <p />
+    <div class="fr">For Control:</div>
+    <input type="text" name="for" id="f_for" />
+    <p />
+    <div class="fr">Access Key:</div>
+    <input type="text" name="accesskey" id="f_accesskey" />
+    <p />
+    <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>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/select.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/select.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/select.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/select.html Fri Sep 21 03:36:30 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>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/textarea.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/textarea.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/textarea.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/Forms/popups/textarea.html Fri Sep 21 03:36:30 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>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/full-page.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/full-page.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/full-page.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/full-page.js Fri Sep 21 03:36:30 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;
+}
+}
+};
+

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/img/docprop.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/img/docprop.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/img/docprop.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/de.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/de.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/de.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/de.js Fri Sep 21 03:36:30 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)"
+}

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/fr.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/fr.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/fr.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/fr.js Fri Sep 21 03:36:30 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

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/he.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/he.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/he.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/he.js Fri Sep 21 03:36:30 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:": "צבע טקסט:"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/ja.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/ja.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/ja.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/ja.js Fri Sep 21 03:36:30 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

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/nb.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/nb.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/nb.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/nb.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,17 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, [email protected]
+{
+  "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

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/nl.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/nl.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/nl.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/nl.js Fri Sep 21 03:36:30 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

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/pl.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/pl.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/pl.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/pl.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,18 @@
+// I18N for the FullPage plugin
+// LANG: "pl", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz, [email protected], 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)"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/ro.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/ro.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/ro.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/lang/ro.js Fri Sep 21 03:36:30 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:"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/popups/docprop.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/popups/docprop.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/popups/docprop.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/FullPage/popups/docprop.html Fri Sep 21 03:36:30 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

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/GetHtml/get-html.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/GetHtml/get-html.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/GetHtml/get-html.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/GetHtml/get-html.js Fri Sep 21 03:36:30 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"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/horizontal-rule.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/horizontal-rule.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/horizontal-rule.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/horizontal-rule.js Fri Sep 21 03:36:30 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);
+};
+

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/de.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/de.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/de.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/de.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,21 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, [email protected]
+{
+  "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."
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/fr.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/fr.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/fr.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/fr.js Fri Sep 21 03:36:30 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

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/ja.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/ja.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/ja.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/ja.js Fri Sep 21 03:36:30 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

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/nb.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/nb.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/nb.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/HorizontalRule/lang/nb.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,21 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, [email protected]
+{
+  "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."
+};
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.