diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 13:45:06 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 13:45:06 +0000 |
commit | 07cd0838215d49e0029e818d5e6d904548a0b175 (patch) | |
tree | 93ab35e6525cbb4a9205c1f18aae228084a8931f | |
parent | b563b9697a00a77d3ee9064430c3eb003ec25344 (diff) | |
download | elgg-07cd0838215d49e0029e818d5e6d904548a0b175.tar.gz elgg-07cd0838215d49e0029e818d5e6d904548a0b175.tar.bz2 |
Moved collection tabs out of the main picker view
git-svn-id: https://code.elgg.org/elgg/trunk@1600 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | views/default/friends/collection.php | 1 | ||||
-rw-r--r-- | views/default/friends/collectiontabs.php | 10 | ||||
-rw-r--r-- | views/default/friends/picker.php | 7 |
3 files changed, 12 insertions, 6 deletions
diff --git a/views/default/friends/collection.php b/views/default/friends/collection.php index d069bd996..e2f8d37b6 100644 --- a/views/default/friends/collection.php +++ b/views/default/friends/collection.php @@ -38,6 +38,7 @@ if($friends = $vars['collection']->entities){
$members = $vars['collection']->members;
$content = elgg_view('friends/tablelist',array('entities' => $members));
+ $content .= elgg_view('friends/collectiontabs');
echo elgg_view('friends/picker',array('entities' => $friends, 'value' => $members, 'content' => $content));
}
diff --git a/views/default/friends/collectiontabs.php b/views/default/friends/collectiontabs.php new file mode 100644 index 000000000..fabd9857b --- /dev/null +++ b/views/default/friends/collectiontabs.php @@ -0,0 +1,10 @@ +<?php
+
+?>
+
+<div id="friendsPickerNavigationTabs">
+<ul>
+<li class="selected"><a href="#">Collection members</a></li>
+<li><a href="#">Edit collection</a></li>
+</ul>
+</div>
\ No newline at end of file diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php index e7a2745ec..a17575f05 100644 --- a/views/default/friends/picker.php +++ b/views/default/friends/picker.php @@ -64,12 +64,7 @@ ?> -<div id="friendsPickerNavigationTabs"> -<ul> -<li class="selected"><a href="#">Collection members</a></li> -<li><a href="#">Edit collection</a></li> -</ul> -</div> + |