aboutsummaryrefslogtreecommitdiff
path: root/views/default/event_calendar/strapline.php
blob: edc60aa3e041fcc0f6c29f8cb11bc8196ab8f83c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="contentWrapper">
<span class="event_calendar_strapline">
<?php

	$event = $vars['entity'];
                
	$time_updated = $event->time_created;
	$owner_guid = $event->owner_guid;
	$owner = get_entity($owner_guid);

	echo sprintf(elgg_echo('event_calendar:strapline'),
					elgg_view_friendly_time($time_updated),
					"<a href=\"" . $owner->getURL() . "\">" . $owner->name ."</a>"
	);

?>
</span>
</div>