Commit f095c0b4 authored by Ryan Graham's avatar Ryan Graham Committed by ryang

added a summary field and additional localization


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1502 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6fca185e
......@@ -44,11 +44,12 @@
Search Plugin Changelog
</h1>
<p><b>1.1.1</b> -- In progress</b></p>
<p><b>1.1.1</b> -- June 13, 2005</b></p>
<ul>
<li>Admin Console - added a fix to prevent all the checkboxes from becoming selected after a searching.
<li>Admin Console - added a fix to prevent all the checkboxes from becoming selected after a search.
<li>Admin Console - added the ability to toggle between having more or less search options.
<li>Admin Console - added a summary that reports the number of users found after a search.
<li>Admin Console - added a summary field that reports the number of users found after a search.
<li>Admin Console - added some additional localization for buttons and the results table header.
</ul>
<p><b>1.1</b> -- May 17, 2005</b></p>
......
......@@ -29,7 +29,7 @@
selectedFields.add(searchField);
Collection<User> foundUsers = userManager.findUsers(new HashSet<String>(Arrays.asList(searchField)), criteria);
// Filter out all duplicate users.
//filter out duplicate users
for (User user : foundUsers) {
if (!users.contains(user)) {
users.add(user);
......@@ -55,14 +55,14 @@
<input type="hidden" name="search" value="true"/>
<input type="hidden" name="moreOptions" value="<%=moreOptions %>"/>
<fieldset>
<legend>Search for User</legend>
<legend><fmt:message key="user.search.search_user" /></legend>
<div>
<table cellpadding="3" cellspacing="1" border="0" width="600">
<tr class="c1">
<td width="1%" colspan="2" nowrap>
Search:
&nbsp;<input type="text" name="criteria" value="<%=(criteria != null ? criteria : "") %>" size="30" maxlength="75"/>
&nbsp;<input type="submit" name="search" value="Search"/>
&nbsp;<input type="submit" name="search" value="<fmt:message key="user.search.search" />"/>
</td>
</tr>
<% if (moreOptions) { %>
......@@ -106,19 +106,19 @@ Users Found: <%=users.size() %>
<thead>
<tr>
<th>&nbsp;</th>
<th nowrap>Online</th>
<th nowrap>Username</th>
<th nowrap>Name</th>
<th nowrap>Email</th>
<th nowrap>Edit</th>
<th nowrap>Delete</th>
<th nowrap><fmt:message key="session.details.online" /></th>
<th nowrap><fmt:message key="user.create.username" /></th>
<th nowrap><fmt:message key="user.create.name" /></th>
<th nowrap><fmt:message key="user.summary.created" /></th>
<th nowrap><fmt:message key="user.summary.edit" /></th>
<th nowrap><fmt:message key="user.summary.delete" /></th>
</tr>
</thead>
<tbody>
<% if (users.isEmpty()) { %>
<tr>
<td align="center" colspan="7">No users found.</td>
<td align="center" colspan="7"><fmt:message key="user.summary.not_user" /></td>
</tr>
<%
......@@ -190,4 +190,8 @@ Users Found: <%=users.size() %>
<% } %>
<script language="JavaScript" type="text/javascript">
document.f.criteria.focus();
</script>
<jsp:include page="bottom.jsp" flush="true"/>
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