Commit 25506db7 authored by Bill Lynch's avatar Bill Lynch Committed by bill

JM-128 -- marking people as group admins does not work


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@917 b35dd754-fafc-0310-a699-88a17e54d16e
parent fddd3b9f
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> <%--
<%@ page - $RCSfile$
import="java.text.DateFormat, - $Revision$
- $Date$
-
- Copyright (C) 2005 Jive Software. All rights reserved.
-
- This software is published under the terms of the GNU Public License (GPL),
- a copy of which is included in this distribution.
--%>
<%@ page import="java.text.DateFormat,
java.util.*, java.util.*,
org.jivesoftware.util.ParamUtils, org.jivesoftware.util.ParamUtils,
org.jivesoftware.admin.*, org.jivesoftware.admin.*,
...@@ -11,21 +20,25 @@ import="java.text.DateFormat, ...@@ -11,21 +20,25 @@ import="java.text.DateFormat,
java.net.URLDecoder, java.net.URLDecoder,
org.jivesoftware.messenger.user.UserManager, org.jivesoftware.messenger.user.UserManager,
org.jivesoftware.messenger.user.UserNotFoundException, org.jivesoftware.messenger.user.UserNotFoundException,
org.jivesoftware.stringprep.Stringprep"%> org.jivesoftware.stringprep.Stringprep"
%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!-- Define Administration Bean --> <!-- Define Administration Bean -->
<jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager"/> <jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager"/>
<jsp:useBean id="errors" class="java.util.HashMap"/> <jsp:useBean id="errors" class="java.util.HashMap"/>
<%
webManager.init(pageContext); <% webManager.init(pageContext); %>
%>
<% <% // Get parameters
// Get parameters
boolean add = request.getParameter("add") != null; boolean add = request.getParameter("add") != null;
boolean delete = request.getParameter("remove") != null; boolean delete = request.getParameter("remove") != null;
boolean update = request.getParameter("save") != null; boolean update = request.getParameter("save") != null;
boolean cancel = request.getParameter("cancel") != null; boolean cancel = request.getParameter("cancel") != null;
String users = ParamUtils.getParameter(request, "users"); String users = ParamUtils.getParameter(request, "users");
String [] adminIDs = ParamUtils.getParameters(request, "admin"); String [] adminIDs = ParamUtils.getParameters(request, "admin");
String [] oldAdminIDs = ParamUtils.getParameters(request, "oldAdmin");
String [] deleteMembers = ParamUtils.getParameters(request, "delete"); String [] deleteMembers = ParamUtils.getParameters(request, "delete");
String groupName = ParamUtils.getParameter(request, "group"); String groupName = ParamUtils.getParameter(request, "group");
GroupManager groupManager = webManager.getGroupManager(); GroupManager groupManager = webManager.getGroupManager();
...@@ -525,7 +538,7 @@ import="java.text.DateFormat, ...@@ -525,7 +538,7 @@ import="java.text.DateFormat,
&nbsp; &nbsp;
</td> </td>
<td align="center"> <td align="center">
<input type="submit" name="update" value="Update"> <input type="submit" name="save" value="Update">
</td> </td>
<td align="center"> <td align="center">
<input type="submit" name="remove" value="Remove"> <input type="submit" name="remove" value="Remove">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment