mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 02:03:18 +02:00
Search engine redesign, second part :
improvement: in category.php, an icon opening a popup display the list of search rules. modification: function get_search_array is responsible of search rules retrieving from database. This function is called from get_sql_search_clause and from search_rules.php modification: ability to search multiple authors. Warning: this version of search tool can't search author names including any blank space. git-svn-id: http://piwigo.org/svn/trunk@1015 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -165,6 +165,16 @@ $template->assign_vars(
|
||||
'U_PROFILE'=> PHPWG_ROOT_PATH.'profile.php'
|
||||
)
|
||||
);
|
||||
|
||||
if (isset($page['cat']) and 'search' == $page['cat'])
|
||||
{
|
||||
$template->assign_block_vars(
|
||||
'search_rules',
|
||||
array(
|
||||
'URL' => PHPWG_ROOT_PATH.'/search_rules.php?search_id='.$_GET['search'],
|
||||
)
|
||||
);
|
||||
}
|
||||
//-------------------------------------------------------------- external links
|
||||
if (count($conf['links']) > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user