aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/riverdashboard/views')
-rw-r--r--mod/riverdashboard/views/default/river/item/wrapper.php2
-rw-r--r--mod/riverdashboard/views/default/riverdashboard/welcome.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/riverdashboard/views/default/river/item/wrapper.php b/mod/riverdashboard/views/default/river/item/wrapper.php
index 98c240de5..0413775d6 100644
--- a/mod/riverdashboard/views/default/river/item/wrapper.php
+++ b/mod/riverdashboard/views/default/river/item/wrapper.php
@@ -77,7 +77,7 @@ if ($comments){
// display appropriate comment link
if ($more_comments_count > 0) {
echo "<a class=\"river_more_comments show_more_button link\">" .
- sprintf(elgg_echo('riverdashboard:n_more_comments'), $more_comments_count) . '</a>';
+ elgg_echo('riverdashboard:n_more_comments', array($more_comments_count)) . '</a>';
echo "<a style=\"display: none\" class=\"river_more_comments show_less_button link\">" . elgg_echo('riverdashboard:show_less') . '</a>';
}
diff --git a/mod/riverdashboard/views/default/riverdashboard/welcome.php b/mod/riverdashboard/views/default/riverdashboard/welcome.php
index 3c9778eda..f5152135e 100644
--- a/mod/riverdashboard/views/default/riverdashboard/welcome.php
+++ b/mod/riverdashboard/views/default/riverdashboard/welcome.php
@@ -5,4 +5,4 @@
*/
?>
-<h2><?php echo sprintf(elgg_echo('welcome:user'), get_loggedin_user()->name); ?></h2> \ No newline at end of file
+<h2><?php echo elgg_echo('welcome:user'), array(get_loggedin_user()->name); ?></h2> \ No newline at end of file