Browse Source

remove logout prompt on favs index

Andrew Dolgov 2 years ago
parent
commit
93d3d2bfa0
1 changed files with 6 additions and 3 deletions
  1. 6 3
      index.php

+ 6 - 3
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>