Changeset 27884 for trunk/index.php


Ignore:
Timestamp:
Mar 23, 2014, 6:38:05 AM (10 years ago)
Author:
rvelices
Message:

bug 3056: quick search

  • added inflectors for english and french languages
  • current quick search is kept in the quick search input box
  • small fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r27882 r27884  
    8686$template->assign('thumb_navbar', $page['navigation_bar'] );
    8787
     88if ( $page['section']=='search' and isset($page['qsearch_details']) )
     89{
     90  $template->assign('QUERY_SEARCH', htmlspecialchars($page['qsearch_details']['q']) );
     91}
     92
    8893// caddie filling :-)
    8994if (isset($_GET['caddie']))
     
    219224      !isset($page['chronology_field']) and isset($page['qsearch_details']) )
    220225  {
    221     $template->assign('QUERY_SEARCH',
    222       htmlspecialchars($page['qsearch_details']['q']) );
    223 
    224226    $cats = array_merge(
    225227        (array)@$page['qsearch_details']['matching_cats_no_images'],
Note: See TracChangeset for help on using the changeset viewer.