aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/page
diff options
context:
space:
mode:
Diffstat (limited to 'theme/admin/html/page')
-rw-r--r--theme/admin/html/page/form.php4
-rw-r--r--theme/admin/html/page/search.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/theme/admin/html/page/form.php b/theme/admin/html/page/form.php
index ae3f437..97713e2 100644
--- a/theme/admin/html/page/form.php
+++ b/theme/admin/html/page/form.php
@@ -17,7 +17,7 @@
<i class="fa fa-file-text-o"></i><?=$Language->text('label_name')?></label>
<div class="form-grid-item first">
- <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" autofocus />
+ <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" required autofocus />
</div>
<label for="form_slug">
@@ -67,7 +67,7 @@
<li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->text('markdown_list_ol')?>"></li>
</ul>
</div>
- <textarea id="content-editor" name="body" placeholder="[…]"><?=escapeHTML($FORM['DATA']['BODY'])?></textarea>
+ <textarea id="content-editor" name="body" placeholder="[…]" required><?=escapeHTML($FORM['DATA']['BODY'])?></textarea>
</div>
<div id="emoticon-list-wrapper" class="form-border-box background padding">
<ul id="emoticon-list" class="button-list emoticons">
diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php
index 2bf02be..7d53e3a 100644
--- a/theme/admin/html/page/search.php
+++ b/theme/admin/html/page/search.php
@@ -18,7 +18,7 @@
<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)?>" autofocus />
+ <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" required autofocus />
</div>
</div>
<div class="form-border-box background padding">