diff options
| author | 2012-10-21 18:47:57 +0200 | |
|---|---|---|
| committer | 2012-10-21 18:47:57 +0200 | |
| commit | fb57be5a5af3a2fb46b2dbf2b503ffe78eb5cf49 (patch) | |
| tree | 9440fc7846d8a56a7005b9ef029669c96ad959aa /app/views/error/index.phtml | |
First commit
Diffstat (limited to 'app/views/error/index.phtml')
| -rw-r--r-- | app/views/error/index.phtml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/error/index.phtml b/app/views/error/index.phtml new file mode 100644 index 000000000..ffa156068 --- /dev/null +++ b/app/views/error/index.phtml @@ -0,0 +1,13 @@ +<h1><?php echo Translate::t ('an error occured'); ?></h1> + +<h2><?php echo $this->code; ?></h2> + +<?php if (!empty ($this->logs)) { ?> +<ul> + <?php foreach ($this->logs as $log) { ?> + <li><?php echo $log; ?></li> + <?php } ?> +</ul> +<?php } ?> + +<p><a href="<?php echo Url::display (); ?>"><?php echo Translate::t ('go back home'); ?></a></p> |
