diff options
Diffstat (limited to 'views/default/widgets/admin_welcome')
| -rw-r--r-- | views/default/widgets/admin_welcome/content.php | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/views/default/widgets/admin_welcome/content.php b/views/default/widgets/admin_welcome/content.php index dd7078837..f4b92ea66 100644 --- a/views/default/widgets/admin_welcome/content.php +++ b/views/default/widgets/admin_welcome/content.php @@ -3,5 +3,17 @@ * Welcome widget for admins */ -?> -Welcome to Elgg
\ No newline at end of file +// section => string replacements. +$sections = array( + 'intro' => array(), + 'admin_overview' => array(), + 'outro' => array() +); + +// don't use longtext because it filters output. +// that's annoying. +echo '<div class="elgg-output">'; +foreach ($sections as $section => $strings) { + echo '<p>' . elgg_echo("admin:widget:admin_welcome:$section", $strings) . '</p>'; +} +echo '</div>';
\ No newline at end of file |
