24 include_once(
'Services/Calendar/classes/class.ilCalendarUtil.php');
62 $this->seed = clone
$seed;
63 $this->increment = $a_increment;
74 $this->tpl =
new ilTemplate(
'tpl.navigation_header.html',
true,
true,
'Services/Calendar');
75 $this->seed->increment($this->increment,-2);
79 switch($this->increment)
86 $this->tpl->setVariable(
'NAV_NAME_'.++$num,$this->lng->txt(
'week').
' '.$this->seed->get(
IL_CAL_FKT_DATE,
'W'));
92 $this->tpl->setVariable(
'NAV_NAME_'.++$num,
93 $this->lng->txt(
'month_'.$this->seed->get(
IL_CAL_FKT_DATE,
'm').
'_long').
98 $this->tpl->setVariable(
'NAV_NAME_'.++$num,$this->lng->txt(
'month_'.$this->seed->get(
IL_CAL_FKT_DATE,
'm').
'_long'));
102 $this->ctrl->setParameterByClass(get_class($this->cmdClass),
'seed',$this->seed->get(
IL_CAL_DATE));
103 $this->tpl->setVariable(
'NAV_LINK_'.$num,$this->ctrl->getLinkTarget($this->cmdClass,
''));
104 $this->ctrl->clearParametersByClass(get_class($this->cmdClass));
105 $this->seed->increment($this->increment,1);
108 return $this->tpl->get();