diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 12:56:01 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 12:56:01 +0000 |
commit | a6eb3bf8d0f49e9b20fa8153ddca7b9d551f950d (patch) | |
tree | a435afa05cab8bf2ea5d7e4b785f018e695f1869 /views/default/friends/collections.php | |
parent | 2165e929ddf954f02a589234b2e0faef7ef18df7 (diff) | |
download | elgg-a6eb3bf8d0f49e9b20fa8153ddca7b9d551f950d.tar.gz elgg-a6eb3bf8d0f49e9b20fa8153ddca7b9d551f950d.tar.bz2 |
moving friends views into core
git-svn-id: http://code.elgg.org/elgg/trunk@7633 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/friends/collections.php')
-rw-r--r-- | views/default/friends/collections.php | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/views/default/friends/collections.php b/views/default/friends/collections.php deleted file mode 100644 index d0669bb46..000000000 --- a/views/default/friends/collections.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -/** - * Elgg friends collections - * Lists a user's friends collections - * - * @package Elgg - * @subpackage Core - * - * @uses $vars['collections'] The array of friends collections - */ - -if (!isset($friendspicker)) { - $friendspicker = 0; -} - - -if (is_array($vars['collections']) && sizeof($vars['collections'])) { - echo "<ul id=\"friends_collections_accordian\">"; - - foreach($vars['collections'] as $collection) { - $friendspicker++; - echo elgg_view('friends/collection',array('collection' => $collection, 'friendspicker' => $friendspicker)); - } - - echo "</ul>"; - -} else { - echo elgg_echo("friends:nocollections"); -} - -?> - -<script> -$(document).ready(function(){ - $('#friends_collections_accordian h2').click(function () { - $(this.parentNode).children("[class=friends-picker]").slideToggle("fast"); - //return false; - }); -}); -</script> |