aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/views/default/thewire/view.php
blob: e63f88fc622653ff933dccb77998a6f9b3dffd50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

	/**
	 * Elgg thewire view page
	 * 
	 * @package ElggTheWire
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider <info@elgg.com>
	 * @copyright Curverider Ltd 2008-2010
	 * @link http://elgg.com/
	 * 
	 * @uses $vars['entity'] An array of wire notes to view
	 * 
	 */
	 
	// If there are any wire notes to view, view them
		if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) {
			
			foreach($vars['entity'] as $shout) {
				
				echo elgg_view_entity($shout);
				
			}
			
		}

?>