1<?php 2/** 3 * DokuWiki Bootstrap3 Template: Navbar Search Form 4 * 5 * @link http://dokuwiki.org/template:bootstrap3 6 * @author Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> 7 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 8 */ 9 10global $lang; 11global $ACT; 12global $QUERY; 13global $ID; 14 15?> 16<!-- navbar-searchform --> 17<form action="<?php echo wl($ID); ?>" accept-charset="utf-8" class="navbar-form navbar-left search" id="dw__search" method="get" role="search"> 18 <div class="input-group"> 19 <input id="qsearch" autocomplete="off" type="search" placeholder="<?php echo $lang['btn_search']; ?>" value="<?php echo ($ACT == 'search') ? hsc($QUERY) : ''; ?>" accesskey="f" name="q" class="form-control" title="[F]" /> 20 <div class="input-group-btn"> 21 <button class="btn btn-default" type="submit" title="<?php echo $lang['btn_search']; ?>"> 22 <?php echo iconify('mdi:magnify'); ?> 23 </button> 24 </div> 25 26 </div> 27 <input type="hidden" name="do" value="search" /> 28</form> 29<!-- /navbar-searchform --> 30