diff options
Diffstat (limited to 'views/default/friends/list.php')
| -rw-r--r-- | views/default/friends/list.php | 27 | 
1 files changed, 27 insertions, 0 deletions
| diff --git a/views/default/friends/list.php b/views/default/friends/list.php new file mode 100644 index 000000000..20676a2b7 --- /dev/null +++ b/views/default/friends/list.php @@ -0,0 +1,27 @@ +<?php
 +
 +	/**
 +	 * Elgg friends list
 +	 * Lists a user's friends
 +	 * 
 +	 * @package Elgg
 +	 * @subpackage Core
 +	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
 +	 * @author Curverider Ltd
 +	 * @copyright Curverider Ltd 2008
 +	 * @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,"",false);
 +				
 +			}
 +			
 +		}
 +
 +?>
\ No newline at end of file | 
