aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/admin_welcome/content.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/widgets/admin_welcome/content.php')
-rw-r--r--views/default/widgets/admin_welcome/content.php19
1 files changed, 17 insertions, 2 deletions
diff --git a/views/default/widgets/admin_welcome/content.php b/views/default/widgets/admin_welcome/content.php
index dd7078837..4ebdb719c 100644
--- a/views/default/widgets/admin_welcome/content.php
+++ b/views/default/widgets/admin_welcome/content.php
@@ -3,5 +3,20 @@
* Welcome widget for admins
*/
-?>
-Welcome to Elgg \ No newline at end of file
+// section => string replacements.
+$sections = array(
+ 'intro' => array(),
+ 'admin_overview' => array(),
+ 'common_links' => array(
+ elgg_normalize_url('pg/admin/plugins/simple'),
+ elgg_normalize_url('pg/admin/site/advanced'),
+ ),
+ 'external_resources' => array(),
+ 'outro' => array()
+);
+
+// don't use longtext because it filters output.
+// that's annoying.
+foreach ($sections as $section => $strings) {
+ echo '<p>' . elgg_echo("admin:widget:admin_welcome:$section", $strings) . '</p>';
+} \ No newline at end of file