aboutsummaryrefslogtreecommitdiff
path: root/views/default/messages/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/messages/list.php')
-rw-r--r--views/default/messages/list.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/views/default/messages/list.php b/views/default/messages/list.php
index 3084f09f8..dc50ef071 100644
--- a/views/default/messages/list.php
+++ b/views/default/messages/list.php
@@ -8,9 +8,14 @@
*
* @uses $vars['object'] The array of message registers
*/
+?>
-if (!empty($vars['object']) && is_array($vars['object']) && sizeof($vars['object']) > 0) {
- foreach($vars['object'] as $register => $list ) {
- echo elgg_view("messages/{$register}/list", array('object' => $list));
+<div id="elgg_system_messages">
+<?php
+ if (!empty($vars['object']) && is_array($vars['object']) && sizeof($vars['object']) > 0) {
+ foreach($vars['object'] as $register => $list ) {
+ echo elgg_view("messages/{$register}/list", array('object' => $list));
+ }
}
-}
+?>
+</div> \ No newline at end of file