Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
widgets
admin_welcome
content.php
Go to the documentation of this file.
1
<?php
6
// section => string replacements.
7
$sections
= [
8
'intro'
=> [],
9
'admin_overview'
=> [],
10
'outro'
=> [],
11
];
12
13
// don't use longtext because it filters output.
14
// that's annoying.
15
echo
'<div class="elgg-output">'
;
16
foreach
(
$sections
as $section => $strings) {
17
echo
'<p>'
.
elgg_echo
(
"admin:widget:admin_welcome:$section"
, $strings) .
'</p>'
;
18
}
19
echo
'</div>'
;
$sections
$sections
Welcome widget for admins.
Definition:
content.php:7
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
echo
elgg echo
Translates a string.
Definition:
languages.js:48
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11