mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 03:33:01 +02:00
Revert to revision 1002
git-svn-id: http://piwigo.org/svn/branches/branch-1_5@1005 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+3
-2
@@ -129,6 +129,7 @@ if (isset($_POST['submit']))
|
||||
if (isset($_POST['submit']) and count($errors) == 0)
|
||||
{
|
||||
$url = 'category.php?cat=search&search='.$search_string;
|
||||
$url = add_session_id($url, true);
|
||||
redirect($url);
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
@@ -179,9 +180,9 @@ $template->assign_vars(array(
|
||||
'TODAY_DAY' => date('d', time()),
|
||||
'TODAY_MONTH' => date('m', time()),
|
||||
'TODAY_YEAR' => date('Y', time()),
|
||||
'S_SEARCH_ACTION' => 'search.php',
|
||||
'S_SEARCH_ACTION' => add_session_id( 'search.php' ),
|
||||
'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=search',
|
||||
'U_HOME' => 'category.php'
|
||||
'U_HOME' => add_session_id( 'category.php' )
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user