search improved

git-svn-id: http://piwigo.org/svn/trunk@17 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-05-25 08:31:39 +00:00
parent 887c7ee4d4
commit 1de10bd66f
11 changed files with 176 additions and 628 deletions
+2 -2
View File
@@ -132,7 +132,7 @@ if ( isset( $_POST['submit'] ) )
$url = 'category.php?cat='.$page['cat'].'&expand='.$_GET['expand'];
if ( $page['cat'] == 'search' )
{
$url.= '&search='.$_GET['search'];
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
}
$url = add_session_id( $url, true );
header( 'Request-URI: '.$url );
@@ -152,7 +152,7 @@ templatize_array( $tpl, 'lang', $handle );
$url = './profile.php?cat='.$page['cat'].'&expand='.$page['expand'];
if ( $page['cat'] == 'search' )
{
$url.= '&search='.$_GET['search'];
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
}
$vtp->setGlobalVar( $handle, 'form_action', add_session_id( $url ) );
//-------------------------------------------------------------- errors display