mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-15 03:31:10 +03:00
пасхалочка
This commit is contained in:
parent
151a1056a8
commit
06e7bd0000
3 changed files with 6 additions and 1 deletions
3
static/js/newcore.js
Normal file
3
static/js/newcore.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
function errimg() {
|
||||
$('#err').html(`<center><div class="p20 s5" style="border:none; margin:0 -20px"><b>Фото потеряно при крахе винчестера</b><div class="sm" style="margin-top:5px">Если у вас есть это фото, пожалуйста, пришлите его на <a href="mailto:admin@transphoto.org?subject=Для восстановления фото 651731">admin@transphoto.org</a></div></div></center>`);
|
||||
}
|
|
@ -22,6 +22,7 @@
|
|||
<script src="/static/js/notie.js<?php if (NGALLERY['root']['cloudflare-caching'] === true) { echo '?'.time(); } ?>"></script>
|
||||
<script src="/static/js/photo.js<?php if (NGALLERY['root']['cloudflare-caching'] === true) { echo '?'.time(); } ?>"></script>
|
||||
<script src="/static/js/comments.js<?php if (NGALLERY['root']['cloudflare-caching'] === true) { echo '?'.time(); } ?>"></script>
|
||||
<script src="/static/js/newcore.js<?php if (NGALLERY['root']['cloudflare-caching'] === true) { echo '?'.time(); } ?>"></script>
|
||||
<div class="progress-container fixed-top">
|
||||
<span class="progress-bard"></span>
|
||||
</div>
|
||||
|
|
|
@ -64,6 +64,7 @@ if ($photo->i('id') !== null) {
|
|||
}
|
||||
</style>
|
||||
<td class="main">
|
||||
<div id="err"></div>
|
||||
<?php
|
||||
if ($photo->i('id') !== null) {
|
||||
?>
|
||||
|
@ -77,7 +78,7 @@ if ($photo->i('id') !== null) {
|
|||
<div style="display:inline-block">
|
||||
<div id="underphoto_frame">
|
||||
<div id="ph_frame">
|
||||
<img class="nozoom" id="ph" src="<?= $photo->i('photourl') ?>" alt="" title="Фотография">
|
||||
<img onerror="errimg(); this.onerror = null;" class="nozoom" id="ph" src="<?= $photo->i('photourl') ?>" alt="" title="Фотография">
|
||||
<?php
|
||||
if ($photo->i('priority') === 1) { ?>
|
||||
<div class="underphoto s17" style="cursor:help" title="Фотография не удовлетворяет действующим на момент публикации критериям качества снимков."><i style="position:relative; top:1px" class="fas fa-info-circle"></i> <b class="dot">Условная публикация</b></div>
|
||||
|
|
Loading…
Reference in a new issue