From 8f7fb2b1cbd5e39a3f17b93afdd72e5eb34a56a8 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 27 Sep 2007 22:20:05 -0400 Subject: search_accounts_form() output is put into a template Signed-off-by: Loui Chang --- web/lang/en/acctfuncs_po.inc | 3 +- web/lib/acctfuncs.inc | 69 +---------------------------------- web/template/search_accounts_form.php | 68 ++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 69 deletions(-) create mode 100644 web/template/search_accounts_form.php (limited to 'web') diff --git a/web/lang/en/acctfuncs_po.inc b/web/lang/en/acctfuncs_po.inc index 4af9cea..3c054c1 100644 --- a/web/lang/en/acctfuncs_po.inc +++ b/web/lang/en/acctfuncs_po.inc @@ -89,4 +89,5 @@ $_t["en"]["Developer"] = "Developer"; $_t["en"]["View this user's packages"] = "View this user's packages"; -?> \ No newline at end of file +?> + 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 "
\n"; - print "\n"; - print "
\n"; - print "\n"; - print "\n"; - - print ""; - print ""; - print ""; - print "\n"; - - print ""; - print ""; - print ""; - print "\n"; - - print ""; - print ""; - print "\n"; - - print ""; - print ""; - print ""; - print "\n"; - - print ""; - print ""; - print ""; - print "\n"; - - print ""; - print ""; - print ""; - print "\n"; - - print ""; - print ""; - print ""; - print "\n"; - - print ""; - print ""; - print ""; - print "\n"; - - print "
 
".__("Username").":
".__("Account Type").":
".__("Account Suspended").":"; - print "
".__("Email Address").":
".__("Real Name").":
".__("IRC Nick").":
".__("Sort by").":
  
    "; - print "   "; - print "
\n"; - print "
\n"; - print "
\n"; + include("search_accounts_form.php"); return; } diff --git a/web/template/search_accounts_form.php b/web/template/search_accounts_form.php new file mode 100644 index 0000000..6e7d552 --- /dev/null +++ b/web/template/search_accounts_form.php @@ -0,0 +1,68 @@ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:
:
: +
:
:
:
:
  
+"> +">
+
+
-- cgit v1.2.3-70-g09d2