Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
elements
messages.php
Go to the documentation of this file.
1
<?php
12
echo
'<ul class="elgg-system-messages">'
;
13
14
// hidden li so we validate
15
echo
'<li class="hidden"></li>'
;
16
17
if
(isset(
$vars
[
'object'
]) && is_array(
$vars
[
'object'
]) &&
sizeof
(
$vars
[
'object'
]) > 0) {
18
foreach
(
$vars
[
'object'
] as
$type
=>
$list
) {
19
foreach
(
$list
as
$message
) {
20
echo
"<li class=\"elgg-message elgg-state-$type\">"
;
21
echo
elgg_autop
($message);
22
echo
'</li>'
;
23
}
24
}
25
}
26
27
echo
'</ul>'
;
$message
$message
Definition:
set_maintenance_mode.php:7
$list
$list
Definition:
default_widgets.php:29
elgg_autop
elgg_autop($string)
Create paragraphs from text with line spacing.
Definition:
output.php:56
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$type
$type
Definition:
add.php:8
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:50 for Elgg by
1.8.11