diff options
author | Jonas Kohl | 2024-09-13 23:10:34 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-13 23:10:34 +0200 |
commit | 948cead0f11d33adbcf0d08773c716e1b6ebb101 (patch) | |
tree | 527067829595305d0e1bfa87557aa8f5065b7caa /src/application/views/nav_guest.php | |
parent | 93817fef3ead7cfd4fcde25ea2bcec02d01310a4 (diff) |
More changes
Diffstat (limited to 'src/application/views/nav_guest.php')
-rw-r--r-- | src/application/views/nav_guest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application/views/nav_guest.php b/src/application/views/nav_guest.php index 433c487..f897763 100644 --- a/src/application/views/nav_guest.php +++ b/src/application/views/nav_guest.php @@ -1,6 +1,6 @@ <ul class="nav navbar-nav navbar-right"> -<li<?= $GLOBALS["action"] === "auth" ? ' class="active"' : '' ?>><a href="?_action=auth">Log in</a></li> +<li<?= $GLOBALS["action"] === "auth" ? ' class="active"' : '' ?>><a href="?_action=auth&next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>">Log in</a></li> <?php if (REGISTRATION_ENABLED): ?> -<li<?= $GLOBALS["action"] === "register" ? ' class="active"' : '' ?>><a href="?_action=register">Register</a></li> +<li<?= $GLOBALS["action"] === "register" ? ' class="active"' : '' ?>><a href="?_action=register&next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>">Register</a></li> <?php endif; ?> </ul>
\ No newline at end of file |