Commit e05ccb91 authored by God Ly's avatar God Ly Committed by it2000

OF-368 allow to display more and also all users on user summary page

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11695 b35dd754-fafc-0310-a699-88a17e54d16e
parent 7ec7e393
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
<%! <%!
final int DEFAULT_RANGE = 15; final int DEFAULT_RANGE = 100;
final int[] RANGE_PRESETS = {15, 25, 50, 75, 100}; final int[] RANGE_PRESETS = {25, 50, 75, 100, 500, 1000, -1};
%> %>
<jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager" /> <jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager" />
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<% for (int aRANGE_PRESETS : RANGE_PRESETS) { %> <% for (int aRANGE_PRESETS : RANGE_PRESETS) { %>
<option value="<%= aRANGE_PRESETS %>" <option value="<%= aRANGE_PRESETS %>"
<%= (aRANGE_PRESETS == range ? "selected" : "") %>><%= aRANGE_PRESETS %> <%= (aRANGE_PRESETS == range ? "selected" : "") %>><% if (aRANGE_PRESETS > 0) { %><%= aRANGE_PRESETS %><% }else{ %><%= userCount %><%}%>
</option> </option>
<% } %> <% } %>
......
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