Ignore:
Timestamp:
Apr 30, 2014, 8:31:00 PM (10 years ago)
Author:
rvelices
Message:

move QUERY_SEARCH template ssignment from index to menubar.inc.php (works also on photo pages)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/menubar.inc.php

    r26461 r28316  
    4141  $menu->prepare_display();
    4242
     43  if ( $page['section']=='search' and isset($page['qsearch_details']) )
     44  {
     45    $template->assign('QUERY_SEARCH', htmlspecialchars($page['qsearch_details']['q']) );
     46  }
     47
    4348//--------------------------------------------------------------- external links
    4449  if ( ($block=$menu->get_block('mbLinks')) and !empty($conf['links']) )
Note: See TracChangeset for help on using the changeset viewer.