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: ngallery:
root: root:
title: "NativeGallery" title: "NativeGallery"
showtitle: false
logo: "/static/img/logosmall.png" logo: "/static/img/logosmall.png"
description: "" description: ""
keywords: "" keywords: ""
maintenance: false maintenance: false
debug: true debug: true
botkey: '' botkey: ''
access:
type: 'allow'
countries: ''
cloudflare-caching: false cloudflare-caching: false
db: db:
name: '' name: ''

View file

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

View file

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