Changeset 2813 for trunk/template


Ignore:
Timestamp:
Oct 27, 2008, 10:45:02 PM (15 years ago)
Author:
grum
Message:

use of a boolean value for the "qsearch" $block->data variable
(see topic #98370)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/menubar_menu.tpl

    r2810 r2813  
    11<dt>{'title_menu'|@translate}</dt>
    22<dd>
    3   {if isset($block->data.qsearch) and  $block->data.qsearch=="yes"}
     3  {if isset($block->data.qsearch) and  $block->data.qsearch==true}
    44    <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
    55      <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
Note: See TracChangeset for help on using the changeset viewer.