Update Navbar.php

This commit is contained in:
themohooks 2024-07-20 23:29:38 +03:00
parent 1c01bfc5d9
commit 5c91726bb2

View file

@ -22,6 +22,10 @@ if (NGALLERY['root']['title'] != null && NGALLERY['root']['showtitle'] === true)
?> ?>
<tr> <tr>
<td class="mm-bar"> <td class="mm-bar">
<?php
if (explode('/', $_SERVER['REQUEST_URI'])[1] === 'photo') { ?>
<a id="title-small" href="/"><img src="<?=$logo?>"><?=$title?></a>
<?php } ?>
<ul class="mm mm-level-1"> <ul class="mm mm-level-1">
<li><a href="#" onclick="return false" class="mm-item"><span class="mm-label">Дополнительно</span></a> <li><a href="#" onclick="return false" class="mm-item"><span class="mm-label">Дополнительно</span></a>
<div> <div>
@ -107,6 +111,9 @@ if (NGALLERY['root']['title'] != null && NGALLERY['root']['showtitle'] === true)
</ul> </ul>
</td> </td>
</tr> </tr>
<?php
if (explode('/', $_SERVER['REQUEST_URI'])[1] != 'photo') { ?>
<tr> <tr>
<td><a href="/" id="title"><img src="<?=$logo?>" alt="<?=$title?>"><span><?=$title?></span></a></td> <td><a href="/" id="title"><img src="<?=$logo?>" alt="<?=$title?>"><span><?=$title?></span></a></td>
</tr> </tr>
<?php } ?>