diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-09-14 15:02:13 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-09-14 15:02:13 +0000 |
commit | a8e9f95b165bffd74d0b852be3961fe20f71a81f (patch) | |
tree | 5df7c756a28796d8a303925127d6805c905e568d | |
parent | dc5da3cdb039138f093b5ed14a75f6157aa4c1b3 (diff) |
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
-rw-r--r-- | admin/admin.php | 18 |
1 files changed, 1 insertions, 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'].' <span style="color:#006699;">'; - // $_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', '' ); |