|
| $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 |
|
| $calType = 'week' |
|
| $calLabel = $this->render_partial('calendar/single/_calhead_label_week', compact('week_type')) |
|
if($rowspan > 1) | width = Icon::create('arr_1right', 'clickable', ['title' => _('Eine Woche vor')])->asImg(16, ['style' => 'vertical-align: text-top;']) |
|
| endfor |
|
<? endif;?></colgroup >< thead >< tr >< td style="text-align: center; white-space: nowrap;"<?=$colspan_1 ?><? if( $start > 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'] = Icon::create('arr_1up', 'clickable', ['title' => _('Früher')])->asImg() |
|
<? endif;?></colgroup >< thead >< tr >< td style="text-align: center; white-space: nowrap;"<?=$colspan_1 ?><? if( $start > endif<? for( $i=0;$i< $week_type;$i++) :?>< td style="text-align:center; font-weight:bold;"<?=( $tab_arr[ $i][ 'max_cols'] > getStart()]) ?>"> <span class if ( $holiday=holiday( $calendars[ $i]->getStart())) | color = date('d', $calendars[$i]->getStart()) |
|
height | __pad39__ |
|
overflow | __pad40__ |
|
font | weight |
|