blob: f44d1204b53210d7aa26aad70a8ac134ca1b9fac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php
/**
* Elgg global system message list
* Lists all system messages
*
* @package Elgg
* @subpackage Core
*
* @uses $vars['object'] The array of message registers
*/
if (isset($vars['object']) && is_array($vars['object']) && sizeof($vars['object']) > 0) {
echo '<ul class="elgg-system-messages">';
foreach ($vars['object'] as $type => $list ) {
foreach ($list as $message) {
echo "<li class=\"elgg-state-$type radius8\">";
echo elgg_view('output/longtext', array(
'value' => $message,
'parse_urls' => false
));
echo '</li>';
}
}
echo '</ul>';
}
|