mirror of
https://github.com/claradex/nativegallery.git
synced 2024-12-22 16:41:04 +03:00
Update Navbar.php
This commit is contained in:
parent
1c01bfc5d9
commit
5c91726bb2
1 changed files with 8 additions and 1 deletions
|
@ -22,6 +22,10 @@ if (NGALLERY['root']['title'] != null && NGALLERY['root']['showtitle'] === true)
|
|||
?>
|
||||
<tr>
|
||||
<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">
|
||||
<li><a href="#" onclick="return false" class="mm-item"><span class="mm-label">Дополнительно</span></a>
|
||||
<div>
|
||||
|
@ -107,6 +111,9 @@ if (NGALLERY['root']['title'] != null && NGALLERY['root']['showtitle'] === true)
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if (explode('/', $_SERVER['REQUEST_URI'])[1] != 'photo') { ?>
|
||||
<tr>
|
||||
<td><a href="/" id="title"><img src="<?=$logo?>" alt="<?=$title?>"><span><?=$title?></span></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
Loading…
Reference in a new issue