Implementing rfe 10002, add link to User Manager to view a User's account.

This commit is contained in:
Colin Kuskie 2009-04-16 23:58:54 +00:00
parent 754b9c7c31
commit 9fdac9ef8f
3 changed files with 9 additions and 0 deletions

View file

@ -23,6 +23,7 @@
- Survey editor now keeps survey objects in a scrollable panel to keep buttons always in view.
- fixed #10198: Cannot drag assets to new positions on page
- fixed #10190: Matrix 2.0 - Strange characters in "Show Ratings" box
- rfe: #10002: User Manager, view User's Account
7.7.3
- fixed #10094: double explanation in thread help

View file

@ -79,6 +79,8 @@ sub _submenu {
|| $userId eq "new") {
$ac->addSubmenuItem($session->url->page("op=editUser;uid=$userId"), $i18n->get(457));
$ac->addSubmenuItem($session->url->page("op=becomeUser;uid=$userId"), $i18n->get(751));
my $user = WebGUI::User->new($session, $userId);
$ac->addSubmenuItem($user->getProfileUrl(), $i18n->get('view profile'));
$ac->addConfirmedSubmenuItem($session->url->page("op=deleteUser;uid=$userId"), $i18n->get(750), $i18n->get(167));
if ($session->setting->get("useKarma")) {
$ac->addSubmenuItem($session->url->page("op=editUserKarma;uid=$userId"), $i18n->get(555));

View file

@ -961,6 +961,12 @@ to add or remove users from their groups.
lastUpdated => 1036864905
},
'view profile' => {
message => q|View user's profile.|,
context => q|Label for a URL to view the profile for the user. Used in Operation/User.pm|,
lastUpdated => 1239926712
},
'60' => {
message => q|Are you certain you want to deactivate your account. If you proceed your account information will be lost permanently.|,
lastUpdated => 1031514049