1<?php 2/** 3 * Search Form Include 4 */ 5 6// must be run from within DokuWiki 7if (!defined('DOKU_INC')) die(); 8?> <form action="<?php echo wl(); ?>" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"> 9 <input type="hidden" name="do" value="search" /> 10 <input type="hidden" name="id" value="<?php echo htmlentities($ID); ?>" /> 11 <div class="search-field"> 12 <label for="qsearch__in" class="sronly"><?php echo htmlentities($lang['btn_search']); ?></label> 13 <input name="q" type="text" class="edit" title="<?php echo $lang['btn_search']; ?> [F]" accesskey="f" placeholder="<?php echo $lang['btn_search']; ?>" autocomplete="off" id="qsearch__in" value="<?php echo ($ACT === 'search' ? $QUERY : ''); ?>" /><button value="0" type="reset" title="<?php echo htmlentities($lang['btn_delete']); ?>"><span class="sr-only"><?php echo htmlentities($lang['btn_delete']); ?></span></button><button value="1" type="submit" title="<?php echo htmlentities($lang['btn_search']); ?>"><span class="sr-only"><?php echo htmlentities($lang['btn_search']); ?></span></button> 14 </div> 15 <div class="search-popup"> 16 <div id="qsearch__out" class="ajax_qsearch JSpopup"></div> 17 </div> 18 </form> 19