diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-02-13 16:42:41 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-02-13 16:42:41 +0000 |
commit | 7b8a289c6b0af262de82efa607e838e37a236f8a (patch) | |
tree | ae0af526d4b4390d0fb36a429f35015a15cc86b5 /views/default/messages/exceptions/exception.php | |
parent | 659f6376ca5e0d184585ef40dfc2e3c5256e4f17 (diff) | |
download | elgg-7b8a289c6b0af262de82efa607e838e37a236f8a.tar.gz elgg-7b8a289c6b0af262de82efa607e838e37a236f8a.tar.bz2 |
Further message handling in the template
git-svn-id: https://code.elgg.org/elgg/trunk@26 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/messages/exceptions/exception.php')
-rw-r--r-- | views/default/messages/exceptions/exception.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/views/default/messages/exceptions/exception.php b/views/default/messages/exceptions/exception.php new file mode 100644 index 000000000..8973db714 --- /dev/null +++ b/views/default/messages/exceptions/exception.php @@ -0,0 +1,27 @@ +<?php
+
+ /**
+ * Elgg exception
+ * Displays a single exception
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ *
+ * @uses $vars['object'] An exception
+ */
+
+?>
+
+ <p class="messages-exception">
+ <span title="<?php echo get_class($vars['object']); ?>">
+ <?php
+
+ echo nl2br($vars['object']->getMessage());
+
+ ?>
+ </span>
+ </p>
\ No newline at end of file |