From 06e7bd00009282d7625c14570892694b6e4ebbfb Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Fri, 12 Jul 2024 01:02:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B0=D1=81=D1=85=D0=B0=D0=BB=D0=BE?= =?UTF-8?q?=D1=87=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/newcore.js | 3 +++ views/components/LoadHead.php | 1 + views/pages/Photo.php | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 static/js/newcore.js diff --git a/static/js/newcore.js b/static/js/newcore.js new file mode 100644 index 0000000..d352ddf --- /dev/null +++ b/static/js/newcore.js @@ -0,0 +1,3 @@ +function errimg() { + $('#err').html(`
Фото потеряно при крахе винчестера
Если у вас есть это фото, пожалуйста, пришлите его на admin@transphoto.org
`); +} \ No newline at end of file diff --git a/views/components/LoadHead.php b/views/components/LoadHead.php index 9fd01dd..82c94ed 100644 --- a/views/components/LoadHead.php +++ b/views/components/LoadHead.php @@ -22,6 +22,7 @@ +
diff --git a/views/pages/Photo.php b/views/pages/Photo.php index af0df84..f4666fa 100644 --- a/views/pages/Photo.php +++ b/views/pages/Photo.php @@ -64,6 +64,7 @@ if ($photo->i('id') !== null) { } +
i('id') !== null) { ?> @@ -77,7 +78,7 @@ if ($photo->i('id') !== null) {
- + i('priority') === 1) { ?>
Условная публикация