diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2024-12-12 19:12:35 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2024-12-12 19:47:48 +0100 |
commit | 5f2a14189a67184d00fcf600b2302466edc44221 (patch) | |
tree | 8262b7f7ddb87da2b1f6c2db04b00bf173553d38 /templates/55/ad-hominem/tpl_searchform.php | |
parent | Initial commit. (diff) | |
download | dokuwiki-templates-extra-upstream.tar.xz dokuwiki-templates-extra-upstream.zip |
Adding upstream version 20241201.upstream/20241201upstream
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
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> |