From 21a3388096cbffae6c2eeaa9b7c7840a05adc0a9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 18 Sep 2021 07:28:29 +0000 Subject: [PATCH] Issue 9871: Deletion og photos is now possible again --- mod/photos.php | 2 ++ view/theme/frio/templates/confirm.tpl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mod/photos.php b/mod/photos.php index bd56fbbc6a..1c9e85be8c 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1025,6 +1025,7 @@ function photos_content(App $a) '$confirm' => DI::l10n()->t('Delete Album'), '$confirm_url' => $drop_url, '$confirm_name' => 'dropalbum', + '$confirm_value' => 'dropalbum', '$cancel' => DI::l10n()->t('Cancel'), ]); } @@ -1131,6 +1132,7 @@ function photos_content(App $a) '$confirm' => DI::l10n()->t('Delete Photo'), '$confirm_url' => $drop_url, '$confirm_name' => 'delete', + '$confirm_value' => 'delete', '$cancel' => DI::l10n()->t('Cancel'), ]); } diff --git a/view/theme/frio/templates/confirm.tpl b/view/theme/frio/templates/confirm.tpl index 3f8c0c3268..4a527704f3 100644 --- a/view/theme/frio/templates/confirm.tpl +++ b/view/theme/frio/templates/confirm.tpl @@ -3,7 +3,7 @@
{{$message}}
- - + +