aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/event_calendar.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-10 12:18:59 +0200
committerSem <sembrestels@riseup.net>2012-08-10 12:18:59 +0200
commit6fd66b2c46ed6c3eb68fd0b05c1e02cd5b996824 (patch)
treebba9be7b9d037d4bb7b844f23103e6a268d273b3 /views/default/object/event_calendar.php
parent3ac2c8fd0cacc57b8080be5f7d381b8cf5524f2f (diff)
parent066365aa7ff1c407040a672e69d999ed8bd337f6 (diff)
downloadelgg-6fd66b2c46ed6c3eb68fd0b05c1e02cd5b996824.tar.gz
elgg-6fd66b2c46ed6c3eb68fd0b05c1e02cd5b996824.tar.bz2
Merge branch 'ical-icon' of github.com:sembrestels/Elgg-Event-Calendar
Diffstat (limited to 'views/default/object/event_calendar.php')
-rw-r--r--views/default/object/event_calendar.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/object/event_calendar.php b/views/default/object/event_calendar.php
index afd4325f1..5779c004c 100644
--- a/views/default/object/event_calendar.php
+++ b/views/default/object/event_calendar.php
@@ -59,9 +59,17 @@ if ($full) {
} else {
echo '<p>'.$event->description.'</p>';
}
+ if ($vars['light_box'] == TRUE) {
+ $event_calendar_add_users = elgg_get_plugin_setting('add_users', 'event_calendar');
+ if ($event_calendar_add_users == 'yes') {
+ $url = "event_calendar/manage_users/$event->guid";
+ echo '<p>'.elgg_view('output/url',array('text'=> elgg_echo('event_calendar:manage_users:breadcrumb'), 'href'=>$url)).'</p>';
+ }
+ }
if (elgg_get_plugin_setting('add_to_group_calendar', 'event_calendar') == 'yes') {
echo elgg_view('event_calendar/forms/add_to_group',array('event' => $event));
}
+
} else {
$time_bit = event_calendar_get_formatted_time($event);