aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/edittopbar.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/edittopbar.php')
-rw-r--r--app/view/templates/edittopbar.php25
1 files changed, 24 insertions, 1 deletions
diff --git a/app/view/templates/edittopbar.php b/app/view/templates/edittopbar.php
index 6d90932..a1aba01 100644
--- a/app/view/templates/edittopbar.php
+++ b/app/view/templates/edittopbar.php
@@ -1,9 +1,12 @@
<div id="topbar">
+
<form action="<?= $this->uart('artupdate', $art->id()) ?>" method="post" id="update">
+
+
<span>
- <a href="<?= $this->url('home') ?>" class="icon" >⏏</a>
+ <a href="<?= $this->url('home') ?>" class="icon" >⍇</a>
</span>
<span>
<input type="submit" value="update" accesskey="x" form="update">
@@ -27,4 +30,24 @@
<label for="fontsize">Font-size</label>
<input type="number" name="fontsize" value="<?= Config::fontsize() ?>" id="fontsize">
</span>
+
+
+
+<span id="test">
+ <?php if($user->iseditor()) { ?>
+
+ <?php
+ if($user->isadmin()) {
+ ?>
+ <a href="<?= $this->url('font') ?>">font</a>
+ <a href="<?= $this->url('admin') ?>">admin</a>
+ <?php
+ }
+ }
+ ?>
+</span>
+
+
+
+
</div> \ No newline at end of file