Update of /cvsroot/phpwebapp/top10/templates/admin/users/filter
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28043/templates/admin/users/filter
Added Files:
Tag: maisp
user_filter.php user_filter.html
Log Message:
filter the list of users
--- NEW FILE: user_filter.php ---
<?php
/*
This file is part of Top10. Top10 is a web application for ranking
and evaluating free software projects.
Copyright (C) 2003, 2004 Dashamir Hoxha, das...@us...
Top10 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your
option) any later version.
Top10 is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with Top10; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
class user_filter extends WebObject
{
function init()
{
$this->addSVar("username", "");
$this->addSVar("realname", "");
$this->addSVar("email", "");
$this->addSVar("status", "");
}
}
?>
--- NEW FILE: user_filter.html ---
<WebBox ID="user_filter">
<table width="100%" cellspacing="1" cellpadding="0" bgcolor="#dddddd">
<tr><td bgcolor="#eeeeee">
<table width="100%" cellpadding="2">
<form name="users" onsubmit="return false;">
<tr>
<td align="right">username:</td>
<td>
<input type="text" name="username" value="{{username}}"
size="10" onfocus="select()" />
</td>
<td align="right">Real Name:</td>
<td>
<input type="text" name="realname" value="{{realname}}"
size="10" onfocus="select()" />
</td>
<td align="right">E-mail:</td>
<td>
<input type="text" name="email" value="{{email}}"
size="10" onfocus="select()" />
</td>
<td align="right">Status:</td>
<td>
<input type="text" name="status" value="{{status}}"
size="10" onfocus="select()" />
</td>
<td align="center">
<a class="button" href="javascript:GoTo('thisPage')">Refresh</a>
</td>
</tr>
</form>
</table>
</td></tr>
</table>
</WebBox>
|