getValue('remote_cals')); $current_user = Auth::getAuth(); $my_calendars = array(); $shared_calendars = array(); foreach (Kronolith::listCalendars() as $id => $cal) { if ($cal->get('owner') == $current_user) { $my_calendars[$id] = $cal; } else { $shared_calendars[$id] = $cal; } } if (strstr($_SERVER['PHP_SELF'], 'month.php') !== false || strstr($_SERVER['PHP_SELF'], 'week.php') !== false || strstr($_SERVER['PHP_SELF'], 'workweek.php') !== false || strstr($_SERVER['PHP_SELF'], 'day.php') !== false): ?>
notify(array('listeners' => 'status')) ?>