Commit 408c0b29 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Show correct range on last page.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5248 b35dd754-fafc-0310-a699-88a17e54d16e
parent de43bbca
...@@ -80,12 +80,12 @@ ...@@ -80,12 +80,12 @@
<p> <p>
<fmt:message key="user.summary.total_user" />: <fmt:message key="user.summary.total_user" />:
<b><%= LocaleUtils.getLocalizedNumber(webManager.getUserManager().getUserCount()) %></b> -- <b><%= LocaleUtils.getLocalizedNumber(userCount) %></b> --
<% if (numPages > 1) { %> <% if (numPages > 1) { %>
<fmt:message key="global.showing" /> <fmt:message key="global.showing" />
<%= LocaleUtils.getLocalizedNumber(start+1) %>-<%= LocaleUtils.getLocalizedNumber(start+range) %>, <%= LocaleUtils.getLocalizedNumber(start+1) %>-<%= LocaleUtils.getLocalizedNumber(start+range > userCount ? userCount:start+range) %>,
<% } %> <% } %>
<fmt:message key="user.summary.sorted" /> <fmt:message key="user.summary.sorted" />
...@@ -223,12 +223,12 @@ ...@@ -223,12 +223,12 @@
<td width="1%" align="center"> <td width="1%" align="center">
<a href="user-edit-form.jsp?username=<%= URLEncoder.encode(user.getUsername(), "UTF-8") %>" <a href="user-edit-form.jsp?username=<%= URLEncoder.encode(user.getUsername(), "UTF-8") %>"
title="<fmt:message key="global.click_edit" />" title="<fmt:message key="global.click_edit" />"
><img src="images/edit-16x16.gif" width="17" height="17" border="0"></a> ><img src="images/edit-16x16.gif" width="16" height="16" border="0" alt="<fmt:message key="global.click_edit" />"></a>
</td> </td>
<td width="1%" align="center" style="border-right:1px #ccc solid;"> <td width="1%" align="center" style="border-right:1px #ccc solid;">
<a href="user-delete.jsp?username=<%= URLEncoder.encode(user.getUsername(), "UTF-8") %>" <a href="user-delete.jsp?username=<%= URLEncoder.encode(user.getUsername(), "UTF-8") %>"
title="<fmt:message key="global.click_delete" />" title="<fmt:message key="global.click_delete" />"
><img src="images/delete-16x16.gif" width="16" height="16" border="0"></a> ><img src="images/delete-16x16.gif" width="16" height="16" border="0" alt="<fmt:message key="global.click_delete" />"></a>
</td> </td>
<% } %> <% } %>
</tr> </tr>
......
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