diff --git a/themes/TAMU/templates/error/index.phtml b/themes/TAMU/templates/error/index.phtml new file mode 100644 index 00000000000..6dc6f4bc138 --- /dev/null +++ b/themes/TAMU/templates/error/index.phtml @@ -0,0 +1,49 @@ +headTitle($this->translate('An error has occurred')); + + $this->layout()->breadcrumbs = '
=$this->transEsc('An error has occurred')?>
+=$this->transEsc($this->message)?>
+
+ =$this->transEsc('Please contact AskUs for assistance')?>
+
+ escapeHtmlAttr($this->systemEmail()); ?>
+ =$supportEmail?>
+
+ =$this->transEsc('Message')?>: =$this->escapeHtml($this->exception->getMessage())?> +
+ +=$this->exception->getTraceAsString()?> ++ + exception->getPrevious()): ?> +
=$e->getMessage()?>
+=$e->getTraceAsString()?>+ getPrevious(); ?> + + + + request)): ?> +
=$this->escapeHtml(var_export($this->request->getParams(), true))?>+ + diff --git a/themes/TAMU/templates/error/loginForAccess.phtml b/themes/TAMU/templates/error/loginForAccess.phtml new file mode 100644 index 00000000000..3e90cee9614 --- /dev/null +++ b/themes/TAMU/templates/error/loginForAccess.phtml @@ -0,0 +1,4 @@ + + + =$this->transEsc('Login for full access')?> + diff --git a/themes/TAMU/templates/error/permissiondenied.phtml b/themes/TAMU/templates/error/permissiondenied.phtml new file mode 100644 index 00000000000..6280b9882a8 --- /dev/null +++ b/themes/TAMU/templates/error/permissiondenied.phtml @@ -0,0 +1,25 @@ +headTitle($this->translate('permission_denied_title')); + + // Disable top search box -- this page has a special layout. + $this->layout()->searchbox = false; + + $this->layout()->breadcrumbs = '
=$this->flashmessages()?>
++ =$this->transEsc('permission_denied')?> + +
+ =$this->transEsc('Please contact AskUs for assistance')?>
+
+ escapeHtmlAttr($this->systemEmail()); ?>
+ =$supportEmail?>
+
+ =$this->transEsc('The system is currently unavailable due to system maintenance')?>. + =$this->transEsc('Please check back soon')?>. +
+
+ =$this->transEsc('Please contact AskUs for assistance')?>
+
+ escapeHtmlAttr($this->systemEmail()); ?>
+ =$supportEmail?>
+