aboutsummaryrefslogtreecommitdiff
path: root/views/default/messages/list.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 13:01:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 13:01:30 +0000
commit984138d1a523409f8b2fc84487ce21f69998de78 (patch)
treefee2758626ea626698e287b4880dd762a6d1a711 /views/default/messages/list.php
parent4990faf1ebf89b8f6bda96580fede8d9b17e8872 (diff)
downloadelgg-984138d1a523409f8b2fc84487ce21f69998de78.tar.gz
elgg-984138d1a523409f8b2fc84487ce21f69998de78.tar.bz2
rough implementation of Evan's page layout
git-svn-id: http://code.elgg.org/elgg/trunk@7496 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/messages/list.php')
-rw-r--r--views/default/messages/list.php14
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
+}