Author: kevinshen
Date: 2010-02-08 10:30:48 +0100 (Mon, 08 Feb 2010)
New Revision: 40886

Modified:
   
CMSContainer/branches/b1_7/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag
Log:
CMSC-1636 Community: add sort on status, select all, delete options

Modified: 
CMSContainer/branches/b1_7/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag
===================================================================
--- 
CMSContainer/branches/b1_7/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag
        2010-02-08 09:08:18 UTC (rev 40885)
+++ 
CMSContainer/branches/b1_7/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag
        2010-02-08 09:30:48 UTC (rev 40886)
@@ -3,6 +3,7 @@
 <%@ attribute name="title" rtexprvalue="true" required="false" %>
 <%@ attribute name="sort" rtexprvalue="true" required="false" %>
 <%@ attribute name="width" rtexprvalue="true" required="false" %>
+<%@ attribute name="checkboxlabel" rtexprvalue="true" required="false" %>
 
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %>
@@ -21,7 +22,10 @@
             </c:when>
             <c:when test="${'' eq title}">
                <c:if test="${not empty bulkbox && size > 1}">
-                  <input type="checkbox"  name="selectall"  
onclick="selectAll(this.checked, 'selectform', 'chk_');" value="on"/>
+                  <input type="checkbox"  name="selectall"  
onclick="selectAll(this.checked, 'selectform', 'chk_');" value="on"   
style="margin:0px 0px 0px 4px !important;> margin:0px 0px !important;margin:0px 
0px;"/>
+                 <c:if test="${not empty checkboxlabel}">
+                    <span 
style="padding-left:4px;position:absolute;text-transform:none"><fmt:message 
key="${checkboxlabel}" /></span>
+                 </c:if>
              </c:if>
              <c:if test="${empty bulkbox}">
                 &nbsp;
@@ -29,7 +33,7 @@
             </c:when>
          </c:choose>
       </c:set>
-      <th ${not empty width ? width : ''}>
+      <th width="${not empty width ? width : ''}">
          <c:choose>
             <c:when test="${not empty sort}">
                <a 
href="<%=request.getContextPath()%>${requestScope.sortlink}page=${page}&sortby=${sort}&dir=${dir}">

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to