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

Modified Files:
        search_user_form_table.jspf addUserToGroup.jsp 
Log Message:
CMSC-996 format the jsp use properties&modify the search condition


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


Index: search_user_form_table.jspf
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/search_user_form_table.jspf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- search_user_form_table.jspf 31 Jul 2008 07:55:54 -0000      1.1
+++ search_user_form_table.jspf 1 Aug 2008 07:13:53 -0000       1.2
@@ -18,7 +18,7 @@
       </tr>
       <tr>
          <td style="width:150px"></td>
-         <td><input type="submit" value="Search" name="submitButton"/></td>
+         <td><input type="submit" value="<fmt:message 
key="community.search.submit"/>" name="submitButton"/></td>
       </tr>
    </tbody>
 </table>
\ No newline at end of file


Index: addUserToGroup.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/addUserToGroup.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- addUserToGroup.jsp  28 Jul 2008 07:36:58 -0000      1.3
+++ addUserToGroup.jsp  1 Aug 2008 07:13:53 -0000       1.4
@@ -6,7 +6,7 @@
 %>
 <[EMAIL PROTECTED] uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt"
 %>
-<fmt:setBundle basename="cmsc-community" scope="request" />
+<mm:content type="text/html" encoding="UTF-8" expires="0">
 <cmscedit:head title="reactions.title">
 <script type="text/javascript">
       function addToGroup(){
@@ -26,6 +26,7 @@
 </script> 
 </cmscedit:head>
 
+<body>
 <div class="tabs">
    <div class="tab_active">
       <div class="body">
@@ -59,7 +60,7 @@
                   <tr>&nbsp;</tr>
                   <tr>
                      <td style="width:150px">&nbsp;</td>
-                     <td><input type="submit" name="submit" value="Search"> 
</td>
+                     <td><input type="submit" name="submitButton" 
value="<fmt:message key="community.search.submit"/>"> </td>
                   </tr>
                </tbody>
             </table>
@@ -71,7 +72,7 @@
    <div class="ruler_green"><div>&nbsp; <fmt:message 
key="community.search.selectGroup"/> &nbsp;</div></div>
    <div class="body">
     <form action="${pageContext.request.contextPath 
}/editors/community/AddUserToGroup.do?users=${users}" method="post">
-         <p><input type="submit" value="add User To Group" name="submitButton" 
onclick="return addToGroup()"/></p>
+         <p><input type="submit" value="<fmt:message 
key="community.search.addtogroup"/>" name="submitButton" onclick="return 
addToGroup()"/></p>
          <edit:ui-table items="${groupForShow}" var="group" 
size="${totalCount}" requestURI="/editors/community/AddUserToGroupInit.do">
             <edit:ui-tcolumn title="">
                <input type="checkbox" name="chk_group" 
value="${group.groupName}"/>
@@ -86,3 +87,5 @@
       </form>
    </div>
 </div>
\ No newline at end of file
+</body>
+</mm:content>
\ No newline at end of file
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to