24 include_once(
'Services/Calendar/classes/class.ilDate.php');
25 include_once(
'Services/Calendar/classes/class.ilCalendarHeaderNavigationGUI.php');
26 include_once(
'Services/Calendar/classes/class.ilCalendarUserSettings.php');
27 include_once(
'Services/Calendar/classes/class.ilCalendarAppointmentColors.php');
28 include_once(
'./Services/Calendar/classes/class.ilCalendarSchedule.php');
64 $this->seed = $seed_date;
69 $this->tabs_gui = $ilTabs;
74 $this->timezone = $ilUser->getTimeZone();
87 $next_class = $ilCtrl->getNextClass();
90 case 'ilcalendarappointmentgui':
91 $this->ctrl->setReturn($this,
'');
92 $this->tabs_gui->setSubTabActive(
$_SESSION[
'cal_last_tab']);
94 include_once(
'./Services/Calendar/classes/class.ilCalendarAppointmentGUI.php');
96 $this->ctrl->forwardCommand($app);
100 $cmd = $this->ctrl->getCmd(
"inbox");
102 $tpl->setContent($this->tpl->get());
117 $this->tpl =
new ilTemplate(
'tpl.inbox.html',
true,
true,
'Services/Calendar');
119 include_once(
'./Services/Calendar/classes/class.ilCalendarInboxSharedTableGUI.php');
120 include_once(
'./Services/Calendar/classes/class.ilCalendarShared.php');
127 $this->tpl->setVariable(
'SHARED_CAL_TABLE',$table->getHTML());
131 $events = $schedule->getChangedEvents(
true);
133 include_once(
'./Services/Calendar/classes/class.ilCalendarChangedAppointmentsTableGUI.php');
136 $table_gui->setTitle($this->lng->txt(
'cal_changed_events_header'));
137 $table_gui->setAppointments($events);
139 $this->tpl->setVariable(
'CHANGED_TABLE',$table_gui->getHTML());
160 include_once(
'./Services/Calendar/classes/class.ilCalendarSharedStatus.php');
163 include_once(
'./Services/Calendar/classes/class.ilCalendarShared.php');
164 foreach(
$_POST[
'cal_ids'] as $calendar_id)
172 $status->accept($calendar_id);
177 $this->ctrl->redirect($this,
'inbox');
198 include_once(
'./Services/Calendar/classes/class.ilCalendarSharedStatus.php');
201 include_once(
'./Services/Calendar/classes/class.ilCalendarShared.php');
202 foreach(
$_POST[
'cal_ids'] as $calendar_id)
210 $status->decline($calendar_id);