Update of /var/cvs/contributions/lucene/templates
In directory james.mmbase.org:/tmp/cvs-serv25281
Modified Files:
index.jspx
Log Message:
checking readonlyness for delete buttons
See also: http://cvs.mmbase.org/viewcvs/contributions/lucene/templates
Index: index.jspx
===================================================================
RCS file: /var/cvs/contributions/lucene/templates/index.jspx,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- index.jspx 1 Feb 2008 12:50:42 -0000 1.33
+++ index.jspx 25 Feb 2008 12:24:21 -0000 1.34
@@ -51,6 +51,7 @@
<th>search</th>
<th>full index</th>
</tr>
+ <mm:booleanfunction name="readOnly" module="lucene" inverse="true">
<mm:import externid="clear" />
<mm:present referid="clear">
<mm:function module="lucene" referids="[EMAIL PROTECTED]"
name="clearDirectory" />
@@ -62,6 +63,7 @@
<mm:function module="lucene" referids="[EMAIL PROTECTED]"
name="clearDirectory" />
</mm:functioncontainer>
</mm:present>
+ </mm:booleanfunction>
<mm:listfunction id="index" module="lucene" name="list">
<c:catch var="exception1">
<tr>
@@ -81,6 +83,8 @@
<mm:function module="lucene" referids="index"
name="searchsize">
<jsp:text>${_}</jsp:text>
</mm:function>
+ <mm:booleanfunction name="readOnly" module="lucene"
inverse="true">
+
<mm:link>
<mm:param name="clear">${index}</mm:param>
<jsp:text> (</jsp:text>
@@ -107,6 +111,7 @@
</c:choose>
</mm:function>
</mm:functioncontainer>
+ </mm:booleanfunction>
</td>
<td>
<mm:function module="lucene" referids="index" name="last">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs