Elgg  Version 1.9
content.php
Go to the documentation of this file.
1 <?php
6 // section => string replacements.
7 $sections = array(
8  'intro' => array(),
9  'admin_overview' => array(),
10  'outro' => array()
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
Welcome widget for admins.
Definition: content.php:7
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43