<!--{if $_G['setting']['search']}--> <!--{eval $slist = array();}--> <!--{block slist[user]}--><li><a href="javascript:;" rel="user">{lang users}</a></li><!--{/block}--> <!--{/if}--> <!--{if $_G['setting']['search'] && $slist}--> <div id="" class="{if $_G['setting']['srchhotkeywords'] && count($_G['setting']['srchhotkeywords']) > 5}scbar_narrow {/if}cl"> <form id="scbar_form" method="{if $_G[fid] && !empty($searchparams[url])}get{else}post{/if}" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="{if $_G[fid] && !empty($searchparams[url])}$searchparams[url]{else}search.php?searchsubmit=yes{/if}" target="_blank""> <input type="hidden" name="mod" id="scbar_mod" value="forum" /> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="srchtype" value="title" /> <input type="hidden" name="srhfid" value="$_G[fid]" /> <input type="hidden" name="srhlocality" value="$_G['basescript']::{CURMODULE}" /> <!--{if !empty($searchparams[params])}--> <!--{loop $searchparams[params] $key $value}--> <!--{eval $srchotquery .= '&' . $key . '=' . rawurlencode($value);}--> <input type="hidden" name="$key" value="$value" /> <!--{/loop}--> <input type="hidden" name="source" value="discuz" /> <input type="hidden" name="fId" id="srchFId" value="$_G[fid]" /> <input type="hidden" name="q" id="cloudsearchquery" value="" /> <!--{/if}--> <div class="form-group"> <input type="text" name="srchtxt" id="s" autocomplete="off" x-webkit-speech speech placeholder="搜索…" class="form-control"/> </div> </form> </div> <!--{/if}--> |
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!
转载请注明: discuz x3.2简化的搜索框代码