aboutsummaryrefslogtreecommitdiff
path: root/views/default/messages/errors/list.php
blob: 5f675715dffa12fff37bea35415c87d448458ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * Elgg list errors
 * Lists error messages
 *
 * @package Elgg
 * @subpackage Core
 *
 * @uses $vars['object'] An array of error messages
 */

if (!empty($vars['object']) && is_array($vars['object'])) {
	foreach($vars['object'] as $error) {
?>

	<div class="elgg_system_message hidden radius8 error">
		<?php echo elgg_view('messages/errors/error',array('object' => $error)); ?>
	</div>
	
<?php
	}
}