aboutsummaryrefslogtreecommitdiff
path: root/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'app/view')
-rw-r--r--app/view/templates/homemenu.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php
index 46e2308..1003f7d 100644
--- a/app/view/templates/homemenu.php
+++ b/app/view/templates/homemenu.php
@@ -101,7 +101,7 @@
<?php } ?>
<?php if($user->issupereditor()) { ?>
<form action="<?= $this->url('homebookmark') ?>" method="post">
- <input type="text" name="id" placeholder="bookmark id">
+ <input type="text" name="id" placeholder="bookmark id" minlength="1" maxlength="16">
<input type="hidden" name="query" value="<?= $opt->getadress() ?>">
<input type="submit" name="action" value="add">
</form>
@@ -125,7 +125,7 @@
<p>This will store your filters settings as a Bookmark that only you can use.</p>
<?php } ?>
<form action="<?= $this->url('homebookmark') ?>" method="post">
- <input type="text" name="id" placeholder="bookmark id">
+ <input type="text" name="id" placeholder="bookmark id" minlength="1" maxlength="16">
<input type="hidden" name="query" value="<?= $opt->getadress() ?>">
<input type="hidden" name="user" value="<?= $user->id() ?>">
<input type="submit" name="action" value="add">