diff options
author | pb1dft <pb1dft@ampache> | 2007-02-16 00:05:09 +0000 |
---|---|---|
committer | pb1dft <pb1dft@ampache> | 2007-02-16 00:05:09 +0000 |
commit | 79d6b4b7e407a4bfa5fa2521df107114f082761d (patch) | |
tree | 8a7f9e595f61c94853d76c5d11da6780d5406555 /admin | |
parent | 68917e09f5f47928ca31773a5ee17ad93bc9ab3c (diff) | |
download | ampache-79d6b4b7e407a4bfa5fa2521df107114f082761d.tar.gz ampache-79d6b4b7e407a4bfa5fa2521df107114f082761d.tar.bz2 ampache-79d6b4b7e407a4bfa5fa2521df107114f082761d.zip |
javascript modification/rss no_session fix/On useradd display right accesslevel(bounty1370)
Diffstat (limited to 'admin')
-rw-r--r-- | admin/users.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/admin/users.php b/admin/users.php index aa4196b0..8096001d 100644 --- a/admin/users.php +++ b/admin/users.php @@ -125,7 +125,11 @@ switch ($action) { $type = 'new_user'; require_once(conf('prefix') . '/templates/show_edit_user.inc.php'); break; - } + } + if ($access == 5){ $access = "Guest";} + elseif ($access == 25){ $access = "User";} + elseif ($access == 100){ $access = "Admin";} + show_confirmation("New User Added",$username . " has been created with an access level of " . $access,"admin/users.php"); break; case 'delete': |