mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
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:
parent
b5ffdeb63e
commit
c1bb1df2b3
3 changed files with 58 additions and 73 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue