cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r558490 [28/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...
Date Sun, 22 Jul 2007 14:51:30 GMT
Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/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/NoteServer/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/NoteServer/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,21 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8 | ISO-8859-1
+// Sponsored by http://www.systemconcept.de
+// Author: Holger Hees, <hhees@systemconcept.de>
+// (c) systemconcept.de 2004
+// Distributed under the same terms as HTMLArea itself.
+// This notice MUST stay intact for use (see license.txt).
+{
+  "Insert GUIDO Music Notation": "Einfügung einer GUIDO Musik-Tonfolge",
+  "Guido code": "Guido code",
+  "Options": "Einstellungen",
+  "Format": "Format",
+  "Image in applet": "Bild im Applet",
+  "Zoom": "Zoom",
+  "MIDI File": "MIDI Datei",
+  "Image Preview": "Bild Voransicht",
+  "Source Code": "Quell-Code",
+  "Preview": "Voransicht",
+  "Add MIDI link to allow students to hear the music": "MIDI-Link hinzufügen um Studenten das hören der Musik zu ermöglichen",
+  "Add GUIDO Code in a textbox on the page": "GUIDO Code in einer Textbox auf der Seite anzeigen"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/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/NoteServer/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/NoteServer/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/NoteServer/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,16 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Insert GUIDO Music Notation": "Insérer une partition musicale GUIDO",
+  "Guido code": "Code Guido",
+  "Options": "Options",
+  "Format": "Format",
+  "Image in applet": "Image dans une applet",
+  "Zoom": "Zoom",
+  "MIDI File": "Fichier MIDI",
+  "Image Preview": "Aperçu de l'image",
+  "Source Code": "Code source",
+  "Preview": "Aperçu ",
+  "Add MIDI link to allow students to hear the music": "Ajouter un lien MIDI pour permettre aux étudiants d'écouter la partition",
+  "Add GUIDO Code in a textbox on the page": "Ajouter le code source GUIDO dans un cadre"
+};
\ 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/NoteServer/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/NoteServer/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/NoteServer/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/NoteServer/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,18 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+// This string is for auto detection of multi-encoding editor : 国際化文字検出用文字列
+{
+  "Insert GUIDO Music Notation": "GUIDO Music Notationの挿入",
+  "Guido code": "GUIDOコード",
+  "Options": "オプション",
+  "Format": "フォーマット",
+  "Image in applet": "アプレット画像",
+  "Zoom": "拡大率:",
+  "MIDI File": "MIDIファイル",
+  "Image Preview": "画像プレビュー",
+  "Source Code": "ソースコード",
+  "Preview": "表示",
+  "Add MIDI link to allow students to hear the music": "MIDIへのリンクを追加し、楽曲を聴かせてもよい",
+  "Add GUIDO Code in a textbox on the page": "ページ内のテキストボックスにGUIDOコードを追加",
+  "With Mozilla, the applet will not be visible in editor, but only in Web page after submitting.": "Mozillaではエディタ内にアプレットは表示されませんが、送信後のWebページ内では有効です。"
+};
\ 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/NoteServer/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/NoteServer/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/NoteServer/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/NoteServer/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/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
+{
+  "Insert GUIDO Music Notation": "Sett inn GUIDO-noter",
+  "Guido code": "GUIDO-kode",
+  "Options": "Muligheter",
+  "Format": "Format",
+  "Image in applet": "Bilde i applet",
+  "Zoom": "Forstørr",
+  "MIDI File": "MIDIfil",
+  "Image Preview": "Bilde forhåndsvisning",
+  "Source Code": "Kildekode",
+  "Preview": "Preview",
+  "Add MIDI link to allow students to hear the music": "Legg til MIDI-link for at studenter kan høre musikken",
+  "Add GUIDO Code in a textbox on the page": "Sett inn GUIDO-kode i et tekstfelt på siden"
+};
\ 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/NoteServer/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/NoteServer/note-server.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/NoteServer/note-server.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/note-server.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/note-server.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,90 @@
+function NoteServer(_1){
+this.editor=_1;
+var _2=_1.config;
+var _3=this;
+_2.registerButton({id:"insertscore",tooltip:this._lc("Insert GUIDO Music Notation"),image:_1.imgURL("note.gif","NoteServer"),textMode:false,action:function(_4){
+_3.buttonPress(_4);
+}});
+_2.addToolbarElement("insertscore","insertimage",1);
+}
+NoteServer._pluginInfo={name:"NoteServer",version:"1.1",developer:"Richard Christophe",developer_url:"http://piano-go.chez.tiscali.fr/guido.html",c_owner:"Richard Christophe",sponsor:"",sponsor_url:"",license:"htmlArea"};
+NoteServer.prototype._lc=function(_5){
+return HTMLArea._lc(_5,"NoteServer");
+};
+NoteServer.prototype.buttonPress=function(_6){
+_6._popupDialog("plugin://NoteServer/codenote",function(_7){
+if(!_7){
+return false;
+}else{
+IncludeGuido(_6,_7);
+}
+},null);
+};
+var noteserveraddress="clef.cs.ubc.ca";
+var htmlbase="/salieri/nview";
+var versionstring="";
+function GetGIFURL(_8,_9,_a){
+_8=escape(_8);
+_8=_8.replace(/\//g,"%2F");
+if(!_9){
+_9="1.0";
+}
+if(!_a){
+_a="1";
+}
+var _b="http://"+noteserveraddress+"/scripts/salieri"+versionstring+"/gifserv.pl?"+"pagewidth=21"+"&pageheight=29.7"+"&zoomfactor="+_9+"&pagesizeadjust=yes"+"&outputformat=gif87"+"&pagenum="+_a+"&gmndata="+_8;
+return _b;
+}
+function GetMIDIURL(_c){
+_c=escape(_c);
+_c=_c.replace(/\//g,"%2F");
+var _d="http://"+noteserveraddress+"/scripts/salieri"+versionstring+"/midserv.pl?"+"gmndata="+_c;
+return _d;
+}
+function GetAPPLETURL(_e,_f){
+_e=escape(_e);
+_e=_e.replace(/\//g,"%2F");
+var _10="<applet "+"code=\"NoteServerApplet\" "+"codebase=\"http://"+noteserveraddress+htmlbase+"/java\" "+" width=700 height=300>"+"<param name=server value=\""+noteserveraddress+"\">"+"<param name=serverVersion value=\""+versionstring+"\">"+"<param name=zoomFactor value=\""+_f+"\">"+"<param name=pageWidth value=\"21\">"+"<param name=pageHeight value=\"29.7\">"+"<param name=gmn value=\""+_e+"\">"+"</applet>";
+return _10;
+}
+function IncludeGuido(_11,_12){
+if(!_12["f_zoom"]){
+zoom="";
+}
+var _13=GetGIFURL(_12["f_code"],_12["f_zoom"],"");
+var _14=GetMIDIURL(_12["f_code"]);
+var _15="<br>";
+if(_12["f_applet"]==false){
+if(((navigator.userAgent.toLowerCase().indexOf("msie")!=-1)&&(navigator.userAgent.toLowerCase().indexOf("opera")==-1))){
+_11.focusEditor();
+_11.insertHTML("<img src="+_13+">");
+}else{
+img=new Image();
+img.src=_13;
+var doc=_11._doc;
+var sel=_11._getSelection();
+var _18=_11._createRange(sel);
+_11._doc.execCommand("insertimage",false,img.src);
+}
+}else{
+var _19=GetAPPLETURL(_12["f_code"],_12["f_zoom"]);
+_15=_15+_19+"<br>";
+}
+if(_12["f_affcode"]){
+_15=_15+HTMLArea._lc("GUIDO Code","NoteServer")+" : "+_12["f_code"]+"<br>";
+}
+if(_12["f_midi"]){
+_15=_15+"<a href="+_14+">"+HTMLArea._lc("MIDI File","NoteServer")+"</a> <br>";
+}
+_11.focusEditor();
+_11.insertHTML(_15);
+}
+function IncludeGuidoStringAsApplet(_1a,_1b,_1c){
+_1b=escape(_1b);
+_1b=_1b.replace(/\//g,"%2F");
+var _1d="<applet "+"codebase=\"http://"+noteserveraddress+htmlbase+"/java\"\n"+"code=\"NoteServerApplet\" width=480 height=230>"+"<PARAM NAME=server VALUE='"+noteserveraddress+"'>"+"<PARAM NAME=serverVersion VALUE='"+versionstring+"'>"+"<PARAM NAME=zoomFactor VALUE='"+_1c+"'>"+"<param name=pageWidth value=\"21\">"+"<param name=pageHeight value=\"29.7\">"+"<PARAM NAME=gmn VALUE='"+_1b+"'>"+"</applet>";
+alert(_1d);
+_1a.focusEditor();
+_1a.insertHTML(_1d);
+}
+

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/popups/codenote.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/NoteServer/popups/codenote.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/popups/codenote.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/NoteServer/popups/codenote.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,162 @@
+<html>
+
+<head>
+
+<title>Insert GUIDO Music Notation</title>
+<link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+<script type="text/javascript"  src="../note-server.js"></script>
+<script type="text/javascript" src="../../../popups/popup.js"></script>
+
+<script type="text/javascript">
+
+window.resizeTo(500, 200);
+
+NoteServer = window.opener.NoteServer;
+
+var editor = null;
+function Init() {
+  __dlg_translate('NoteServer');
+  __dlg_init();
+
+//   var param = window.dialogArguments;
+//  if (param) {
+//    document.getElementById("f_midi").value = param["f_midi"];
+//    document.getElementById("f_code").value = param["f_code"];
+//    document.getElementById("f_zoom").value = param["f_zoom"];
+//    document.getElementById("f_affcode").value = param["f_affcode"];
+//    document.getElementById("f_applet").value = param["f_applet"];
+//  }
+//  editor = param.editor;
+  document.getElementById("f_code").focus();
+//  document.getElementById("f_code").select();
+}
+
+function onOK() {
+  var f_code = document.getElementById("f_code");
+  if (!f_code.value) {
+    alert("You have to enter GUIDO code");
+    f_code.focus();
+    return false;
+}
+
+  // pass data back to the calling window
+
+  var param = {};
+  param["f_code"] = f_code.value;
+  var f_zoom = document.getElementById("f_zoom");
+  var z = "1.0";
+  if (f_zoom.value == "1.0" || f_zoom.value == "100%") z = 1.0;
+  else if (f_zoom.value == "0.8" || f_zoom.value == "80%") z = 0.8;
+  else if (f_zoom.value == "1.2" || f_zoom.value == "120%") z = 1.2;
+  else if (f_zoom.value == "1.5" || f_zoom.value == "150%") z = 1.5;
+
+  param["f_zoom"] = z;
+
+  param["f_midi"] = document.getElementById("f_midi").checked;
+
+  param["f_affcode"] = document.getElementById("f_affcode").checked;
+  param["f_applet"] = document.getElementById("f_applet").checked;
+
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+
+}
+
+
+function message(){
+if (document.getElementById("f_applet").checked)
+  if (!((navigator.userAgent.toLowerCase().indexOf("msie") != -1)
+    && (navigator.userAgent.toLowerCase().indexOf("opera") == -1))) {
+    alert(HTMLArea._lc("With Mozilla, the applet will not be visible in editor, but only in Web page after submitting.", 'NoteServer'));
+  }
+}
+
+function onPreview() {
+
+  var f_code = document.getElementById("f_code");
+  var f_zoom = document.getElementById("f_zoom");
+
+var z = "1.0";
+if (f_zoom.value == "1.0" || f_zoom.value == "100%") z = 1.0;
+else if (f_zoom.value == "0.8" || f_zoom.value == "80%") z = 0.8;
+else if (f_zoom.value == "1.2" || f_zoom.value == "120%") z = 1.2;
+else if (f_zoom.value == "1.5" || f_zoom.value == "150%") z = 1.5;
+
+  var url = GetGIFURL(f_code.value,z,"");
+  if (!f_code.value) {
+    alert("You have to enter GUIDO code");
+    f_code.focus();
+    return false;
+ }
+
+
+  window.ipreview.location.replace(url);
+
+  return false;
+}
+
+</script>
+</head>
+
+<body class="Dialog" onload="Init()">
+<div class="title">Insert GUIDO Music Notation</div>
+
+<span>Guido code</span> :
+  <br><textarea rows="7" id="f_code" cols="55"></textarea><br>
+
+<div class="space"></div>
+<fieldset style="float: left; margin-left: 5px;">
+<legend>Options</legend>
+  <input type="checkbox" id="f_midi" value="ON"> <span>Add MIDI link to allow students to hear the music</span>
+  <div class="space"></div>
+  <input type="checkbox" id="f_affcode" value="ON"> <span>Add GUIDO Code in a textbox on the page</span>
+  <div class="space"></div>
+</fieldset>
+
+<fieldset style="float: right; margin-left: 5px;">
+<legend>Format</legend>
+  <input type="checkbox" id="f_applet" value="ON" onclick="message();" > <span>Image in applet</span>
+  <div class="space"></div>
+  <span>Zoom</span> :
+  <select size="1" id="f_zoom" title="Zoom :">
+    <option value="0.8">80%</option>
+    <option selected="1.0">100%</option>
+    <option value="1.2">120%</option>
+    <option value="1.5">150%</option>
+  </select>
+  <div class="space"></div>
+</fieldset>
+
+<br clear="all" />
+
+<table width="100%" style="margin-bottom: 0.2em">
+ <tr>
+  <td valign="bottom">
+    <span>Image Preview</span>:<br />
+    <iframe name="ipreview" id="ipreview" frameborder="0" style="border : 1px solid gray;" height="200" width="350" src=""></iframe>
+  </td>
+
+  <td valign="bottom" style="text-align: right">
+    <button type="button" name="preview" onclick="return onPreview();"
+      title="Preview the image in a new window">Preview</button><br>
+    <button type="button" name="ok" onclick="return onOK();"><span>OK</span></button><br>
+    <button type="button" name="cancel" onclick="return onCancel();"><span>Cancel</span></button>
+  </td>
+ </tr>
+ <tr>
+  <td colspan="2">
+   <p>Sample Guido Codes:</p>
+   <p><a href="http://piano-go.chez.tiscali.fr/rachmaninoff.gmn" target="_blank">Code Sample 1</a> or type [ do re mi fa sol la si ] | <a href="http://www.informatik.tu-darmstadt.de/AFS/SALIERI/guido/demos.html" target="_blank">Code Sample 2</a></p>
+   <p>Resources: </p>
+   <p>The Guido Specification (<a href="http://piano-go.chez.tiscali.fr/GUIDO-Music%20Notation%20Format.pdf" target="_blank">PDF)</a> | <a href="http://www.salieri.org/guido/doc.html" target="_blank">(HTML)</a></p>
+   <p><a href="http://www.salieri.org/guido/" target="_blank">GUIDO Music Notation Format Site</a> | <a href="http://www.noteserver.org/" target="_blank">Guido Note Server</a> | <a href="http://sourceforge.net/projects/guidolib/" target="_blank">SourceForge Homepage</a></p>
+  </td>
+ </tr>
+</table>
+</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/NoteServer/popups/codenote.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/img/ed_paste_text.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/PasteText/img/ed_paste_text.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/PasteText/img/ed_paste_text.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/PasteText/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/PasteText/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/PasteText/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,5 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+{
+  "Paste as Plain Text": "unformatierten Text einfügen"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/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/PasteText/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/PasteText/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/PasteText/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,5 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Paste as Plain Text": "Copier comme texte pur"
+};
\ 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/PasteText/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/PasteText/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/PasteText/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/PasteText/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,5 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Paste as Plain Text": "プレーンテキストとして貼り付け"
+};
\ 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/PasteText/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/PasteText/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/PasteText/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/PasteText/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/lang/nb.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,6 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "Paste as Plain Text": "Lim inn som ren tekst"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/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/PasteText/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/PasteText/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/PasteText/lang/pl.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/lang/pl.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,6 @@
+// I18N constants
+// LANG: "pl", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz, http://www.eskot.krakow.pl/portfolio/, koto@webworkers.pl
+{
+  "Paste as Plain Text": "Wklej jako czysty tekst"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/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/PasteText/paste-text.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/PasteText/paste-text.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/paste-text.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/paste-text.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,75 @@
+// Paste Plain Text plugin for Xinha
+
+// Distributed under the same terms as Xinha itself.
+// This notice MUST stay intact for use (see license.txt).
+
+function PasteText(editor) {
+	this.editor = editor;
+	var cfg = editor.config;
+	var self = this;
+        
+	cfg.registerButton({
+                id       : "pastetext",
+                tooltip  : this._lc("Paste as Plain Text"),
+                image    : editor.imgURL("ed_paste_text.gif", "PasteText"),
+                textMode : false,
+                action   : function(editor) {
+                             self.buttonPress(editor);
+                           }
+            });
+
+	cfg.addToolbarElement("pastetext", ["paste", "killword"], 1);
+}
+
+PasteText._pluginInfo = {
+	name          : "PasteText",
+	version       : "1.2",
+	developer     : "Michael Harris",
+	developer_url : "http://www.jonesadvisorygroup.com",
+	c_owner       : "Jones Advisory Group",
+	sponsor       : "Jones International University",
+	sponsor_url   : "http://www.jonesinternational.edu",
+	license       : "htmlArea"
+};
+
+PasteText.prototype._lc = function(string) {
+    return Xinha._lc(string, 'PasteText');
+};
+
+Xinha.Config.prototype.PasteText =
+{
+	showParagraphOption : true,
+	newParagraphDefault :true
+}
+
+PasteText.prototype.buttonPress = function(editor) {
+
+	var editor = this.editor;
+	var outparam = editor.config.PasteText; 
+	var action = function( ret ) {
+		var html = ret.text;
+		var insertParagraphs = ret.insertParagraphs;
+		html = html.replace(/</g, "&lt;");
+  		html = html.replace(/>/g, "&gt;");
+  		if ( ret.insertParagraphs)
+  		{
+  			html = html.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;");
+			html = html.replace(/\n/g,"</p><p>");
+			html="<p>" + html + "</p>";
+			if (Xinha.is_ie)
+			{
+				editor.insertHTML(html);
+			}
+			else
+			{
+				editor.execCommand("inserthtml",false,html);
+			}
+		}
+		else
+		{
+			html = html.replace(/\n/g,"<br />");
+			editor.insertHTML(html);
+		}
+	}
+	Dialog( _editor_url+ "plugins/PasteText/popups/paste_text.html", action, outparam);
+};
\ 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/PasteText/paste-text.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/popups/paste_text.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/PasteText/popups/paste_text.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/popups/paste_text.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/PasteText/popups/paste_text.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,48 @@
+<!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>Paste Text</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() {
+
+  __dlg_translate("PasteText");
+  __dlg_init(null,{width:600,height:480});
+
+  var param = window.dialogArguments;
+  document.getElementById("paragraphOption").style.display = (param.showParagraphOption) ? '' : 'none';
+   document.getElementById("insertParagraphs").checked = param.newParagraphDefault;
+  document.getElementById("inputArea").focus();
+}
+
+function onCancel() {
+  __dlg_close( null );
+  return false;
+}
+
+function onOK() {
+  var ret = {};
+  ret.text = document.getElementById("inputArea").value;
+  ret.insertParagraphs = document.getElementById("insertParagraphs").checked;
+  __dlg_close( ret );
+}
+window.onload = init;
+</script>
+</head>
+
+<body class="dialog">
+<div class="title">Paste as Plain Text</div>
+<textarea name="inputArea" id="inputArea" cols=22 rows=5 style="width: 100%; height: 315px; margin-top: 8px; margin-bottom: 4px; font-family: monospace; font-size: 11px;"></textarea>
+<div id="buttons">
+<label for="insertParagraphs" style="float:left;display:none" id="paragraphOption">
+<input type="checkbox" id="insertParagraphs" /> Insert text in new paragraph 
+</label>
+    <button type="button" name="ok" onclick="return onOK();">OK</button>
+    <button type="button" name="cancel" onclick="return onCancel();">Cancel</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/PasteText/popups/paste_text.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/img/ed_quicktag.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/QuickTag/img/ed_quicktag.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/QuickTag/img/ed_quicktag.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/QuickTag/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/QuickTag/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/QuickTag/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,16 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+{ 
+  "Quick Tag Editor": "Quick TAG Editor",
+  "Enter the TAG you want to insert": "Enter the TAG you want to insert",
+  "You have to select some text": "You have to select some text",
+  "There are some unclosed quote": "There are some unclosed quote",
+  "This attribute already exists in the TAG": "This attribute already exists in the TAG",
+  "No CSS class avaiable": "No CSS classes avaiable",
+  "OPTIONS": "OPTIONS",
+  "ATTRIBUTES": "ATTRIBUTES",
+  "TAGs": "TAGs",
+  "Colors": "Colors",
+  "Ok": "Ok",
+  "Cancel": "Cancel"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/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/QuickTag/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/QuickTag/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/QuickTag/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,16 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{ 
+  "Quick Tag Editor": "Editeur rapide de balise",
+  "Enter the TAG you want to insert": "Entrez la balise que vous voulez insérer",
+  "You have to select some text": "Vous devez sélectionner du texte",
+  "There are some unclosed quote": "Il y a des apostrophes mal fermées",
+  "This attribute already exists in the TAG": "Cet attribute existe déjà sur cette balise",
+  "No CSS class avaiable": "Pas de classe CSS accessible",
+  "OPTIONS": "OPTIONS",
+  "ATTRIBUTES": "ATTRIBUTS",
+  "TAGs": "Balises",
+  "Colors": "Couleurs",
+  "Ok": "OK",
+  "Cancel": "Annuler"
+};
\ 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/QuickTag/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/QuickTag/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/QuickTag/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/QuickTag/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,16 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Quick Tag Editor": "クイックタグエディタ",
+  "Enter the TAG you want to insert": "挿入したいタグを入力",
+  "You have to select some text": "テキストを選択しなければなりません",
+  "There are some unclosed quote": "閉じていない引用符があります",
+  "This attribute already exists in the TAG": "タグにはすでに同じ属性があります",
+  "No CSS class avaiable": "CSSクラスがありません",
+  "OPTIONS": "選択肢",
+  "ATTRIBUTES": "属性",
+  "TAGs": "タグ",
+  "Colors": "色",
+  "Ok": "OK",
+  "Cancel": "中止"
+};
\ 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/QuickTag/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/QuickTag/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/QuickTag/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/QuickTag/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/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
+{ 
+  "Quick Tag Editor": "Kjapp TAGG-Editor",
+  "Enter the TAG you want to insert": "Skriv inn taggen du vil ønsker å sette inn",
+  "You have to select some text": "Du må velge noe tekst",
+  "There are some unclosed quote": "Det mangler et hermetegn",
+  "This attribute already exists in the TAG": "Denne attributten eksisterer allerede i taggen",
+  "No CSS class avaiable": "Ingen CSS klasse tilgjengelig",
+  "OPTIONS": "EGENSKAPER",
+  "ATTRIBUTES": "ATTRIBUTTER",
+  "TAGs": "TAGGer",
+  "Colors": "Farger",
+  "Ok": "OK",
+  "Cancel": "Avbryt"
+};
\ 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/QuickTag/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/QuickTag/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/QuickTag/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/QuickTag/lang/pl.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/lang/pl.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,17 @@
+// I18N constants
+// LANG: "pl", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz, http://www.eskot.krakow.pl/portfolio/, koto@webworkers.pl
+{ 
+  "Quick Tag Editor": "Edytor Quick Tag",
+  "Enter the TAG you want to insert": "Podaj TAG, który chcesz wstawić",
+  "You have to select some text": "Musisz zaznaczyć tekst.",
+  "There are some unclosed quote": "Są jakieś niezamknięte cudzysłowia",
+  "This attribute already exists in the TAG": "TAG posiada już ten atrybut",
+  "No CSS class avaiable": "Brak dostępnych klas CSS",
+  "OPTIONS": "OPCJE",
+  "ATTRIBUTES": "ATRYBUTY",
+  "TAGs": "TAGi",
+  "Colors": "Kolory",
+  "Ok": "Ok",
+  "Cancel": "Anuluj"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/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/QuickTag/lang/pt_br.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/QuickTag/lang/pt_br.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/lang/pt_br.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/lang/pt_br.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,16 @@
+// I18N constants
+// LANG: "pt_br", ENCODING: UTF-8
+{ 
+  "Quick Tag Editor": "Editor Rápido",
+  "Enter the TAG you want to insert": "Edite a TAG que deseja inserir",
+  "You have to select some text": "É preciso selecionar algum texto",
+  "No CSS class avaiable": "Não há classes CSS",
+  "There are some unclosed quote...": "Há uma ou mais aspas sem fechamento",
+  "This attribute already exists in the TAG": "Esse atributo já existe na TAG",
+  "OPTIONS": "OPÇÕES",
+  "ATTRIBUTES": "ATRIBUTOS",
+  "TAGs": "TAGs",
+  "Colors": "Cores",
+  "Ok": "Ok",
+  "Cancel": "Cancelar"
+};

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/popups/quicktag.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/QuickTag/popups/quicktag.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/popups/quicktag.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/popups/quicktag.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,354 @@
+<html>
+<head>
+<title>Quick Tag Editor</title>
+<script type="text/javascript" src="../tag-lib.js"></script>
+<script type="text/javascript" src="../../../popups/popup.js"></script>
+<script type="text/javascript">
+
+window.resizeTo(400, 180);
+var QuickTag = window.opener.QuickTag;
+var curTag = 'none';
+var curTagOpt = false;
+var CSSEdit = false;
+var editor = null;
+
+function Init() {
+  __dlg_translate("QuickTag");
+  __dlg_init();
+
+  var param = window.dialogArguments;
+  editor = param['editor'];
+  var selectext = param['selectedText']; // sem uso...
+
+  createDropdown("tags");
+
+  var to = document.getElementById('tagopen');
+  if (document.all) 
+    to.attachEvent("onkeypress", function(e) { choice_dropdown(e) });
+  else 
+    to.addEventListener("keypress", function(e) { choice_dropdown(e) }, true);
+  to.focus();
+
+  document.getElementById('bt_colors').style.display = 'none';
+  document.body.onkeypress = __dlg_key_press;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+
+function quoteTest(val) {
+  var er = /^\w+\s*(\w+=\"[^\"]*\"\s*|\w+=\'[^\']*\'\s*)*$/;
+  return er.test(val);
+}
+
+function onOK() {
+  var el = document.getElementById('tagopen');
+  if(!el.value) {
+  alert(HTMLArea._lc("Enter the TAG you want to insert", "QuickTag"));
+  el.focus();
+  return false;
+  }
+  if(!quoteTest(el.value)) {
+    alert(HTMLArea._lc("There are some unclosed quote", "QuickTag"));
+    el.focus();
+    el.select();
+    return false;
+  }
+  var param = {};
+  var cleanTO = document.getElementById('tagopen').value.replace(/(<|>)/g,"");
+  param.tagopen = "<"+cleanTO+">";
+  param.tagclose = param.tagopen.replace(/^<(\w+) ?.*>/,"</$1>");
+
+  var subtag = subTagLib[curTag];
+  if(typeof subtag == 'object') {
+    param.tagopen = param.tagopen+subtag.op;
+    param.tagclose = subtag.cl+param.tagclose;
+  }
+
+  __dlg_close(param);
+  return false;
+}
+
+function __dlg_key_press(ev) {
+  ev || (ev = window.event);
+  switch(ev.keyCode) {
+    case 13:
+    document.getElementById('bt_ok').click();
+      break;
+    case 27:
+    __dlg_close();
+    return false;
+  }
+  return true;
+}
+
+function selchange() {
+  var toadd = document.getElementById('selectag').value;
+  var oldval = document.getElementById('tagopen').value;
+  var text = (oldval+toadd).replace(/^\s*(.+)\s*$/,"$1");
+  var atrib = /(\w+)=\"$/.test(toadd) ? toadd.replace(/(\w+)=\"$/, "$1") : null;
+  var showcolors = (/color\: ?$/.test(toadd)) ? true : false;
+  var noCSSclasses = false;
+  var obj = null;
+  curTag = text.replace(/(^\w+) ?.*$/, "$1");
+  curTagOpt = (tagLib[curTag] == true);
+
+  if(atrib) {
+    var atrer = eval('/'+atrib+'=/ig');
+    if(atrer.test(oldval) && !(/[^=]\"$/.test(toadd))) {
+      alert(HTMLArea._lc("This attribute already exists in the TAG", "QuickTag"));
+      return false;
+    }
+
+    switch(atrib) {
+    case 'style':
+      CSSEdit = true;
+      break;
+    case 'class':
+      if(captureClasses() == 0) noCSSclasses = true;
+      break;
+    case 'color': case 'bgcolor': case 'bordercolor':
+    case 'bordercolorlight': case 'bordercolordark':
+      showcolors = true;
+      break;
+    }
+
+    if(curTagOpt == true)
+      obj = eval('opAtt_'+curTag+'["'+atrib+'"]');
+    else
+      obj = opAtt_all[atrib];
+  }
+  else if(!CSSEdit && (/(^\w+$|\"$)/.test(toadd))) {
+    obj = 'all';
+    if(curTagOpt == true) obj = curTag;
+    toadd += ' ';
+  }
+
+  if(CSSEdit && quoteTest(text))
+    CSSEdit = false;
+
+  if(showcolors)
+    document.getElementById('bt_colors').style.display = '';
+
+  if(obj)
+    createDropdown(obj);
+  else if(!CSSEdit)
+    document.getElementById('showselect').style.visibility = 'hidden';
+
+  if(noCSSclasses) {
+    document.getElementById('showselect').innerHTML = HTMLArea._lc("No CSS class avaiable", "QuickTag");
+    document.getElementById('showselect').style.visibility = 'visible';
+  }
+
+  addchanges();
+
+  function addchanges() {
+    document.getElementById('tagopen').focus();
+    document.getElementById('tagopen').value += toadd;
+  }
+}
+
+function captureClasses() {
+  var cont = 0;
+  // If there is no '<HTML>' in the HTMLArea content, when using
+  // styleSheets[..].rule, IE generates an error.
+  // In this case, we lost the classes in external CSS files.
+  // If FullPage is loaded, there is no problem.
+  if(!(/<\s*html\s*>/i.test(editor.getHTML())) && document.all) {
+    var styles = editor._doc.getElementsByTagName("style");
+    for(var i in styles) {
+      var cont = styles[i].innerHTML;
+      if(typeof cont != 'undefined') {
+        var cls = cont.match(/\.\w+/ig,"");
+        for(j in cls) if(/^\.\w+$/.test(cls[j])) {
+          var classname = cls[j].replace(/\./,"")+'"';
+          opAtt_all['class'][cls[j]] = classname;
+          cont++;
+        }
+      }
+    }
+    return cont;
+  }
+
+  var styleSheet = null;
+  var styles = editor._doc.styleSheets;
+
+  for (var i = 0; i < styles.length; i++) {
+    styleSheet = styles[i];
+    if(document.all)
+      var _rules = styleSheet.rules;
+    else
+      var _rules = styleSheet.cssRules;
+    for (var j = 0; j < _rules.length; j++) {
+      rule = _rules[j];
+      if(/^\.\w+$/.test(rule.selectorText)) {
+        var classname = rule.selectorText.replace(/\./,"")+'"';
+        opAtt_all['class'][rule.selectorText] = classname;
+        cont++;
+      }
+    }
+  }
+  return cont;
+}
+
+function choice_dropdown(e) {
+  if (document.all) Key = e.keyCode;
+  else Key = e.charCode;
+
+  if(Key != 32) return;
+
+  var text = document.getElementById('tagopen').value.replace(/^\s*([^\s]+)\s*$/,"$1");
+
+  if(CSSEdit && quoteTest(text)) CSSEdit = false;
+  if(CSSEdit) return;
+
+  if(curTag == 'none') {
+    curTag = text.replace(/(^\w+) ?.*$/, "$1");
+    curTagOpt = tagLib[curTag];
+  }
+
+  if(!/\w/.test(text)) {
+    document.getElementById('tagopen').value = '';
+    createDropdown("tags");
+    return;
+  }
+
+  var att = 'all';
+  if(curTagOpt == true)
+    att = curTag;
+
+  createDropdown(att);
+}
+
+function createDropdown(type) {
+  var _div = document.getElementById('showselect');
+  while(_div.hasChildNodes())
+    _div.removeChild(_div.firstChild);
+  _div.style.visibility = 'visible';
+
+  var _sel = document.createElement("select");
+  _sel.id = "selectag";
+  _sel.onchange = function() { selchange(); };
+
+  if(typeof type == 'object') {
+    var obj = type;
+    forObj(HTMLArea._lc("OPTIONS", "QuickTag"));
+    _div.appendChild(_sel);
+    return;
+  }
+
+  if(type == 'tags') {
+    var obj = allTags;
+    forObj(HTMLArea._lc("TAGs", "QuickTag"));
+    _div.appendChild(_sel);
+    return;
+  }
+
+  type = type.replace(/^h[1-6]$/,"h");
+  var topt = eval('opTag_'+type);
+  if(typeof topt == 'object') 
+    var obj = topt;
+  else 
+    return;
+
+  forObj(HTMLArea._lc("ATTRIBUTES", "QuickTag"));
+  _div.appendChild(_sel);
+
+  function forObj(first) {
+    if(first) {
+      var _op = document.createElement("option");
+      _op.appendChild(document.createTextNode(first));
+      _sel.appendChild(_op);
+    }
+    for(i in obj) {
+      var opt = document.createElement("option");
+      opt.appendChild(document.createTextNode(i));
+      opt.value = obj[i];
+      _sel.appendChild(opt);
+    }
+  }
+}
+
+function colors() {
+  var colloc = window.location.toString().replace(/plugins.+$/,"") +
+               "popups/select_color.html";
+  window.open(colloc, 'colors', "toolbar=no,location=no,directories=no," +
+              "status=no,menubar=no,scrollbars=no,resizable=no,width=240,height=182");
+}
+
+// simulation of Dialog._return - select_color.html needs it.
+var Dialog = new Object();
+Dialog._return = function (val) {
+  if(val != null) {
+    if(CSSEdit)
+      val += '; ';
+    else
+      val += '"';
+    document.getElementById('tagopen').focus();
+    document.getElementById('tagopen').value += "#"+val;
+    document.getElementById('bt_colors').style.display = 'none';
+  }
+};
+</script>
+<style type="text/css">
+html, body {
+background: ButtonFace;
+color: ButtonText;
+font: 11px Tahoma,Verdana,sans-serif;
+margin: 0px;
+padding: 0px;
+border-width: 0px;
+}
+body { padding: 5px; }
+table { font: 11px Tahoma,Verdana,sans-serif; }
+select, input, button { font: 11px Tahoma,Verdana,sans-serif; }
+button { width: 70px; }
+.space { padding: 2px; }
+.title {
+background: #ddf;
+color: #000;
+font-weight: bold;
+font-size: 120%;
+padding: 3px 10px;
+margin-bottom: 10px;
+border-bottom: 1px solid black;
+letter-spacing: 2px;
+}
+.buttons {
+border-top: 1px solid #999;
+padding: 5px;
+text-align: right;
+height: 20px;
+}
+form { padding: 0px; margin: 0px; }
+</style>
+</head>
+  <body class="dialog" onload="Init()">
+<form action="" method="get">
+  <div class="title" style="width: 360px">Quick Tag Editor</div>
+  <div align="center">
+  <table border="0" width="370">
+    <tbody>
+      <tr>
+        <td colspan="2" align="center" style="padding: 3px; background-color: #e9e9e9;">
+        <strong style="font-size: 14px">&lt;</strong>
+        <input id="tagopen" type="text" style="background-color: #e9e9e9; width: 327px; border-width: 0px;">
+        <strong style="font-size: 14px">&gt;</strong>
+        </td>
+      </tr>
+    </tbody>
+  </table>
+  </div>
+<div class="space"></div>
+<div class="buttons">
+<button type="button" id="bt_colors" onclick="colors();">Colors</button>
+<button type="button" id="bt_ok" onclick="return onOK();">Ok</button>
+<button type="button" onclick="return onCancel();">Cancel</button>
+</div>
+<div id="showselect" style="position:absolute; left:7px; top:75px; width:150px; z-index:100; visibility: visible; height: 13px; color: red;">
+</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/QuickTag/popups/quicktag.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/quick-tag.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/QuickTag/quick-tag.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/quick-tag.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/quick-tag.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,53 @@
+/*---------------------------------------*\
+ Quick Tag Editor Plugin for HTMLArea-3.0
+ -----------------------------------------
+ author: Cau guanabara 
+ e-mail: caugb@ibest.com.br
+\*---------------------------------------*/
+
+function QuickTag(editor) {
+  var cfg = editor.config;
+  var self = this;
+
+  cfg.registerButton({
+	id       : "quickeditor",
+	tooltip  : this._lc("Quick Tag Editor"),
+	image    : editor.imgURL("ed_quicktag.gif", "QuickTag"), 
+	textMode : false,
+  action   : function(editor) { 
+               self.buttonPress(editor); 
+             }
+  });
+  cfg.addToolbarElement("quickeditor", "htmlmode", 1);  
+}
+
+QuickTag.prototype.buttonPress = function(editor) { 
+var self = this;
+var sel = editor.getSelectedHTML().replace(/(<[^>]*>|&nbsp;|\n|\r)/g,""); 
+var param = new Object();
+param.editor = editor;
+
+  if(/\w/.test(sel))
+    editor._popupDialog("plugin://QuickTag/quicktag", function(p) { self.setTag(editor, p); }, param);
+  else
+    alert(this._lc('You have to select some text'));
+};
+
+QuickTag.prototype.setTag = function(editor, param) {
+editor.surroundHTML(param.tagopen,param.tagclose);
+};
+
+QuickTag._pluginInfo = {
+name          : "QuickTag",
+version       : "1.0 - beta",
+developer     : "Cau Guanabara",
+developer_url : "mailto:caugb@ibest.com.br",
+c_owner       : "Cau Guanabara",
+sponsor       : "Independent production",
+sponsor_url   : "http://www.netflash.com.br/gb/HA3-rc1/examples/quick-tag.html",
+license       : "htmlArea"
+};
+
+QuickTag.prototype._lc = function(string) {
+    return HTMLArea._lc(string, 'QuickTag');
+};
\ 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/QuickTag/quick-tag.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/tag-lib.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/QuickTag/tag-lib.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/tag-lib.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/QuickTag/tag-lib.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,27 @@
+var allTags={"a":"a","a (full)":"a href=\"\" target=\"\"","address":"address","b":"b","big":"big","blockquote":"blockquote","code":"code","div":"div","em":"em","fieldset":"fieldset","font":"font","font (full)":"font face=\"\" size=\"\" color=\"\"","h1":"h1","h2":"h2","h3":"h3","h4":"h4","h5":"h5","h6":"h6","i":"i","legend":"legend","li":"li","ol":"ol","ul":"ul","p":"p","pre":"pre","small":"small","span":"span","strong":"strong","sub":"sub","sup":"sup","table":"table"};
+var tagLib={"a":true,"div":true,"font":true,"h1":true,"h2":true,"h3":true,"h4":true,"h5":true,"h6":true,"p":true,"table":true};
+var subTagLib={"table":{"op":"<tbody><tr><td>","cl":"</td></tr></tbody>"}};
+var opTag_a={"href":"href=\"","name":"name=\"","target":"target=\""};
+var opAtt_a={"href":{"http://":"http://","https://":"https://","ftp://":"ftp://","mailto:":"mailto:","#":"#\""},"target":{"_top":"_top\"","_self":"_self\"","_parent":"_parent\"","_blank":"_blank\""}};
+var opTag_font={"face":"face=\"","size":"size=\"","color":"color=\""};
+var opAtt_font={"face":{"Verdana":"Verdana\"","Arial":"Arial\"","Tahoma":"Tahoma\"","Courier New":"Courier New\"","Times New Roman":"Times New Roman\""},"size":{"1":"1\"","2":"2\"","3":"3\"","4":"4\"","5":"5\"","6":"6\"","+1":"+1\"","+2":"+2\"","+3":"+3\"","+4":"+4\"","+5":"+5\"","+6":"+6\"","-1":"-1\"","-2":"-2\"","-3":"-3\"","-4":"-4\"","-5":"-5\"","-6":"-6\""}};
+var opTag_div={"align":"align=\""};
+var opAtt_div={"align":{"center":"center\"","left":"left\"","right":"right\"","justify":"justify\""}};
+var opTag_h={"align":"align=\""};
+var opAtt_h={"align":{"center":"center\"","left":"left\"","right":"right\"","justify":"justify\""}};
+var opTag_p={"align":"align=\""};
+var opAtt_p={"align":{"center":"center\"","left":"left\"","right":"right\"","justify":"justify\""}};
+var opTag_table={"align":"align=\"","width":"width=\"","height":"height=\"","cellpadding":"cellpadding=\"","cellspacing":"cellspacing=\"","background":"background=\"","bgcolor":"bgcolor=\"","border":"border=\"","bordercolor":"bordercolor=\"","bordercolorlight":"bordercolorlight=\"","bordercolordark":"bordercolordark=\""};
+var opAtt_table={"align":{"center":"center\"","left":"left\"","right":"right\""}};
+var opTag_all={"class":"class=\"","dir":"dir=\"","id":"id=\"","lang":"lang=\"","onFocus":"onFocus=\"","onBlur":"onBlur=\"","onClick":"onClick=\"","onDblClick":"onDblClick=\"","onMouseDown":"onMouseDown=\"","onMouseUp":"onMouseUp=\"","onMouseOver":"onMouseOver=\"","onMouseMove":"onMouseMove=\"","onMouseOut":"onMouseOut=\"","onKeyPress":"onKeyPress=\"","onKeyDown":"onKeyDown=\"","onKeyUp":"onKeyUp=\"","style":"style=\"","title":"title=\""};
+var opAtt_all={"class":{},"dir":{"rtl":"rtl\"","ltr":"ltr\""},"lang":{"Afrikaans ":"af\"","Albanian ":"sq\"","Arabic ":"ar\"","Basque ":"eu\"","Breton ":"br\"","Bulgarian ":"bg\"","Belarusian ":"be\"","Catalan ":"ca\"","Chinese ":"zh\"","Croatian ":"hr\"","Czech ":"cs\"","Danish ":"da\"","Dutch ":"nl\"","English ":"en\"","Estonian ":"et\"","Faeroese ":"fo\"","Farsi ":"fa\"","Finnish ":"fi\"","French ":"fr\"","Gaelic ":"gd\"","German ":"de\"","Greek ":"el\"","Hebrew ":"he\"","Hindi ":"hi\"","Hungarian ":"hu\"","Icelandic ":"is\"","Indonesian ":"id\"","Italian ":"it\"","Japanese ":"ja\"","Korean ":"ko\"","Latvian ":"lv\"","Lithuanian ":"lt\"","Macedonian ":"mk\"","Malaysian ":"ms\"","Maltese ":"mt\"","Norwegian ":"no\"","Polish ":"pl\"","Portuguese ":"pt\"","Rhaeto-Romanic ":"rm\"","Romanian ":"ro\"","Russian ":"ru\"","Sami ":"sz\"","Serbian ":"sr\"","Setswana ":"tn\"","Slovak ":"sk\"","Slovenian ":"sl\"","Spanish ":"es\"","Sutu ":"sx\"","Swedish ":"sv\"","Thai ":"th\"","Tsong
 a ":"ts\"","Turkish ":"tr\"","Ukrainian ":"uk\"","Urdu ":"ur\"","Vietnamese ":"vi\"","Xhosa ":"xh\"","Yiddish ":"yi\"","Zulu":"zu\""},"style":{"azimuth":"azimuth: ","background":"background: ","background-attachment":"background-attachment: ","background-color":"background-color: ","background-image":"background-image: ","background-position":"background-position: ","background-repeat":"background-repeat: ","border":"border: ","border-bottom":"border-bottom: ","border-left":"border-left: ","border-right":"border-right: ","border-top":"border-top: ","border-bottom-color":"border-bottom-color: ","border-left-color":"border-left-color: ","border-right-color":"border-right-color: ","border-top-color":"border-top-color: ","border-bottom-style":"border-bottom-style: ","border-left-style":"border-left-style: ","border-right-style":"border-right-style: ","border-top-style":"border-top-style: ","border-bottom-width":"border-bottom-width: ","border-left-width":"border-left-width: ","b
 order-right-width":"border-right-width: ","border-top-width":"border-top-width: ","border-collapse":"border-collapse: ","border-color":"border-color: ","border-style":"border-style: ","border-width":"border-width: ","bottom":"bottom: ","caption-side":"caption-side: ","cell-spacing":"cell-spacing: ","clear":"clear: ","clip":"clip: ","color":"color: ","column-span":"column-span: ","content":"content: ","cue":"cue: ","cue-after":"cue-after: ","cue-before":"cue-before: ","cursor":"cursor: ","direction":"direction: ","display":"display: ","elevation":"elevation: ","filter":"filter: ","float":"float: ","font-family":"font-family: ","font-size":"font-size: ","font-size-adjust":"font-size-adjust: ","font-style":"font-style: ","font-variant":"font-variant: ","font-weight":"font-weight: ","height":"height: ","!important":"!important: ","left":"left: ","letter-spacing":"letter-spacing: ","line-height":"line-height: ","list-style":"list-style: ","list-style-image":"list-style-image: ","
 list-style-position":"list-style-position: ","list-style-type":"list-style-type: ","margin":"margin: ","margin-bottom":"margin-bottom: ","margin-left":"margin-left: ","margin-right":"margin-right: ","margin-top":"margin-top: ","marks":"marks: ","max-height":"max-height: ","min-height":"min-height: ","max-width":"max-width: ","min-width":"min-width: ","orphans":"orphans: ","overflow":"overflow: ","padding":"padding: ","padding-bottom":"padding-bottom: ","padding-left":"padding-left: ","padding-right":"padding-right: ","padding-top":"padding-top: ","page-break-after":"page-break-after: ","page-break-before":"page-break-before: ","pause":"pause: ","pause-after":"pause-after: ","pause-before":"pause-before: ","pitch":"pitch: ","pitch-range":"pitch-range: ","play-during":"play-during: ","position":"position: ","richness":"richness: ","right":"right: ","row-span":"row-span: ","size":"size: ","speak":"speak: ","speak-date":"speak-date: ","speak-header":"speak-header: ","speak-numer
 al":"speak-numeral: ","speak-punctuation":"speak-punctuation: ","speak-time":"speak-time: ","speech-rate":"speech-rate: ","stress":"stress: ","table-layout":"table-layout: ","text-align":"text-align: ","text-decoration":"text-decoration: ","text-indent":"text-indent: ","text-shadow":"text-shadow: ","text-transform":"text-transform: ","top":"top: ","vertical-align":"vertical-align: ","visibility":"visibility: ","voice-family":"voice-family: ","volume":"volume: ","white-space":"white-space: ","widows":"widows: ","width":"width: ","word-spacing":"word-spacing: ","z-index":"z-index: "}};
+for(var i in tagLib){
+i=i.replace(/^h[1-6]$/,"h");
+for(var j in opTag_all){
+eval("opTag_"+i+"[\""+j+"\"] = opTag_all[\""+j+"\"];");
+}
+for(var j in opAtt_all){
+eval("opAtt_"+i+"[\""+j+"\"] = opAtt_all[\""+j+"\"];");
+}
+}
+

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/README.txt
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/README.txt?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/README.txt (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/README.txt Sun Jul 22 07:50:10 2007
@@ -0,0 +1,15 @@
+SaveSubmit for Xinha
+
+developed by Raimund Meyer (ray) xinha @ raimundmeyer.de
+
+Registers a button for submiting the Xinha form using asynchronous
+postback for sending the data to the server
+
+Usage: This should be a drop-in replacement for a normal submit button.
+While saving a message is displayed to inform the user what's going on.
+On successful transmission the output of the target script is shown, so it should print some information
+about the success of saving.
+
+ATTENTION: The data sent by this method is always UTF-8 encoded, regardless of the actual charset used. So, if you 
+are using a different encoding you have to convert on the server side.
+

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/img/ed_save_green.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/SaveSubmit/img/ed_save_green.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/SaveSubmit/img/ed_save_green.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/SaveSubmit/img/ed_save_red.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/SaveSubmit/img/ed_save_red.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/SaveSubmit/img/ed_save_red.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/SaveSubmit/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/SaveSubmit/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/SaveSubmit/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+{ 
+	"Save": "Speichern",
+	"Saving...": "Speichern...",
+	"in progress": "in Arbeit",
+	"Ready": "Fertig"
+};
\ 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/SaveSubmit/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/SaveSubmit/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/SaveSubmit/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/SaveSubmit/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{ 
+	"Save": "Enregistrer",
+	"Saving...": "Enregistrement...",
+	"in progress": "en cours",
+	"Ready": "Prêt"
+};
\ 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/SaveSubmit/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/SaveSubmit/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/SaveSubmit/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/SaveSubmit/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+	"Save": "保存",
+	"Saving...": "保存中...",
+	"in progress": "処理中",
+	"Ready": "レディ"
+};
\ 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/SaveSubmit/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/SaveSubmit/lang/ru.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/SaveSubmit/lang/ru.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/lang/ru.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/lang/ru.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,9 @@
+// I18N constants
+// LANG: "ru", ENCODING: UTF-8
+// Simple job done by Alexey Kirpichnikov <alexkir at kiwistudio dot ru>
+{ 
+	"Save": "Сохранить",
+	"Saving...": "Сохранение...",
+	"in progress": "пожалуйста, ждите",
+	"Ready": "Готово"
+};
\ 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/SaveSubmit/lang/ru.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/save-submit.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/SaveSubmit/save-submit.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/save-submit.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SaveSubmit/save-submit.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,130 @@
+function SaveSubmit(_1){
+this.editor=_1;
+this.changed=false;
+var _2=this;
+var _3=_1.config;
+this.textarea=this.editor._textArea;
+this.image_changed=_editor_url+"plugins/SaveSubmit/img/ed_save_red.gif";
+this.image_unchanged=_editor_url+"plugins/SaveSubmit/img/ed_save_green.gif";
+_3.registerButton({id:"savesubmit",tooltip:_2._lc("Save"),image:this.image_unchanged,textMode:false,action:function(_4){
+_2.save(_4);
+}});
+_3.addToolbarElement("savesubmit","popupeditor",-1);
+}
+SaveSubmit.prototype._lc=function(_5){
+return Xinha._lc(_5,"SaveSubmit");
+};
+SaveSubmit._pluginInfo={name:"SaveSubmit",version:"1.0",developer:"Raimund Meyer",developer_url:"http://rheinauf.de",c_owner:"Raimund Meyer",sponsor:"",sponsor_url:"",license:"htmlArea"};
+SaveSubmit.prototype.onGenerateOnce=function(){
+this.initial_html=this.editor.getInnerHTML();
+};
+SaveSubmit.prototype.onKeyPress=function(ev){
+if(ev.ctrlKey&&this.editor.getKey(ev)=="s"){
+this.save(this.editor);
+Xinha._stopEvent(ev);
+return true;
+}else{
+if(!this.changed){
+if(this.getChanged()){
+this.setChanged();
+}
+return false;
+}
+}
+};
+SaveSubmit.prototype.onExecCommand=function(_7){
+if(this.changed&&_7=="undo"){
+if(this.initial_html==this.editor.getInnerHTML()){
+this.setUnChanged();
+}
+return false;
+}
+};
+SaveSubmit.prototype.onUpdateToolbar=function(){
+if(!this.changed){
+if(this.getChanged()){
+this.setChanged();
+}
+return false;
+}
+};
+SaveSubmit.prototype.getChanged=function(){
+if(this.initial_html===null){
+this.initial_html=this.editor.getInnerHTML();
+}
+if(this.initial_html!=this.editor.getInnerHTML()&&this.changed==false){
+this.changed=true;
+return true;
+}else{
+return false;
+}
+};
+SaveSubmit.prototype.setChanged=function(){
+this.editor._toolbarObjects.savesubmit.swapImage(this.image_changed);
+this.editor.updateToolbar();
+};
+SaveSubmit.prototype.setUnChanged=function(){
+this.changed=false;
+this.editor._toolbarObjects.savesubmit.swapImage(this.image_unchanged);
+};
+SaveSubmit.prototype.changedReset=function(){
+this.initial_html=null;
+this.setUnChanged();
+};
+SaveSubmit.prototype.save=function(_8){
+this.buildMessage();
+var _9=this;
+var _a=_8._textArea.form;
+_a.onsubmit();
+var _b="";
+for(var i=0;i<_a.elements.length;i++){
+_b+=((i>0)?"&":"")+_a.elements[i].name+"="+encodeURIComponent(_a.elements[i].value);
+}
+Xinha._postback(_8._textArea.form.action,_b,function(_d){
+if(_d){
+_9.setMessage(_d);
+_9.changedReset();
+}
+removeMessage=function(){
+_9.removeMessage();
+};
+window.setTimeout("removeMessage()",1000);
+});
+};
+SaveSubmit.prototype.setMessage=function(_e){
+var _f=this.textarea;
+if(!document.getElementById("message_sub_"+_f.id)){
+return;
+}
+var elt=document.getElementById("message_sub_"+_f.id);
+elt.innerHTML=Xinha._lc(_e,"SaveSubmit");
+};
+SaveSubmit.prototype.removeMessage=function(){
+var _11=this.textarea;
+if(!document.getElementById("message_"+_11.id)){
+return;
+}
+document.body.removeChild(document.getElementById("message_"+_11.id));
+};
+SaveSubmit.prototype.buildMessage=function(){
+var _12=this.textarea;
+var _13=this.editor._htmlArea;
+var _14=document.createElement("div");
+_14.id="message_"+_12.id;
+_14.className="loading";
+_14.style.width=_13.offsetWidth+"px";
+_14.style.left=Xinha.findPosX(_13)+"px";
+_14.style.top=(Xinha.findPosY(_13)+parseInt(_13.offsetHeight)/2)-50+"px";
+var _15=document.createElement("div");
+_15.className="loading_main";
+_15.id="loading_main_"+_12.id;
+_15.appendChild(document.createTextNode(this._lc("Saving...")));
+var _16=document.createElement("div");
+_16.className="loading_sub";
+_16.id="message_sub_"+_12.id;
+_16.appendChild(document.createTextNode(this._lc("in progress")));
+_14.appendChild(_15);
+_14.appendChild(_16);
+document.body.appendChild(_14);
+};
+

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/img/placeholder.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/SetId/img/placeholder.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/SetId/img/placeholder.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/SetId/img/set-id.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/SetId/img/set-id.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/SetId/img/set-id.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/SetId/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/SetId/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/SetId/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: Raimund Meyer xinha@ray-of-light.org
+{
+  "Set Id and Name": "Objekt ID und Name einfügen",
+  "Name/Id": "Name (ID)",
+  "Delete": "Löschen"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/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/SetId/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/SetId/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/SetId/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,9 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Set Id and Name": "IDと名前の設定",
+  "Name/Id": "名前/ID",
+  "Delete": "削除",
+  "Set ID/Name": "IDと名前の設定",
+  "ID/Name:": "ID/名前:"
+};
\ 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/SetId/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/SetId/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/SetId/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/SetId/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/lang/nb.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "Set Id and Name": "Sett ID og navn",
+  "Name/Id": "Navn (ID)",
+  "Delete": "Slett"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/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/SetId/popups/set_id.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/SetId/popups/set_id.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/popups/set_id.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/popups/set_id.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,58 @@
+<html>
+<head>
+  <title>Set Id/Name</title>
+  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+  <script type="text/javascript" src="../../../popups/popup.js"></script>
+  <script type="text/javascript">
+window.resizeTo(350, 100);
+function Init() {
+  __dlg_translate("SetId");
+  __dlg_init();
+  var param = window.dialogArguments;
+  if (param) {
+    document.getElementById("name").value = param["name"];
+  }
+  document.getElementById("name").focus();
+}
+
+function onOK() {
+  // pass data back to the calling window
+  var param = new Object();
+  param["name"] = document.getElementById("name").value;
+  __dlg_close(param);
+  return false;
+}
+
+function onDelete() {
+  // pass data back to the calling window
+  var param = new Object();
+  param["name"] = "";
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+</script>
+</head>
+
+<body class="dialog" onload="Init()">
+<div class="title">Set ID/Name</div>
+<form>
+<table border="0" style="width: 300px;">
+  <tr>
+    <td class="label">ID/Name:</td>
+    <td><input type="text" id="name" style="width: 200px" /></td>
+  </tr>
+</table>
+
+<div id="buttons">
+  <button type="submit" name="ok" onclick="return onOK();">OK</button>
+  <button type="button" name="delete" onclick="return onDelete();">Delete</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/SetId/popups/set_id.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/set-id.css
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/set-id.css?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/set-id.css (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/set-id.css Sun Jul 22 07:50:10 2007
@@ -0,0 +1,7 @@
+.hasid {
+  background-image: url(img/set-id.gif);
+  background-repeat: no-repeat;
+  background-position: left top;
+  padding-left: 19px;
+  border: 1px dotted blue;
+}

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/SetId/set-id.css
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message