diff options
Diffstat (limited to 'views/installation/messages/list.php')
-rw-r--r-- | views/installation/messages/list.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/views/installation/messages/list.php b/views/installation/messages/list.php new file mode 100644 index 000000000..2410103da --- /dev/null +++ b/views/installation/messages/list.php @@ -0,0 +1,18 @@ +<?php +/** + * Elgg global system message list + * Lists all system messages + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + * + * @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)); + } +}
\ No newline at end of file |