aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/backtopbar.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-01-15 04:04:01 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-01-15 04:04:01 +0100
commit2ff846f7fb65998cd6cf151554434f56f116d4f2 (patch)
tree8106cf1744dc7545e1482fd98bae16ea3628c153 /app/view/templates/backtopbar.php
parent8e79f279938f0fff64ddd381d073c2c277dd2d5c (diff)
parentde195c2fca2f4b77a54be68fb58cd0ccee10a5b7 (diff)
downloadwcms-2ff846f7fb65998cd6cf151554434f56f116d4f2.tar.gz
wcms-2ff846f7fb65998cd6cf151554434f56f116d4f2.zip
Merge branch 'implement-timeline' into develop
Diffstat (limited to 'app/view/templates/backtopbar.php')
-rw-r--r--app/view/templates/backtopbar.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/view/templates/backtopbar.php b/app/view/templates/backtopbar.php
index 78e9181..d6b522e 100644
--- a/app/view/templates/backtopbar.php
+++ b/app/view/templates/backtopbar.php
@@ -15,6 +15,7 @@
<form action="<?= $this->url('log') ?>" method="post" id="connect">
<input type="password" name="pass" id="loginpass" placeholder="password">
+<input type="hidden" name="route" value="home">
<input type="submit" name="log" value="login">
</form>
@@ -22,6 +23,7 @@
<?php } else { ?>
<span>
+<a href="<?= $this->url('timeline') ?>" <?= $tab == 'timeline' ? 'class="actualpage"' : '' ?>>timeline</a>
<a href="<?= $this->url('user') ?>" <?= $tab == 'user' ? 'class="actualpage"' : '' ?>><?= $user->id() ?></a> <i><?= $user->level() ?></i>
</span>