%--
- $RCSfile$
- $Revision$
- $Date$
-
- Copyright (C) 2004-2008 Jive Software. All rights reserved.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--%>
<%@ page import="org.jivesoftware.openfire.PresenceManager,
org.jivesoftware.openfire.admin.AdminManager,
org.jivesoftware.openfire.user.User,
org.jivesoftware.openfire.user.UserManager,
org.jivesoftware.util.JiveGlobals,
org.jivesoftware.util.LocaleUtils,
org.jivesoftware.util.ParamUtils"
%><%@ page import="org.jivesoftware.util.StringUtils"%>
<%@ page import="org.xmpp.packet.JID" %>
<%@ page import="org.xmpp.packet.Presence" %>
<%@ page import="java.net.URLEncoder" %>
<%@ page import="java.util.Collection" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
<%!
final int DEFAULT_RANGE = 100;
final int[] RANGE_PRESETS = {25, 50, 75, 100, 500, 1000, -1};
%>
|
|
|
|
|||||||
| <%= i %> |
<% if (presenceManager.isAvailable(user)) {
Presence presence = presenceManager.getPresence(user);
%>
<% if (presence.getShow() == null) { %>
|
"<%= lockedOut ? " style='text-decoration: line-through underline;'" : "" %>><%= JID.unescapeNode(user.getUsername()) %>
<% if (isAdmin) { %> |
<%= user.getName() %> | <%= JiveGlobals.formatDate(user.getCreationDate()) %> | <% long logoutTime = presenceManager.getLastActivity(user); if (logoutTime > -1) { out.println(StringUtils.getElapsedTime(logoutTime)); } else { out.println(" "); } %> | <% // Don't allow editing or deleting if users are read-only. if (!UserManager.getUserProvider().isReadOnly()) { %>
"
title=" |
"
title=" |
<% } %>