first commit
This commit is contained in:
@ -0,0 +1,214 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.29, created on 2022-07-19 08:25:24
|
||||
from "C:\xampp_7.4.24\htdocs\deputat\templates\modern\erm_mutterschutz.html" */
|
||||
|
||||
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
|
||||
'has_nocache_code' => false,
|
||||
'version' => '3.1.29',
|
||||
'unifunc' => 'content_62d64e54f33c60_50745280',
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'478858eb2f2625d1277f982742b1158bff0486a6' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_7.4.24\\htdocs\\deputat\\templates\\modern\\erm_mutterschutz.html',
|
||||
1 => 1658138657,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_62d64e54f33c60_50745280 ($_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<html>
|
||||
<head>
|
||||
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_refill.css">
|
||||
<link rel="stylesheet" href="jquery/jquery-ui.css">
|
||||
<?php echo '<script'; ?>
|
||||
src="jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="jquery/jquery-ui.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
$(function() {
|
||||
$(".datepicker").datepicker({
|
||||
prevText: '< zurück', prevStatus: '',
|
||||
prevJumpText: '<<', prevJumpStatus: '',
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
nextText: 'Vor >', nextStatus: '',
|
||||
nextJumpText: '>>', nextJumpStatus: '',
|
||||
currentText: 'Heute', currentStatus: '',
|
||||
todayText: 'Heute', todayStatus: '',
|
||||
clearText: '-', clearStatus: '',
|
||||
closeText: 'schließen', closeStatus: '',
|
||||
monthNames: ['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
|
||||
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
|
||||
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
|
||||
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
weekHeader: 'Wo',
|
||||
weekStatus: 'Woche des Monats',
|
||||
showMonthAfterYear: false,
|
||||
showOn: 'focus',
|
||||
firstDay: 1,
|
||||
numberOfMonths : 1,
|
||||
showButtonPanel : true,
|
||||
altField : "#datepicker_input",
|
||||
dateFormat : "dd.mm.yy",
|
||||
showWeek: true
|
||||
});
|
||||
$.datepicker._gotoToday = function(id) {
|
||||
$(id).datepicker('setDate', new Date()).datepicker('hide').blur();
|
||||
}
|
||||
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src='iframe-resizer-master/js/iframeResizer.contentWindow.min.js'><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
function calc_muschu() {
|
||||
/*
|
||||
Diese Funktion berechnet die LVS
|
||||
*/
|
||||
var sws = 1;
|
||||
var beginn_funktion = document.getElementById('beginn_funktion').value;
|
||||
var ende_funktion = document.getElementById('ende_funktion').value;
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'fetch_mutterschutz.php',
|
||||
data: {
|
||||
get_beginn_funktion: beginn_funktion,
|
||||
get_ende_funktion: ende_funktion
|
||||
},
|
||||
success: function (response) {
|
||||
var str1 = response.split("||");
|
||||
document.getElementById("gesamtvolumen_count").innerHTML = "<strong>" + str1[0] + "</strong>";
|
||||
|
||||
/* LVS Wert in hidden Inputfeld setzen, damit es mit $_POST übertragen wird beim speichern*/
|
||||
document.getElementById("lvs").value = str1[1];
|
||||
}
|
||||
});
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
<style>
|
||||
.StandardTable thead th{
|
||||
background: lightgray;
|
||||
border: 1px solid #656565;
|
||||
font-size:12px;
|
||||
font-family:Arial;
|
||||
padding-top:5px;
|
||||
padding-bottom:5px;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
textarea{
|
||||
border: 1px solid #888;
|
||||
height: 6.7em;
|
||||
width: 48.5em;
|
||||
}
|
||||
select{
|
||||
width:630px;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript" >
|
||||
function loader(){
|
||||
if(document.erfassen)document.erfassen.sws.focus();return false;
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
</head>
|
||||
<?php if ($_smarty_tpl->tpl_vars['muschu_status']->value == 'edit') {?>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
setTimeout(calc_muschu, 100);
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php }?>
|
||||
|
||||
<body onload="setTimeout(loader, 1500);">
|
||||
|
||||
<form action="?action=save" method='post' name='erfassen'>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['muschu_error']->value == '1') {?>
|
||||
<table width="70%" class="errorTable" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/images/pflichtfelder/achtung_gross.gif">
|
||||
</td>
|
||||
<td><b>Achtung!</b><br>
|
||||
<?php echo $_smarty_tpl->tpl_vars['muschu_error_text']->value;?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<?php }?>
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Mutterschutz/Elternzeit erfassen</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
|
||||
<tr>
|
||||
<tr id="erm_freist_hinweis">
|
||||
<td width="30%">
|
||||
|
||||
</td>
|
||||
<td valign="top">
|
||||
<table width="70%" class="errorTable">
|
||||
<tr>
|
||||
<td>
|
||||
<b>Hinweis</b><br>
|
||||
<ul>
|
||||
<li>Das Dekanat wird sich mit Ihnen bezüglich der Berechnung Ihrer LVS aufgrund Ihrer Mutterschutz/Elterzeiten in Verbindung setzen
|
||||
und mit Ihnen die Berechnung besprechen.</li>
|
||||
<li>Danach wird die LVS-Stundenanzahl aufgrund Ihrer Mutterschutz/Elternzeit in das Programm vom Dekanat eingetragen.</li>
|
||||
</ul>
|
||||
<div id="gesamtvolumen_count"></div>
|
||||
<input type="hidden" name="lvs" id="lvs" size="101">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<p align='center'>
|
||||
<?php if ($_smarty_tpl->tpl_vars['muschu_erf']->value == 1) {?>
|
||||
<input type='submit' name='senden' value="Mutterschutz/Elternzeit beantragen (hier klicken)">
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['muschu_erf']->value == 2) {?>
|
||||
<label>Antrag auf Mutterschutz/Elternzeit wurde bearbeitet</label>
|
||||
<?php } else { ?>
|
||||
<input type='submit' name='senden' value="Antrag Mutterschutz/Elternzeit löschen (Antragsdatum vom <?php echo $_smarty_tpl->tpl_vars['muschu_erf_dat']->value;?>
|
||||
)">
|
||||
<?php }?>
|
||||
</p>
|
||||
<br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user