aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/backtopbar.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-08-18 03:33:11 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-08-18 03:33:11 +0200
commit50e367e56b367259a2e6fb29621c97e9b0fc9c5e (patch)
tree082c451342bc52deffb9c36eacd5df125de7bbb1 /app/view/templates/backtopbar.php
parent11233711f4e16957fbe6f5c4f4399e269e87f68f (diff)
downloadwcms-50e367e56b367259a2e6fb29621c97e9b0fc9c5e.tar.gz
wcms-50e367e56b367259a2e6fb29621c97e9b0fc9c5e.zip
interface home update
Diffstat (limited to 'app/view/templates/backtopbar.php')
-rw-r--r--app/view/templates/backtopbar.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/view/templates/backtopbar.php b/app/view/templates/backtopbar.php
index 91ccd89..8e15d14 100644
--- a/app/view/templates/backtopbar.php
+++ b/app/view/templates/backtopbar.php
@@ -3,7 +3,8 @@
<span id="search">
<form action="<?= $this->url('search') ?>" method="post">
<input type="text" name="id" id="id" placeholder="page id" required>
-<input type="submit" value="go">
+<input type="submit" name="action" value="read">
+<?= $user->iseditor() ? '<input type="submit" name="action" value="edit">' : '' ?>
</form>
</span>