Update of /var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community In directory james.mmbase.org:/tmp/cvs-serv13751
Modified Files: Tag: b1_5 userlist_table.jspf Log Message: CMSC-949, Blocking users: user status enhancements,pull-down options in lower case 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.2.1 retrieving revision 1.6.2.2 diff -u -b -r1.6.2.1 -r1.6.2.2 --- userlist_table.jspf 2 Dec 2008 09:49:58 -0000 1.6.2.1 +++ userlist_table.jspf 3 Dec 2008 06:15:53 -0000 1.6.2.2 @@ -34,27 +34,15 @@ </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}"> + <select onchange="selectState('${pageContext.request.contextPath }/editors/community/SearchConditionalUser.do?page=${page}&sortby=${param.sortby}&dir=${param.dir}&authid=${person.authId}',this)" > <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="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> +<script language="JavaScript"> + onState(); +</script> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs