diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-01 11:32:39 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-01 11:32:39 +0000 |
commit | 3cfad8ca8394976823bbacb728821ca371dfd6d8 (patch) | |
tree | 2340be281845fbae688986c7129b84c26e913a0b /pages/members/index.php | |
parent | df9d347e7d5a316a7f5c85ba284ea68c26fe6d2c (diff) | |
download | elgg-3cfad8ca8394976823bbacb728821ca371dfd6d8.tar.gz elgg-3cfad8ca8394976823bbacb728821ca371dfd6d8.tar.bz2 |
Fixes #3231 welcome back, members plugin
git-svn-id: http://code.elgg.org/elgg/trunk@8895 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'pages/members/index.php')
-rw-r--r-- | pages/members/index.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/pages/members/index.php b/pages/members/index.php deleted file mode 100644 index 82adf2a4a..000000000 --- a/pages/members/index.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php -/** - * Members index - * - */ - -$num_members = get_number_users(); - -$title = elgg_echo('members'); - -$options = array('type' => 'user', 'full_view' => false); -switch ($vars['page']) { - case 'popular': - $options['relationship'] = 'friend'; - $options['inverse_relationship'] = false; - $content = elgg_list_entities_from_relationship_count($options); - break; - case 'online': - $content = get_online_users(); - break; - case 'newest': - default: - $content = elgg_list_entities($options); - break; -} - -$params = array( - 'content' => $content, - 'sidebar' => elgg_view('core/members/sidebar'), - 'title' => $title . " ($num_members)", - 'buttons' => '', - 'filter_override' => elgg_view('core/members/nav', array('selected' => $vars['page'])), -); - -$body = elgg_view_layout('content', $params); - -echo elgg_view_page($title, $body); |