Commit 6ad23049 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Removed main.jsp page


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@376 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5efdf9c5
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Audit Policy"; String title = "Audit Policy";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "audit-policy.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "audit-policy.jsp"));
pageinfo.setPageID("server-audit-policy"); pageinfo.setPageID("server-audit-policy");
%> %>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Chat Room History Settings"; String title = "Chat Room History Settings";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "chatroom-history-settings.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "chatroom-history-settings.jsp"));
pageinfo.setPageID("server-chatroom-history"); pageinfo.setPageID("server-chatroom-history");
%> %>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Jive Messenger Server Down"; String title = "Jive Messenger Server Down";
String[][] breadcrumbs = { String[][] breadcrumbs = {
{ "Home", "main.jsp" }, { "Home", "index.jsp" },
{ title, "error-serverdown.jsp" } { title, "error-serverdown.jsp" }
}; };
%> %>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<!-- Define BreadCrumbs --> <!-- Define BreadCrumbs -->
<c:set var="title" value="License Details" /> <c:set var="title" value="License Details" />
<c:set var="breadcrumbs" value="${admin.breadCrumbs}" /> <c:set var="breadcrumbs" value="${admin.breadCrumbs}" />
<c:set target="${breadcrumbs}" property="Home" value="main.jsp" /> <c:set target="${breadcrumbs}" property="Home" value="index.jsp" />
<c:set target="${breadcrumbs}" property="${title}" value="license-details.jsp" /> <c:set target="${breadcrumbs}" property="${title}" value="license-details.jsp" />
<jsp:include page="top.jsp" flush="true" /> <jsp:include page="top.jsp" flush="true" />
......
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Log Viewer"; String title = "Log Viewer";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "logviewer.jsp?log=" + log)); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "logviewer.jsp?log=" + log));
pageinfo.setPageID("server-logs"); pageinfo.setPageID("server-logs");
%> %>
......
<%--
- $RCSfile$
- $Revision$
- $Date$
-
- Copyright (C) 2004 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="org.jivesoftware.util.*,
java.util.HashMap,
java.util.Map,
org.jivesoftware.messenger.*,
org.jivesoftware.messenger.user.*,
java.util.*,
java.text.*,
org.jivesoftware.admin.AdminPageBean"
%>
<%@ taglib uri="core" prefix="c" %>
<%@ taglib uri="fmt" prefix="fmt" %>
<%@ include file="global.jsp" %>
<%-- Define page bean for header and sidebar --%>
<jsp:useBean id="pageinfo" scope="request" class="org.jivesoftware.admin.AdminPageBean" />
<%-- Define Administration Bean --%>
<jsp:useBean id="admin" class="org.jivesoftware.util.WebManager" />
<% admin.init(request, response, session, application, out); %>
<% // Title of this page and breadcrumbs
String title = "Jive Messenger Admin";
pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp"));
pageinfo.setPageID("server-status");
%>
<jsp:include page="top.jsp" flush="true" />
<p>Welcome to the Jive Messenger Admin tool.</p>
<table class="box" cellpadding="3" cellspacing="1" border="0" width="100%">
<tr class="tableHeaderBlue"><td colspan="2" align="center"><fmt:message key="title" bundle="${lang}" /> Information</td></tr>
<tr><td colspan="2">
<tr>
<td class="jive-label">
Version:
</td>
<td>
<fmt:message key="title" bundle="${lang}" /> <%= admin.getXMPPServer().getServerInfo().getVersion().getVersionString() %>
</td>
</tr>
<tr>
<td class="jive-label">
JVM Version and Vendor:
</td>
<td>
<%= System.getProperty("java.version") %> <%= System.getProperty("java.vendor") %>
</td>
</tr>
<tr>
<td class="jive-label">
Appserver:
</td>
<td>
<%= application.getServerInfo() %>
</td>
</tr>
</table>
</div>
<jsp:include page="top.jsp" flush="true" />
\ No newline at end of file
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Users allowed to create rooms"; String title = "Users allowed to create rooms";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "muc-create-permission.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "muc-create-permission.jsp"));
pageinfo.setPageID("muc-perms"); pageinfo.setPageID("muc-perms");
%> %>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "MultiUser Chat History Settings"; String title = "MultiUser Chat History Settings";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "muc-history-settings.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "muc-history-settings.jsp"));
pageinfo.setPageID("muc-history"); pageinfo.setPageID("muc-history");
%> %>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Edit MultiUser Chat Properties"; String title = "Edit MultiUser Chat Properties";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "muc-server-props-edit-form.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "muc-server-props-edit-form.jsp"));
pageinfo.setPageID("muc-server-props"); pageinfo.setPageID("muc-server-props");
%> %>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "System Administrators For MultiUser Chat Rooms"; String title = "System Administrators For MultiUser Chat Rooms";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "muc-sysadmins.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "muc-sysadmins.jsp"));
pageinfo.setPageID("muc-sysadmins"); pageinfo.setPageID("muc-sysadmins");
%> %>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Offline Messages"; String title = "Offline Messages";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "offline-messages.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "offline-messages.jsp"));
pageinfo.setPageID("server-offline-messages"); pageinfo.setPageID("server-offline-messages");
%> %>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Private Data"; String title = "Private Data";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "private-data-settings.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "private-data-settings.jsp"));
pageinfo.setPageID("server-data-settings"); pageinfo.setPageID("server-data-settings");
%> %>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Registration Settings"; String title = "Registration Settings";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "reg-settings.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "reg-settings.jsp"));
pageinfo.setPageID("server-reg-and-login"); pageinfo.setPageID("server-reg-and-login");
%> %>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Database Properties"; String title = "Database Properties";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "server-db.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "server-db.jsp"));
pageinfo.setPageID("server-db"); pageinfo.setPageID("server-db");
%> %>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<!-- Define BreadCrumbs --> <!-- Define BreadCrumbs -->
<c:set var="title" value="Edit Server Properties" /> <c:set var="title" value="Edit Server Properties" />
<c:set var="breadcrumbs" value="${admin.breadCrumbs}" /> <c:set var="breadcrumbs" value="${admin.breadCrumbs}" />
<c:set target="${breadcrumbs}" property="Home" value="main.jsp" /> <c:set target="${breadcrumbs}" property="Home" value="index.jsp" />
<c:set target="${breadcrumbs}" property="Server Properties" value="server-props.jsp" /> <c:set target="${breadcrumbs}" property="Server Properties" value="server-props.jsp" />
<c:set target="${breadcrumbs}" property="${title}" value="server-props-edit-form.jsp" /> <c:set target="${breadcrumbs}" property="${title}" value="server-props-edit-form.jsp" />
<jsp:include page="top.jsp" flush="true" /> <jsp:include page="top.jsp" flush="true" />
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Edit Server Properties"; String title = "Edit Server Properties";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Server Properties", "index.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Server Properties", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Edit", "server-props.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Edit", "server-props.jsp"));
pageinfo.setPageID("server-props"); pageinfo.setPageID("server-props");
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Server Status"; String title = "Server Status";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "server-status.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "server-status.jsp"));
pageinfo.setPageID("server-status"); pageinfo.setPageID("server-status");
%> %>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Conflict Policy"; String title = "Conflict Policy";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Session Conflict", "session-conflict.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Session Conflict", "session-conflict.jsp"));
pageinfo.setPageID("server-session-conflict"); pageinfo.setPageID("server-session-conflict");
%> %>
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Session Details"; String title = "Session Details";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "session-details.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "session-details.jsp"));
pageinfo.setSubPageID("session-details"); pageinfo.setSubPageID("session-details");
%> %>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Filter Session Summary by User"; String title = "Filter Session Summary by User";
String[][] breadcrumbs = { String[][] breadcrumbs = {
{"Home", "main.jsp"}, {"Home", "index.jsp"},
{"Session Summary", "session-summary.jsp"}, {"Session Summary", "session-summary.jsp"},
{title, "session-filter.jsp"} {title, "session-filter.jsp"}
}; };
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Session Settings"; String title = "Session Settings";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "session-settings.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "session-settings.jsp"));
pageinfo.setPageID("session-settings"); pageinfo.setPageID("session-settings");
%> %>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Session Summary"; String title = "Session Summary";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "session-summary.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "session-summary.jsp"));
pageinfo.setPageID("session-summary"); pageinfo.setPageID("session-summary");
%> %>
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "SSL Security Settings"; String title = "SSL Security Settings";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "ssl-settings.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "ssl-settings.jsp"));
pageinfo.setPageID("server-ssl"); pageinfo.setPageID("server-ssl");
%> %>
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "User Browser"; String title = "User Browser";
String[][] breadcrumbs = { String[][] breadcrumbs = {
{ "Home", "main.jsp" }, { "Home", "index.jsp" },
{ title, "user-browser.jsp" } { title, "user-browser.jsp" }
}; };
%> %>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<fmt:message key="title" bundle="${lang}" var="t" /> <fmt:message key="title" bundle="${lang}" var="t" />
<c:set var="title" value="${t} Admin" /> <c:set var="title" value="${t} Admin" />
<c:set var="breadcrumbs" value="${admin.breadCrumbs}" /> <c:set var="breadcrumbs" value="${admin.breadCrumbs}" />
<c:set target="${breadcrumbs}" property="Home" value="main.jsp" /> <c:set target="${breadcrumbs}" property="Home" value="index.jsp" />
<c:set target="${breadcrumbs}" property="${title}" value="user-create.jsp" /> <c:set target="${breadcrumbs}" property="${title}" value="user-create.jsp" />
<jsp:include page="top.jsp" flush="true" /> <jsp:include page="top.jsp" flush="true" />
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Create User"; String title = "Create User";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-create.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-create.jsp"));
pageinfo.setPageID("user-create"); pageinfo.setPageID("user-create");
%> %>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Delete User"; String title = "Delete User";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-password.jsp?username="+username)); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-password.jsp?username="+username));
pageinfo.setSubPageID("user-delete"); pageinfo.setSubPageID("user-delete");
pageinfo.setExtraParams("username="+username); pageinfo.setExtraParams("username="+username);
......
<%@ taglib uri="core" prefix="c"%><%-- <%--
- $RCSfile$ - $RCSfile$
- $Revision$ - $Revision$
- $Date$ - $Date$
-
- Copyright (C) 2004 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="org.jivesoftware.util.ParamUtils, <%@ page import="org.jivesoftware.util.ParamUtils,
...@@ -12,6 +17,9 @@ ...@@ -12,6 +17,9 @@
java.util.HashMap, java.util.HashMap,
java.util.Map" java.util.Map"
%> %>
<%@ taglib uri="core" prefix="c"%>
<jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager" /> <jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager" />
<jsp:useBean id="userData" class="org.jivesoftware.messenger.user.spi.UserPrivateData" /> <jsp:useBean id="userData" class="org.jivesoftware.messenger.user.spi.UserPrivateData" />
...@@ -64,7 +72,7 @@ ...@@ -64,7 +72,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Edit User"; String title = "Edit User";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-summary.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-summary.jsp"));
pageinfo.setSubPageID("user-edit"); pageinfo.setSubPageID("user-edit");
pageinfo.setExtraParams("username="+username); pageinfo.setExtraParams("username="+username);
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Email User"; String title = "Email User";
String[][] breadcrumbs = { String[][] breadcrumbs = {
{ "Home", "main.jsp" }, { "Home", "index.jsp" },
{ "User Summary", "user-summary.jsp" }, { "User Summary", "user-summary.jsp" },
{ "Edit User", "user-edit-form.jsp?username="+username }, { "Edit User", "user-edit-form.jsp?username="+username },
{ title, "user-email.jsp?username="+username } { title, "user-email.jsp?username="+username }
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Send Administrative Message"; String title = "Send Administrative Message";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-message.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-message.jsp"));
pageinfo.setPageID("user-message"); pageinfo.setPageID("user-message");
%> %>
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "Change Password"; String title = "Change Password";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-password.jsp?username="+username)); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-password.jsp?username="+username));
pageinfo.setSubPageID("user-password"); pageinfo.setSubPageID("user-password");
pageinfo.setExtraParams("username="+username); pageinfo.setExtraParams("username="+username);
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "User Properties"; String title = "User Properties";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-properties.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-properties.jsp"));
pageinfo.setSubPageID("user-properties"); pageinfo.setSubPageID("user-properties");
pageinfo.setExtraParams("username="+username); pageinfo.setExtraParams("username="+username);
...@@ -215,7 +215,8 @@ Below is a summary of user properties. To edit properties, click the "Edit" butt ...@@ -215,7 +215,8 @@ Below is a summary of user properties. To edit properties, click the "Edit" butt
<br><br> <br><br>
<form action="user-edit.jsp"> <form action="user-edit-form.jsp">
<input type="hidden" name="username" value="<%= user.getUsername() %>">
<input type="submit" value="Edit Properties"> <input type="submit" value="Edit Properties">
</form> </form>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "User Search"; String title = "User Search";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-search.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-search.jsp"));
pageinfo.setPageID("user-search"); pageinfo.setPageID("user-search");
%> %>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<% // Title of this page and breadcrumbs <% // Title of this page and breadcrumbs
String title = "User Summary"; String title = "User Summary";
pageinfo.setTitle(title); pageinfo.setTitle(title);
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "main.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb("Main", "index.jsp"));
pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-summary.jsp")); pageinfo.getBreadcrumbs().add(new AdminPageBean.Breadcrumb(title, "user-summary.jsp"));
pageinfo.setPageID("user-summary"); pageinfo.setPageID("user-summary");
%> %>
......
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