summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-07-26 16:22:18 +0300
committerAndrew Dolgov <[email protected]>2017-07-26 16:22:18 +0300
commit93d3d2bfa0ed2a3aacc1b5b4d8cc33f27c91c312 (patch)
tree4cb814c0650bf91c7dddae9b99655f74daa0e343 /index.php
parentc63095caf467c0959c13f2d772db1319767b467f (diff)
remove logout prompt on favs index
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/index.php b/index.php
index 203aa59..16bc642 100644
--- a/index.php
+++ b/index.php
@@ -118,10 +118,13 @@
<button type="submit" class="btn btn-default">Search</button>
</form>
- <ul class="nav navbar-nav navbar-right">
- <li><a href="logout.php">Logout</a></li>
- </li>
+ <?php if ($mode != "favorites") { ?>
+ <ul class="nav navbar-nav navbar-right">
+ <li><a href="logout.php">Logout</a></li>
+ </li>
+
+ <?php } ?>
</div>