[rt-devel] [PATCH] Display userlist as SELECT box instead of UL

Robert Spier rspier at pobox.com
Sat Sep 15 00:27:27 EDT 2001


Display userlist as SELECT box instead of UL -

    when you have lots of users, the list gets annoying to deal with.-
    this makes it a little more managable.  I'm not so sure about
    SIZE=4, maybe 6 or 8 would be more appropriate.

-R

===================================================================
RCS file: WebRT/html/Admin/Users/index.html,v
retrieving revision 1.1
diff -u -r1.1 WebRT/html/Admin/Users/index.html
--- WebRT/html/Admin/Users/index.html   2001/09/15 04:12:05     1.1
+++ WebRT/html/Admin/Users/index.html   2001/09/15 04:23:50
@@ -24,15 +24,17 @@
 % }
 
 <%$caption%><BR>
-<UL>
 %if ($users->Count == 0) {
-<LI> <i>No users matching search criteria found.</i>
+<i>No users matching search criteria found.</i>
 % }
+<FORM ACTION="Modify.html" METHOD="GET">
+<SELECT NAME="id" SIZE=4>
 %while ( $user = $users->Next) {
-<LI><A HREF="Modify.html?id=<%$user->id%>"><%$user->Name%></a></LI>
+<OPTION VALUE="<%$user->id%>"><%$user->Name%>
 %}
-
-</UL>
+</SELECT><BR>
+<INPUT TYPE=SUBMIT VALUE="Modify User"><BR>
+</FORM>
 </TD>
 </TR>
 </TABLE>





More information about the Rt-devel mailing list