mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
search improved
git-svn-id: http://piwigo.org/svn/trunk@17 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user