diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-10 22:05:49 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-10 22:05:49 +0000 |
commit | adae1958a95d7e801de91d673e927cac348236d9 (patch) | |
tree | deb60ecca44c95abc5301b0d64bcd08585e85798 /mod/thewire/pages | |
parent | ea14bfe87eda3af8e8002c64ad909cf592d7fe76 (diff) | |
download | elgg-adae1958a95d7e801de91d673e927cac348236d9.tar.gz elgg-adae1958a95d7e801de91d673e927cac348236d9.tar.bz2 |
Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from most urls in core and plugins
git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/pages')
-rw-r--r-- | mod/thewire/pages/friends.php | 4 | ||||
-rw-r--r-- | mod/thewire/pages/reply.php | 2 | ||||
-rw-r--r-- | mod/thewire/pages/tag.php | 4 | ||||
-rw-r--r-- | mod/thewire/pages/thread.php | 2 | ||||
-rw-r--r-- | mod/thewire/pages/user.php | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/mod/thewire/pages/friends.php b/mod/thewire/pages/friends.php index 239359ec2..6e8642544 100644 --- a/mod/thewire/pages/friends.php +++ b/mod/thewire/pages/friends.php @@ -7,8 +7,8 @@ $owner = elgg_get_page_owner_entity(); $title = elgg_echo('thewire:friends');
-elgg_push_breadcrumb(elgg_echo('thewire'), "pg/thewire/all/");
-elgg_push_breadcrumb($owner->name, "pg/thewire/owner/$owner->username");
+elgg_push_breadcrumb(elgg_echo('thewire'), "thewire/all");
+elgg_push_breadcrumb($owner->name, "thewire/owner/$owner->username");
elgg_push_breadcrumb(elgg_echo('friends'));
$content = list_user_friends_objects($owner->guid, 'thewire', 15, false);
diff --git a/mod/thewire/pages/reply.php b/mod/thewire/pages/reply.php index e349761f2..c29f81669 100644 --- a/mod/thewire/pages/reply.php +++ b/mod/thewire/pages/reply.php @@ -10,7 +10,7 @@ $post = get_entity(get_input('guid')); $title = elgg_echo('thewire:reply');
-elgg_push_breadcrumb(elgg_echo('thewire'), 'pg/thewire/all');
+elgg_push_breadcrumb(elgg_echo('thewire'), 'thewire/all');
elgg_push_breadcrumb($title);
$content = elgg_view('thewire/reply', array('post' => $post));
diff --git a/mod/thewire/pages/tag.php b/mod/thewire/pages/tag.php index 7e62a33de..53f9e9db9 100644 --- a/mod/thewire/pages/tag.php +++ b/mod/thewire/pages/tag.php @@ -5,10 +5,10 @@ $tag = get_input('tag'); if (!$tag) { - forward('pg/thewire/all'); + forward('thewire/all'); } -elgg_push_breadcrumb(elgg_echo('thewire'), 'pg/thewire/all'); +elgg_push_breadcrumb(elgg_echo('thewire'), 'thewire/all'); elgg_push_breadcrumb('#' . $tag); // remove # from tag diff --git a/mod/thewire/pages/thread.php b/mod/thewire/pages/thread.php index 49ca3afd1..8b6ee4bd0 100644 --- a/mod/thewire/pages/thread.php +++ b/mod/thewire/pages/thread.php @@ -7,7 +7,7 @@ $thread_id = get_input('thread_id'); $title = elgg_echo('thewire:thread');
-elgg_push_breadcrumb(elgg_echo('thewire'), 'pg/thewire/all');
+elgg_push_breadcrumb(elgg_echo('thewire'), 'thewire/all');
elgg_push_breadcrumb($title);
$content = elgg_list_entities_from_metadata(array(
diff --git a/mod/thewire/pages/user.php b/mod/thewire/pages/user.php index cc966697f..5645b23ba 100644 --- a/mod/thewire/pages/user.php +++ b/mod/thewire/pages/user.php @@ -8,7 +8,7 @@ $owner = elgg_get_page_owner_entity(); $title = elgg_echo('thewire:user', array($owner->name));
-elgg_push_breadcrumb(elgg_echo('thewire'), "pg/thewire/all/");
+elgg_push_breadcrumb(elgg_echo('thewire'), "thewire/all");
elgg_push_breadcrumb($owner->name);
if (get_loggedin_userid() == $owner->guid) {
|