diff options
Diffstat (limited to 'views/default/messages/list.php')
-rw-r--r-- | views/default/messages/list.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/views/default/messages/list.php b/views/default/messages/list.php index 84cec1b34..dad1c23ab 100644 --- a/views/default/messages/list.php +++ b/views/default/messages/list.php @@ -8,14 +8,16 @@ * * @uses $vars['object'] The array of message registers */ + +if (!empty($vars['object']) && is_array($vars['object']) && sizeof($vars['object']) > 0) { ?> -<div id="elgg-system-messages"> +<ul class="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)); - } + foreach ($vars['object'] as $register => $list ) { + echo elgg_view("messages/{$register}/list", array('object' => $list)); } ?> -</div>
\ No newline at end of file +</ul> +<?php +} |