aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends/collections.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/friends/collections.php')
-rw-r--r--views/default/friends/collections.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/friends/collections.php b/views/default/friends/collections.php
index 7554a0545..c6af70dbe 100644
--- a/views/default/friends/collections.php
+++ b/views/default/friends/collections.php
@@ -18,7 +18,7 @@
if (is_array($vars['collections']) && sizeof($vars['collections'])) {
- echo "<div class=\"expandall\"><p>expand all</p></div>";
+ echo "<div class=\"expandall\"><p>".elgg_echo('friends:expandall')."</p></div>";
echo "<ul id=\"friends_collections_accordian\">";
foreach($vars['collections'] as $collection) {
@@ -50,11 +50,11 @@ $('#friends_collections_accordian h2').click(function () {
$('div.expandall p').click(function () {
if (this.innerHTML == 'close all') {
$('div.friends_picker').slideUp("fast");
- $('div.expandall p').html('expand all');
+ $('div.expandall p').html('<?php echo elgg_echo('friends:expandall'); ?>');
}
else {
$('div.friends_picker:hidden').slideDown("fast");
- $('div.expandall p').html('close all');
+ $('div.expandall p').html('<?php echo elgg_echo('friends:closeall'); ?>');
}
});