Commit 97335b1a authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Improved display of current page.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9211 b35dd754-fafc-0310-a699-88a17e54d16e
parent b22d3d66
...@@ -88,6 +88,12 @@ ...@@ -88,6 +88,12 @@
<title><fmt:message key="user.roster.title"/></title> <title><fmt:message key="user.roster.title"/></title>
<meta name="subPageID" content="user-roster"/> <meta name="subPageID" content="user-roster"/>
<meta name="extraParams" content="<%= "username="+URLEncoder.encode(username, "UTF-8") %>"/> <meta name="extraParams" content="<%= "username="+URLEncoder.encode(username, "UTF-8") %>"/>
<style type="text/css">
.jive-current {
font-weight: bold;
text-decoration: none;
}
</style>
</head> </head>
<body> <body>
...@@ -179,8 +185,9 @@ ...@@ -179,8 +185,9 @@
String sep = ((i + 1) < numPages) ? " " : ""; String sep = ((i + 1) < numPages) ? " " : "";
boolean isCurrent = (i + 1) == curPage; boolean isCurrent = (i + 1) == curPage;
%> %>
<% if (!isCurrent) { %><a href="user-roster.jsp?username=<%= URLEncoder.encode(username, "UTF-8") %>&start=<%= (i*range) %>&range=<%= range %>&filter=<%= filter %>"><% } %> <a href="user-roster.jsp?username=<%= URLEncoder.encode(username, "UTF-8") %>&start=<%= (i*range) %>&range=<%= range %>&filter=<%= filter %>"
<%= (i+1) %><% if (!isCurrent) { %></a><% } %><%= sep %> class="<%= ((isCurrent) ? "jive-current" : "") %>"
><%= (i+1) %></a><%= sep %>
<% } %> <% } %>
......
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