aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/item/wrapper.php
blob: efa377ceb6d1ed3ba8e4e339cd3b4096121270f1 (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
28
29
30
31
32
33
34
35
36
37
38
<?php

	/**
	 * Elgg river item wrapper.
	 * Wraps all river items.
	 * 
	 * @package Elgg
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider
	 * @copyright Curverider Ltd 2008-2009
	 * @link http://elgg.com/
	 */


?>

	<div class="river_item">
		<div class="river_<?php echo $vars['item']->type; ?>">
			<div class="river_<?php echo $vars['item']->subtype; ?>">
				<div class="river_<?php echo $vars['item']->action_type; ?>">				
					<div class="river_<?php echo $vars['item']->type; ?>_<?php echo $vars['item']->subtype; ?>_<?php echo $vars['item']->action_type; ?>">
						<span class="river_item_time">
							<?php
		
								echo $vars['body'];
				
							?>
							(<?php
				
								echo friendly_time($vars['item']->posted);
							
							?>)
						</span>
					</div>
				</div>				
			</div>
		</div>
	</div>