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

Modified Files:
        index.jsp group.jsp 
Log Message:
work on groups


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community


Index: index.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/index.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- index.jsp   6 Feb 2008 15:12:36 -0000       1.6
+++ index.jsp   7 Feb 2008 14:35:31 -0000       1.7
@@ -25,7 +25,7 @@
          <community:listGroups var="groupList" />
          <c:forEach var="group" items="${groupList}">
             <tr>
-               <td style="padding-right: 10px"><a 
href="groupInitAction.do?id=${group}">${group}</a></td>
+               <td style="padding-right: 10px"><a 
href="groupInitAction.do?groupid=${group}">${group}</a></td>
                <td>
                   <a href="deleteGroupAction.do?groupid=${group}">
                      <img src="../gfx/icons/delete.png" border='0' 
title="<fmt:message key="view.removegroup" />"


Index: group.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/group.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- group.jsp   6 Feb 2008 15:12:36 -0000       1.1
+++ group.jsp   7 Feb 2008 14:35:31 -0000       1.2
@@ -3,7 +3,7 @@
 <mm:content type="text/html" encoding="UTF-8" expires="0">
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html:html xhtml="true">
-<cmscedit:head title="group.title">
+<cmscedit:head title="view.group.title">
        <script src="../../js/selectbox.js" type="text/javascript"></script>
        <style>
                input.select { font-height: 4px;}
@@ -11,16 +11,16 @@
 </cmscedit:head>
 <body style="overflow: auto">
 <mm:cloud jspvar="cloud" loginpage="../login.jsp" rank='administrator'>
-<cmscedit:contentblock title="group.title" titleClass="content_block_pink">
+<cmscedit:contentblock title="view.group.title" 
titleClass="content_block_pink">
        <html:form action="/editors/community/groupAction" 
                 onsubmit="return selectboxesOnSubmit('users', 'members');">
                <div id="group">
                <table>
                        <tr>
-                               <td class="fieldname" width='180'><fmt:message 
key="group.name" /></td>
+            <td class="fieldname" width="180"><fmt:message 
key="view.group.name" /></td>
                                <td>
                <logic:equal name="communityGroupForm" property="action" 
value="add">
-                                               <html:text property="name" 
size='15' maxlength='15' />
+                                               <html:text property="name" 
size="15" maxlength="15" />
                                                <span 
class="notvalid"><html:errors bundle="SECURITY" property="groupname" /></span>
                                        </logic:equal> 
                <logic:notEqual name="communityGroupForm" property="action" 
value="add">
@@ -30,14 +30,16 @@
                        </tr>
                </table>
                </div>
-<%--
+
                <table>
                        <tr>
                                <td width="180">
-                                       <fmt:message key="group.nonmembers" 
/><br />
+                                       <fmt:message 
key="view.group.nonmembers" /><br />
+
                                        <html:select property="users" size="25" 
styleId="users" multiple="true" style="width: 180px">
                                                <html:optionsCollection 
name="usersList" value="value" label="label"/> 
                                        </html:select> 
+
                                </td>
                                <td style="vertical-align:middle" width="30">
                                        <input type="button" class="flexbutton" 
value="&gt;&gt;" onClick="one2two('users', 'members', true)" />
@@ -45,18 +47,20 @@
                                        <input type="button" class="flexbutton" 
value="&lt;&lt;" onClick="two2one('users', 'members', true)"/>
                                </td>
                                <td>
-                                       <fmt:message key="group.members" /><br 
/>
+                                       <fmt:message key="view.group.members" 
/><br />
+
                                        <html:select property="members" 
size="25" styleId="members" multiple="true" style="width: 180px">
                                                <html:optionsCollection 
name="membersList" value="value" label="label"/> 
                                        </html:select> 
+
                                </td>
                        </tr>
                </table>
---%>
+
                <br />
                <div style="padding: 5px;">
-                       <html:submit style="width:90"><fmt:message 
key="group.submit"/></html:submit>
-         <html:cancel style="width:90"><fmt:message 
key="group.cancel"/></html:cancel>
+                       <html:submit style="width:90"><fmt:message 
key="view.group.submit"/></html:submit>
+         <html:cancel style="width:90"><fmt:message 
key="view.group.cancel"/></html:cancel>
                </div>
        </html:form>
        </cmscedit:contentblock>        
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to