From c1bb1df2b3c0e860a29282ec00e74630133742c3 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Fri, 29 Jun 2012 16:52:45 -0400 Subject: acctfuncs.inc.php: Move XHTML to account_details.php template XHTML should be eliminated from lib/ as much as possible. This pulls the XHTML out of the display_account_info function that echoes the code, and moves it to the new account_details.php template file. Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/html/account.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'web/html/account.php') diff --git a/web/html/account.php b/web/html/account.php index 2a96845..ce3f777 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -68,9 +68,7 @@ if (isset($_COOKIE["AURSID"])) { if (empty($row)) { print __("Could not retrieve information for the specified user."); } else { - display_account_info($row["Username"], - $row["AccountType"], $row["Email"], $row["RealName"], - $row["IRCNick"], $row["PGPKey"], $row["LastVoted"]); + include("account_details.php"); } } elseif ($action == "UpdateAccount") { -- cgit v1.2.3-54-g00ecf