diff options
author | Loui Chang <louipc.ist@gmail.com> | 2007-09-27 22:20:05 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-19 23:46:55 -0600 |
commit | 8f7fb2b1cbd5e39a3f17b93afdd72e5eb34a56a8 (patch) | |
tree | 0d7a637fe024e373a7cf7bfe5b940187f798b44e /web/lib | |
parent | 878d0bb39a10c934740fac92335a36853286366b (diff) | |
download | aurweb-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')
-rw-r--r-- | web/lib/acctfuncs.inc | 69 |
1 files changed, 1 insertions, 68 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc index 5de16dd..ef8e774 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'> </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> </td>"; - print "<td align='left'> <br/> "; - print "<input type='submit' class='button'"; - print " value='".__("Search'")."> "; - 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; } |