summaryrefslogtreecommitdiffstats
path: root/template/standard/html
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-03-20 22:15:15 +0100
committerThomas Lange <code@nerdmind.de>2017-03-20 22:15:15 +0100
commit82250d468ed798bb425c1fe9b75f6ee364306f09 (patch)
treee85fc5c5288fd8277114912ebdf0938dcdedd682 /template/standard/html
parent37cf85eb36f14d5d6520e3e27f813edb8c4b6738 (diff)
downloadblog-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')
-rw-r--r--template/standard/html/search/main.php2
-rw-r--r--template/standard/html/search/result.php2
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>