18 lines
1.2 KiB
PHP
18 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* Search Form Include
|
|
*/
|
|
|
|
// must be run from within DokuWiki
|
|
if (!defined('DOKU_INC')) die();
|
|
?> <form action="<?php echo wl(); ?>" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8">
|
|
<input type="hidden" name="do" value="search" />
|
|
<input type="hidden" name="id" value="<?php echo htmlentities($ID); ?>" />
|
|
<div class="search-field">
|
|
<label for="qsearch__in" class="sronly"><?php echo htmlentities($lang['btn_search']); ?></label>
|
|
<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>
|
|
</div>
|
|
<div class="search-popup">
|
|
<div id="qsearch__out" class="ajax_qsearch JSpopup"></div>
|
|
</div>
|
|
</form>
|