aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 17:36:54 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 17:36:54 +0000
commit106b882246534929d48222744942b005f20674aa (patch)
treee30691652ca84079536d1b64e8b555370f942992
parentdc80a05570a4e3dffa345741e6c89b9882712d61 (diff)
downloadelgg-106b882246534929d48222744942b005f20674aa.tar.gz
elgg-106b882246534929d48222744942b005f20674aa.tar.bz2
Collections open blank (for now)
git-svn-id: https://code.elgg.org/elgg/trunk@1614 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/friends/collection.php2
-rw-r--r--views/default/friends/picker.php6
2 files changed, 6 insertions, 2 deletions
diff --git a/views/default/friends/collection.php b/views/default/friends/collection.php
index 0d6f2b059..eca1b1f4e 100644
--- a/views/default/friends/collection.php
+++ b/views/default/friends/collection.php
@@ -39,7 +39,7 @@
$members = $vars['collection']->members;
$content = elgg_view('friends/tablelist',array('entities' => $members));
$content .= elgg_view('friends/collectiontabs', array('members' => $members, 'friends' => $friends, 'collection' => $vars['collection']));
- echo elgg_view('friends/picker',array('entities' => $friends, 'value' => $members, 'content' => $content));
+ echo elgg_view('friends/picker',array('entities' => $friends, 'value' => $members, 'content' => $content, 'replacement' => ''));
}
// close friends_picker div and the accordian list item
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index 329264f13..917ed2cd9 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -80,6 +80,8 @@
}
+ if (!isset($vars['replacement'])) {
+
?>
@@ -170,7 +172,9 @@
</div>
<?php
-
+ } else {
+ echo $vars['replacement'];
+ }
if (!$callback) {
?>