aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/basic_elements/welcome.php2
-rw-r--r--views/default/welcome/logged_in.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/basic_elements/welcome.php b/views/default/basic_elements/welcome.php
index 28041d5b2..bbcc6438e 100644
--- a/views/default/basic_elements/welcome.php
+++ b/views/default/basic_elements/welcome.php
@@ -15,5 +15,5 @@
?>
-<p>Welcome <?php echo $user; ?></p>
+<p><?php echo sprintf(elgg_echo('welcome:user'), $user); ?></p>
<p><a href="<?php echo $vars['url']; ?>action/logout">[logout]</a></p> \ No newline at end of file
diff --git a/views/default/welcome/logged_in.php b/views/default/welcome/logged_in.php
index 05d5be104..c44aa4b64 100644
--- a/views/default/welcome/logged_in.php
+++ b/views/default/welcome/logged_in.php
@@ -16,7 +16,7 @@
<?php
//add various views to area1
- $area1 = "<h2>" . sprintf(elgg_echo("welcome"),$vars['user']->name) . "</h2>";
+ $area1 = "<h2>" . sprintf(elgg_echo("welcome:user"),$vars['user']->name) . "</h2>";
$area1 .= "<p>" . elgg_echo("welcome_message") . "</p><br />";
$url = $vars['url'] . "action/logout";
$area1 .= "<a href=" . $url . ">" . elgg_echo('logout') . "</a>";