|
|
@ -95,7 +95,7 @@ function user_myshifts() {
|
|
|
|
$shift_entries[] = $user_source['Nick'];
|
|
|
|
$shift_entries[] = $user_source['Nick'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$html .= join(", ", $shift_entries);
|
|
|
|
$html .= join(", ", $shift_entries);
|
|
|
|
$timesum += ($shift['end'] - $shift['start']) / (60*60);
|
|
|
|
$timesum += $shift['end'] - $shift['start'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$html .= '</td>';
|
|
|
|
$html .= '</td>';
|
|
|
@ -114,7 +114,7 @@ function user_myshifts() {
|
|
|
|
return msg().template_render('../templates/user_myshifts.html', array (
|
|
|
|
return msg().template_render('../templates/user_myshifts.html', array (
|
|
|
|
'intro' => sprintf(Get_Text('pub_myshifts_intro'), $LETZTES_AUSTRAGEN),
|
|
|
|
'intro' => sprintf(Get_Text('pub_myshifts_intro'), $LETZTES_AUSTRAGEN),
|
|
|
|
'shifts' => $html,
|
|
|
|
'shifts' => $html,
|
|
|
|
'time_sum' => $timesum,
|
|
|
|
'time_sum' => round($timesum / (60*60), 1),
|
|
|
|
'msg' => $msg,
|
|
|
|
'msg' => $msg,
|
|
|
|
'ical_text' => sprintf(Get_Text('inc_schicht_ical_text'),
|
|
|
|
'ical_text' => sprintf(Get_Text('inc_schicht_ical_text'),
|
|
|
|
page_link_to_absolute('ical') . '&key=' . $shifts_user['ical_key'],
|
|
|
|
page_link_to_absolute('ical') . '&key=' . $shifts_user['ical_key'],
|
|
|
|