diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/content/filter.php | 6 | ||||
-rw-r--r-- | views/default/content/header.php | 2 | ||||
-rw-r--r-- | views/default/css/components/forms.php | 3 |
3 files changed, 7 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"), diff --git a/views/default/css/components/forms.php b/views/default/css/components/forms.php index c9e85e5a3..e54685f86 100644 --- a/views/default/css/components/forms.php +++ b/views/default/css/components/forms.php @@ -164,6 +164,9 @@ input[type="submit"]:hover { text-decoration:none; color:white; } +.action-button { + margin-left: 10px; +} input.action-button, a.action-button { -webkit-border-radius: 5px; |