cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r558490 [27/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/Linker/dTree/dtree.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/Linker/dTree/dtree.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/dtree.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/dtree.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,354 @@
+function Node(id,_2,_3,_4,_5,_6,_7,_8,_9){
+this.id=id;
+this.pid=_2;
+this.name=_3;
+this.url=_4;
+this.title=_5;
+this.target=_6;
+this.icon=_7;
+this.iconOpen=_8;
+this._io=_9||false;
+this._is=false;
+this._ls=false;
+this._hc=false;
+this._ai=0;
+this._p;
+}
+function dTree(_a,_b){
+this.config={target:null,folderLinks:true,useSelection:true,useCookies:true,useLines:true,useIcons:true,useStatusText:false,closeSameLevel:false,inOrder:false};
+this.icon={root:_b+"img/base.gif",folder:_b+"img/folder.gif",folderOpen:_b+"img/folderopen.gif",node:_b+"img/page.gif",empty:_b+"img/empty.gif",line:_b+"img/line.gif",join:_b+"img/join.gif",joinBottom:_b+"img/joinbottom.gif",plus:_b+"img/plus.gif",plusBottom:_b+"img/plusbottom.gif",minus:_b+"img/minus.gif",minusBottom:_b+"img/minusbottom.gif",nlPlus:_b+"img/nolines_plus.gif",nlMinus:_b+"img/nolines_minus.gif"};
+this.obj=_a;
+this.aNodes=[];
+this.aIndent=[];
+this.root=new Node(-1);
+this.selectedNode=null;
+this.selectedFound=false;
+this.completed=false;
+}
+dTree.prototype.add=function(id,_d,_e,_f,_10,_11,_12,_13,_14){
+this.aNodes[this.aNodes.length]=new Node(id,_d,_e,_f,_10,_11,_12,_13,_14);
+};
+dTree.prototype.openAll=function(){
+this.oAll(true);
+};
+dTree.prototype.closeAll=function(){
+this.oAll(false);
+};
+dTree.prototype.toString=function(){
+this.setCS_All();
+var str="<div class=\"dtree\">\n";
+if(document.getElementById){
+if(this.config.useCookies){
+this.selectedNode=this.getSelected();
+}
+str+=this.addNode(this.root);
+}else{
+str+="Browser not supported.";
+}
+str+="</div>";
+if(!this.selectedFound){
+this.selectedNode=null;
+}
+this.completed=true;
+return str;
+};
+dTree.prototype.addNode=function(_16){
+var str="";
+var n=0;
+if(this.config.inOrder){
+n=_16._ai;
+}
+for(n;n<this.aNodes.length;n++){
+if(this.aNodes[n].pid==_16.id){
+var cn=this.aNodes[n];
+cn._p=_16;
+cn._ai=n;
+if(!cn.target&&this.config.target){
+cn.target=this.config.target;
+}
+if(cn._hc&&!cn._io&&this.config.useCookies){
+cn._io=this.isOpen(cn.id);
+}
+if(!this.config.folderLinks&&cn._hc){
+cn.url=null;
+}
+if(this.config.useSelection&&cn.id==this.selectedNode&&!this.selectedFound){
+cn._is=true;
+this.selectedNode=n;
+this.selectedFound=true;
+}
+str+=this.node(cn,n);
+if(cn._ls){
+break;
+}
+}
+}
+return str;
+};
+dTree.prototype.node=function(_1a,_1b){
+var str="<div class=\"dTreeNode\">"+this.indent(_1a,_1b);
+if(this.config.useIcons){
+if(!_1a.icon){
+_1a.icon=(this.root.id==_1a.pid)?this.icon.root:((_1a._hc)?this.icon.folder:this.icon.node);
+}
+if(!_1a.iconOpen){
+_1a.iconOpen=(_1a._hc)?this.icon.folderOpen:this.icon.node;
+}
+if(this.root.id==_1a.pid){
+_1a.icon=this.icon.root;
+_1a.iconOpen=this.icon.root;
+}
+str+="<img id=\"i"+this.obj+_1b+"\" src=\""+((_1a._io)?_1a.iconOpen:_1a.icon)+"\" alt=\"\" />";
+}
+if(_1a.url){
+str+="<a id=\"s"+this.obj+_1b+"\" class=\""+((this.config.useSelection)?((_1a._is?"nodeSel":"node")):"node")+"\" href=\""+_1a.url+"\"";
+if(_1a.title){
+str+=" title=\""+_1a.title+"\"";
+}
+if(_1a.target){
+str+=" target=\""+_1a.target+"\"";
+}
+if(this.config.useStatusText){
+str+=" onmouseover=\"window.status='"+_1a.name+"';return true;\" onmouseout=\"window.status='';return true;\" ";
+}
+if(this.config.useSelection&&((_1a._hc&&this.config.folderLinks)||!_1a._hc)){
+str+=" onclick=\"javascript: "+this.obj+".s("+_1b+");\"";
+}
+str+=">";
+}else{
+if((!this.config.folderLinks||!_1a.url)&&_1a._hc&&_1a.pid!=this.root.id){
+str+="<a href=\"javascript: "+this.obj+".o("+_1b+");\" class=\"node\">";
+}
+}
+str+=_1a.name;
+if(_1a.url||((!this.config.folderLinks||!_1a.url)&&_1a._hc)){
+str+="</a>";
+}
+str+="</div>";
+if(_1a._hc){
+str+="<div id=\"d"+this.obj+_1b+"\" class=\"clip\" style=\"display:"+((this.root.id==_1a.pid||_1a._io)?"block":"none")+";\">";
+str+=this.addNode(_1a);
+str+="</div>";
+}
+this.aIndent.pop();
+return str;
+};
+dTree.prototype.indent=function(_1d,_1e){
+var str="";
+if(this.root.id!=_1d.pid){
+for(var n=0;n<this.aIndent.length;n++){
+str+="<img src=\""+((this.aIndent[n]==1&&this.config.useLines)?this.icon.line:this.icon.empty)+"\" alt=\"\" />";
+}
+(_1d._ls)?this.aIndent.push(0):this.aIndent.push(1);
+if(_1d._hc){
+str+="<a href=\"javascript: "+this.obj+".o("+_1e+");\"><img id=\"j"+this.obj+_1e+"\" src=\"";
+if(!this.config.useLines){
+str+=(_1d._io)?this.icon.nlMinus:this.icon.nlPlus;
+}else{
+str+=((_1d._io)?((_1d._ls&&this.config.useLines)?this.icon.minusBottom:this.icon.minus):((_1d._ls&&this.config.useLines)?this.icon.plusBottom:this.icon.plus));
+}
+str+="\" alt=\"\" /></a>";
+}else{
+str+="<img src=\""+((this.config.useLines)?((_1d._ls)?this.icon.joinBottom:this.icon.join):this.icon.empty)+"\" alt=\"\" />";
+}
+}
+return str;
+};
+dTree.prototype.setCS=function(_21){
+var _22;
+for(var n=0;n<this.aNodes.length;n++){
+if(this.aNodes[n].pid==_21.id){
+_21._hc=true;
+}
+if(this.aNodes[n].pid==_21.pid){
+_22=this.aNodes[n].id;
+}
+}
+if(_22==_21.id){
+_21._ls=true;
+}
+};
+dTree.prototype.setCS_All=function(){
+var ids={};
+for(var n=0;n<this.aNodes.length;n++){
+var _26=this.aNodes[n];
+if(!ids[_26.pid]){
+ids[_26.pid]={_hc:true,_ls_is:_26.id};
+}else{
+ids[_26.pid]._hc=true;
+ids[_26.pid]._ls_is=_26.id;
+}
+if(!ids[_26.id]){
+ids[_26.id]={_hc:false,_ls_is:null};
+}
+}
+for(var n=0;n<this.aNodes.length;n++){
+var _26=this.aNodes[n];
+_26._ls=ids[_26.pid]._ls_is==_26.id?true:false;
+_26._hc=ids[_26.id]._hc;
+}
+};
+dTree.prototype.getSelected=function(){
+var sn=this.getCookie("cs"+this.obj);
+return (sn)?sn:null;
+};
+dTree.prototype.s=function(id){
+if(!this.config.useSelection){
+return;
+}
+var cn=this.aNodes[id];
+if(cn._hc&&!this.config.folderLinks){
+return;
+}
+if(this.selectedNode!=id){
+if(this.selectedNode||this.selectedNode==0){
+eOld=document.getElementById("s"+this.obj+this.selectedNode);
+eOld.className="node";
+}
+eNew=document.getElementById("s"+this.obj+id);
+eNew.className="nodeSel";
+this.selectedNode=id;
+if(this.config.useCookies){
+this.setCookie("cs"+this.obj,cn.id);
+}
+}
+};
+dTree.prototype.o=function(id){
+var cn=this.aNodes[id];
+this.nodeStatus(!cn._io,id,cn._ls);
+cn._io=!cn._io;
+if(this.config.closeSameLevel){
+this.closeLevel(cn);
+}
+if(this.config.useCookies){
+this.updateCookie();
+}
+};
+dTree.prototype.oAll=function(_2c){
+for(var n=0;n<this.aNodes.length;n++){
+if(this.aNodes[n]._hc&&this.aNodes[n].pid!=this.root.id){
+this.nodeStatus(_2c,n,this.aNodes[n]._ls);
+this.aNodes[n]._io=_2c;
+}
+}
+if(this.config.useCookies){
+this.updateCookie();
+}
+};
+dTree.prototype.openTo=function(nId,_2f,_30){
+if(!_30){
+for(var n=0;n<this.aNodes.length;n++){
+if(this.aNodes[n].id==nId){
+nId=n;
+break;
+}
+}
+}
+var cn=this.aNodes[nId];
+if(cn.pid==this.root.id||!cn._p){
+return;
+}
+cn._io=true;
+cn._is=_2f;
+if(this.completed&&cn._hc){
+this.nodeStatus(true,cn._ai,cn._ls);
+}
+if(this.completed&&_2f){
+this.s(cn._ai);
+}else{
+if(_2f){
+this._sn=cn._ai;
+}
+}
+this.openTo(cn._p._ai,false,true);
+};
+dTree.prototype.closeLevel=function(_33){
+for(var n=0;n<this.aNodes.length;n++){
+if(this.aNodes[n].pid==_33.pid&&this.aNodes[n].id!=_33.id&&this.aNodes[n]._hc){
+this.nodeStatus(false,n,this.aNodes[n]._ls);
+this.aNodes[n]._io=false;
+this.closeAllChildren(this.aNodes[n]);
+}
+}
+};
+dTree.prototype.closeAllChildren=function(_35){
+for(var n=0;n<this.aNodes.length;n++){
+if(this.aNodes[n].pid==_35.id&&this.aNodes[n]._hc){
+if(this.aNodes[n]._io){
+this.nodeStatus(false,n,this.aNodes[n]._ls);
+}
+this.aNodes[n]._io=false;
+this.closeAllChildren(this.aNodes[n]);
+}
+}
+};
+dTree.prototype.nodeStatus=function(_37,id,_39){
+eDiv=document.getElementById("d"+this.obj+id);
+eJoin=document.getElementById("j"+this.obj+id);
+if(this.config.useIcons){
+eIcon=document.getElementById("i"+this.obj+id);
+eIcon.src=(_37)?this.aNodes[id].iconOpen:this.aNodes[id].icon;
+}
+eJoin.src=(this.config.useLines)?((_37)?((_39)?this.icon.minusBottom:this.icon.minus):((_39)?this.icon.plusBottom:this.icon.plus)):((_37)?this.icon.nlMinus:this.icon.nlPlus);
+eDiv.style.display=(_37)?"block":"none";
+};
+dTree.prototype.clearCookie=function(){
+var now=new Date();
+var _3b=new Date(now.getTime()-1000*60*60*24);
+this.setCookie("co"+this.obj,"cookieValue",_3b);
+this.setCookie("cs"+this.obj,"cookieValue",_3b);
+};
+dTree.prototype.setCookie=function(_3c,_3d,_3e,_3f,_40,_41){
+document.cookie=escape(_3c)+"="+escape(_3d)+(_3e?"; expires="+_3e.toGMTString():"")+(_3f?"; path="+_3f:"")+(_40?"; domain="+_40:"")+(_41?"; secure":"");
+};
+dTree.prototype.getCookie=function(_42){
+var _43="";
+var _44=document.cookie.indexOf(escape(_42)+"=");
+if(_44!=-1){
+var _45=_44+(escape(_42)+"=").length;
+var _46=document.cookie.indexOf(";",_45);
+if(_46!=-1){
+_43=unescape(document.cookie.substring(_45,_46));
+}else{
+_43=unescape(document.cookie.substring(_45));
+}
+}
+return (_43);
+};
+dTree.prototype.updateCookie=function(){
+var str="";
+for(var n=0;n<this.aNodes.length;n++){
+if(this.aNodes[n]._io&&this.aNodes[n].pid!=this.root.id){
+if(str){
+str+=".";
+}
+str+=this.aNodes[n].id;
+}
+}
+this.setCookie("co"+this.obj,str);
+};
+dTree.prototype.isOpen=function(id){
+var _4a=this.getCookie("co"+this.obj).split(".");
+for(var n=0;n<_4a.length;n++){
+if(_4a[n]==id){
+return true;
+}
+}
+return false;
+};
+if(!Array.prototype.push){
+Array.prototype.push=function array_push(){
+for(var i=0;i<arguments.length;i++){
+this[this.length]=arguments[i];
+}
+return this.length;
+};
+}
+if(!Array.prototype.pop){
+Array.prototype.pop=function array_pop(){
+lastElement=this[this.length-1];
+this.length=Math.max(this.length-1,0);
+return lastElement;
+};
+}
+

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/example01.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/Linker/dTree/example01.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/example01.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/example01.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html>
+
+<head>
+	<title>Destroydrop &raquo; Javascripts &raquo; Tree</title>
+
+	<link rel="StyleSheet" href="dtree.css" type="text/css" />
+	<script type="text/javascript" src="dtree.js"></script>
+
+</head>
+
+<body>
+
+<h1><a href="/">Destroydrop</a> &raquo; <a href="/javascripts/">Javascripts</a> &raquo; <a href="/javascripts/tree/">Tree</a></h1>
+
+<h2>Example</h2>
+
+<div class="dtree">
+
+	<p><a href="javascript: d.openAll();">open all</a> | <a href="javascript: d.closeAll();">close all</a></p>
+
+	<script type="text/javascript">
+		<!--
+
+		d = new dTree('d');
+
+		d.add(0,-1,'My example tree');
+		d.add(1,0,'Node 1','example01.html');
+		d.add(2,0,'Node 2','example01.html');
+		d.add(3,1,'Node 1.1','example01.html');
+		d.add(4,0,'Node 3','example01.html');
+		d.add(5,3,'Node 1.1.1','example01.html');
+		d.add(6,5,'Node 1.1.1.1','example01.html');
+		d.add(7,0,'Node 4','example01.html');
+		d.add(8,1,'Node 1.2','example01.html');
+		d.add(9,0,'My Pictures','example01.html','Pictures I\'ve taken over the years','','','img/imgfolder.gif');
+		d.add(10,9,'The trip to Iceland','example01.html','Pictures of Gullfoss and Geysir');
+		d.add(11,9,'Mom\'s birthday','example01.html');
+		d.add(12,0,'Recycle Bin','example01.html','','','img/trash.gif');
+
+		document.write(d);
+
+		//-->
+	</script>
+
+</div>
+
+<p><a href="mailto&#58;drop&#64;destroydrop&#46;com">&copy;2002-2003 Geir Landr&ouml;</a></p>
+
+</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/Linker/dTree/example01.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/img/base.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/Linker/dTree/img/base.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/Linker/dTree/img/base.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/Linker/dTree/img/cd.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/Linker/dTree/img/cd.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/Linker/dTree/img/cd.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/Linker/dTree/img/copy.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/Linker/dTree/img/copy.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/Linker/dTree/img/copy.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/Linker/dTree/img/empty.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/Linker/dTree/img/empty.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/Linker/dTree/img/empty.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/Linker/dTree/img/folder.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/Linker/dTree/img/folder.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/Linker/dTree/img/folder.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/Linker/dTree/img/folderopen.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/Linker/dTree/img/folderopen.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/Linker/dTree/img/folderopen.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/Linker/dTree/img/globe.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/Linker/dTree/img/globe.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/Linker/dTree/img/globe.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/Linker/dTree/img/imgfolder.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/Linker/dTree/img/imgfolder.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/Linker/dTree/img/imgfolder.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/Linker/dTree/img/join.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/Linker/dTree/img/join.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/Linker/dTree/img/join.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/Linker/dTree/img/joinbottom.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/Linker/dTree/img/joinbottom.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/Linker/dTree/img/joinbottom.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/Linker/dTree/img/line.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/Linker/dTree/img/line.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/Linker/dTree/img/line.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/Linker/dTree/img/minus.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/Linker/dTree/img/minus.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/Linker/dTree/img/minus.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/Linker/dTree/img/minusbottom.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/Linker/dTree/img/minusbottom.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/Linker/dTree/img/minusbottom.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/Linker/dTree/img/move.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/Linker/dTree/img/move.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/Linker/dTree/img/move.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/Linker/dTree/img/musicfolder.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/Linker/dTree/img/musicfolder.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/Linker/dTree/img/musicfolder.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/Linker/dTree/img/nolines_minus.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/Linker/dTree/img/nolines_minus.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/Linker/dTree/img/nolines_minus.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/Linker/dTree/img/nolines_plus.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/Linker/dTree/img/nolines_plus.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/Linker/dTree/img/nolines_plus.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/Linker/dTree/img/offline.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/Linker/dTree/img/offline.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/Linker/dTree/img/offline.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/Linker/dTree/img/offline.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/img/offline.png?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/Linker/dTree/img/offline.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/img/page.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/Linker/dTree/img/page.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/Linker/dTree/img/page.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/Linker/dTree/img/plus.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/Linker/dTree/img/plus.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/Linker/dTree/img/plus.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/Linker/dTree/img/plusbottom.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/Linker/dTree/img/plusbottom.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/Linker/dTree/img/plusbottom.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/Linker/dTree/img/question.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/Linker/dTree/img/question.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/Linker/dTree/img/question.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/Linker/dTree/img/trash.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/Linker/dTree/img/trash.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/Linker/dTree/img/trash.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/Linker/dialog.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/Linker/dialog.html?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dialog.html (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dialog.html Sun Jul 22 07:50:10 2007
@@ -0,0 +1,107 @@
+<h1 id="[h1]"><l10n>Insert/Modify Link</l10n></h1>
+<div style="position:relative">
+<div id="[dTree]">(the dTree goes in here)</div>
+<div id="[options]" >
+  <fieldset>
+    <legend><label><input type="radio" name="[type]" value="url" checked="checked" onclick="
+      document.getElementById('[urltable]').style.display=this.checked?'':'none';
+      document.getElementById('[mailtable]').style.display=this.checked?'none':'';
+      document.getElementById('[anchortable]').style.display=this.checked?'none':'';
+    " /> <l10n>URL Link</l10n></label></legend>
+    <table id="[urltable]" width="100%">
+      <tr>
+        <th><label for="[href]"><l10n>URL:</l10n> </label></th>
+        <td><input type="text" name="[href]" style="width:100%" value="http://www.example.com/" onfocus="if (this.value == 'http://www.example.com/') this.value = '';" /></td>
+      </tr>
+      <tr valign="top">
+        <th><l10n>Target:</l10n></th>
+        <td>
+          <div><label><input type="radio" name="[target]" value="" onclick="document.getElementById('[popuptable]').style.display='none';"  checked="checked" /> <l10n>Ordinary Link</l10n></label></div>
+          <div><label><input type="radio" name="[target]" value="_top" onclick="document.getElementById('[popuptable]').style.display='none';"   /> <l10n>Same Window (jump out of frames)</l10n></label></div>
+          <div><label><input type="radio" name="[target]" value="_blank" onclick="document.getElementById('[popuptable]').style.display='none';"/> <l10n>New Window</l10n> </label></div>
+          <div>
+            <label><input type="radio" name="[target]" value="popup"    onclick="document.getElementById('[popuptable]').style.display='';" /> <l10n>Popup Window</l10n> </label>
+             <div style="padding-left:10px">
+              <table id="[popuptable]">
+                <tr>
+                  <th align="left"><l10n>Size:</l10n></th>
+                  <td colspan="3"><input type="text" name="[p_width]" size="4" />x<input type="text" name="[p_height]" size="4" /> <l10n>(px)</l10n></td>
+                </tr>
+                <tr>
+                  <th align="left"><l10n>Name:</l10n></th>
+                  <td colspan="3"><input type="text" name="[p_name]" atyle="width:100%" value="_(PopupWindow)" /></td>
+                </tr>
+                <tr>
+                  <th align="left"><l10n>Menu Bar:</l10n></th>
+                  <td><input type="checkbox" name="[p_options]" value="menubar=yes" /></td>
+
+                  <th align="left"><l10n>Toolbar:</l10n></th>
+                  <td><input type="checkbox" name="[p_options]" value="toolbar=yes" checked="checked" /></td>
+                </tr>
+                <tr>
+                  <th align="left"><l10n>Location Bar:</l10n></th>
+                  <td><input type="checkbox" name="[p_options]" value="location=yes" /></td>
+
+                  <th align="left"><l10n>Status Bar:</l10n></th>
+                  <td><input type="checkbox" name="[p_options]" value="status=yes"   /></td>
+                </tr>
+                <tr>
+                  <th align="left"><l10n>Scrollbars:</l10n></th>
+                  <td><input type="checkbox" name="[p_options]" value="scrollbars=yes" checked="checked" /></td>
+
+                  <th align="left"><l10n>Resizeable:</l10n></th>
+                  <td><input type="checkbox" name="[p_options]" value="resizeable=yes" checked="checked" /></td>
+                </tr>
+              </table>
+            </div>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </fieldset>
+  <fieldset>
+    <legend><label><input type="radio" name="[type]" value="mailto" onclick="
+      document.getElementById('[mailtable]').style.display=this.checked?'':'none';
+      document.getElementById('[urltable]').style.display=this.checked?'none':'';
+      document.getElementById('[anchortable]').style.display=this.checked?'none':'';
+    "/> <l10n>Email Link</l10n></label></legend>
+    <table id="[mailtable]" width="100%">
+      <tr>
+        <th><label for="[to]"><l10n>Email Address:</l10n> </label></th>
+        <td><input type="text" name="[to]" style="width:100%" value="alice@example.com" onfocus="if (this.value == 'alice@example.com') this.value = '';" /></td>
+      </tr>
+      <tr>
+        <th><label for="[subject]"><l10n>Subject:</l10n> </label></th>
+        <td><input type="text" name="[subject]" style="width:100%" value="" /></td>
+      </tr>
+      <tr>
+        <th><label for="[body]"><l10n>Message Template:</l10n> </label></th>
+        <td><textarea name="[body]" style="width:100%" rows="5"></textarea></td>
+      </tr>
+    </table>
+  </fieldset>
+
+  <fieldset id="[anchorfieldset]">
+    <legend><label><input type="radio" name="[type]" value="anchor" onclick="
+      document.getElementById('[urltable]').style.display=this.checked?'none':'';
+      document.getElementById('[mailtable]').style.display=this.checked?'none':'';
+      document.getElementById('[anchortable]').style.display=this.checked?'':'none';
+    "/> <l10n>Anchor-Link</l10n></label></legend>
+    <table id="[anchortable]" width="100%">
+      <tr>
+        <th><label for="[anchor]"><l10n>Anchor:</l10n> </label></th>
+        <td>
+            <select name="[anchor]" id="[anchor]">
+            </select>
+        </td>
+      </tr>
+    </table>
+  </fieldset>
+
+  <div style="text-align:right">
+    <input type="button" id="[ok]"     value="_(OK)"     />
+    <input type="button" id="[clear]"  value="_(Remove Link)" onclick="this.form['[href]'].value='';this.form['[to]'].value='';document.getElementById('[ok]').click();" />
+    <input type="button" id="[cancel]" value="_(Cancel)" />
+  </div>
+</div>
+</div>
\ 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/Linker/dialog.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/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/Linker/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/Linker/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,19 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
+{
+  "You must select some text before making a new link.": "Sie müssen einen Text markieren um einen Link zu erstellen",
+  "Are you sure you wish to remove this link?": "Wollen Sie diesen Link wirklich entfernen?",
+  "Remove Link": "Link entfernen",
+  "URL Link": "URL Adresse",
+  "Ordinary Link": "Standard Link",
+  "Same Window (jump out of frames)": "Selbes Fenster (ganzer Bereich)",
+  "New Window": "Neues Fenster",
+  "Popup Window": "Pop-Up Fenster",
+  "Email Link": "Email Link",
+  "Email Address:": "Email Adresse",
+  "Subject:": "Betreff:",
+  "Message Template:": "Nachrichten Vorlage:",
+  "Size:": "Größe:",
+  "Name:": "Name:"
+};
\ 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/Linker/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/Linker/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/Linker/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/Linker/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,18 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "You must select some text before making a new link.": "Vous devez sélectionner un texte avant de créer un nouveau lien",
+  "Are you sure you wish to remove this link?": "Confirmez-vous la suppression de ce lien ?",
+  "Remove Link": "Supprimer",
+  "URL Link": "Lien URL",
+  "Ordinary Link": "Lien standard",
+  "Same Window (jump out of frames)": "Même fenêtre (sort des frames)",
+  "New Window": "Nouvelle fenêtre",
+  "Popup Window": "Fenêtre popup",
+  "Email Link": "Lien email",
+  "Email Address:": "Adresse email",
+  "Subject:": "Sujet",
+  "Message Template:": "Message",
+  "Size:": "Taille",
+  "Name:": "Nom"
+};
\ 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/Linker/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/Linker/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/Linker/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/Linker/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,24 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "You must select some text before making a new link.": "リンクを作成するにはテキストを選択する必要があります",
+  "Are you sure you wish to remove this link?": "本当にこのリンクを削除しますか?",
+  "Remove Link": "リンク削除",
+  "URL Link": "URLリンク",
+  "Ordinary Link": "標準リンク",
+  "Same Window (jump out of frames)": "同一ウィンドウ (フレーム最上位)",
+  "New Window": "新しいウィンドウ",
+  "Popup Window": "ポップアップウィンドウ",
+  "Email Link": "Eメールリンク",
+  "Email Address:": "アドレス:",
+  "Subject:": "件名:",
+  "Message Template:": "本文雛形:",
+  "Size:": "サイズ:",
+  "Name:": "名前:",
+  "Menu Bar:": "メニュー",
+  "Toolbar:": "ツールバー",
+  "Location Bar:": "アドレスバー",
+  "Status Bar:": "ステータスバー",
+  "Scrollbars:": "スクロール",
+  "Resizeable:": "リサイズ"
+};
\ 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/Linker/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/Linker/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/Linker/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/Linker/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/lang/nb.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,7 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "You must select some text before making a new link.": "Du må markere tekst eller et bilde før du kan lage en lenke.",
+  "Are you sure you wish to remove this link?": "Er du sikker på at du vil fjerne lenken?"
+};
\ 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/Linker/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/Linker/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/Linker/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/Linker/lang/pl.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/lang/pl.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,19 @@
+// I18N constants
+// LANG: "pl", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz, http://www.eskot.krakow.pl/portfolio/, koto@webworkers.pl
+{
+  "You must select some text before making a new link.": "Zaznacz tekst przed dodaniem odnośnika.",
+  "Are you sure you wish to remove this link?": "Na pewno chcesz usunąć odnośnik?",
+  "Remove Link": "USUŃ ODNOŚNIK",
+  "URL Link": "Adres URL",
+  "Ordinary Link": "Zwykły odnośnik",
+  "Same Window (jump out of frames)": "To samo okno (wyskocz z ramek)",
+  "New Window": "Nowe okno",
+  "Popup Window": "Okienko pop-up",
+  "Email Link": "Link do e-maila",
+  "Email Address:": "Adres e-mail",
+  "Subject:": "Temat:",
+  "Message Template:": "Szablon wiadmości:",
+  "Size:": "Rozmiar:",
+  "Name:": "Nazwa:"
+};
\ 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/Linker/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/Linker/linker.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/Linker/linker.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/linker.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/linker.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,385 @@
+Linker._pluginInfo={name:"Linker",version:"1.0",developer:"James Sleeman",developer_url:"http://www.gogo.co.nz/",c_owner:"Gogo Internet Services",license:"htmlArea",sponsor:"Gogo Internet Services",sponsor_url:"http://www.gogo.co.nz/"};
+Xinha.loadStyle("dTree/dtree.css","Linker");
+Xinha.Config.prototype.Linker={"treeCaption":document.location.host,"backend":_editor_url+"plugins/Linker/scan.php","backend_data":null,"files":null};
+function Linker(_1,_2){
+this.editor=_1;
+this.lConfig=_1.config.Linker;
+var _3=this;
+if(_1.config.btnList.createlink){
+_1.config.btnList.createlink[3]=function(e,_5,_6){
+_3._createLink(_3._getSelectedAnchor());
+};
+}else{
+_1.config.registerButton("createlink","Insert/Modify Hyperlink",[_editor_url+"images/ed_buttons_main.gif",6,1],false,function(e,_8,_9){
+_3._createLink(_3._getSelectedAnchor());
+});
+}
+_1.config.addToolbarElement("createlink","createlink",0);
+}
+Linker.prototype._lc=function(_a){
+return Xinha._lc(_a,"Linker");
+};
+Linker.prototype._createLink=function(a){
+if(!a&&this.editor.selectionEmpty(this.editor.getSelection())){
+alert(this._lc("You must select some text before making a new link."));
+return false;
+}
+var _c={type:"url",href:"http://www.example.com/",target:"",p_width:"",p_height:"",p_options:["menubar=no","toolbar=yes","location=no","status=no","scrollbars=yes","resizeable=yes"],to:"alice@example.com",subject:"",body:"",anchor:""};
+if(a&&a.tagName.toLowerCase()=="a"){
+var _d=this.editor.fixRelativeLinks(a.getAttribute("href"));
+var m=_d.match(/^mailto:(.*@[^?&]*)(\?(.*))?$/);
+var _f=_d.match(/^#(.*)$/);
+if(m){
+_c.type="mailto";
+_c.to=m[1];
+if(m[3]){
+var _10=m[3].split("&");
+for(var x=0;x<_10.length;x++){
+var j=_10[x].match(/(subject|body)=(.*)/);
+if(j){
+_c[j[1]]=decodeURIComponent(j[2]);
+}
+}
+}
+}else{
+if(_f){
+_c.type="anchor";
+_c.anchor=_f[1];
+}else{
+if(a.getAttribute("onclick")){
+var m=a.getAttribute("onclick").match(/window\.open\(\s*this\.href\s*,\s*'([a-z0-9_]*)'\s*,\s*'([a-z0-9_=,]*)'\s*\)/i);
+_c.href=_d?_d:"";
+_c.target="popup";
+_c.p_name=m[1];
+_c.p_options=[];
+var _10=m[2].split(",");
+for(var x=0;x<_10.length;x++){
+var i=_10[x].match(/(width|height)=([0-9]+)/);
+if(i){
+_c["p_"+i[1]]=parseInt(i[2]);
+}else{
+_c.p_options.push(_10[x]);
+}
+}
+}else{
+_c.href=_d;
+_c.target=a.target;
+}
+}
+}
+}
+var _14=this;
+this.a=a;
+var _15=function(){
+var a=_14.a;
+var _17=_14._dialog.hide();
+var atr={href:"",target:"",title:"",onclick:""};
+if(_17.type=="url"){
+if(_17.href){
+atr.href=_17.href;
+atr.target=_17.target;
+if(_17.target=="popup"){
+if(_17.p_width){
+_17.p_options.push("width="+_17.p_width);
+}
+if(_17.p_height){
+_17.p_options.push("height="+_17.p_height);
+}
+atr.onclick="if(window.top && window.top.Xinha){return false}window.open(this.href, '"+(_17.p_name.replace(/[^a-z0-9_]/i,"_"))+"', '"+_17.p_options.join(",")+"');return false;";
+}
+}
+}else{
+if(_17.type=="anchor"){
+if(_17.anchor){
+atr.href=_17.anchor.value;
+}
+}else{
+if(_17.to){
+atr.href="mailto:"+_17.to;
+if(_17.subject){
+atr.href+="?subject="+encodeURIComponent(_17.subject);
+}
+if(_17.body){
+atr.href+=(_17.subject?"&":"?")+"body="+encodeURIComponent(_17.body);
+}
+}
+}
+}
+if(a&&a.tagName.toLowerCase()=="a"){
+if(!atr.href){
+if(confirm(_14._dialog._lc("Are you sure you wish to remove this link?"))){
+var p=a.parentNode;
+while(a.hasChildNodes()){
+p.insertBefore(a.removeChild(a.childNodes[0]),a);
+}
+p.removeChild(a);
+_14.editor.updateToolbar();
+return;
+}
+}else{
+for(var i in atr){
+a.setAttribute(i,atr[i]);
+}
+if(Xinha.is_ie){
+if(/mailto:([^?<>]*)(\?[^<]*)?$/i.test(a.innerHTML)){
+a.innerHTML=RegExp.$1;
+}
+}
+}
+}else{
+if(!atr.href){
+return true;
+}
+var tmp=Xinha.uniq("http://www.example.com/Link");
+_14.editor._doc.execCommand("createlink",false,tmp);
+var _1c=_14.editor._doc.getElementsByTagName("a");
+for(var i=0;i<_1c.length;i++){
+var _1d=_1c[i];
+if(_1d.href==tmp){
+if(!a){
+a=_1d;
+}
+for(var j in atr){
+_1d.setAttribute(j,atr[j]);
+}
+}
+}
+}
+_14.editor.selectNodeContents(a);
+_14.editor.updateToolbar();
+};
+this._dialog.show(_c,_15);
+};
+Linker.prototype._getSelectedAnchor=function(){
+var sel=this.editor.getSelection();
+var rng=this.editor.createRange(sel);
+var a=this.editor.activeElement(sel);
+if(a!=null&&a.tagName.toLowerCase()=="a"){
+return a;
+}else{
+a=this.editor._getFirstAncestor(sel,"a");
+if(a!=null){
+return a;
+}
+}
+return null;
+};
+Linker.prototype.onGenerateOnce=function(){
+this._dialog=new Linker.Dialog(this);
+};
+Linker.Dialog_dTrees=[];
+Linker.Dialog=function(_22){
+var _23=this;
+this.Dialog_nxtid=0;
+this.linker=_22;
+this.id={};
+this.ready=false;
+this.files=false;
+this.html=false;
+this.dialog=false;
+this._prepareDialog();
+};
+Linker.Dialog.prototype._prepareDialog=function(){
+var _24=this;
+var _25=this.linker;
+if(typeof dTree=="undefined"){
+Xinha._loadback(_editor_url+"plugins/Linker/dTree/dtree.js",function(){
+_24._prepareDialog();
+});
+return;
+}
+if(this.files==false){
+if(_25.lConfig.backend){
+Xinha._postback(_25.lConfig.backend,_25.lConfig.backend_data,function(txt){
+try{
+_24.files=eval(txt);
+}
+catch(Error){
+_24.files=[{url:"",title:Error.toString()}];
+}
+_24._prepareDialog();
+});
+}else{
+if(_25.lConfig.files!=null){
+_24.files=_25.lConfig.files;
+_24._prepareDialog();
+}
+}
+return;
+}
+var _27=this.files;
+if(this.html==false){
+Xinha._getback(_editor_url+"plugins/Linker/dialog.html",function(txt){
+_24.html=txt;
+_24._prepareDialog();
+});
+return;
+}
+var _29=this.html;
+var _2a=this.dialog=new Xinha.Dialog(_25.editor,this.html,"Linker");
+var _2b=Xinha.uniq("dTree_");
+this.dTree=new dTree(_2b,_editor_url+"plugins/Linker/dTree/");
+eval(_2b+" = this.dTree");
+this.dTree.add(this.Dialog_nxtid++,-1,_25.lConfig.treeCaption,null,_25.lConfig.treeCaption);
+this.makeNodes(_27,0);
+var _2c=this.dialog.getElementById("dTree");
+_2c.innerHTML="";
+_2c.style.position="absolute";
+_2c.style.left=1+"px";
+_2c.style.top=0+"px";
+_2c.style.overflow="auto";
+_2c.style.backgroundColor="white";
+this.ddTree=_2c;
+this.dTree._linker_premade=this.dTree.toString();
+var _2d=this.dialog.getElementById("options");
+_2d.style.position="absolute";
+_2d.style.top=0+"px";
+_2d.style.right=0+"px";
+_2d.style.width=320+"px";
+_2d.style.overflow="auto";
+this.dialog.onresize=function(){
+var h=parseInt(_2a.height)-_2a.getElementById("h1").offsetHeight;
+var w=parseInt(_2a.width)-322;
+if(w<0){
+w=0;
+}
+if(h<0){
+h=0;
+}
+_2d.style.height=_2c.style.height=h+"px";
+_2c.style.width=w+"px";
+};
+this.ready=true;
+};
+Linker.Dialog.prototype.makeNodes=function(_30,_31){
+for(var i=0;i<_30.length;i++){
+if(typeof _30[i]=="string"){
+this.dTree.add(Linker.nxtid++,_31,_30[i].replace(/^.*\//,""),"javascript:document.getElementsByName('"+this.dialog.id.href+"')[0].value=decodeURIComponent('"+encodeURIComponent(_30[i])+"');document.getElementsByName('"+this.dialog.id.type+"')[0].click();document.getElementsByName('"+this.dialog.id.href+"')[0].focus();void(0);",_30[i]);
+}else{
+if(_30[i].length){
+var id=this.Dialog_nxtid++;
+this.dTree.add(id,_31,_30[i][0].replace(/^.*\//,""),null,_30[i][0]);
+this.makeNodes(_30[i][1],id);
+}else{
+if(typeof _30[i]=="object"){
+if(_30[i].children){
+var id=this.Dialog_nxtid++;
+}else{
+var id=Linker.nxtid++;
+}
+if(_30[i].title){
+var _34=_30[i].title;
+}else{
+if(_30[i].url){
+var _34=_30[i].url.replace(/^.*\//,"");
+}else{
+var _34="no title defined";
+}
+}
+if(_30[i].url){
+var _35="javascript:document.getElementsByName('"+this.dialog.id.href+"')[0].value=decodeURIComponent('"+encodeURIComponent(_30[i].url)+"');document.getElementsByName('"+this.dialog.id.type+"')[0].click();document.getElementsByName('"+this.dialog.id.href+"')[0].focus();void(0);";
+}else{
+var _35="";
+}
+this.dTree.add(id,_31,_34,_35,_34);
+if(_30[i].children){
+this.makeNodes(_30[i].children,id);
+}
+}
+}
+}
+}
+};
+Linker.Dialog.prototype._lc=Linker.prototype._lc;
+Linker.Dialog.prototype.show=function(_36,ok,_38){
+if(!this.ready){
+var _39=this;
+window.setTimeout(function(){
+_39.show(_36,ok,_38);
+},100);
+return;
+}
+if(this.ddTree.innerHTML==""){
+this.ddTree.innerHTML=this.dTree._linker_premade;
+}
+if(_36.type=="url"){
+this.dialog.getElementById("urltable").style.display="";
+this.dialog.getElementById("mailtable").style.display="none";
+this.dialog.getElementById("anchortable").style.display="none";
+}else{
+if(_36.type=="anchor"){
+this.dialog.getElementById("urltable").style.display="none";
+this.dialog.getElementById("mailtable").style.display="none";
+this.dialog.getElementById("anchortable").style.display="";
+}else{
+this.dialog.getElementById("urltable").style.display="none";
+this.dialog.getElementById("mailtable").style.display="";
+this.dialog.getElementById("anchortable").style.display="none";
+}
+}
+if(_36.target=="popup"){
+this.dialog.getElementById("popuptable").style.display="";
+}else{
+this.dialog.getElementById("popuptable").style.display="none";
+}
+var _3a=this.dialog.getElementById("anchor");
+for(var i=_3a.length;i>=0;i--){
+_3a[i]=null;
+}
+var _3c=this.linker.editor.getHTML();
+var _3d=new Array();
+var m=_3c.match(/<a[^>]+name="([^"]+)"/gi);
+if(m){
+for(i=0;i<m.length;i++){
+var n=m[i].match(/name="([^"]+)"/i);
+if(!_3d.contains(n[1])){
+_3d.push(n[1]);
+}
+}
+}
+m=_3c.match(/id="([^"]+)"/gi);
+if(m){
+for(i=0;i<m.length;i++){
+n=m[i].match(/id="([^"]+)"/i);
+if(!_3d.contains(n[1])){
+_3d.push(n[1]);
+}
+}
+}
+for(i=0;i<_3d.length;i++){
+var opt=new Option(_3d[i],"#"+_3d[i],false,(_36.anchor==_3d[i]));
+_3a[_3a.length]=opt;
+}
+if(_3a.length==0){
+this.dialog.getElementById("anchorfieldset").style.display="none";
+}
+if(_36.href=="http://www.example.com/"&&_36.to=="alice@example.com"){
+this.dialog.getElementById("clear").style.display="none";
+}else{
+this.dialog.getElementById("clear").style.display="";
+}
+var _41=this.dialog;
+var _39=this;
+if(ok){
+this.dialog.getElementById("ok").onclick=ok;
+}else{
+this.dialog.getElementById("ok").onclick=function(){
+_39.hide();
+};
+}
+if(_38){
+this.dialog.getElementById("cancel").onclick=_38;
+}else{
+this.dialog.getElementById("cancel").onclick=function(){
+_39.hide();
+};
+}
+this.linker.editor.disableToolbar(["fullscreen","linker"]);
+this.dialog.show(_36);
+this.dialog.onresize();
+};
+Linker.Dialog.prototype.hide=function(){
+this.linker.editor.enableToolbar();
+return this.dialog.hide();
+};
+

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/scan.php
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/scan.php?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/scan.php (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/scan.php Sun Jul 22 07:50:10 2007
@@ -0,0 +1,106 @@
+<?php
+    // /home/username/foo/public_html/
+    $dir          = dirname(__FILE__)."/../..";
+    $include      = '/\.(php|shtml|html|htm|shtm|cgi|txt|doc|pdf|rtf|xls|csv)$/';
+    $exclude      = '';
+    $dirinclude   = '';
+    $direxclude   = '/(^|\/)[._]|htmlarea/'; // Exclude the htmlarea tree by default
+
+    // New backend config data passing
+    //  if data was passed using xinha_pass_to_backend() we extract and use it
+    //  as the items above    
+    require_once(realpath(dirname(__FILE__) . '/../../contrib/php-xinha.php'));
+    if($passed_data = xinha_read_passed_data())
+    {
+      extract($passed_data);      
+    }
+
+    // Old deprecated backend config data passing
+    //  not described because you shouldn't use it.
+    //------------------------------------------------------------------------    
+    $hash = '';
+    foreach(explode(',', 'dir,include,exclude,dirinclude,direxclude') as $k)
+    {
+      if(isset($_REQUEST[$k]))
+      {
+        if(get_magic_quotes_gpc())
+        {
+          $_REQUEST[$k] = stripslashes($_REQUEST[$k]);
+        }
+        $hash .= $k . '=' . $_REQUEST[$k];
+        $$k = $_REQUEST[$k];
+      }
+    }
+
+    if($hash)
+    {
+      session_start();
+      if(!isset($_SESSION[sha1($hash)]))
+      {
+        ?>
+        [ ];
+        <?php
+        exit;
+      }
+    }
+    //------------------------------------------------------------------------
+
+
+    function scan($dir, $durl = '')
+    {
+      global $include, $exclude, $dirinclude, $direxclude;
+      static $seen = array();
+
+      $files = array();
+
+      $dir = realpath($dir);
+      if(isset($seen[$dir]))
+      {
+        return $files;
+      }
+      $seen[$dir] = TRUE;
+      $dh = @opendir($dir);
+
+
+      while($dh && ($file = readdir($dh)))
+      {
+        if($file !== '.' && $file !== '..')
+        {
+          $path = realpath($dir . '/' . $file);
+          $url  = $durl . '/' . $file;
+
+          if(($dirinclude && !preg_match($dirinclude, $url)) || ($direxclude && preg_match($direxclude, $url))) continue;
+          if(is_dir($path))
+          {
+            if($subdir = scan($path, $url))
+            {
+              $files[] = array('url'=>$url, 'children'=>$subdir);
+            }
+          }
+          elseif(is_file($path))
+          {
+            if(($include && !preg_match($include, $url)) || ($exclude && preg_match($exclude, $url))) continue;
+            $files[] = array('url'=>$url);
+          }
+
+        }
+      }
+      @closedir($dh);
+      return dirsort($files);
+    }
+
+    function dirsort($files)
+    {
+      usort($files, 'dircomp');
+      return $files;
+    }
+
+    function dircomp($a, $b)
+    {
+      if(is_array($a)) $a = array_shift($a);
+      if(is_array($b)) $b = array_shift($b);
+      return strcmp(strtolower($a), strtolower($b));
+    }
+   
+    echo xinha_to_js(scan($dir));
+?>

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/ListType.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/ListType/ListType.css?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/ListType.css (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/ListType.css Sun Jul 22 07:50:10 2007
@@ -0,0 +1,43 @@
+.ListType { }
+.ListType a {
+  display:block;
+  float:left;
+  margin:2px 0 0 5px;
+  padding:0;
+  width:50px;
+  height:40px;
+  border:1px solid #9c96a5;
+}
+.ListType a:hover {
+  border:1px solid #ffd760;
+}
+.ListType a.active {
+  border:1px solid #000084;
+}
+.ListType a.circle {
+  background:url(img/circle.png);
+}
+.ListType a.disc {
+  background:url(img/disc.png);
+}
+.ListType a.square {
+  background:url(img/square.png);
+}
+.ListType a.decimal {
+  background:url(img/decimal.png);
+}
+.ListType a.lower-alpha {
+  background:url(img/lower-alpha.png);
+}
+.ListType a.upper-alpha {
+  background:url(img/upper-alpha.png);
+}
+.ListType a.lower-roman {
+  background:url(img/lower-roman.png);
+}
+.ListType a.upper-roman {
+  background:url(img/upper-roman.png);
+}
+.ListType a.none {
+  background:url(img/none.png);
+}

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/circle.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/circle.png?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/ListType/img/circle.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/decimal.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/decimal.png?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/ListType/img/decimal.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/disc.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/disc.png?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/ListType/img/disc.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/lower-alpha.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/lower-alpha.png?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/ListType/img/lower-alpha.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/lower-roman.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/lower-roman.png?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/ListType/img/lower-roman.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/none.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/none.png?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/ListType/img/none.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/square.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/square.png?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/ListType/img/square.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/upper-alpha.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/upper-alpha.png?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/ListType/img/upper-alpha.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/upper-roman.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/img/upper-roman.png?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/ListType/img/upper-roman.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/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/ListType/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/ListType/lang/de.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/de.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,12 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: Raimund Meyer xinha@ray-of-light.org
+{
+  "Decimal numbers": "Zahlen",
+  "Lower roman numbers": "Römisch klein",
+  "Upper roman numbers": "Römisch groß",
+  "Lower latin letters": "Zeichen klein",
+  "Upper latin letters": "Zeichen groß",
+  "Lower greek letters": "Griechisch",
+  "Choose list style type (for ordered lists)": "Wählen Sie einen Typ für die Nummerierung aus"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/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/ListType/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/ListType/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/ListType/lang/fr.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/fr.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,11 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Decimal numbers": "Nombres décimaux",
+  "Lower roman numbers": "Nombres romains minuscule",
+  "Upper roman numbers": "Nombres romains majuscule",
+  "Lower latin letters": "Lettres latines minuscule",
+  "Upper latin letters": "Lettres latines majuscule",
+  "Lower greek letters": "Lettres grecques minuscule",
+  "Choose list style type (for ordered lists)": "Choisissez le style de liste (pour les listes ordonnées)"
+};
\ 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/ListType/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/ListType/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/ListType/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/ListType/lang/ja.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/ja.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,11 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Decimal numbers": "10進数",
+  "Lower roman numbers": "ローマ数字(小文字)",
+  "Upper roman numbers": "ローマ数字(大文字)",
+  "Lower latin letters": "アルファベット(小文字)",
+  "Upper latin letters": "アルファベット(大文字)",
+  "Lower greek letters": "ギリシャ文字(小文字)",
+  "Choose list style type (for ordered lists)": "リスト形式の選択(順序付けリスト用)"
+};
\ 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/ListType/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/ListType/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/ListType/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/ListType/lang/nb.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/nb.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,12 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "Decimal numbers": "Desimaltall",
+  "Lower roman numbers": "Lower roman numbers",
+  "Upper roman numbers": "Upper roman numbers",
+  "Lower latin letters": "Lower latin letters",
+  "Upper latin letters": "Upper latin letters",
+  "Lower greek letters": "Lower greek letters",
+  "Choose list style type (for ordered lists)": "Velg listetype (for nummererte lister)"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/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/ListType/lang/nl.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/nl.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/nl.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/nl.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,12 @@
+// I18N constants
+// LANG: "nl", ENCODING: UTF-8
+// Author: Mihai Bazon, http://dynarch.com/mishoo
+{
+  "Decimal numbers": "Decimale nummers",
+  "Lower roman numbers": "Romeinse nummers klein",
+  "Upper roman numbers": "Romeinse nummers groot",
+  "Lower latin letters": "Latijnse letters klein",
+  "Upper latin letters": "Latijnse letters groot",
+  "Lower greek letters": "Griekse letters",
+  "Choose list style type (for ordered lists)": "Kies stijl type (voor ordered lists)"
+};

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/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/ListType/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/ListType/lang/pl.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/pl.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,12 @@
+// I18N constants
+// LANG: "pl", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz, koto1sa@o2.pl, http://www.eskot.krakow.pl/portfolio
+{
+  "Decimal numbers": "Cyfry arabskie",
+  "Lower roman numbers": "Małe rzymskie",
+  "Upper roman numbers": "Duże rzymskie",
+  "Lower latin letters": "Małe litery",
+  "Upper latin letters": "Duże litery",
+  "Lower greek letters": "Małe litery greckie",
+  "Choose list style type (for ordered lists)": "Wybierz typ listy numerowanej"
+};

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/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/ListType/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/ListType/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/ListType/lang/ru.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/ru.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,12 @@
+// I18N constants
+// LANG: "ru", ENCODING: UTF-8
+// Author: Andrei Blagorazumov, a@fnr.ru
+{
+  "Decimal numbers": "Десятичные числа",
+  "Lower roman numbers": "Строчные романские числа",
+  "Upper roman numbers": "Заглавные романские числа",
+  "Lower latin letters": "Строчные латинские символы",
+  "Upper latin letters": "Заглавные латинские символы",
+  "Lower greek letters": "Строчные греческие символы",
+  "Choose list style type (for ordered lists)": "Выберите стиль списков (для упорядоченных списков)"
+};
\ 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/ListType/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/ListType/lang/sv.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/ListType/lang/sv.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/sv.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/lang/sv.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,12 @@
+// I18N constants
+// LANG: "sv" (Swedish), ENCODING: UTF-8
+// translated: Erik Dalén, <dalen@jpl.se>
+{
+  "Decimal numbers": "Desimaltal",
+  "Lower roman numbers": "Små romerska siffror",
+  "Upper roman numbers": "Stora romerska siffror",
+  "Lower latin letters": "Små latinska bokstäver",
+  "Upper latin letters": "Stora latinska bokstäver",
+  "Lower greek letters": "Små grekiska bokstäver",
+  "Choose list style type (for ordered lists)": "Välj listtyp (för numrerade listor)"
+};

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

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/list-type.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/ListType/list-type.js?view=auto&rev=558490
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/list-type.js (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/list-type.js Sun Jul 22 07:50:10 2007
@@ -0,0 +1,137 @@
+HTMLArea.loadStyle("ListType.css","ListType");
+function ListType(_1){
+this.editor=_1;
+var _2=_1.config;
+var _3=this;
+if(_2.ListType.mode=="toolbar"){
+var _4={};
+_4[HTMLArea._lc("Decimal numbers","ListType")]="decimal";
+_4[HTMLArea._lc("Lower roman numbers","ListType")]="lower-roman";
+_4[HTMLArea._lc("Upper roman numbers","ListType")]="upper-roman";
+_4[HTMLArea._lc("Lower latin letters","ListType")]="lower-alpha";
+_4[HTMLArea._lc("Upper latin letters","ListType")]="upper-alpha";
+if(!HTMLArea.is_ie){
+_4[HTMLArea._lc("Lower greek letters","ListType")]="lower-greek";
+}
+var _5={id:"listtype",tooltip:HTMLArea._lc("Choose list style type (for ordered lists)","ListType"),options:_4,action:function(_6){
+_3.onSelect(_6,this);
+},refresh:function(_7){
+_3.updateValue(_7,this);
+},context:"ol"};
+_2.registerDropdown(_5);
+_2.addToolbarElement("listtype",["insertorderedlist","orderedlist"],1);
+}else{
+_1._ListType=_1.addPanel("right");
+HTMLArea.freeLater(_1,"_ListType");
+HTMLArea.addClass(_1._ListType,"ListType");
+HTMLArea.addClass(_1._ListType.parentNode,"dialog");
+_1.notifyOn("modechange",function(e,_9){
+if(_9.mode=="text"){
+_1.hidePanel(_1._ListType);
+}
+});
+var _a=["disc","circle","square","none"];
+var _b=["decimal","lower-alpha","upper-alpha","lower-roman","upper-roman","none"];
+var _c=document.createElement("div");
+_c.style.height="90px";
+var _d=document.createElement("div");
+_d.id="LTdivUL";
+_d.style.display="none";
+for(var i=0;i<_a.length;i++){
+_d.appendChild(this.createImage(_a[i]));
+}
+_c.appendChild(_d);
+var _d=document.createElement("div");
+_d.id="LTdivOL";
+_d.style.display="none";
+for(var i=0;i<_b.length;i++){
+_d.appendChild(this.createImage(_b[i]));
+}
+_c.appendChild(_d);
+_1._ListType.appendChild(_c);
+_1.hidePanel(_1._ListType);
+}
+}
+HTMLArea.Config.prototype.ListType={"mode":"toolbar"};
+ListType._pluginInfo={name:"ListType",version:"2.1",developer:"Laurent Vilday",developer_url:"http://www.mokhet.com/",c_owner:"Xinha community",sponsor:"",sponsor_url:"",license:"Creative Commons Attribution-ShareAlike License"};
+ListType.prototype.onSelect=function(_f,_10){
+var _11=_f._toolbarObjects[_10.id].element;
+var _12=_f.getParentElement();
+while(!/^ol$/i.test(_12.tagName)){
+_12=_12.parentNode;
+}
+_12.style.listStyleType=_11.value;
+};
+ListType.prototype.updateValue=function(_13,_14){
+var _15=_13._toolbarObjects[_14.id].element;
+var _16=_13.getParentElement();
+while(_16&&!/^ol$/i.test(_16.tagName)){
+_16=_16.parentNode;
+}
+if(!_16){
+_15.selectedIndex=0;
+return;
+}
+var _17=_16.style.listStyleType;
+if(!_17){
+_15.selectedIndex=0;
+}else{
+for(var i=_15.firstChild;i;i=i.nextSibling){
+i.selected=(_17.indexOf(i.value)!=-1);
+}
+}
+};
+ListType.prototype.onUpdateToolbar=function(){
+if(this.editor.config.ListType.mode=="toolbar"){
+return;
+}
+var _19=this.editor.getParentElement();
+while(_19&&!/^[o|u]l$/i.test(_19.tagName)){
+_19=_19.parentNode;
+}
+if(_19&&/^[o|u]l$/i.test(_19.tagName)){
+this.showPanel(_19);
+}else{
+if(this.editor._ListType.style.display!="none"){
+this.editor.hidePanel(this.editor._ListType);
+}
+}
+};
+ListType.prototype.createImage=function(_1a){
+var _1b=this;
+var _1c=this.editor;
+var a=document.createElement("a");
+a.href="javascript:void(0)";
+HTMLArea._addClass(a,_1a);
+HTMLArea._addEvent(a,"click",function(){
+var _1e=_1c._ListType.currentListTypeParent;
+_1e.style.listStyleType=_1a;
+_1b.showActive(_1e);
+return false;
+});
+return a;
+};
+ListType.prototype.showActive=function(_1f){
+var _20=document.getElementById((_1f.tagName.toLowerCase()=="ul")?"LTdivUL":"LTdivOL");
+document.getElementById("LTdivUL").style.display="none";
+document.getElementById("LTdivOL").style.display="none";
+_20.style.display="block";
+var _21=_1f.style.listStyleType;
+if(""==_21){
+_21=(_1f.tagName.toLowerCase()=="ul")?"disc":"decimal";
+}
+for(var i=0;i<_20.childNodes.length;i++){
+var elt=_20.childNodes[i];
+if(HTMLArea._hasClass(elt,_21)){
+HTMLArea._addClass(elt,"active");
+}else{
+HTMLArea._removeClass(elt,"active");
+}
+}
+};
+ListType.prototype.showPanel=function(_24){
+this.editor._ListType.currentListTypeParent=_24;
+this.showActive(_24);
+this.editor.showPanel(this.editor._ListType);
+};
+

Propchange: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/ListType/list-type.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/img/note.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/NoteServer/img/note.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/NoteServer/img/note.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message