Update of 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
In directory 
james.mmbase.org:/tmp/cvs-serv3537/CMSContainer_Modules/community/src/webapp/editors/community

Modified Files:
        listUsers.jsp userlist_table.jspf 
Log Message:
change newsletter publication could search, sort defaultly, CMSC-979 change 
staticSearch with more columns. remove the unuse function 
NewletterPublication,make the addUser turn to correct pages


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
See also: http://www.mmbase.org/jira/browse/CMSC-979


Index: listUsers.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/listUsers.jsp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- listUsers.jsp       11 Sep 2008 11:17:29 -0000      1.15
+++ listUsers.jsp       19 Sep 2008 10:32:02 -0000      1.16
@@ -30,7 +30,11 @@
    <div class="editor"> 
       <div class="body">
          <p>
-            <a href="userAddInitAction.do"
+         <c:url var="addUserUrl" value="userAddInitAction.do">
+            <c:param name="forward" value="addCommunityUser"/>
+            <c:param name="path" value="${forwardPath}"/>
+         </c:url>
+            <a href="${addUserUrl}"
                style=" padding-left:20px; background: url(<cmsc:staticurl 
page='/editors/gfx/icons/new.png'/>) left center no-repeat"><fmt:message
                   key="view.new.user"/>
             </a>


Index: userlist_table.jspf
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/userlist_table.jspf,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- userlist_table.jspf 5 Aug 2008 07:56:06 -0000       1.5
+++ userlist_table.jspf 19 Sep 2008 10:32:02 -0000      1.6
@@ -11,7 +11,13 @@
    </edit:ui-tcolumn>
    <edit:ui-tcolumn titlekey="community.search.fullname" 
sort="person.firstName,person.lastName">
    <c:if test="${not hiddenOperation}">
-      <a href="${pageContext.request.contextPath 
}/editors/community/userAddInitAction.do?authid=${person.authId}&&group=${groupName},${option}">${person.fullname}</a>
+      <c:url var="editUserUrl" value="userAddInitAction.do">
+         <c:param name="forward" value="addCommunityUser"/>
+         <c:param name="path" value="${forwardPath}"/>
+         <c:param name="authid" value="${person.authId}"/>
+         <c:param name="group" value="${groupName},${option}"/>
+      </c:url>
+      <a href="${editUserUrl}">${person.fullname}</a>
    </c:if>
    <c:if test="${hiddenOperation}">
       ${person.fullname}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to