aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/backtopbar.php
diff options
context:
space:
mode:
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>