aboutsummaryrefslogtreecommitdiff
path: root/views/default/content
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/content')
-rw-r--r--views/default/content/filter.php6
-rw-r--r--views/default/content/header.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/views/default/content/filter.php b/views/default/content/filter.php
index b4d747cbf..0b2562450 100644
--- a/views/default/content/filter.php
+++ b/views/default/content/filter.php
@@ -24,17 +24,17 @@ if (isloggedin() && $context) {
$tabs = array(
'all' => array(
'title' => elgg_echo('all'),
- 'url' => (isset($vars['all_link'])) ? $vars['all_link'] : "pg/$context/",
+ 'url' => (isset($vars['all_link'])) ? $vars['all_link'] : "pg/$context/all/",
'selected' => ($filter_context == 'everyone'),
),
'mine' => array(
'title' => elgg_echo('mine'),
- 'url' => (isset($vars['mine_link'])) ? $vars['mine_link'] : "pg/$context/$username",
+ 'url' => (isset($vars['mine_link'])) ? $vars['mine_link'] : "pg/$context/owner/$username/",
'selected' => ($filter_context == 'mine'),
),
'friend' => array(
'title' => elgg_echo('friends'),
- 'url' => (isset($vars['friend_link'])) ? $vars['friend_link'] : "pg/$context/$username/friends",
+ 'url' => (isset($vars['friend_link'])) ? $vars['friend_link'] : "pg/$context/friends/$username/",
'selected' => ($filter_context == 'friends'),
),
);
diff --git a/views/default/content/header.php b/views/default/content/header.php
index 469d79269..a7c0d1389 100644
--- a/views/default/content/header.php
+++ b/views/default/content/header.php
@@ -27,7 +27,7 @@ if ($context) {
} else {
if (isloggedin() && $context) {
$username = get_loggedin_user()->username;
- $new_link = elgg_get_array_value('new_link', $vars, "pg/$context/$username/new");
+ $new_link = elgg_get_array_value('new_link', $vars, "pg/$context/new/$username/");
$params = array(
'href' => $new_link = elgg_normalize_url($new_link),
'text' => elgg_echo("$context:new"),