nav bar and search button

Hi, I would like to modify my navbar: How can I safely remove the search button? I have difficulties to identify the right code to remove. Thank you. ;)

post-67658-1220035567_thumb.jpg

post-86-1220035567_thumb.jpg

1nav.jpg
1nav.jpg
2nav.jpg
2nav.jpg

#508549

In the navbar template, remove the following.

								<li id="tb-search"><a id="navbar_search" href="../../unavailable.html" accesskey="4" rel="nofollow" title="$vbphrase[search]"><img src="../../unavailable.html" alt="" />
$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search",1); </script></if></li>

								<li id="tb-search"><a href="../../unavailable.html" accesskey="4" title="$vbphrase[search]"><img src="../../unavailable.html" alt="" />
$vbphrase[search]</a></li>

	<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="dropdown" id="navbar_search_menu" style="display:none" align="$stylevar[left]">
<form action="search.php?do=process" method="post">
<div class="dropdown-search" title="$vbphrase[search_forums]">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="text" class="bginput" name="query" size="25" tabindex="1001" />
<!--<input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" />-->
</div>
<div class="dropdown-radio"><label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>     <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label></div>
</form>
<div class="dropdown-sep"></div>
<dl>
<if condition="$vboptions[threadtagging]">
<dd><a href="../../unavailable.html" rel="nofollow">$vbphrase[tag_search]</a></dd>
</if>
<dd><a href="../../unavailable.html" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></dd>
$template_hook[navbar_search_menu]
</dl>
</div>
<!-- / header quick search form -->
</if>

That should do the trick.

#508557

a good trick. very useful for me. thanks a lot. :)

#508563