diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 17:23:13 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 17:23:13 +0000 |
commit | dc80a05570a4e3dffa345741e6c89b9882712d61 (patch) | |
tree | cc5586c8345d48db4b4d4627bedfd8d80ba835cb /views/default | |
parent | 68dcf7974b128c3106db203abb70d56dea2eeb7d (diff) | |
download | elgg-dc80a05570a4e3dffa345741e6c89b9882712d61.tar.gz elgg-dc80a05570a4e3dffa345741e6c89b9882712d61.tar.bz2 |
Committing in loads
git-svn-id: https://code.elgg.org/elgg/trunk@1613 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/friends/collectiontabs.php | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/views/default/friends/collectiontabs.php b/views/default/friends/collectiontabs.php index ab329441b..afc8de9d2 100644 --- a/views/default/friends/collectiontabs.php +++ b/views/default/friends/collectiontabs.php @@ -1,4 +1,3 @@ -/*
<?php
global $friendspicker;
@@ -22,18 +21,6 @@ <div id="friendsPickerNavigationTabs">
<ul>
-<li class="selected"><a href='#' onclick='$("#friends_picker_placeholder<?php echo $friendspicker + 1; ?>").load("<?php echo $vars['url']; ?>friends/pickercallback.php?username=<?php echo $_SESSION['user']->username; ?>&type=list&members=<?php echo $members; ?>"); return false;'>Collection members</a></li>
-<li><a href="#" onclick='$("#friends_picker_placeholder<?php echo $friendspicker + 1; ?>").load("<?php echo $vars['url']; ?>friends/pickercallback.php?username=<?php echo $_SESSION['user']->username; ?>&type=picker&members=<?php echo $members; ?>&friends=<?php echo $friends; ?>"); return false;'>Edit collection</a></li>
-</ul>
-</div>
-*/
-
-<?php
-
-?>
-
-<div id="friendsPickerNavigationTabs">
-<ul>
<li class="selected"><a href="#" class="collectionmembers">Collection members</a></li>
<li><a href="#" class="editmembers">Edit collection</a></li>
@@ -46,7 +33,7 @@ $(document).ready(function () { $('a.collectionmembers').click(function () {
// load collection members pane
- $('#friends_picker_placeholder<?php echo $friendspicker; ?>').load('collectionMembers.php');
+ $('#friends_picker_placeholder<?php echo $friendspicker + 1; ?>').load('<?php echo $vars['url']; ?>friends/pickercallback.php?username=<?php echo $_SESSION['user']->username; ?>&type=list&members=<?php echo $members; ?>');
// remove selected state from previous tab
$(this).parent().parent().find("#friendsPickerNavigationTabs li").removeClass("selected");
@@ -58,7 +45,7 @@ $(document).ready(function () { $('a.editmembers').click(function () {
// load friends picker pane
- $('#friends_picker_placeholder<?php echo $friendspicker; ?>').load('friendsPicker.php');
+ $('#friends_picker_placeholder<?php echo $friendspicker + 1; ?>').load('<?php echo $vars['url']; ?>friends/pickercallback.php?username=<?php echo $_SESSION['user']->username; ?>&type=picker&members=<?php echo $members; ?>&friends=<?php echo $friends; ?>');
// remove selected state from previous tab
$(this).parent().parent().find("#friendsPickerNavigationTabs li").removeClass("selected");
|