summaryrefslogtreecommitdiffstats
path: root/web/lib/acctfuncs.inc
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2007-09-28 04:20:05 +0200
committerDan McGee <dan@archlinux.org>2008-01-20 06:46:55 +0100
commit8f7fb2b1cbd5e39a3f17b93afdd72e5eb34a56a8 (patch)
tree0d7a637fe024e373a7cf7bfe5b940187f798b44e /web/lib/acctfuncs.inc
parent878d0bb39a10c934740fac92335a36853286366b (diff)
downloadaur-8f7fb2b1cbd5e39a3f17b93afdd72e5eb34a56a8.tar.gz
aur-8f7fb2b1cbd5e39a3f17b93afdd72e5eb34a56a8.tar.xz
search_accounts_form() output is put into a template
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib/acctfuncs.inc')
-rw-r--r--web/lib/acctfuncs.inc69
1 files changed, 1 insertions, 68 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc
index 5de16dd5..ef8e774b 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc
@@ -320,74 +320,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
# search existing accounts
#
function search_accounts_form() {
- print "<form action='/account.php' method='post'>\n";
- print "<input type='hidden' name='Action' value='SearchAccounts'>\n";
- print "<center>\n";
- print "<table border='0' cellpadding='0' cellspacing='0' width='80%'>\n";
- print "<tr><td colspan='2'>&nbsp;</td></tr>\n";
-
- print "<tr>";
- print "<td align='left'>".__("Username").":</td>";
- print "<td align='left'><input type='text' size='30' maxlength='64'";
- print " name='U'></td>";
- print "</tr>\n";
-
- print "<tr>";
- print "<td align='left'>".__("Account Type").":</td>";
- print "<td align='left'><select name=T>\n";
- print "<option value=''> ".__("Any type")."\n";
- print "<option value='u'> ".__("Normal user")."\n";
- print "<option value='t'> ".__("Trusted user")."\n";
- print "<option value='d'> ".__("Developer")."\n";
- print "</select></td>";
- print "</tr>\n";
-
- print "<tr>";
- print "<td align='left'>".__("Account Suspended").":</td>";
- print "<td align='left'><input type='checkbox' name='S'>";
- print "</tr>\n";
-
- print "<tr>";
- print "<td align='left'>".__("Email Address").":</td>";
- print "<td align='left'><input type='text' size='30' maxlength='64'";
- print " name='E'></td>";
- print "</tr>\n";
-
- print "<tr>";
- print "<td align='left'>".__("Real Name").":</td>";
- print "<td align='left'><input type='text' size='30' maxlength='32'";
- print " name='R'></td>";
- print "</tr>\n";
-
- print "<tr>";
- print "<td align='left'>".__("IRC Nick").":</td>";
- print "<td align='left'><input type='text' size='30' maxlength='32'";
- print " name='I'></td>";
- print "</tr>\n";
-
- print "<tr>";
- print "<td align='left'>".__("Sort by").":</td>";
- print "<td align='left'><select name=SB>\n";
- print "<option value='u'> ".__("Username")."\n";
- print "<option value='t'> ".__("Account Type")."\n";
- print "<option value='r'> ".__("Real Name")."\n";
- print "<option value='i'> ".__("IRC Nick")."\n";
- print "<option value='v'> ".__("Last vote")."\n";
- print "</select></td>";
- print "</tr>\n";
-
- print "<tr>";
- print "<td>&nbsp;</td>";
- print "<td align='left'>&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;";
- print "<input type='submit' class='button'";
- print " value='".__("Search'")."> &nbsp; ";
- print "<input type='reset' class='button'";
- print " value='".__("Reset")."'></td>";
- print "</tr>\n";
-
- print "</table>\n";
- print "</center>\n";
- print "</form>\n";
+ include("search_accounts_form.php");
return;
}