PDA

View Full Version : Navbar quick search form



Roms
10-15-2004, 01:40 PM
Adds a quick search form directly under your regular search in the Navbar.

navbar template

Find:


</table>
</div>
<!-- / header quick search form -->
</if>



Above add:


<!-- links search form -->
<tr>
<td class="thead">Links Search</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="/links/search.php" method="post">
<input name="s" type="hidden" value="$session[sessionhash]" />
<input name="do" type="hidden" value="searchresults" />
<input name="quicksearch" type="hidden" value="1" />
<input name="catid[]" type="hidden" value="0" />
<input class="bginput" name="string" size="20" type="text" />$gobutton<br />
<span class="smallfont"><a href="/links/search.php?$session[sessionurl]">$vbphrase[advanced_search]</a></span>
</form>
</td>
</tr>
<!-- / links search form -->

Save and close, Done :)