aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/views/default
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 22:13:10 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 22:13:10 +0000
commiteff4faea7f3c95440f02ea45d0be4f67236e2bf3 (patch)
tree57d51ef4bc84547d60c9a6faae7d5ff5d82d00f9 /mod/riverdashboard/views/default
parent4b501dda1d62195531e4c2ab1bd84971c0cd4e37 (diff)
downloadelgg-eff4faea7f3c95440f02ea45d0be4f67236e2bf3.tar.gz
elgg-eff4faea7f3c95440f02ea45d0be4f67236e2bf3.tar.bz2
Fixes #1320: Bundled mods use elgg_echo()'s internal string substitution.
git-svn-id: http://code.elgg.org/elgg/trunk@7229 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/views/default')
-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