aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/exception.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-05-17 15:35:10 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-08-12 18:48:48 +0200
commit9f67fb86c8d508dbf127577994735b141c5b96e9 (patch)
tree00162504502c3a80bdb1e0c9b70ddb1e31f91803 /core/templates/exception.php
parent6b5c6e580bf1025d9e506748bd5c38bd799011b5 (diff)
downloadnextcloud-server-9f67fb86c8d508dbf127577994735b141c5b96e9.tar.gz
nextcloud-server-9f67fb86c8d508dbf127577994735b141c5b96e9.zip
Improve design of various error messages
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/templates/exception.php')
-rw-r--r--core/templates/exception.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/core/templates/exception.php b/core/templates/exception.php
index e90a3268155..1c73698e5b0 100644
--- a/core/templates/exception.php
+++ b/core/templates/exception.php
@@ -4,14 +4,13 @@
style('core', ['styles', 'header']);
?>
-<span class="error error-wide">
- <h2><strong><?php p($l->t('Internal Server Error')) ?></strong></h2>
- <p><?php p($l->t('The server encountered an internal error and was unable to complete your request.')) ?></p>
- <p><?php p($l->t('Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.')) ?></p>
- <p><?php p($l->t('More details can be found in the server log.')) ?></p>
- <br>
+<div class="error error-wide">
+ <h2><?php p($l->t('Internal Server Error')) ?></h2>
+ <p><?php p($l->t('The server encountered an internal error and was unable to complete your request.')) ?></p>
+ <p><?php p($l->t('Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.')) ?></p>
+ <p><?php p($l->t('More details can be found in the server log.')) ?></p>
- <h2><strong><?php p($l->t('Technical details')) ?></strong></h2>
+ <h3><?php p($l->t('Technical details')) ?></h3>
<ul>
<li><?php p($l->t('Remote Address: %s', $_['remoteAddr'])) ?></li>
<li><?php p($l->t('Request ID: %s', $_['requestID'])) ?></li>
@@ -29,4 +28,4 @@ style('core', ['styles', 'header']);
<h2><strong><?php p($l->t('Trace')) ?></strong></h2>
<pre><?php p($_['trace']) ?></pre>
<?php endif; ?>
-</span>
+</div>