blob: 1a79c3cfde3ae1b834acaf87ec4edd0b73c781c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* A simple view to provide the user with group filters and the number of group on the site
**/
$members = $vars['count'];
if(!$num_groups)
$num_groups = 0;
$filter = $vars['filter'];
//url
$url = $vars['url'] . "mod/members/index.php";
?>
<div class="elgg_horizontal_tabbed_nav margin_top">
<ul>
<li <?php if($filter == "newest") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=newest"><?php echo elgg_echo('members:label:newest'); ?></a></li>
<li <?php if($filter == "pop") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=pop"><?php echo elgg_echo('members:label:popular'); ?></a></li>
<li <?php if($filter == "active") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=active"><?php echo elgg_echo('members:label:active'); ?></a></li>
</ul>
</div>
|