aboutsummaryrefslogtreecommitdiff
path: root/views/default/page
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 23:36:52 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 23:36:52 +0000
commitd5f23decb23511012f00a76b4318248f5cccacb7 (patch)
tree82c84b575f47a2e54f2eef8e61848446ed40db2c /views/default/page
parent4ade831cb3fda18df7f09b750281b5e63d2bf2cc (diff)
downloadelgg-d5f23decb23511012f00a76b4318248f5cccacb7.tar.gz
elgg-d5f23decb23511012f00a76b4318248f5cccacb7.tar.bz2
Filter tabs ordered correctly
git-svn-id: http://code.elgg.org/elgg/trunk@8552 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page')
-rw-r--r--views/default/page/layouts/content/filter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/page/layouts/content/filter.php b/views/default/page/layouts/content/filter.php
index 649113f5f..0af293e24 100644
--- a/views/default/page/layouts/content/filter.php
+++ b/views/default/page/layouts/content/filter.php
@@ -26,16 +26,19 @@ if (elgg_is_logged_in() && $context) {
'text' => elgg_echo('all'),
'href' => (isset($vars['all_link'])) ? $vars['all_link'] : "pg/$context/all/",
'selected' => ($filter_context == 'all'),
+ 'priority' => 200,
),
'mine' => array(
'text' => elgg_echo('mine'),
'href' => (isset($vars['mine_link'])) ? $vars['mine_link'] : "pg/$context/owner/$username/",
'selected' => ($filter_context == 'mine'),
+ 'priority' => 300,
),
'friend' => array(
'text' => elgg_echo('friends'),
'href' => (isset($vars['friend_link'])) ? $vars['friend_link'] : "pg/$context/friends/$username/",
'selected' => ($filter_context == 'friends'),
+ 'priority' => 400,
),
);