From c14a496b158c572a7aa33dca03f41d52c72f686f Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 4 Aug 2008 20:02:05 +0000 Subject: new group profile views git-svn-id: https://code.elgg.org/elgg/trunk@1692 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/groups/items.php | 28 ++++++++++++++++++++++++++++ mod/groups/views/default/groups/members.php | 27 +++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 mod/groups/views/default/groups/items.php create mode 100644 mod/groups/views/default/groups/members.php (limited to 'mod/groups/views/default') diff --git a/mod/groups/views/default/groups/items.php b/mod/groups/views/default/groups/items.php new file mode 100644 index 000000000..64b87063b --- /dev/null +++ b/mod/groups/views/default/groups/items.php @@ -0,0 +1,28 @@ +"; + echo elgg_view("groups/members",array('entity' => $vars['entity'])); + echo ""; + + //forums + echo "
"; + echo elgg_view("groups/forums",array('entity' => $vars['entity'])); + echo "
"; + + //messageboard + echo "
"; + echo elgg_view("groups/messageboard",array('entity' => $vars['entity'])); + echo "
"; + +?> \ No newline at end of file diff --git a/mod/groups/views/default/groups/members.php b/mod/groups/views/default/groups/members.php new file mode 100644 index 000000000..3f3453f85 --- /dev/null +++ b/mod/groups/views/default/groups/members.php @@ -0,0 +1,27 @@ + + +

+ +getMembers(20); + foreach($members as $mem){ + + echo "
" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'small')) . "
"; + + } + +?> \ No newline at end of file -- cgit v1.2.3