summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-06-29 16:52:45 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:27:16 +0200
commitc1bb1df2b3c0e860a29282ec00e74630133742c3 (patch)
tree2f2b2b81a25b2f9f6c910c866bf57de4bc98398e /web/html
parentb5ffdeb63e3df5c341f9ccdafcfbaa446c5670f4 (diff)
downloadaurweb-c1bb1df2b3c0e860a29282ec00e74630133742c3.tar.xz
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 <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/account.php4
1 files changed, 1 insertions, 3 deletions
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") {