aboutsummaryrefslogtreecommitdiff
path: root/templates/access_denied_exception.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2021-07-22 16:07:19 +0200
committerJan-Hendrik Willms <tleilax+github@gmail.com>2021-07-22 16:19:12 +0200
commita3da1483a9e689846179159355badfec8073dbec (patch)
tree770dcca6bdf5f6f2a11b0e7fcbbeda6919a3fc52 /templates/access_denied_exception.php
current code from svn, revision 62608
Diffstat (limited to 'templates/access_denied_exception.php')
-rw-r--r--templates/access_denied_exception.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/access_denied_exception.php b/templates/access_denied_exception.php
new file mode 100644
index 0000000..aea284c
--- /dev/null
+++ b/templates/access_denied_exception.php
@@ -0,0 +1,12 @@
+<?php
+$details = $exception->getDetails();
+array_unshift($details, htmlReady($exception->getMessage()));
+?>
+<?= MessageBox::exception(_('Zugriff verweigert'), $details) ?>
+<p>
+ <?= sprintf(
+ _('Zurück zur %sStartseite%s'),
+ '<a href="' . URLHelper::getLink('index.php') . '">',
+ '</a>'
+ ) ?>
+</p>