Fixed links

users can now log off.
This commit is contained in:
aftercase 2021-08-19 18:50:24 +01:00
parent a80b325987
commit f5e5e54be6
2 changed files with 3 additions and 2 deletions

View file

@ -20,7 +20,7 @@
<div class="columns"> <div class="columns">
<div class="column"> <div class="column">
<ul> <ul>
<li><a href="page/rules" target="_blank">Site Rules</a></li> <li><a href="/page/rules" target="_blank">Site Rules</a></li>
<li><a href="/page/privacy" target="_blank">Privacy Policy</a></li> <li><a href="/page/privacy" target="_blank">Privacy Policy</a></li>
<li><a href="mailto:admin@ponepaste.org">Contact</a></li> <li><a href="mailto:admin@ponepaste.org">Contact</a></li>
</ul> </ul>

View file

@ -13,6 +13,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License in GPL.txt for more details. * GNU General Public License in GPL.txt for more details.
*/ */
$date = time();
$statrttime = microtime(); $statrttime = microtime();
$time = explode(' ', $statrttime); $time = explode(' ', $statrttime);
$time = $time[1] + $time[0]; $time = $time[1] + $time[0];
@ -144,7 +145,7 @@ $start = $time;
} }
?> ?>
<hr class="navbar-divider"/> <hr class="navbar-divider"/>
<form action="logout.php" method="POST"> <form action="../logout.php" method="POST">
<input class="button navbar-link" type="submit" value="Logout" <input class="button navbar-link" type="submit" value="Logout"
style="border:none;padding: 0.375rem 1rem;"/> style="border:none;padding: 0.375rem 1rem;"/>
</form> </form>