From 66e442dd67d6a0f5484eca11e7883c4be449a1ea Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 24 Aug 2023 11:16:19 -0300 Subject: [PATCH] Add pending file This file is necessary to display the error message when the admin didn't enable necessary app Signed-off-by: Vitor Mattos --- templates/error.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 templates/error.php diff --git a/templates/error.php b/templates/error.php new file mode 100644 index 0000000..274df13 --- /dev/null +++ b/templates/error.php @@ -0,0 +1,31 @@ +
+

+ t('Error: Missing apps')); + ?> +

+

+ t('The following dependency apps are missing: ')); + ?> +

+

+ ' . $app . ''); + if ($i !== $len - 1) { + print_unescaped(', '); + } + $i++; + } + ?> +

+

+ t('Please ask the administrator to enable these apps.')); + ?> +

+

+