Elgg
Version 1.9
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
$type
$type
Definition:
add.php:8
$list
$list
Definition:
default_widgets.php:28
elgg_autop
elgg_autop($string)
Create paragraphs from text with line spacing.
Definition:
output.php:56
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Fri Aug 29 2025 00:00:30 for Elgg by
1.9.1