|
Stud.IP
3.2 Revision
|
Variables | |
| $at = date('G', $atime) | |
| if($at >=$settings['start'] && $at<=$settings['end']||! $atime) elseif($at< $settings['start']) | else |
| $end = 23 | |
| $tab_arr = '' | |
| $max_columns = 0 | |
| $week_type = $settings['type_week'] == 'SHORT' ? 5 : 7 | |
| $rows = ($end - $start + 1) * 3600 / $settings['step_week'] | |
| for($i=0; $i< $week_type; $i++) | $rowspan = ceil(3600 / $settings['step_week']) |
| $height = ' height="20"' | |
| $colspan_2 = $max_columns + 2 | |
| $width_daycols = 100 - (2 + $week_type) * 0.1 | |
| if($rowspan > 1) | width |
| endfor | |
| <? endif;?></colgroup >< thead >< tr >< td colspan="<?= $colspan_2 ?> style printf (_("%s. Woche vom %s bis %s"), strftime("%V", $calendars[0]->getStart()), strftime("%x", $calendars[0]->getStart()), strftime("%x", $calendars[$week_type - 1]->getStart())) ?> </div> <div styleif ($start > 0) ('calendar/single/week', array('atime' => mktime($start - 1, 0, 0, date('n', $atime), date('j', $atime), date('Y', $atime)))) ?>"><? endif<? for( $i=0;$i< $week_type;$i++) :?>< td style="text-align:center; font-weight:bold;"<?=( $tab_arr[ $i][ 'max_cols'] > | $tab_arr [$i]['max_cols'] = Assets::img('icons/16/blue/arr_1up.png', tooltip2(_('zeig davor'))) |
| <? endif;?></colgroup >< thead >< tr >< td colspan="<?= $colspan_2 ?> style printf (_("%s. Woche vom %s bis %s"), strftime("%V", $calendars[0]->getStart()), strftime("%x", $calendars[0]->getStart()), strftime("%x", $calendars[$week_type - 1]->getStart())) ?> </div> <div styleif ($start > 0) ('calendar/single/week', array('atime' => mktime($start - 1, 0, 0, date('n', $atime), date('j', $atime), date('Y', $atime)))) ?>"><? endif<? for( $i=0;$i< $week_type;$i++) :?>< td style="text-align:center; font-weight:bold;"<?=( $tab_arr[ $i][ 'max_cols'] > array( 'atime'=> $calendars[ $i]->getStart())) ?>"> <? if ( $holiday=holiday( $calendars[ $i]->getStart())) | color = strftime('%a', $calendars[$i]->getStart()) . ' ' . date('d', $calendars[$i]->getStart()) |
| height | __pad28__ |
| overflow | __pad29__ |
| font | weight |
| $at = date('G', $atime) |
| $colspan_2 = $max_columns + 2 |
| $end = 23 |
| $max_columns = 0 |
| $rows = ($end - $start + 1) * 3600 / $settings['step_week'] |
| for ( $i=0;$i< $week_type;$i++) $rowspan = ceil(3600 / $settings['step_week']) |
| $tab_arr = '' |
| <? endif; ?></colgroup><thead><tr><td colspan="<?= $colspan_2 ?> style printf (_("%s. Woche vom %s bis %s"), strftime("%V", $calendars[0]->getStart()), strftime("%x", $calendars[0]->getStart()), strftime("%x", $calendars[$week_type - 1]->getStart())) ?> </div> <div styleif ($start > 0) ('calendar/single/week', array('atime' => mktime($start - 1, 0, 0, date('n', $atime), date('j', $atime), date('Y', $atime)))) ?>"> <? endif<? for ($i = 0; $i < $week_type; $i++) : ?><td style="text-align:center; font-weight:bold;"<?= ($tab_arr[$i]['max_cols'] > $tab_arr[ $i][ 'max_cols'] = Assets::img('icons/16/blue/arr_1up.png', tooltip2(_('zeig davor'))) |
| $week_type = $settings['type_week'] == 'SHORT' ? 5 : 7 |
| $width_daycols = 100 - (2 + $week_type) * 0.1 |
| height __pad28__ |
| overflow __pad29__ |
| <? endif; ?></colgroup><thead><tr><td colspan="<?= $colspan_2 ?> style printf (_("%s. Woche vom %s bis %s"), strftime("%V", $calendars[0]->getStart()), strftime("%x", $calendars[0]->getStart()), strftime("%x", $calendars[$week_type - 1]->getStart())) ?> </div> <div styleif ($start > 0) ('calendar/single/week', array('atime' => mktime($start - 1, 0, 0, date('n', $atime), date('j', $atime), date('Y', $atime)))) ?>"> <? endif<? for ($i = 0; $i < $week_type; $i++) : ?><td style="text-align:center; font-weight:bold;"<?= ($tab_arr[$i]['max_cols'] > array ('atime' => $calendars[$i]->getStart())) ?>"> <? if ( $holiday=holiday( $calendars[ $i]->getStart())) color = strftime('%a', $calendars[$i]->getStart()) . ' ' . date('d', $calendars[$i]->getStart()) |
| if($minutes == 0) ($y = 0; $y < $week_type; $y++) (date( 'Ymd', $calendars[ $y]->getStart())==date( 'Ymd')) else |
| endfor |
| font weight |
| if ( $rowspan > 1) width |