mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 10:42:59 +02:00
bug 3056: quick search
- added inflectors for english and french languages - current quick search is kept in the quick search input box - small fixes git-svn-id: http://piwigo.org/svn/trunk@27884 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -85,6 +85,11 @@ if (count($page['items']) > $page['nb_image_page'])
|
||||
|
||||
$template->assign('thumb_navbar', $page['navigation_bar'] );
|
||||
|
||||
if ( $page['section']=='search' and isset($page['qsearch_details']) )
|
||||
{
|
||||
$template->assign('QUERY_SEARCH', htmlspecialchars($page['qsearch_details']['q']) );
|
||||
}
|
||||
|
||||
// caddie filling :-)
|
||||
if (isset($_GET['caddie']))
|
||||
{
|
||||
@@ -218,9 +223,6 @@ if ( empty($page['is_external']) or !$page['is_external'] )
|
||||
if ( $page['section']=='search' and $page['start']==0 and
|
||||
!isset($page['chronology_field']) and isset($page['qsearch_details']) )
|
||||
{
|
||||
$template->assign('QUERY_SEARCH',
|
||||
htmlspecialchars($page['qsearch_details']['q']) );
|
||||
|
||||
$cats = array_merge(
|
||||
(array)@$page['qsearch_details']['matching_cats_no_images'],
|
||||
(array)@$page['qsearch_details']['matching_cats'] );
|
||||
|
||||
Reference in New Issue
Block a user