aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-05 10:08:01 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-05 10:08:01 +0000
commit7cdcbdcc829c56ed66ba778519859ca782dac0f8 (patch)
treed3045c3b3209c3a28893de3b223148828600d6d5 /mod/riverdashboard
parent2ddfe49710c9c2773b9cc717133aeb894f935ebb (diff)
downloadelgg-7cdcbdcc829c56ed66ba778519859ca782dac0f8.tar.gz
elgg-7cdcbdcc829c56ed66ba778519859ca782dac0f8.tar.bz2
Closes #1004: Welcome no longer hard coded.
git-svn-id: https://code.elgg.org/elgg/trunk@3260 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard')
-rw-r--r--mod/riverdashboard/languages/en.php3
-rw-r--r--mod/riverdashboard/views/default/riverdashboard/welcome.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/riverdashboard/languages/en.php b/mod/riverdashboard/languages/en.php
index a00624414..5c601d31b 100644
--- a/mod/riverdashboard/languages/en.php
+++ b/mod/riverdashboard/languages/en.php
@@ -6,7 +6,8 @@
'filter' => 'Filter',
'riverdashboard:useasdashboard' => "Replace the default dashboard with this activity river?",
'activity' => 'Activity',
- 'riverdashboard:recentmembers' => 'Recent members',
+ 'riverdashboard:recentmembers' => 'Recent members',
+ 'riverdashboard:welcome:user' => 'Welcome %s',
/**
* Site messages
diff --git a/mod/riverdashboard/views/default/riverdashboard/welcome.php b/mod/riverdashboard/views/default/riverdashboard/welcome.php
index c589cffc2..7fb2bf9e1 100644
--- a/mod/riverdashboard/views/default/riverdashboard/welcome.php
+++ b/mod/riverdashboard/views/default/riverdashboard/welcome.php
@@ -13,5 +13,5 @@
?>
<div id="content_area_user_title">
-<h2>Welcome <?php echo $_SESSION['user']->name; ?></h2>
+<h2><?php echo sprintf(elgg_echo('riverdashboard:welcome:user'), $_SESSION['user']->name); ?></h2>
</div> \ No newline at end of file