Elgg
Version 2.3
views
installation
page
elements
messages.php
Go to the documentation of this file.
1
<?php
8
if
(isset(
$vars
[
'object'
]) && is_array(
$vars
[
'object'
]) &&
sizeof
(
$vars
[
'object'
]) > 0) {
9
10
echo
'<ul class="elgg-system-messages">'
;
11
12
foreach
(
$vars
[
'object'
] as
$type
=>
$list
) {
13
foreach
(
$list
as
$message
) {
14
echo
"<li class=\"elgg-state-$type\">"
;
15
echo
elgg_autop
(
$message
);
16
echo
'</li>'
;
17
}
18
}
19
20
echo
'</ul>'
;
21
}
$message
$message
Definition:
set_maintenance_mode.php:7
$list
$list
Definition:
default_widgets.php:11
$type
if(! $display_name) $type
Definition:
delete.php:27
elgg_autop
elgg_autop($string)
Create paragraphs from text with line spacing.
Definition:
output.php:46
$vars
$vars['entity']
Definition:
plugin_settings.php:15
Generated on Fri Aug 29 2025 00:00:47 for Elgg by
1.9.1