showCalendar($userLogin);
} catch (Exception $e) {
UI::alert('danger', "Error: " . $e->getMessage());
}
UI::dol();
}
public function showCalendar($userLogin) {
echo '
';
echo '
";
// echo "";
echo '';
echo '
';
echo '';
echo '
';
// echo '';
UI::inlineJS(APP_PATH_WWW . '/static/calendar.js', [
'BASE_URL' => Request::getPathUri(),
'USER' => $userLogin,
'TableId' => ProcesHelper::getZasobTableID('GRAFIK_PRACY'),
'CALENDAR_NODE_ID' => 'calendar',
'DBG' => (V::get('DBG', '', $_GET)) ? 1 : 0
]);
$this->showCss();
//echo '
';
}
public function showCss(){
?>