aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/messages/exceptions
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-10 12:40:02 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-10 12:40:02 +0000
commite1c54733c388ef0f75d6288c7add7d381e583ac5 (patch)
treede0161810fe6458ceca78f9849aa95193c21e94c /views/failsafe/messages/exceptions
parent60973c259b643f92f96fadf2effc1f37dd930898 (diff)
downloadelgg-e1c54733c388ef0f75d6288c7add7d381e583ac5.tar.gz
elgg-e1c54733c388ef0f75d6288c7add7d381e583ac5.tar.bz2
handling the database being down/busy or an incomplete install. Also cleaned up failsafe views
git-svn-id: http://code.elgg.org/elgg/trunk@7044 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/failsafe/messages/exceptions')
-rw-r--r--views/failsafe/messages/exceptions/exception.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/views/failsafe/messages/exceptions/exception.php b/views/failsafe/messages/exceptions/exception.php
index d3877f0c8..d8c4a5f92 100644
--- a/views/failsafe/messages/exceptions/exception.php
+++ b/views/failsafe/messages/exceptions/exception.php
@@ -1,6 +1,6 @@
<?php
/**
- * Elgg exception (fallback mode)
+ * Elgg exception (failsafe mode)
* Displays a single exception
*
* @package Elgg
@@ -11,10 +11,9 @@
* @uses $vars['object'] An exception
*/
-global $CONFIG;
?>
-<p class="messages-exception" style="background:#FDFFC3;display:block;padding:10px;">
+<p class="messages_exception">
<span title="<?php echo get_class($vars['object']); ?>">
<?php
@@ -24,13 +23,18 @@ global $CONFIG;
</span>
</p>
-<?php if (isset($CONFIG->debug)) { ?>
+<?php
+global $CONFIG;
+if (isset($CONFIG->debug)) {
+?>
-<p class="messages-exception-detail" style="background:#FDFFC3;display:block;padding:10px;">
+<p class="messages_exception">
<?php
echo nl2br(htmlentities(print_r($vars['object'], true), ENT_QUOTES, 'UTF-8'));
?>
</p>
-<?php } ?> \ No newline at end of file
+<?php
+
+}