From 0d8918b7d89eac72238ac2ea990f2ec4668d9e0a Mon Sep 17 00:00:00 2001 From: gweltas Date: Tue, 4 Jan 2005 16:27:17 +0000 Subject: - French translation - Deletion of the eCard template entry git-svn-id: http://piwigo.org/svn/trunk@670 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'admin.php') diff --git a/admin.php b/admin.php index 22bb2d28a..6a0ad7091 100644 --- a/admin.php +++ b/admin.php @@ -50,21 +50,21 @@ switch ( $_GET['page'] ) case 'group_list' : $title = $lang['title_groups']; $page_valide = true; break; case 'group_perm' : - if ( !is_numeric( $_GET['group_id'] ) ) $_GET['group_id'] = -1; + /*if ( !is_numeric( $_GET['group_id'] ) ) $_GET['group_id'] = -1; $query = 'SELECT name FROM '.GROUPS_TABLE; $query.= ' WHERE id = '.$_GET['group_id']; $query.= ';'; $result = pwg_query( $query ); if ( mysql_num_rows( $result ) > 0 ) { - $row = mysql_fetch_array( $result ); - $title = $lang['title_group_perm'].' "'.$row['name'].'"'; + $row = mysql_fetch_array( $result );*/ + $title = $lang['title_group_perm'];//.' "'.$row['name'].'"'; $page_valide = true; - } + /*} else { $page_valide = false; - } + }*/ break; case 'stats': $title = $lang['title_history']; $page_valide = true; break; -- cgit v1.2.3