fix symbol

This commit is contained in:
themohooks 2024-07-09 01:02:18 +03:00
parent 5f36a086fb
commit 3fccf21052
3 changed files with 8 additions and 2 deletions

View file

@ -1,12 +1,16 @@
ngallery:
root:
title: "NativeGallery"
showtitle: false
logo: "/static/img/logosmall.png"
description: ""
keywords: ""
maintenance: false
debug: true
botkey: ''
access:
type: 'allow'
countries: ''
cloudflare-caching: false
db:
name: ''

View file

@ -11,8 +11,10 @@ if (NGALLERY['root']['logo'] != null) {
$logo = '/static/img/logosmall.png';
}
if (NGALLERY['root']['title'] != null) {
if (NGALLERY['root']['title'] != null && NGALLERY['root']['showtitle'] === true) {
$title = NGALLERY['root']['title'];
} else if (NGALLERY['root']['showtitle'] === false) {
$title = '';
} else {
$title = 'NativeGallery';
}

View file

@ -175,7 +175,7 @@ foreach ($photos as $pd) {
</div>
'; ?>
<a href="/photo/<?= $p['id'] ?>" target="_blank" class="prw-animate" style='background-image:url("<?= $p['photourl'] ?>")'></a>
</div>';
</div>
<?php }
?>