diff options
Diffstat (limited to 'views/default/friends/list.php')
-rw-r--r-- | views/default/friends/list.php | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/views/default/friends/list.php b/views/default/friends/list.php index 3907479bd..7bc42a015 100644 --- a/views/default/friends/list.php +++ b/views/default/friends/list.php @@ -1,27 +1,18 @@ <?php +/** + * Elgg friends list + * Lists a user's friends + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + * + * @uses $vars['friends'] The array of ElggUser objects + */ - /** - * Elgg friends list - * Lists a user's friends - * - * @package Elgg - * @subpackage Core - - * @author Curverider Ltd - - * @link http://elgg.org/ - * - * @uses $vars['friends'] The array of ElggUser objects - */ - - if (is_array($vars['friends']) && sizeof($vars['friends']) > 0) { - - foreach($vars['friends'] as $friend) { - - echo elgg_view_entity($friend); - - } - - } - -?>
\ No newline at end of file +if (is_array($vars['friends']) && sizeof($vars['friends']) > 0) { + foreach($vars['friends'] as $friend) { + echo elgg_view_entity($friend); + } +}
\ No newline at end of file |