diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-04 22:12:34 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-04 22:12:34 +0100 |
commit | fc56b60be55b4340d647d2017fdeb24b81eb84b6 (patch) | |
tree | bf4875de0115181549408f981804f19350b69b80 /app/view/templates/edittopbar.php | |
parent | 42e89ac398bdf2a98167b0b71123c98e297b2130 (diff) | |
download | wcms-fc56b60be55b4340d647d2017fdeb24b81eb84b6.tar.gz wcms-fc56b60be55b4340d647d2017fdeb24b81eb84b6.zip |
showeditmenu
Diffstat (limited to 'app/view/templates/edittopbar.php')
-rw-r--r-- | app/view/templates/edittopbar.php | 25 |
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 |