aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/post
diff options
context:
space:
mode:
Diffstat (limited to 'theme/admin/html/post')
-rw-r--r--theme/admin/html/post/form.php2
-rw-r--r--theme/admin/html/post/search.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/theme/admin/html/post/form.php b/theme/admin/html/post/form.php
index 4ae07bd..2e626a6 100644
--- a/theme/admin/html/post/form.php
+++ b/theme/admin/html/post/form.php
@@ -32,7 +32,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
<i class="fa fa-newspaper-o"></i><?=$Language->text('label_name')?></label>
<div class="form-grid-item">
- <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" />
+ <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" autofocus />
</div>
<label for="form_slug">
diff --git a/theme/admin/html/post/search.php b/theme/admin/html/post/search.php
index ff4cf59..17befc7 100644
--- a/theme/admin/html/post/search.php
+++ b/theme/admin/html/post/search.php
@@ -33,7 +33,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
<i class="fa fa-search"></i><?=$Language->text('search')?></label>
<div class="form-grid-item first">
- <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" />
+ <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" autofocus />
</div>
<label for="form_category">