aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-10 10:56:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-10 10:56:48 +0000
commit572edcdf86ab15a13fb3b51668601d4b8dd4e34b (patch)
tree04940d505a427639e8cc86cbe331b04ef4ebf4f3 /views/default/friends
parent8a6990a0544931dc05b20a29c8959e72434e36e2 (diff)
downloadelgg-572edcdf86ab15a13fb3b51668601d4b8dd4e34b.tar.gz
elgg-572edcdf86ab15a13fb3b51668601d4b8dd4e34b.tar.bz2
Closes #501
git-svn-id: https://code.elgg.org/elgg/trunk@2429 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/friends')
-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'); ?>');
}
});