diff options
Diffstat (limited to 'templates/55/ad-hominem/tpl_searchform.php')
-rw-r--r-- | templates/55/ad-hominem/tpl_searchform.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/55/ad-hominem/tpl_searchform.php b/templates/55/ad-hominem/tpl_searchform.php new file mode 100644 index 0000000..7e7208d --- /dev/null +++ b/templates/55/ad-hominem/tpl_searchform.php @@ -0,0 +1,18 @@ +<?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> |