diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-10 11:05:34 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-10 11:05:34 +0000 |
commit | 59c3b931afae98a2a0166b0c0462be62daaf11ee (patch) | |
tree | 89d3308c13f629842ff00a32c46b256a681a7c09 | |
parent | 7c7fac52ebcf4449e7103c41bccf8babbc213b95 (diff) | |
download | elgg-59c3b931afae98a2a0166b0c0462be62daaf11ee.tar.gz elgg-59c3b931afae98a2a0166b0c0462be62daaf11ee.tar.bz2 |
Updated Groups tabs so you land on newest groups tab rather than discussion.
git-svn-id: http://code.elgg.org/elgg/trunk@6431 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/groups/all.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/groups/group_sort_menu.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php index 2bf22a20a..9e19fce09 100644 --- a/mod/groups/all.php +++ b/mod/groups/all.php @@ -16,7 +16,7 @@ $filter = get_input("filter"); if (!$filter) { // active discussions is the default - $filter = "active"; + $filter = "newest"; } $context = get_context(); diff --git a/mod/groups/views/default/groups/group_sort_menu.php b/mod/groups/views/default/groups/group_sort_menu.php index 66569ba1e..63af0dc07 100644 --- a/mod/groups/views/default/groups/group_sort_menu.php +++ b/mod/groups/views/default/groups/group_sort_menu.php @@ -17,8 +17,8 @@ <div class="elgg_horizontal_tabbed_nav margin_top"> <div class="group_count"><?php echo $num_groups . " " . elgg_echo("groups:count"); ?></div> <ul> - <li <?php if($filter == "active") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=active"><?php echo elgg_echo('groups:latestdiscussion'); ?></a></li> <li <?php if($filter == "newest") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=newest"><?php echo elgg_echo('groups:newest'); ?></a></li> <li <?php if($filter == "pop") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=pop"><?php echo elgg_echo('groups:popular'); ?></a></li> + <li <?php if($filter == "active") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=active"><?php echo elgg_echo('groups:latestdiscussion'); ?></a></li> </ul> </div> |