From 212f7c09ea4f1060516b4c573f6a0b28de46ddfb Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 21 Jul 2008 16:58:07 +0000 Subject: Groups using elgg_view_title git-svn-id: https://code.elgg.org/elgg/trunk@1483 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/all.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/groups/all.php') diff --git a/mod/groups/all.php b/mod/groups/all.php index 53d617e42..7a07cb69e 100644 --- a/mod/groups/all.php +++ b/mod/groups/all.php @@ -27,10 +27,13 @@ set_context($context); - $body = elgg_view_layout('one_column',$objects); + $title = sprintf(elgg_echo("groups:all"),page_owner_entity()->name); + $body = elgg_view_title($title); + $body .= $objects; + $body = elgg_view_layout('one_column',$body); // Finally draw the page - page_draw(sprintf(elgg_echo("groups:all"),page_owner_entity()->name), $body); + page_draw($title, $body); -- cgit v1.2.3