aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-23 12:33:01 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-23 12:33:01 +0000
commita47e5b6541084b978d899d30b7f838bad705ea51 (patch)
tree94441ca6bf6f8c9f7186951ffd8d1c6181f4f5fe /mod
parent8ddab046c44e6f8f95a8b82fc492d7b0407389d1 (diff)
downloadelgg-a47e5b6541084b978d899d30b7f838bad705ea51.tar.gz
elgg-a47e5b6541084b978d899d30b7f838bad705ea51.tar.bz2
Completed breadcrumb for addtopic (missed in 5855)
git-svn-id: http://code.elgg.org/elgg/trunk@5862 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/default/forms/forums/addtopic.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/groups/views/default/forms/forums/addtopic.php b/mod/groups/views/default/forms/forums/addtopic.php
index c60966b2a..fcc75f7a7 100644
--- a/mod/groups/views/default/forms/forums/addtopic.php
+++ b/mod/groups/views/default/forms/forums/addtopic.php
@@ -24,9 +24,11 @@
// get the group guid
$group_guid = (int) get_input('group_guid');
- // set breadcrumbs
- elgg_push_breadcrumb('', 'Parent Group Name');
- elgg_push_breadcrumb(elgg_echo('item:object:groupforumtopic'), '');
+ // set up breadcrumbs
+ $group = get_entity($group_guid);
+ elgg_push_breadcrumb(elgg_echo('groups'), $CONFIG->wwwroot."pg/groups/world/");
+ elgg_push_breadcrumb($group->name, $group->getURL());
+ elgg_push_breadcrumb(elgg_echo('item:object:groupforumtopic'), $CONFIG->wwwroot."pg/groups/forum/{$group_guid}/");
elgg_push_breadcrumb(elgg_echo("groups:addtopic"));
echo elgg_view('navigation/breadcrumbs');