aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/index.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-21 16:58:07 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-21 16:58:07 +0000
commit212f7c09ea4f1060516b4c573f6a0b28de46ddfb (patch)
tree28176fab76b6b60925ecfbe61b5b08e5b348fe0f /mod/groups/index.php
parentd8a0b9c1fa81f107bf8fbe18540f12e99a87deed (diff)
downloadelgg-212f7c09ea4f1060516b4c573f6a0b28de46ddfb.tar.gz
elgg-212f7c09ea4f1060516b4c573f6a0b28de46ddfb.tar.bz2
Groups using elgg_view_title
git-svn-id: https://code.elgg.org/elgg/trunk@1483 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/index.php')
-rw-r--r--mod/groups/index.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/groups/index.php b/mod/groups/index.php
index 850fd4c3b..e4ca5a3ed 100644
--- a/mod/groups/index.php
+++ b/mod/groups/index.php
@@ -13,6 +13,8 @@
$limit = get_input("limit", 10);
$offset = get_input("offset", 0);
+
+ $title = sprintf(elgg_echo("groups:yours"),page_owner_entity()->name);
// Get objects
$context = get_context();
@@ -21,8 +23,10 @@
$objects = list_entities("group", "", page_owner(), $limit, false);
set_context($context);
- $body = elgg_view_layout('one_column',$objects);
+ $body = elgg_view_title($title);
+ $body .= $objects;
+ $body = elgg_view_layout('one_column',$body);
// Finally draw the page
- page_draw(sprintf(elgg_echo("groups:yours"),page_owner_entity()->name), $body);
+ page_draw($title, $body);
?> \ No newline at end of file