diff --git a/default-disable b/default-disable deleted file mode 100644 index fa0bd82..0000000 --- a/default-disable +++ /dev/null @@ -1,3 +0,0 @@ -This file indicates that the default state of this module -is disabled. To enable, create a file named enable in the -same directory as this file. diff --git a/enable b/enable new file mode 100644 index 0000000..d8f3723 --- /dev/null +++ b/enable @@ -0,0 +1 @@ +Enebles use of this theme. diff --git a/themes/pvv/default/error.php b/themes/pvv/default/error.php index 50cbf03..d10b303 100644 --- a/themes/pvv/default/error.php +++ b/themes/pvv/default/error.php @@ -75,4 +75,4 @@ if (isset($this->data['errorReportAddress'])) { var clipboard = new Clipboard('#btntrackid'); includeAtTemplateBase('includes/footer.php'); +$this->includeAtTemplateBase('includes/footer.twig'); diff --git a/themes/pvv/default/error.twig b/themes/pvv/default/error.twig new file mode 100644 index 0000000..284c2cd --- /dev/null +++ b/themes/pvv/default/error.twig @@ -0,0 +1,54 @@ + +
{{ t('report_trackid') }}
+{{ error.trackId }}
+
+ {{ t('debuginfo_text') }}
+ +{{ error.exceptionMsg|escape }}
+{{ error.exceptionTrace|escape }}
+ {{ t('howto_text') }}
+ +{% include 'includes/footer.php' %} diff --git a/themes/pvv/default/includes/footer.twig b/themes/pvv/default/includes/footer.twig new file mode 100644 index 0000000..662efc7 --- /dev/null +++ b/themes/pvv/default/includes/footer.twig @@ -0,0 +1,11 @@ +{% if htmlinject.htmlContentPost %} + {% for c in htmlinject.htmlContentPost %} + {{ c }} + {% endfor %} +{% endif %} + + + + +