mirror of
https://github.com/WerySkok/nativegallery.git
synced 2024-12-22 16:41:17 +03:00
fix symbol
This commit is contained in:
parent
5f36a086fb
commit
3fccf21052
3 changed files with 8 additions and 2 deletions
|
@ -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: ''
|
||||||
|
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 }
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue