aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-04-25 21:35:10 +0000
committerplegall <plg@piwigo.org>2005-04-25 21:35:10 +0000
commitbd6d2d0a217247c42f6b1083d1d2f4783ae3cad8 (patch)
treee995e5a9157f5d1b7527b5b635809fd44bd55a3a /admin.php
parent93650321f06d253f0e4f2522a08f47118a7df7c8 (diff)
- profile.php is no longer used for listing users : admin/user_list.php
comes back (as in 1.3 branch) - user list updated : ability to filter list on username git-svn-id: http://piwigo.org/svn/trunk@768 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php20
1 files changed, 13 insertions, 7 deletions
diff --git a/admin.php b/admin.php
index 185b4f885..60a6b25db 100644
--- a/admin.php
+++ b/admin.php
@@ -50,12 +50,18 @@ else if (isset($_GET['user_id']))
if (isset( $_GET['page'] ))
switch ( $_GET['page'] )
{
- case 'user_list':
- $title = $lang['title_liste_users']; $page_valide = true; break;
- case 'profile':
- $title = $lang['title_user_modify'];
- $page_valide = true;
- break;
+ case 'user_list' :
+ {
+ $title = $lang['title_liste_users'];
+ $page_valide = true;
+ break;
+ }
+ case 'profile' :
+ {
+ $title = $lang['title_user_modify'];
+ $page_valide = true;
+ break;
+ }
case 'user_perm':
$title = $lang['title_user_perm'].' '.$username;
$page_valide = true; break;
@@ -248,7 +254,7 @@ $template->assign_vars(array(
'U_COMMENTS'=>add_session_id($link_start.'comments' ),
'U_CADDIE'=>add_session_id($link_start.'element_set&amp;cat=caddie'),
'U_THUMBNAILS'=>add_session_id($link_start.'thumbnail' ),
- 'U_USERS'=>add_session_id($link_start.'profile' ),
+ 'U_USERS'=>add_session_id($link_start.'user_list' ),
'U_GROUPS'=>add_session_id($link_start.'group_list' ),
'U_USERS_AUTH'=>add_session_id($link_start.'user_perm' ),
'U_GROUPS_AUTH'=>add_session_id($link_start.'group_perm'),