Ich vermute es muss hier irgendwo sein:
Code: Alles auswählen
<script type="text/javascript">
<!--
function qsearch_onSubmit()
{
qs_enginename = document.getElementById('qsearch_select').value;
qs_keywords = document.getElementById('searchfield').value;
switch( qs_enginename )
{
case 'site':
break;
case 'author':
window.open('search.php?author=' + qs_keywords, '_self', '');
return false;
case 'wikipedia':
window.open('http://de.wikipedia.org/wiki/Spezial:Search?search=' + qs_keywords, '_wikipedia', '');
return false;
case 'google':
window.open('http://www.google.com/search?q=' + qs_keywords, '_google', '');
return false;
case 'yahoo':
window.open('http://search.yahoo.com/search?p=' + qs_keywords, '_yahoo', '');
return false;
case 'msnlive':
window.open('http://search.live.com/results.aspx?q=' + qs_keywords, '_msnlive', '');
return false;
case 'altavista':
window.open('http://www.altavista.com/web/results?itag=ody&q=' + qs_keywords + '&kgs=0&kls=0', '_altavista', '');
return false;
case 'lycos':
window.open('http://search.lycos.com/?query=' + qs_keywords, '_lycos', '');
return false;
case 'odp':
window.open('http://search.dmoz.org/cgi-bin/search?search=' + qs_keywords, '_odp', '');
return false;
default:
if( (i = qsearch_findEngine(qs_enginename)) >= 0 )
{
window.open(qsearch_engines[i].url + qs_keywords, '_blank', '');
return false;
}
break;
}
return true;
}
//-->
</script>
{$LR_BLOCK_H_L}<img src="{T_THEME_PATH}/images/portal/portal_search.png" width="16px" height="16px" alt="" /> {L_SEARCH}{$LR_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
<tr class="row1">
<td>
<form id="qsearch_form" method="post" action="{U_SEARCH}" onsubmit="return qsearch_onSubmit();">
<p>
<input type="text" tabindex="6" name="keywords" id="searchfield" size="22" maxlength="40" title="{L_SEARCH_KEYWORDS}" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
</p>
<p>
<select id="qsearch_select" tabindex="7">
<optgroup label="{L_SH_SITE}">
<option value="site">{L_SH_POSTS}</option>
<option value="author">{L_SH_AUTHOR}</option>
</optgroup>
<optgroup label="{L_SH_ENGINE}">
<option value="wikipedia">Wikipedia</option>
<option value="google">Google</option>
<option value="yahoo">Yahoo</option>
<option value="msnlive">MSNlive</option>
<option value="altavista">Altavista</option>
<option value="lycos">Lycos</option>
<option value="odp">Open directory</option>
</optgroup>
</select>
<!-- -->
<input type="hidden" name="search_fields" value="all" />
<input type="hidden" name="show_results" value="topics" />
<input type="submit" value="{L_SH}" class="button2" tabindex="8" />
</p>
</form>
<hr />
<img src="/styles/subsilver2/theme/images/portal/icon_pfeil.gif"> <a href="{U_SEARCH}">{L_SH_ADV}</a>
</td>
</tr>
</table>