diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-05 03:02:46 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-05 03:02:46 +0000 |
commit | 60c803f7104116b93433e417a197331f78bcb23b (patch) | |
tree | c56ae918155ac431b3665070f8ab23258a25b3a2 /views/default | |
parent | f6efaba63af8100f7cebcbd9414e04ff4187c6c2 (diff) | |
download | elgg-60c803f7104116b93433e417a197331f78bcb23b.tar.gz elgg-60c803f7104116b93433e417a197331f78bcb23b.tar.bz2 |
Clean-up of the blog plugin - now using urls from 1.7.5
git-svn-id: http://code.elgg.org/elgg/trunk@7535 36083f99-b078-4883-b0ff-0f9b5a30f544
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; |