first commit
This commit is contained in:
@ -0,0 +1,381 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.29, created on 2022-07-21 07:31:17
|
||||
from "C:\xampp_7.4.24\htdocs\deputat\templates\modern\erm_abw_lehrbedarf.html" */
|
||||
|
||||
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
|
||||
'has_nocache_code' => false,
|
||||
'version' => '3.1.29',
|
||||
'unifunc' => 'content_62d8e4a5397723_47851058',
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'83e8c2f33062dfc3ea2b471c290ef267f717dc9b' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_7.4.24\\htdocs\\deputat\\templates\\modern\\erm_abw_lehrbedarf.html',
|
||||
1 => 1658381468,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_62d8e4a5397723_47851058 ($_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'; ?>
|
||||
src="jquery/globalize.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="jquery/globalize.culture.de-DE.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="jquery/jquery.mousewheel.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<style type="text/css">
|
||||
.spinner {
|
||||
width: 200px;
|
||||
height: 15px;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$( function() {
|
||||
$( ".spinner" ).spinner({
|
||||
step: 0.5,
|
||||
numberFormat: "i",
|
||||
min:-300,
|
||||
max:300,
|
||||
decimals:0
|
||||
});
|
||||
Globalize.culture( "de-DE" );
|
||||
|
||||
} );
|
||||
function trackKeys(evnt,regEx) {
|
||||
var keyCode = evnt.keyCode ? evnt.keyCode : evnt.which;
|
||||
return !!String.fromCharCode(keyCode).match(regEx);
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!--
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$( function() {
|
||||
$( ".spinner" ).spinner({
|
||||
change: function (event, ui) {
|
||||
calc_erm_78();
|
||||
},
|
||||
spin: function (event, ui) {
|
||||
calc_erm_78();
|
||||
},
|
||||
start: function (event, ui) {
|
||||
calc_erm_78();
|
||||
},
|
||||
stop: function (event, ui) {
|
||||
calc_erm_78();
|
||||
},
|
||||
step: 0.1,
|
||||
numberFormat: "i",
|
||||
min:0,
|
||||
decimals:0
|
||||
});
|
||||
Globalize.culture( "de-DE" );
|
||||
} );
|
||||
|
||||
function trackKeys(evnt,regEx) {
|
||||
var keyCode = evnt.keyCode ? evnt.keyCode : evnt.which;
|
||||
return !!String.fromCharCode(keyCode).match(regEx);
|
||||
}
|
||||
|
||||
<?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_erm_78() {
|
||||
/*
|
||||
Diese Funktion berechnet die LVS
|
||||
*/
|
||||
var sws = document.getElementById('sws').value;
|
||||
var beginn_funktion = document.getElementById('beginn_funktion').value;
|
||||
var ende_funktion = document.getElementById('ende_funktion').value;
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'fetch_lvs_erm_7-8.php',
|
||||
data: {
|
||||
get_option: sws,
|
||||
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>
|
||||
</head>
|
||||
<!--
|
||||
<?php if ($_smarty_tpl->tpl_vars['abwlehrb_status']->value == 'edit') {?>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
setTimeout(calc_erm_78, 100);
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php }?>
|
||||
-->
|
||||
<body onload="if(document.erfassen)document.erfassen.sws.focus();return false;">
|
||||
|
||||
<form action="?action=save" method='post' name='erfassen'>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['abwlehrb_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['abwlehrb_error_text']->value;?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<?php }?>
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Ermäßigung erfassen</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
|
||||
<tr>
|
||||
<td>
|
||||
Abweichender Lehrbedarf in LVS eintragen
|
||||
</td>
|
||||
<td>
|
||||
<!--<input type="text" class="datepicker" name="beginn_funktion" id="beginn_funktion" value="<?php echo $_smarty_tpl->tpl_vars['abwlehrb_value_datumvon']->value;?>
|
||||
" onchange='calc_erm_78();'>-->
|
||||
<input type="text" class="spinner" name="lvs" id="lvs" size="101" value="<?php echo $_smarty_tpl->tpl_vars['abwlehrb_value_std']->value;?>
|
||||
" onKeypress="return trackKeys(event,/[0-9,]/);">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
Befristung bis:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" class="datepicker" name="befristung_bis" id="befristung_bis" value="<?php echo $_smarty_tpl->tpl_vars['abwlehrb_value_befristung_bis']->value;?>
|
||||
">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<tr>
|
||||
<tr id="erm_freist_hinweis">
|
||||
<td width="30%">
|
||||
|
||||
</td>
|
||||
<td valign="top">
|
||||
<table width="70%" class="errorTable">
|
||||
<tr>
|
||||
<td>
|
||||
<b>Hinweise</b><br>
|
||||
<ul>
|
||||
<li>§ 6 LVVO regelt einen abweichenden Lehrbedarf.</li>
|
||||
<li>Der eingegebene Wert wird für die manuelle Berechnung zugrunde gelegt</li>
|
||||
<!--<li>Bei einer Verringerung des Lehrangebots tragen Sie die LVS mit einem negativen Wert ein</li>-->
|
||||
<li>Falls die Lehrverpflichtung in Absprache mit dem Dekanat zeitlich befristet erhöht worden ist, bitte das Forumlar ausfüllen und absenden</li>
|
||||
<!--<li>Rechenweg: SWS x Semesterwochen x ausgeübte Tage der Funktion x Anzahl der Tage im Jahr (365 bzw. 366)</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'>
|
||||
<input type='submit' name='senden' value="Speichern">
|
||||
</p>
|
||||
<br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br />
|
||||
<br />
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Erfasste Ermäßigungen</b>
|
||||
</legend>
|
||||
<table cellspacing="0" cellpadding="2" width="100%" border="1">
|
||||
<tr>
|
||||
<td>
|
||||
<b>lfd.Nr.</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<b>Befristung bis</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<b>Beantragung in LVS</b>
|
||||
</td>
|
||||
<td align="center">
|
||||
<b>Edit</b>
|
||||
</td>
|
||||
<tr>
|
||||
<?php
|
||||
$__section_table_data2_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
|
||||
$__section_table_data2_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data2_0_total = $__section_table_data2_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data2_0_total != 0) {
|
||||
for ($__section_table_data2_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_0_iteration <= $__section_table_data2_0_total; $__section_table_data2_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_0_iteration;
|
||||
?>
|
||||
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null) != '') {?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null);?>
|
||||
|
||||
</td>
|
||||
<td align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['ende'];?>
|
||||
|
||||
</td>
|
||||
<td align="right">
|
||||
<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['lvs'];?>
|
||||
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href=?edit=<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['deid'];?>
|
||||
><img title = "Abweichung bearbeiten" border="0" height=10 src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/images/edit.png"></a>
|
||||
|
||||
<a href="?action=del&deid=<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['deid'];?>
|
||||
"><img title = 'Abweichung löschen' border="0" height=10 src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/images/drop.png"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
if ($__section_table_data2_0_saved) {
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_0_saved;
|
||||
}
|
||||
?>
|
||||
<!--
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
<td align="right"><b>Summe: <?php echo $_smarty_tpl->tpl_vars['abwlehrb_value_summe_jahr']->value;?>
|
||||
</b></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
-->
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user