aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-10 11:05:34 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-10 11:05:34 +0000
commit59c3b931afae98a2a0166b0c0462be62daaf11ee (patch)
tree89d3308c13f629842ff00a32c46b256a681a7c09 /mod
parent7c7fac52ebcf4449e7103c41bccf8babbc213b95 (diff)
downloadelgg-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
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/all.php2
-rw-r--r--mod/groups/views/default/groups/group_sort_menu.php2
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>