Commit 756a5da5 authored by Dries's avatar Dries

- Added an "edit account" link.
parent 796399ff
......@@ -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");
......
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment