|
From: Benjamin C. <bc...@us...> - 2002-03-01 00:41:33
|
Update of /cvsroot/phpbt/phpbt/templates/default/admin
In directory usw-pr-cvs1:/tmp/cvs-serv322/templates/default/admin
Modified Files:
userlist.html
Log Message:
Allow for filtering of the active or inactive users
Index: userlist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/userlist.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- userlist.html 13 Oct 2001 22:03:56 -0000 1.2
+++ userlist.html 1 Mar 2002 00:41:31 -0000 1.3
@@ -5,6 +5,12 @@
<td valign="top">
<b> User List</b>
<hr size="1">
+ <form>
+ <div align="center">
+ <select name="filter" onChange="document.location.href='{me}?filter=' + this.options[this.selectedIndex].value">{filter_select}</select>
+ <input type="submit" value="Filter">
+ </div>
+ </form>
<table border="0">
<tr>
<th bgcolor="{logincolor}"><a href="{loginurl}">Login</a></th>
@@ -14,7 +20,7 @@
</tr>
<!-- BEGIN row -->
<tr class="{trclass}">
- <td><a href="{me}?op=edit&id={userid}">{login}</a></td>
+ <td><a href="{me}?op=edit&id={userid}&filter={filter}">{login}</a></td>
<td align="center">{name}</td>
<td align="center">{date}</td>
<td align="center">{active}</td>
@@ -35,6 +41,7 @@
<hr size="1">
<form action="user.php" method="post">
<input type="hidden" name="id" value="{fuserid}">
+ <input type="hidden" name="filter" value="{filter}">
<table border='0'>
<tr>
<td colspan="2" align="center" valign="top">
|