diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-05-25 08:31:39 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-05-25 08:31:39 +0000 |
commit | 1de10bd66f761f8b66dcaecd28f5c2547b754ff3 (patch) | |
tree | 4588721b837ce115214e1f6a1525408fc3e46aa7 /admin/configuration.php | |
parent | 887c7ee4d443259498795d4760cc8d38d359ed38 (diff) |
search improved
git-svn-id: http://piwigo.org/svn/trunk@17 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/configuration.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/configuration.php b/admin/configuration.php index 75be943db..300466bb8 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -242,7 +242,7 @@ if ( $_GET['valider'] == 1 ) $query.= "'".$_POST[$default_user_infos[$i]]."'"; } } - $query.= " where pseudo = 'visiteur';"; + $query.= " where username = 'guest';"; mysql_query( $query ); } //--------------------------------------------------------- data initialization @@ -795,18 +795,18 @@ $vtp->closeSession( $sub, 'line' ); // maxwidth for thumbnail $vtp->addSession( $sub, 'line' ); $vtp->addSession( $sub, 'param_line' ); -$vtp->setVar( $sub, 'param_line.name', $lang['conf_upload_maxwidth_thumbnail'] ); +$vtp->setVar( $sub, 'param_line.name',$lang['conf_upload_maxwidth_thumbnail']); $vtp->addSession( $sub, 'text' ); $vtp->setVar( $sub, 'text.name', 'upload_maxwidth_thumbnail' ); $vtp->setVar( $sub, 'text.value', $upload_maxwidth_thumbnail ); $vtp->closeSession( $sub, 'text' ); -$vtp->setVar( $sub, 'param_line.def', $lang['conf_upload_maxwidth_thumbnail_info'] ); +$vtp->setVar($sub,'param_line.def',$lang['conf_upload_maxwidth_thumbnail_info']); $vtp->closeSession( $sub, 'param_line' ); $vtp->closeSession( $sub, 'line' ); // maxheight for thumbnail $vtp->addSession( $sub, 'line' ); $vtp->addSession( $sub, 'param_line' ); -$vtp->setVar( $sub, 'param_line.name', $lang['conf_upload_maxheight_thumbnail'] ); +$vtp->setVar( $sub,'param_line.name',$lang['conf_upload_maxheight_thumbnail']); $vtp->addSession( $sub, 'text' ); $vtp->setVar( $sub, 'text.name', 'upload_maxheight_thumbnail' ); $vtp->setVar( $sub, 'text.value', $upload_maxheight_thumbnail ); |