|
| | $atime = Request::int('atime') |
| |
| | $element_switch = Request::get('element_switch', 0) |
| |
| | $element_depending = (!is_null(Request::get('element_depending')) && preg_match('!^[0-9a-z_-]{2,40}$!i', Request::get('element_depending'))) ? Request::get('element_depending') : '' |
| |
| | $form_name = (!is_null(Request::get('form_name')) && preg_match('!^[0-9a-z_-]{2,40}$!i', Request::get('form_name'))) ? Request::quoted('form_name') : '' |
| |
| | $submit = Request::int('submit') |
| |
| | $c = !is_null(Request::get('c')) ? Request::get('c') : 0 |
| |
| | $mcount = Request::get('mcount', 1) |
| |
| | $ss = Request::int('ss', '') |
| |
| | $sm = Request::int('sm', '') |
| |
| | $es = Request::int('es', '') |
| |
| | $em = Request::int('em', '') |
| |
| | $q = ($ss !== '') ? "&ss=$ss&sm=$sm&es=$es&em=$em" : '' |
| |
| if(isset($GLOBALS['TIME_PRESETS']) &&is_array($GLOBALS['TIME_PRESETS']) &&count($GLOBALS['TIME_PRESETS']) > 0) | else |
| |
| | $zz = array() |
| |
| | $preset_error = _("Ihr Systemverwalter hat leider keine Standardzeiten vorgegeben.") |
| |
| | $jsarray = "zz = new Array();\n" |
| |
| | $function_addition = '' |
| |
| switch($element_switch) | $title = _("Kalender") |
| |
| | $resize = '' |
| |
| | $stylesheet = Assets::stylesheet_path('style.css') |
| |
| echo;require_once( $RELATIVE_PATH_CALENDAR . '/calendar_visual.inc.php'); $imt=Request::int( 'imt', time()); $js[ 'function']='insert_date' . $function_addition;if( $mcount > 3) { if( $mcount > 12) $mcount=12;if( $mcount % 2==1) $mcount++;$mcounth=$mcount/2;$atimex=getdate( $imt);$i=0;if(! $kalender &&$preset_error !='') { parse_window( 'info§' . $preset_error, '§', '', '< div align="center">'. LinkButton::createCancel(_( 'schließen'), 'javascript:window.close();') .'</div >');} else { echo '< table class="blank" border=0 align="center">< tr valign=top ></tr >< tr valign=top >< td class="blank"> mon year | javascript |
| |
| </td ></tr >< tr >< td class="blank" colspan="', $mcounth, '" align=center >< form name="TimeForm" action="javascript:void(0);">< table class="tabdaterow" cellspacing="0" cellpadding="0" align="center">< tr > tddaterowpx checked | tddaterowp |
| |
| & | nbsp |
| |
| | __pad0__ |
| |
| | $txtzeitc = $zz[$z][0] . ':' . $zz[$z][1] . ' - ' . $zz[$z][2] . ':' . $zz[$z][3] . ' ' . _("Uhr") . ' ' . _("eintragen") |
| |
| | $selx |
| |
| | tooltip ( $txtzeitc) |
| |
| | $z |
| |
| | $check |
| |
| | $txtzeit |
| |
| | n |
| |
| | if ( $sel==0 &&$ss !='' &&$sm !='' &&$es !='' &&$em !='') |
| |
| | elseif ( $preset_error !='') |
| |
| | $zeiten_buttons = LinkButton::create(_('übernehmen'), 'javascript:insert_time' . $function_addition. '()').' '. LinkButton::createCancel(_('abbrechen'), 'javascript:window.close();') |
| |