aboutsummaryrefslogtreecommitdiff
path: root/views/default/content
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-05 03:02:46 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-05 03:02:46 +0000
commit60c803f7104116b93433e417a197331f78bcb23b (patch)
treec56ae918155ac431b3665070f8ab23258a25b3a2 /views/default/content
parentf6efaba63af8100f7cebcbd9414e04ff4187c6c2 (diff)
downloadelgg-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/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"),