diff options
author | Thomas Lange <code@nerdmind.de> | 2017-03-20 22:15:15 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-03-20 22:15:15 +0100 |
commit | 82250d468ed798bb425c1fe9b75f6ee364306f09 (patch) | |
tree | e85fc5c5288fd8277114912ebdf0938dcdedd682 /template/standard/html/search | |
parent | 37cf85eb36f14d5d6520e3e27f813edb8c4b6738 (diff) | |
download | blog-82250d468ed798bb425c1fe9b75f6ee364306f09.tar.gz blog-82250d468ed798bb425c1fe9b75f6ee364306f09.tar.xz blog-82250d468ed798bb425c1fe9b75f6ee364306f09.zip |
The "autofocus" attribute was added to the search input field.
Diffstat (limited to 'template/standard/html/search')
-rw-r--r-- | template/standard/html/search/main.php | 2 | ||||
-rw-r--r-- | template/standard/html/search/result.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/template/standard/html/search/main.php b/template/standard/html/search/main.php index b749517..39d251d 100644 --- a/template/standard/html/search/main.php +++ b/template/standard/html/search/main.php @@ -6,7 +6,7 @@ <?php endif; ?> <form action="" method="GET"> - <input type="search" name="q" placeholder="<?=$Language->template('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" /> + <input autofocus type="search" name="q" placeholder="<?=$Language->template('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" /> <select name="d"> <option value=""><?=$Language->text('date_d')?></option> diff --git a/template/standard/html/search/result.php b/template/standard/html/search/result.php index e79eb98..c07dec9 100644 --- a/template/standard/html/search/result.php +++ b/template/standard/html/search/result.php @@ -2,7 +2,7 @@ <p><?=$Language->template('search_result_heading_desc')?></p> <form action="" method="GET"> - <input type="search" name="q" placeholder="<?=$Language->template('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" /> + <input autofocus type="search" name="q" placeholder="<?=$Language->template('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" /> <select name="d"> <option value=""><?=$Language->text('date_d')?></option> |