Changeset 28316


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)

Location:
trunk
Files:
2 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']) )
  • trunk/index.php

    r28128 r28316  
    8585
    8686$template->assign('thumb_navbar', $page['navigation_bar'] );
    87 
    88 if ( $page['section']=='search' and isset($page['qsearch_details']) )
    89 {
    90   $template->assign('QUERY_SEARCH', htmlspecialchars($page['qsearch_details']['q']) );
    91 }
    9287
    9388// caddie filling :-)
Note: See TracChangeset for help on using the changeset viewer.