aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object/event_calendar/update.php
blob: f4526cd2ad57d4f2c542246a0eff1c798e7051d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

	/*$performed_by = get_entity($vars['item']->subject_guid); 
	$object = get_entity($vars['item']->object_guid);
	
	$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
	$string = sprintf(elgg_echo("event_calendar:river:updated"),$url) . " ";
    $string .= elgg_echo("event_calendar:river:the_event")." <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";*/
    
$object = $vars['item']->getObjectEntity();

echo elgg_view('page/components/image_block', array(
	'image' => '<img src="'.$vars['url'] . 'mod/event_calendar/images/event_icon.gif" />',
	'body' => elgg_view('river/elements/body', $vars),
	'class' => 'elgg-river-item',
));