aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-10 05:15:23 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-10 05:15:23 +0000
commit758a4ee6e9ccb286693f1219ed55e60b54afb67d (patch)
tree8470613999081e193a6fd7b1030c3f7b1db8ccad /views/default/widgets
parentf73b5756ea56f2f73e578892074a79c83793cb41 (diff)
downloadelgg-758a4ee6e9ccb286693f1219ed55e60b54afb67d.tar.gz
elgg-758a4ee6e9ccb286693f1219ed55e60b54afb67d.tar.bz2
Refs #3004. First draft of welcome widget text.
git-svn-id: http://code.elgg.org/elgg/trunk@8647 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/widgets')
-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