From 758a4ee6e9ccb286693f1219ed55e60b54afb67d Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 10 Mar 2011 05:15:23 +0000 Subject: Refs #3004. First draft of welcome widget text. git-svn-id: http://code.elgg.org/elgg/trunk@8647 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/widgets/admin_welcome/content.php | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'views/default') 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 '

' . elgg_echo("admin:widget:admin_welcome:$section", $strings) . '

'; +} \ No newline at end of file -- cgit v1.2.3