aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object/event_calendar/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/object/event_calendar/update.php')
-rw-r--r--views/default/river/object/event_calendar/update.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/views/default/river/object/event_calendar/update.php b/views/default/river/object/event_calendar/update.php
index 5a5d376b1..f4526cd2a 100644
--- a/views/default/river/object/event_calendar/update.php
+++ b/views/default/river/object/event_calendar/update.php
@@ -1,12 +1,16 @@
<?php
- $performed_by = get_entity($vars['item']->subject_guid);
+ /*$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>";
+ $string .= elgg_echo("event_calendar:river:the_event")." <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";*/
-?>
+$object = $vars['item']->getObjectEntity();
-<?php echo $string; ?> \ No newline at end of file
+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',
+));