aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 22:39:20 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 22:39:20 +0000
commit736667c429cb84ab62f49814e2fcf94ca2c8b89b (patch)
tree4b8908af0863f52c6ea96a83087cd837adf56aa6 /mod/groups/views
parentae6e0093ba62cc6e69f6aa41d4f163de52747418 (diff)
downloadelgg-736667c429cb84ab62f49814e2fcf94ca2c8b89b.tar.gz
elgg-736667c429cb84ab62f49814e2fcf94ca2c8b89b.tar.bz2
updated the groups plugin to use the new icon structure
git-svn-id: http://code.elgg.org/elgg/trunk@8052 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/group/default.php7
-rw-r--r--mod/groups/views/default/groups/profile/profile_block.php7
2 files changed, 3 insertions, 11 deletions
diff --git a/mod/groups/views/default/group/default.php b/mod/groups/views/default/group/default.php
index 568867da9..d025a894b 100644
--- a/mod/groups/views/default/group/default.php
+++ b/mod/groups/views/default/group/default.php
@@ -1,16 +1,13 @@
<?php
/**
- * Elgg groups profile display
+ * Group entity view
*
* @package ElggGroups
*/
$group = $vars['entity'];
-$icon = elgg_view("groups/icon", array(
- 'entity' => $group,
- 'size' => 'tiny',
-));
+$icon = elgg_view_entity_icon($group, 'tiny');
//get the membership type
$membership = $group->membership;
diff --git a/mod/groups/views/default/groups/profile/profile_block.php b/mod/groups/views/default/groups/profile/profile_block.php
index 98595ad07..a0d41ba14 100644
--- a/mod/groups/views/default/groups/profile/profile_block.php
+++ b/mod/groups/views/default/groups/profile/profile_block.php
@@ -21,12 +21,7 @@ $profile_fields = elgg_get_config('group');
<div class="group_profile clearfix">
<div class="group_profile_column icon">
<div class="group_profile_icon">
- <?php
- echo elgg_view('groups/icon', array(
- 'entity' => $group,
- 'size' => 'large',
- ));
- ?>
+ <?php echo elgg_view_entity_icon($group, 'large', array('href' => '')); ?>
</div>
<div class="group_stats">
<p>