From a8e9f95b165bffd74d0b852be3961fe20f71a81f Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sun, 14 Sep 2003 15:02:13 +0000 Subject: [PATCH] Removing link to user_add.php, this file is removed and replaced by a small form in user_list.php git-svn-id: http://piwigo.org/svn/trunk@97 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/admin.php | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index b9b499cf2..b803af918 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -31,8 +31,6 @@ $page_valide = false; $title = ''; switch ( $_GET['page'] ) { - case 'user_add': - $title = $lang['title_add']; $page_valide = true; break; case 'user_list': $title = $lang['title_liste_users']; $page_valide = true; break; case 'user_modify': @@ -113,7 +111,7 @@ switch ( $_GET['page'] ) if ( isset( $_GET['dir'] ) ) { $title.= ' '.$lang['title_thumbnails_2'].' '; - // $_GET['dir'] contient : + // $_GET['dir'] contains : // ../galleries/vieux_lyon ou // ../galleries/vieux_lyon/visite ou // ../galleries/vieux_lyon/visite/truc ... @@ -156,20 +154,6 @@ $vtp->setVar( $handle, 'summary.link', add_session_id( $link_start.'user_list' ) ); $vtp->setVar( $handle, 'summary.name', $lang['menu_users'] ); $vtp->closeSession( $handle, 'summary' ); -// user list -$vtp->addSession( $handle, 'summary' ); -$vtp->setVar( $handle, 'summary.indent', '  ' ); -$vtp->setVar( $handle, 'summary.link', - add_session_id( $link_start.'user_list' ) ); -$vtp->setVar( $handle, 'summary.name', $lang['menu_list_user'] ); -$vtp->closeSession( $handle, 'summary' ); -// user add -$vtp->addSession( $handle, 'summary' ); -$vtp->setVar( $handle, 'summary.indent', '  ' ); -$vtp->setVar( - $handle, 'summary.link', add_session_id( $link_start.'user_add' ) ); -$vtp->setVar( $handle, 'summary.name', $lang['menu_add_user'] ); -$vtp->closeSession( $handle, 'summary' ); // groups $vtp->addSession( $handle, 'summary' ); $vtp->setVar( $handle, 'summary.indent', '' );