Update of
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
In directory james.mmbase.org:/tmp/cvs-serv16355/src/webapp/editors/community
Modified Files:
Tag: b1_5
userlist_table.jspf
Log Message:
CMSC-949, Blocking users: user status enhancements,show useful state by jsp
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
See also: http://www.mmbase.org/jira/browse/CMSC-949
Index: userlist_table.jspf
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/userlist_table.jspf,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -b -r1.6 -r1.6.2.1
--- userlist_table.jspf 19 Sep 2008 10:32:02 -0000 1.6
+++ userlist_table.jspf 2 Dec 2008 09:49:58 -0000 1.6.2.1
@@ -32,5 +32,29 @@
<edit:ui-tcolumn titlekey="community.search.memberOf">
${person.groups}
</edit:ui-tcolumn>
+ <edit:ui-tcolumn titlekey="community.search.state">
+ <select
onchange="selectState('${pageContext.request.contextPath
}/editors/community/SearchConditionalUser.do?page=${page}&sortby=${param.sortby}&dir=${param.dir}&authid=${person.authId}',this)"
>
+ <c:if test="${not empty person.active}">
+ <option selected="selected"
value="${person.active}">${person.active}</option>
+ </c:if>
+ <c:if test="${empty person.active}">
+ <option selected="selected" value="ACTIVE"><fmt:message
key="community.search.state.active"/></option>
+ <option value="UNCONFIRMED"><fmt:message
key="community.search.state.unconfirmed"/> </option>
+ <option value="BLOCKED"><fmt:message
key="community.search.state.blocked"/></option>
+ </c:if>
+ <c:if test="${person.active == 'ACTIVE'}">
+ <option value="UNCONFIRMED"><fmt:message
key="community.search.state.unconfirmed"/> </option>
+ <option value="BLOCKED"><fmt:message
key="community.search.state.blocked"/></option>
+ </c:if>
+ <c:if test="${person.active == 'UNCONFIRMED'}">
+ <option value="ACTIVE"><fmt:message
key="community.search.state.active"/> </option>
+ <option value="BLOCKED"><fmt:message
key="community.search.state.blocked"/></option>
+ </c:if>
+ <c:if test="${person.active == 'BLOCKED'}">
+ <option value="ACTIVE"><fmt:message
key="community.search.state.active"/> </option>
+ <option value="UNCONFIRMED"><fmt:message
key="community.search.state.unconfirmed"/> </option>
+ </c:if>
+ </select>
+ </edit:ui-tcolumn>
</edit:ui-table>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs