first iteration on the event item

This commit is contained in:
Mario Vavti
2015-11-26 12:26:27 +01:00
parent 41542e6886
commit c7cbd41c16
9 changed files with 84 additions and 5 deletions

View File

@@ -787,6 +787,11 @@ function event_store_item($arr, $event) {
'type' => ACTIVITY_OBJ_EVENT,
'id' => z_root() . '/event/' . $r[0]['resource_id'],
'title' => $arr['summary'],
'start' => $arr['start'],
'finish' => $arr['finish'],
'description' => $arr['description'],
'location' => $arr['location'],
'adjust' => $arr['adjust'],
'content' => format_event_bbcode($arr),
'author' => array(
'name' => $r[0]['xchan_name'],