aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/all.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-26 17:45:16 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-26 17:45:16 +0000
commit40b55e871e12699ab40ec720c457550e972cdb1f (patch)
treecbe0d14b2389b799da670b5c7fa7a75b607a2334 /mod/groups/all.php
parentb36b1a1a51cf8bdc2a4665b23c4a62c26e2bfca8 (diff)
downloadelgg-40b55e871e12699ab40ec720c457550e972cdb1f.tar.gz
elgg-40b55e871e12699ab40ec720c457550e972cdb1f.tar.bz2
Updated calls to content_header to point to correct new link in groups.
git-svn-id: http://code.elgg.org/elgg/trunk@5880 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/all.php')
-rw-r--r--mod/groups/all.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index d397abe2f..8e99ea780 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -62,7 +62,7 @@
$objects = "<div class='group_listings'>".$objects."</div>";
$title = sprintf(elgg_echo("groups:all"),page_owner_entity()->name);
- $area1 .= elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'groups'));
+ $area1 .= elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'groups', 'new_link' => "{$CONFIG->url}pg/groups/new"));
$area1 .= elgg_view("groups/group_sort_menu", array("count" => $group_count, "filter" => $filter)) . $objects;
$body = elgg_view_layout('one_column_with_sidebar', $area1, $area2);
@@ -71,4 +71,4 @@
-?> \ No newline at end of file
+?>