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>
This commit is contained in:
canyonknight 2012-06-29 16:52:45 -04:00 committed by Lukas Fleischer
parent b5ffdeb63e
commit c1bb1df2b3
3 changed files with 58 additions and 73 deletions

View file

@ -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") {