1
0

Adjusted menu view for shared bookmarks.

This commit is contained in:
Stefan Frech
2008-06-01 19:45:25 +00:00
committed by Jonas Kattendick
parent 2ea7cfb866
commit 1f01a15acb

View File

@@ -32,6 +32,7 @@ else {
<h2 class="nav">Tools</h2>
<ul class="nav">
<?php if (isset ($_SESSION['logged_in']) && $_SESSION['logged_in']) { ?>
<?php if (admin_only ()) { ?>
<li><a href="./admin.php">Admin</a></li>
<?php } ?>
@@ -41,6 +42,9 @@ else {
<li><a href="./settings.php">Settings</a></li>
<li><a href="javascript:chpw()">Change Password</a></li>
<li><a href="./index.php?logout=1">Logout</a></li>
<?php } else { ?>
<li><a href="./index.php">Login</a></li>
<?php } ?>
</ul>
<!-- Menu ends here. -->
</div>