Crip...
I'm thinking of replacing the search box in the header with Google Search...mind you...just thinking about it.
Now...I've searched the index.template.php file and found the following code:
echo '
<div id="searcharea">';
echo '
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
<input class="inputbox" type="text" name="search" value="', $txt['search'], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt['search'], '...\';" />';
// Search within current topic?
if (!empty($context['current_topic']))
echo '<input type="hidden" name="topic" value="', $context['current_topic'], '" />';
// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
echo '
</form>';
echo '
</div>';
Google provides code for the search button...
Where would I replace the code in your template?
I hope you can help me with this...if not...I can trial and error it, I guess. I'm not much of a coder...heh...not one, at all. Just enough to get myself into trouble.
I appreciate anything you can give me that points me in the right direction...