- Added an "edit account" link.

4.3.x
Dries Buytaert 2003-08-30 21:52:39 +00:00
parent 796399ffd4
commit 756a5da544
2 changed files with 8 additions and 0 deletions

View File

@ -1131,6 +1131,10 @@ function user_view($uid = 0) {
}
}
if (user_access("administer users")) {
$output .= form_item(t("Administration"), l(t("edit account"), "admin/user/edit/$account->uid"));
}
theme("header");
theme("box", $account->name, $output);
theme("footer");

View File

@ -1131,6 +1131,10 @@ function user_view($uid = 0) {
}
}
if (user_access("administer users")) {
$output .= form_item(t("Administration"), l(t("edit account"), "admin/user/edit/$account->uid"));
}
theme("header");
theme("box", $account->name, $output);
theme("footer");