diff options
Diffstat (limited to 'mod/tabbed_profile/views/default/profile/tabs/groups.php')
-rw-r--r-- | mod/tabbed_profile/views/default/profile/tabs/groups.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/tabbed_profile/views/default/profile/tabs/groups.php b/mod/tabbed_profile/views/default/profile/tabs/groups.php new file mode 100644 index 000000000..323bb61f1 --- /dev/null +++ b/mod/tabbed_profile/views/default/profile/tabs/groups.php @@ -0,0 +1,11 @@ +<?php
+/**
+ * Profile groups
+ **/
+$groups = list_entities_from_relationship('member',$vars['entity']->getGUID(),false,'group','',0, $limit,false, false);
+
+if(!$groups) {
+ $groups = '<p>' . elgg_echo('profile:no_groups') . '</p>';
+}
+
+echo $groups;
\ No newline at end of file |