]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/blog/templates/search.tmpl
Performance optimization: Do not derive from Sidebar.
[SourceForge/phpwiki.git] / themes / blog / templates / search.tmpl
1 <!--{{{ LiveSearch-->
2 <div id="searchholder">
3 <form id="searchform" name="searchform" action="<?= WikiURL(_("TitleSearch"))?>"
4       method="get" accept-charset="<?=$charset?>">
5 <input type="text" id="livesearch" name="s" size="12" maxlength="256"
6    value="<?=_("Search")?>"
7    onfocus="if (this.value == '<?=_("Search")?>') {this.value = '';}"
8    onmouseout="window.status=''; return true;" 
9    onmouseover="window.status='<?=_("Search")?>'; return true;"
10 <?php if (ENABLE_LIVESEARCH) { ?>
11    title="<?=_("LiveSearch")?>" 
12    onKeypress="liveSearchStart()"
13    onblur="setTimeout('closeResults()',2000); if (this.value == '') {this.value = '<?=_("Search")?>';}" />
14    <br/>
15    <div id="LSResult">
16    </div>
17 <?php } else { ?>
18    title="<?=_("TitleSearch")?>" /> 
19 <?php } ?>
20 </form>
21 </div>
22 <!--}}}-->