mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
First commit
This commit is contained in:
@@ -45,8 +45,13 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www
|
||||
<link rel="stylesheet" type="text/css" href="../../skin/jquery-ui.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../skin/simplecropper.css">'.
|
||||
cropCss().'
|
||||
<script type="text/javascript" src="../../include/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/jquery.min.1.11.1.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/jquery.Jcrop.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/jquery.SimpleCropper.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/cropper.js"></script>
|
||||
|
||||
@@ -47,14 +47,17 @@ echo '
|
||||
<link rel="stylesheet" href="../../../skin/styles/jquery.css" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/jquery-ui-1.9.2.custom.min.css" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/jquery.ui.timepicker.css" type="text/css"/>
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script src="../../../include/tiny_mce/tiny_mce.js" type="text/javascript" ></script>
|
||||
<script src="../../../include/js/jquery.ui.timepicker.js" type="text/javascript" ></script>
|
||||
<script src="../../../vendor/fgelinas/timepicker/jquery.ui.timepicker.js" type="text/javascript" ></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
$(document).ready(function()
|
||||
{
|
||||
$.datepicker.setDefaults( $.datepicker.regional[ "de" ] );
|
||||
$("#datepicker_datum").datepicker(
|
||||
$("#datepicker_datum").datepicker(
|
||||
{
|
||||
changeMonth: true,
|
||||
defaultDate: "+7",
|
||||
@@ -68,7 +71,7 @@ echo '
|
||||
minutes: {starts: 30, ends: 150, interval: 30},
|
||||
rows: 5,
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
@@ -79,12 +82,12 @@ echo '
|
||||
theme : "advanced",
|
||||
language : "de",
|
||||
file_browser_callback: "FHCFileBrowser",
|
||||
|
||||
|
||||
plugins : "spellchecker,pagebreak,style,layer,table,advhr,advimage,advlink,inlinepopups,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
|
||||
|
||||
|
||||
// Theme options
|
||||
theme_advanced_buttons1 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,|,bullist,pastetext",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,|,bullist,pastetext",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
@@ -100,17 +103,17 @@ echo '
|
||||
paste_strip_class_attributes: true,
|
||||
paste_retain_style_properties: "",
|
||||
paste_text_sticky: true,
|
||||
setup : function(ed)
|
||||
{
|
||||
setup : function(ed)
|
||||
{
|
||||
ed.onInit.add(function(ed)
|
||||
{ ed.pasteAsPlainText = true;
|
||||
ed.controlManager.setActive("pastetext", true);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
function checkrequired()
|
||||
{
|
||||
var error = false;
|
||||
@@ -141,9 +144,9 @@ echo '
|
||||
{
|
||||
document.getElementById("datepicker_datum").style.border = "";
|
||||
}
|
||||
|
||||
|
||||
var datum = document.getElementById("datepicker_datum").value;
|
||||
var Tag = datum.substring(0,2);
|
||||
var Tag = datum.substring(0,2);
|
||||
var Monat = datum.substring(3,5);
|
||||
Monat = Monat-1;
|
||||
var Jahr = datum.substring(6,10);
|
||||
@@ -160,7 +163,7 @@ echo '
|
||||
{
|
||||
document.getElementById("datepicker_datum").style.border = "";
|
||||
}
|
||||
|
||||
|
||||
if (error)
|
||||
return false;
|
||||
else
|
||||
@@ -168,7 +171,7 @@ echo '
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
#wrapper
|
||||
#wrapper
|
||||
{
|
||||
width: 80%;
|
||||
padding: 0 10px 15px 10px;
|
||||
@@ -176,21 +179,21 @@ echo '
|
||||
background: #eee;
|
||||
text-align: left;
|
||||
}
|
||||
#wrapper h4
|
||||
#wrapper h4
|
||||
{
|
||||
font-size: 17px;
|
||||
margin-top: 0;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
#weiter
|
||||
{
|
||||
width: 80%;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
|
||||
|
||||
padding: 10px 10px 10px 10px;
|
||||
border: 1px solid #D6E9C6;
|
||||
background: #DFF0D8;
|
||||
@@ -201,7 +204,7 @@ echo '
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
|
||||
|
||||
padding: 10px 10px 10px 10px;
|
||||
border: 1px solid #ccc;
|
||||
background: #ddd;
|
||||
@@ -212,7 +215,7 @@ echo '
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
|
||||
|
||||
padding: 10px 10px 10px 10px;
|
||||
border: 1px solid #ccc;
|
||||
background: #EDCECE;
|
||||
@@ -221,7 +224,7 @@ echo '
|
||||
{
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-timepicker-table td a
|
||||
.ui-timepicker-table td a
|
||||
{
|
||||
padding:0.2em 0.3em 0.2em 0.3em;
|
||||
width: 1.8em;
|
||||
@@ -242,26 +245,26 @@ if(isset($_POST['save']))
|
||||
$coodle_id = $_POST['coodle_id'];
|
||||
if (isset($_POST['mailversand']))
|
||||
$mailversand = true;
|
||||
else
|
||||
else
|
||||
$mailversand = false;
|
||||
|
||||
|
||||
if (isset($_POST['teilnehmer_anonym']))
|
||||
$teilnehmer_anonym = true;
|
||||
else
|
||||
else
|
||||
$teilnehmer_anonym = false;
|
||||
|
||||
|
||||
if (isset($_POST['termin_anonym']))
|
||||
$termin_anonym = true;
|
||||
else
|
||||
else
|
||||
$termin_anonym = false;
|
||||
|
||||
|
||||
$coodle = new coodle();
|
||||
|
||||
|
||||
if($coodle_id!='')
|
||||
{
|
||||
if(!$coodle->load($coodle_id))
|
||||
die($coodle->errormsg);
|
||||
|
||||
|
||||
if($coodle->ersteller_uid!=$user)
|
||||
{
|
||||
die($p->t('basis/keineBerechtigung'));
|
||||
@@ -276,7 +279,7 @@ if(isset($_POST['save']))
|
||||
$coodle->insertvon = $user;
|
||||
$coodle->coodle_status_kurzbz = 'neu';
|
||||
}
|
||||
|
||||
|
||||
$coodle->titel = $titel;
|
||||
$coodle->beschreibung = $beschreibung;
|
||||
$coodle->dauer = $dauer;
|
||||
@@ -286,7 +289,7 @@ if(isset($_POST['save']))
|
||||
$coodle->mailversand = $mailversand;
|
||||
$coodle->teilnehmer_anonym = $teilnehmer_anonym;
|
||||
$coodle->termine_anonym = $termin_anonym;
|
||||
|
||||
|
||||
if($coodle->save())
|
||||
{
|
||||
$message.= '<span class="ok">'.$p->t('global/erfolgreichgespeichert').'</span>';
|
||||
@@ -294,11 +297,11 @@ if(isset($_POST['save']))
|
||||
if ($coodle->new == true)
|
||||
{
|
||||
$coodletermin = new coodle();
|
||||
|
||||
|
||||
$coodletermin->datum = '1900-01-01';
|
||||
$coodletermin->uhrzeit = '00:00:01';
|
||||
$coodletermin->coodle_id = $coodle->coodle_id;
|
||||
|
||||
|
||||
if (!$coodletermin->saveTermin(true))
|
||||
$message.= '<span class="error">'.$coodletermin->errormsg.'</span>';
|
||||
}
|
||||
@@ -316,10 +319,10 @@ elseif(isset($_GET['coodle_id']))
|
||||
{
|
||||
if($coodle->ersteller_uid!=$user)
|
||||
die($p->t('global/keineBerechtigungFuerDieseSeite'));
|
||||
|
||||
|
||||
if(($coodle->coodle_status_kurzbz!='neu') && ($coodle->coodle_status_kurzbz!='laufend'))
|
||||
{
|
||||
// Wenn bereits abgeschlosse oder storniert,
|
||||
// Wenn bereits abgeschlosse oder storniert,
|
||||
// kann nicht mehr bearbeitet werden
|
||||
die($p->t('coodle/umfrageNichtGueltig'));
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
/**
|
||||
* Coodle Terminauswahl
|
||||
*
|
||||
*
|
||||
* Funktionen:
|
||||
* - hinzufuegen von Ressourcen (Personen, Raeume und externe Personen)
|
||||
* - setzen von Terminvorschlaegen
|
||||
@@ -41,7 +41,7 @@ $datum_obj = new datum();
|
||||
|
||||
if(!check_lektor($uid))
|
||||
die($p->t('global/keineBerechtigung'));
|
||||
|
||||
|
||||
if(!isset($_REQUEST['coodle_id']))
|
||||
die($p->t('global/fehlerBeiDerParameteruebergabe'));
|
||||
|
||||
@@ -97,14 +97,14 @@ if(isset($_POST['action']) && $_POST['action']=='start')
|
||||
echo "Fehler beim Laden des Benutzers ".$db->convert_html_chars($row->uid);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if($benutzer->geschlecht=='w')
|
||||
$anrede = "Sehr geehrte Frau ";
|
||||
else
|
||||
$anrede = "Sehr geehrter Herr ";
|
||||
|
||||
|
||||
$anrede.= $benutzer->titelpre.' '.$benutzer->vorname.' '.$benutzer->nachname.' '.$benutzer->titelpost;
|
||||
|
||||
|
||||
// Interner Teilnehmer
|
||||
$email = $row->uid.'@'.DOMAIN;
|
||||
$link = APP_ROOT.'cis/public/coodle.php?coodle_id='.urlencode($coodle_id).'&uid='.urlencode($row->uid);
|
||||
@@ -113,7 +113,7 @@ if(isset($_POST['action']) && $_POST['action']=='start')
|
||||
{
|
||||
// Externe Teilnehmer
|
||||
$email = $row->email;
|
||||
$anrede='Sehr geehrte(r) Herr/Frau '.$row->name;
|
||||
$anrede='Sehr geehrte(r) Herr/Frau '.$row->name;
|
||||
$link=APP_ROOT.'cis/public/coodle.php?coodle_id='.urlencode($coodle_id).'&zugangscode='.urlencode($row->zugangscode);
|
||||
}
|
||||
else
|
||||
@@ -128,7 +128,7 @@ if(isset($_POST['action']) && $_POST['action']=='start')
|
||||
$benutzer->load($uid);
|
||||
if ($benutzer->alias!='')
|
||||
$von = $benutzer->alias.'@'.DOMAIN;
|
||||
|
||||
|
||||
$html=$anrede.'!<br><br>
|
||||
Sie wurden zu einer Terminumfrage zum Thema "'.$db->convert_html_chars($coodle->titel).'" eingeladen.
|
||||
<br>
|
||||
@@ -138,7 +138,7 @@ if(isset($_POST['action']) && $_POST['action']=='start')
|
||||
Beschreibung:<br><br>
|
||||
'.$coodle->beschreibung.'<br><br>
|
||||
'.nl2br($sign);
|
||||
|
||||
|
||||
$text=$anrede."!\n\nSie wurden zu einer Terminumfrage zum Thema \"".$db->convert_html_chars($coodle->titel)."\" eingeladen.\n
|
||||
Bitte folgen Sie dem Link, um Ihre Terminwünsche bekannt zu geben:\n
|
||||
$link\n\n
|
||||
@@ -146,13 +146,13 @@ if(isset($_POST['action']) && $_POST['action']=='start')
|
||||
".strip_tags($coodle->beschreibung)."
|
||||
\n\n
|
||||
$sign";
|
||||
|
||||
|
||||
$mail = new mail($email, $von,'Terminumfrage - '.$coodle->titel, $text);
|
||||
$mail->setHTMLContent($html);
|
||||
if($mail->send())
|
||||
{
|
||||
echo $p->t('coodle/mailVersandtAn',array($email))."<br>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo '<br><b>'.$p->t('coodle/erfolgreichGestartet').'</b>';
|
||||
@@ -167,7 +167,7 @@ if(isset($_POST['action']) && $_POST['action']=='start')
|
||||
{
|
||||
die($p->t('coodle/keineTermineVorhanden'));
|
||||
}
|
||||
|
||||
|
||||
echo '</body></html>';
|
||||
exit();
|
||||
}
|
||||
@@ -178,21 +178,24 @@ echo '<html>
|
||||
<link rel="stylesheet" href="../../../skin/fhcomplete.css" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/jquery.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../include/js/jquery1.9.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../include/js/fullcalendar/fullcalendar.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../../../include/js/fullcalendar/fullcalendar.print.css" media="print" />
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css"/>
|
||||
<script type="text/javascript" src="../../../include/js/fullcalendar/fullcalendar.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.contextmenu.r2.js"></script>
|
||||
<title>'.$p->t('coodle/coodle').' - '.$p->t('coodle/termine').'</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
#wrap {
|
||||
width: 1100px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
#wrap2 {
|
||||
float: left;
|
||||
}
|
||||
@@ -204,7 +207,7 @@ echo '<html>
|
||||
background: #eee;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
#external-events h4 {
|
||||
font-size: 17px;
|
||||
margin-top: 0;
|
||||
@@ -212,7 +215,7 @@ echo '<html>
|
||||
padding-bottom: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.external-event { /* try to mimick the look of a real event */
|
||||
margin: 10px 0;
|
||||
padding: 2px 4px;
|
||||
@@ -223,13 +226,13 @@ echo '<html>
|
||||
border-radius: 2px;
|
||||
box-shadow: 3px 3px 3px #bbb;
|
||||
}
|
||||
|
||||
|
||||
#external-events p {
|
||||
margin: 1.5em 0;
|
||||
font-size: 11px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
|
||||
#external-events p input {
|
||||
margin: 0;
|
||||
vertical-align: middle;
|
||||
@@ -239,7 +242,7 @@ echo '<html>
|
||||
float: right;
|
||||
width: 900px;
|
||||
}
|
||||
|
||||
|
||||
#ressourcen {
|
||||
width: 150px;
|
||||
padding: 0 10px;
|
||||
@@ -248,7 +251,7 @@ echo '<html>
|
||||
background: #eee;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
#ressourcen h4 {
|
||||
font-size: 17px;
|
||||
margin-top: 0;
|
||||
@@ -256,7 +259,7 @@ echo '<html>
|
||||
padding-bottom: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.ressourcen {
|
||||
margin: 10px 0;
|
||||
padding: 2px 4px;
|
||||
@@ -265,13 +268,13 @@ echo '<html>
|
||||
font-size: .85em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
#ressourcen p {
|
||||
margin: 1.5em 0;
|
||||
font-size: 11px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
|
||||
#ressourcen p input {
|
||||
margin: 0;
|
||||
vertical-align: middle;
|
||||
@@ -285,8 +288,8 @@ echo '<html>
|
||||
{
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
#fertig
|
||||
|
||||
#fertig
|
||||
{
|
||||
width: 150px;
|
||||
padding: 0 10px;
|
||||
@@ -295,8 +298,8 @@ echo '<html>
|
||||
background: #eee;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#fertig h4
|
||||
|
||||
#fertig h4
|
||||
{
|
||||
font-size: 17px;
|
||||
margin-top: 0;
|
||||
@@ -304,31 +307,31 @@ echo '<html>
|
||||
padding-bottom: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#fertig p
|
||||
|
||||
#fertig p
|
||||
{
|
||||
margin: 1.5em 0;
|
||||
font-size: 11px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function()
|
||||
$(document).ready(function()
|
||||
{
|
||||
// Coodle Termin initialisieren
|
||||
$("#external-events div.external-event").each(function()
|
||||
// Coodle Termin initialisieren
|
||||
$("#external-events div.external-event").each(function()
|
||||
{
|
||||
var eventObject =
|
||||
var eventObject =
|
||||
{
|
||||
title: $.trim($(this).text()), // use the elements text as the event title
|
||||
termin: true
|
||||
};
|
||||
|
||||
|
||||
// store the Event Object in the DOM element so we can get to it later
|
||||
$(this).data("eventObject", eventObject);
|
||||
|
||||
|
||||
// make the event draggable using jQuery UI
|
||||
$(this).draggable(
|
||||
{
|
||||
@@ -338,8 +341,8 @@ echo '<html>
|
||||
scroll: false // behebt ruckeln im IE7
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
// Kalender Initialisieren
|
||||
$("#calendar").fullCalendar(
|
||||
{
|
||||
@@ -353,12 +356,12 @@ echo '<html>
|
||||
timeFormat: {
|
||||
// for agendaWeek and agendaDay
|
||||
agenda: "H:mm{ - H:mm}", // 5:00 - 6:30
|
||||
|
||||
|
||||
// for all other views
|
||||
"": "H:mm"
|
||||
},
|
||||
allDaySlot: true, // Ganztaegig Row anzeigen
|
||||
allDayText: "", //Text in ganztaegig Spalte
|
||||
allDayText: "", //Text in ganztaegig Spalte
|
||||
axisFormat: "H:mm",
|
||||
monthNames: ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
|
||||
monthNamesShort: ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun","Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
|
||||
@@ -388,16 +391,16 @@ echo '<html>
|
||||
editable: true,
|
||||
disableResizing: true,
|
||||
droppable: true, // this allows things to be dropped onto the calendar !!!
|
||||
drop: function(date, allDay)
|
||||
{
|
||||
drop: function(date, allDay)
|
||||
{
|
||||
// Event wird auf Kalender gezogen
|
||||
|
||||
|
||||
// gedropptes Event holen
|
||||
var originalEventObject = $(this).data("eventObject");
|
||||
|
||||
|
||||
// we need to copy it, so that multiple events dont have a reference to the same object
|
||||
var copiedEventObject = $.extend({}, originalEventObject);
|
||||
|
||||
|
||||
// assign it the date that was reported
|
||||
copiedEventObject.start = date;
|
||||
copiedEventObject.allDay = allDay;
|
||||
@@ -430,15 +433,15 @@ echo '<html>
|
||||
// Termin Speichern
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
"work": "addTermin",
|
||||
"datum": datum,
|
||||
"uhrzeit": uhrzeit,
|
||||
"coodle_id": "'.$coodle_id.'"
|
||||
},
|
||||
success: function(data)
|
||||
{
|
||||
success: function(data)
|
||||
{
|
||||
if(isNaN(data))
|
||||
alert("ERROR:"+data)
|
||||
else
|
||||
@@ -456,10 +459,10 @@ echo '<html>
|
||||
eventDrop: function(event, dayDelta, minuteDelta, allDay, revertFunc, jsEvent, ui, view)
|
||||
{
|
||||
// Verschiebung eines Termins
|
||||
|
||||
|
||||
datum = $.fullCalendar.formatDate(event.start,"yyyy-MM-dd")
|
||||
uhrzeit = $.fullCalendar.formatDate(event.start,"HH:mm:ss")
|
||||
|
||||
|
||||
if(allDay)
|
||||
{
|
||||
// Wenn der Termin in die ganztaegig spalte gezogen wird,
|
||||
@@ -469,7 +472,7 @@ echo '<html>
|
||||
event.allDay=false;
|
||||
$("#calendar").fullCalendar("renderEvent", event, true);
|
||||
}
|
||||
|
||||
|
||||
// Pruefen ob der Termin in der Vergangenheit liegt
|
||||
if(datum+\' \'+uhrzeit<=\''.date('Y-m-d H:i:s').'\')
|
||||
{
|
||||
@@ -481,16 +484,16 @@ echo '<html>
|
||||
// Verschiebung Speichern
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
"work": "moveTermin",
|
||||
"datum": datum,
|
||||
"uhrzeit": uhrzeit,
|
||||
"coodle_termin_id": event.id,
|
||||
"coodle_id": "'.$coodle_id.'"
|
||||
},
|
||||
success: function(data)
|
||||
{
|
||||
success: function(data)
|
||||
{
|
||||
if(data!="true")
|
||||
{
|
||||
alert("ERROR:"+data)
|
||||
@@ -505,28 +508,28 @@ echo '<html>
|
||||
});
|
||||
}
|
||||
},
|
||||
eventRender: function (event, element)
|
||||
{
|
||||
eventRender: function (event, element)
|
||||
{
|
||||
// Conext Menue nur an Umfragetermine nicht an FreeBusy Eintraege haengen
|
||||
if(event.termin)
|
||||
{
|
||||
element.contextMenu("myContextMenu",
|
||||
{
|
||||
bindings:
|
||||
bindings:
|
||||
{
|
||||
"delete": function(t)
|
||||
"delete": function(t)
|
||||
{
|
||||
// Termin loeschen
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
"work": "removeTermin",
|
||||
"coodle_termin_id": event.id,
|
||||
"coodle_id": "'.$coodle_id.'"
|
||||
},
|
||||
success: function(data)
|
||||
{
|
||||
success: function(data)
|
||||
{
|
||||
if(data!="true")
|
||||
{
|
||||
alert("ERROR:"+data)
|
||||
@@ -540,11 +543,11 @@ echo '<html>
|
||||
}
|
||||
},
|
||||
error: function() { alert("error"); }
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
dayClick: function(date, allDay, jsEvent, view)
|
||||
{
|
||||
@@ -557,7 +560,7 @@ echo '<html>
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -592,11 +595,11 @@ echo '
|
||||
'.$p->t('coodle/ressource').':<br>
|
||||
<input id="input_ressource" type="text" size="10" />
|
||||
</p>
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function()
|
||||
$(document).ready(function()
|
||||
{
|
||||
// Autocomplete Feld fuer Ressourcen initialisieren
|
||||
// Autocomplete Feld fuer Ressourcen initialisieren
|
||||
$("#input_ressource").autocomplete({
|
||||
source: "coodle_autocomplete.php?work=ressource",
|
||||
minLength:2,
|
||||
@@ -612,31 +615,31 @@ echo '
|
||||
select: function(event, ui)
|
||||
{
|
||||
//Ausgeaehlte Ressource zuweisen und Textfeld wieder leeren
|
||||
addRessource(ui.item.uid, ui.item.typ, ui.item.bezeichnung);
|
||||
addRessource(ui.item.uid, ui.item.typ, ui.item.bezeichnung);
|
||||
ui.item.value="";
|
||||
ui.item.label="";
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
* Fuegt eine Ressource hinzu
|
||||
*/
|
||||
*/
|
||||
function addRessource(id, typ, bezeichnung)
|
||||
{
|
||||
// Ressource Speichern
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
"work": "addressource",
|
||||
"id": id,
|
||||
"id": id,
|
||||
"typ": typ,
|
||||
"bezeichnung": bezeichnung,
|
||||
"coodle_id": "'.$coodle_id.'"
|
||||
},
|
||||
success: function(data)
|
||||
{
|
||||
success: function(data)
|
||||
{
|
||||
if(data!="true")
|
||||
alert("ERROR:"+data)
|
||||
else
|
||||
@@ -660,7 +663,7 @@ echo '
|
||||
var text = document.createTextNode(bezeichnung);
|
||||
div.appendChild(text);
|
||||
bezeichnung = div.innerHTML;
|
||||
|
||||
|
||||
// Anzeige der Ressource mit Loeschen Button
|
||||
var code = \'<span class="ressourceItem"> \
|
||||
<a href="#delete" onclick="removeRessource(this, \\\'\'+id+\'\\\',\\\'\'+typ+\'\\\'); return false;"> \
|
||||
@@ -692,15 +695,15 @@ echo '
|
||||
// Ressource entfernen
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
url:"coodle_worker.php",
|
||||
data:{
|
||||
"work": "removeressource",
|
||||
"id": id,
|
||||
"id": id,
|
||||
"typ": typ,
|
||||
"coodle_id": "'.$coodle_id.'"
|
||||
},
|
||||
success: function(data)
|
||||
{
|
||||
success: function(data)
|
||||
{
|
||||
if(data!="true")
|
||||
alert("ERROR:"+data)
|
||||
else
|
||||
@@ -712,7 +715,7 @@ echo '
|
||||
},
|
||||
error: function() { alert("error"); }
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -720,7 +723,7 @@ echo '
|
||||
*/
|
||||
function removeRessourceFromContent(item, id, typ)
|
||||
{
|
||||
|
||||
|
||||
$("#calendar").fullCalendar("removeEventSource",
|
||||
{
|
||||
url:"coodle_events.php?code="+encodeURIComponent(id+typ),
|
||||
@@ -737,7 +740,7 @@ echo '
|
||||
}';
|
||||
|
||||
echo '
|
||||
$(document).ready(function()
|
||||
$(document).ready(function()
|
||||
{';
|
||||
|
||||
// Bereits zugeteilte Ressourcen laden
|
||||
@@ -784,7 +787,7 @@ if(!$coodletermin->getTermine($coodle_id))
|
||||
foreach($coodletermin->result as $row)
|
||||
{
|
||||
echo '
|
||||
var eventObject =
|
||||
var eventObject =
|
||||
{
|
||||
id: "'.$db->convert_html_chars($row->coodle_termin_id).'",
|
||||
title: "'.$db->convert_html_chars($event_titel).'",
|
||||
@@ -810,7 +813,7 @@ echo '
|
||||
$("#externePersonen").hide();
|
||||
$("#ressourcenInput").show();
|
||||
}
|
||||
|
||||
|
||||
function AddExternal()
|
||||
{
|
||||
name=$("#externePersonName").val();
|
||||
|
||||
@@ -23,16 +23,16 @@
|
||||
*/
|
||||
require_once('../../../config/cis.config.inc.php');
|
||||
require_once('../../../include/coodle.class.php');
|
||||
require_once('../../../include/functions.inc.php');
|
||||
require_once('../../../include/functions.inc.php');
|
||||
require_once('../../../include/phrasen.class.php');
|
||||
require_once('../../../include/datum.class.php');
|
||||
require_once('../../../include/datum.class.php');
|
||||
require_once('../../../include/benutzer.class.php');
|
||||
|
||||
$lang = getSprache();
|
||||
$lang = getSprache();
|
||||
|
||||
$p = new phrasen($lang);
|
||||
$p = new phrasen($lang);
|
||||
|
||||
$uid = get_uid();
|
||||
$uid = get_uid();
|
||||
$message = '';
|
||||
|
||||
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
@@ -45,31 +45,34 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link href="../../../skin/tablesort.css" rel="stylesheet" type="text/css">
|
||||
<link href="../../../skin/jquery.css" rel="stylesheet" type="text/css"/>
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#myTableFiles").tablesorter(
|
||||
{
|
||||
sortList: [[3,0]],
|
||||
widgets: ["zebra"]
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
$(document).ready(function()
|
||||
});
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#myTableFiles2").tablesorter(
|
||||
{
|
||||
sortList: [[3,1]],
|
||||
widgets: ["zebra"]
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
<style>
|
||||
.wrapper h4
|
||||
.wrapper h4
|
||||
{
|
||||
font-size: 17px;
|
||||
margin-top: 0;
|
||||
@@ -93,9 +96,9 @@ $method = isset($_GET['method'])?$_GET['method']:'';
|
||||
// coodle umfrage löschen
|
||||
if($method=='delete')
|
||||
{
|
||||
$coodle= new coodle();
|
||||
$coodle= new coodle();
|
||||
$coodle_id = isset($_GET['coodle_id'])?$_GET['coodle_id']:'';
|
||||
|
||||
|
||||
if($coodle->load($coodle_id))
|
||||
{
|
||||
// löschen nur von eigenen Umfragen möglich
|
||||
@@ -142,8 +145,8 @@ echo '
|
||||
</thead><tbody>';
|
||||
|
||||
$beendeteUmfragen='';
|
||||
$datum = new datum();
|
||||
$coodle = new coodle();
|
||||
$datum = new datum();
|
||||
$coodle = new coodle();
|
||||
$coodle->loadStatus();
|
||||
$coodle->getCoodleFromUser($uid);
|
||||
foreach($coodle->result as $c)
|
||||
@@ -158,7 +161,7 @@ foreach($coodle->result as $c)
|
||||
<td>'.$coodle->convert_html_chars($datum->formatDatum($c->endedatum, 'd.m.Y')).'</td>
|
||||
<td nowrap>
|
||||
';
|
||||
|
||||
|
||||
// Bearbeiten Button
|
||||
if((($c->coodle_status_kurzbz=='neu')||($c->coodle_status_kurzbz=='laufend')) && $uid==$c->ersteller_uid)
|
||||
{
|
||||
@@ -166,7 +169,7 @@ foreach($coodle->result as $c)
|
||||
$title=$p->t('coodle/umfrageWurdeBereitsGestartet');
|
||||
else
|
||||
$title=$p->t('coodle/bearbeiten');
|
||||
|
||||
|
||||
$row.= ' <a href="stammdaten.php?coodle_id='.$c->coodle_id.'">
|
||||
<img src="../../../skin/images/edit.png" title="'.$title.'">
|
||||
</a>';
|
||||
@@ -174,10 +177,10 @@ foreach($coodle->result as $c)
|
||||
else
|
||||
{
|
||||
$title=$p->t('global/keineBerechtigung');
|
||||
|
||||
$row.= ' <img src="../../../skin/images/edit_grau.png" title="'.$title.'">';
|
||||
|
||||
$row.= ' <img src="../../../skin/images/edit_grau.png" title="'.$title.'">';
|
||||
}
|
||||
|
||||
|
||||
// Storno Button
|
||||
if($uid==$c->ersteller_uid && $c->coodle_status_kurzbz!='storniert' && $c->coodle_status_kurzbz!='abgeschlossen')
|
||||
{
|
||||
@@ -193,7 +196,7 @@ foreach($coodle->result as $c)
|
||||
// Umfrage Button
|
||||
if($c->coodle_status_kurzbz=='laufend' || $c->coodle_status_kurzbz=='abgeschlossen')
|
||||
{
|
||||
$row.= ' <a href="../../public/coodle.php?coodle_id='.$c->coodle_id.'">
|
||||
$row.= ' <a href="../../public/coodle.php?coodle_id='.$c->coodle_id.'">
|
||||
<img src="../../../skin/images/date_go.png" title="'.$p->t('coodle/zurUmfrage').'">
|
||||
</a>';
|
||||
}
|
||||
@@ -203,14 +206,14 @@ foreach($coodle->result as $c)
|
||||
$title=$p->t('coodle/umfrageNochNichtGestartet');
|
||||
else
|
||||
$title=$p->t('global/keineBerechtigung');
|
||||
|
||||
|
||||
$row.=' <img src="../../../skin/images/date_go_grau.png" title="'.$title.'">';
|
||||
}
|
||||
|
||||
$row.='
|
||||
|
||||
$row.='
|
||||
</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
if($c->coodle_status_kurzbz=='laufend' || $c->coodle_status_kurzbz=='neu')
|
||||
echo $row;
|
||||
else
|
||||
@@ -221,10 +224,10 @@ echo '</tbody></table></div>';
|
||||
if($beendeteUmfragen!='')
|
||||
{
|
||||
echo '<br>
|
||||
|
||||
|
||||
<div class="wrapper">
|
||||
<h4>'.$p->t('coodle/beendeteUmfragen').'</h4>
|
||||
|
||||
|
||||
<table id="myTableFiles2" class="tablesorter">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -243,4 +246,4 @@ if($beendeteUmfragen!='')
|
||||
}
|
||||
echo '</body>
|
||||
</html>';
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -48,7 +48,12 @@ if(check_lektor($user))
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
|
||||
@@ -45,7 +45,12 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function()
|
||||
|
||||
@@ -45,7 +45,12 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function()
|
||||
|
||||
@@ -65,7 +65,12 @@ if(check_lektor($user))
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<title><?php echo $p->t("telefonverzeichnis/titelTelefonverzeichnis");?></title>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
|
||||
@@ -127,7 +127,12 @@ echo '
|
||||
<title>'.$p->t('abgabetool/abgabetool').'</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
function confdel()
|
||||
|
||||
@@ -41,9 +41,14 @@ echo '
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link href="../../../skin/tablesort.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.metadata.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.tablesorter.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
|
||||
@@ -177,7 +177,12 @@ echo '
|
||||
<title>Abgabesystem_Studentensicht</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
$(document).ready(function()
|
||||
|
||||
@@ -103,7 +103,10 @@ echo '<!DOCTYPE HTML>
|
||||
<link href="../../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link href="../../../../skin/jquery.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../../../skin/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css">
|
||||
<script src="../../../../include/js/jquery1.9.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
|
||||
<style type="text/css">
|
||||
.td_datum
|
||||
|
||||
@@ -47,7 +47,10 @@ echo '<!DOCTYPE HTML>
|
||||
<link href="../../../../skin/jquery.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../../../skin/tablesort.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../../../skin/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css">
|
||||
<script src="../../../../include/js/jquery1.9.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<title>Grade</title>
|
||||
</head>
|
||||
<body>';
|
||||
|
||||
@@ -156,7 +156,12 @@ $rechte->getBerechtigungen($user);
|
||||
<link href="../../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="../../../../skin/jquery.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="../../../../skin/tablesort.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<title><?php echo $p->t('courseInformation/ectsLvInfo');?></title>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
function ask() {
|
||||
|
||||
@@ -101,7 +101,10 @@ if (isset($_GET["handbuch"])){
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link href="../../../skin/jquery.css" rel="stylesheet" type="text/css"/>
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript" ></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
|
||||
<?php
|
||||
// Angezeigtes Studiensemester ermitteln
|
||||
|
||||
@@ -47,7 +47,12 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<title>'.$p->t('tools/leistungsbeurteilung').'</title>
|
||||
|
||||
|
||||
@@ -66,8 +66,10 @@ $studiensemester->getAll();
|
||||
<meta charset="UTF-8">
|
||||
<title>Prüfungsanmeldung</title>
|
||||
<script src="../../../../include/js/datecheck.js"></script>
|
||||
<script src="../../../../include/js/jquery1.9.min.js"></script>
|
||||
<script src="../../../../include/js/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script src="./pruefung.js.php"></script>
|
||||
<link rel="stylesheet" href="../../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<link rel="stylesheet" href="../../../../skin/fhcomplete.css">
|
||||
|
||||
@@ -49,7 +49,10 @@ $rechte->getBerechtigungen($uid);
|
||||
<html moznomarginboxes="">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script src="../../../../include/js/jquery1.9.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
|
||||
@@ -53,8 +53,10 @@ if(empty($pruefung->result) && !$rechte->isBerechtigt('lehre/pruefungsanmeldungA
|
||||
<meta charset="UTF-8">
|
||||
<title><?php echo $p->t('pruefung/anmeldungenVerwaltenTitle'); ?></title>
|
||||
<script src="../../../../include/js/datecheck.js"></script>
|
||||
<script src="../../../../include/js/jquery1.9.min.js"></script>
|
||||
<script src="../../../../include/js/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script src="./pruefung.js.php"></script>
|
||||
<link rel="stylesheet" href="../../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<link rel="stylesheet" href="../../../../skin/fhcomplete.css">
|
||||
|
||||
@@ -59,8 +59,10 @@ if(empty($pruefung->result) && !$rechte->isBerechtigt('lehre/pruefungsanmeldungA
|
||||
<meta charset="UTF-8">
|
||||
<title>Prüfungsbewertung</title>
|
||||
<script src="../../../../include/js/datecheck.js"></script>
|
||||
<script src="../../../../include/js/jquery1.9.min.js"></script>
|
||||
<script src="../../../../include/js/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script src="./pruefung.js.php"></script>
|
||||
<script src="./pruefungsbewertung.js.php"></script>
|
||||
<link rel="stylesheet" href="../../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
|
||||
@@ -60,7 +60,10 @@ function compareOe($a, $b)
|
||||
<meta charset="UTF-8">
|
||||
<title><?php echo $p->t('pruefung/titlePruefungsfenster') ?></title>
|
||||
<script src="../../../../include/js/datecheck.js"></script>
|
||||
<script src="../../../../include/js/jquery1.9.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<link rel="stylesheet" href="../../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<link rel="stylesheet" href="../../../../skin/fhcomplete.css">
|
||||
<link rel="stylesheet" href="../../../../skin/style.css.php">
|
||||
|
||||
@@ -97,7 +97,7 @@ if (isset($_GET["sendmail"]))
|
||||
$to = $uid.'@'.DOMAIN;
|
||||
$from = 'no-reply@'.DOMAIN;
|
||||
$subject = $p->t('pruefung/emailVerschiebungSubject');
|
||||
$text = $p->t('pruefung/emailVerschiebung', array($lvstr, $datum, $vonzeit));
|
||||
$text = $p->t('pruefung/emailVerschiebung', array($lvstr, $datum, $vonzeit));
|
||||
$msg = new mail($to, $from, $subject, $text);
|
||||
if ($msg->send())
|
||||
$maildebug .= $to." OK<br>";
|
||||
@@ -135,8 +135,10 @@ foreach ($anmeldungen as $row)
|
||||
<meta charset="UTF-8">
|
||||
<title><?php echo $p->t('pruefung/titlePruefungstermin'); ?></title>
|
||||
<script src="../../../../include/js/datecheck.js"></script>
|
||||
<script src="../../../../include/js/jquery1.9.min.js"></script>
|
||||
<script src="../../../../include/js/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script src="./pruefung.js.php"></script>
|
||||
<link rel="stylesheet" href="../../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<link rel="stylesheet" href="../../../../skin/fhcomplete.css">
|
||||
|
||||
@@ -59,8 +59,10 @@ if(empty($lehrveranstaltung->lehrveranstaltungen) && !$rechte->isBerechtigt('leh
|
||||
<meta charset="UTF-8">
|
||||
<title><?php echo $p->t('pruefung/titlePruefungstermin'); ?></title>
|
||||
<script src="../../../../include/js/datecheck.js"></script>
|
||||
<script src="../../../../include/js/jquery1.9.min.js"></script>
|
||||
<script src="../../../../include/js/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script src="./pruefung.js.php"></script>
|
||||
<link rel="stylesheet" href="../../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<link rel="stylesheet" href="../../../../skin/fhcomplete.css">
|
||||
|
||||
@@ -22,18 +22,18 @@
|
||||
* Manfred Kindl <[email protected]>
|
||||
* Alexander Nimmervoll <[email protected]>
|
||||
*/
|
||||
|
||||
|
||||
require_once('../../../config/cis.config.inc.php');
|
||||
require_once('../../../config/global.config.inc.php');
|
||||
require_once('../../../include/basis_db.class.php');
|
||||
require_once('../../../include/functions.inc.php');
|
||||
require_once('../../../include/phrasen.class.php');
|
||||
require_once('../../../include/studiensemester.class.php');
|
||||
require_once('../../../include/studiensemester.class.php');
|
||||
require_once('../../../include/benutzer.class.php');
|
||||
require_once('../../../include/benutzerberechtigung.class.php');
|
||||
|
||||
$sprache = getSprache();
|
||||
$p=new phrasen($sprache);
|
||||
|
||||
$sprache = getSprache();
|
||||
$p=new phrasen($sprache);
|
||||
|
||||
$uid=get_uid();
|
||||
$berechtigung=new benutzerberechtigung();
|
||||
@@ -43,7 +43,7 @@ if ($berechtigung->isBerechtigt('lehre/reservierung:begrenzt', null, 'sui'))
|
||||
else
|
||||
$raumres=false;
|
||||
|
||||
/*$benutzer = new benutzer();
|
||||
/*$benutzer = new benutzer();
|
||||
|
||||
foreach($benutzer->result as $row)
|
||||
{
|
||||
@@ -59,10 +59,10 @@ echo $benutzer;*/
|
||||
|
||||
if (!$db = new basis_db())
|
||||
die($p->t('global/fehlerBeimOeffnenDerDatenbankverbindung'));
|
||||
|
||||
|
||||
if (!$uid=get_uid())
|
||||
die('Sie sind nicht angemeldet. Es wurde keine Benutzer UID gefunden ! <a href="javascript:history.back()">Zurück</a>');
|
||||
|
||||
|
||||
|
||||
$sql_query="SELECT titelpre, titelpost, uid, nachname, vorname FROM campus.vw_benutzer WHERE uid LIKE '$uid'";
|
||||
//echo $sql_query;
|
||||
@@ -89,20 +89,20 @@ else
|
||||
$sql_query="SELECT studiengang_kz, kurzbz, kurzbzlang, bezeichnung, typ, english FROM public.tbl_studiengang WHERE aktiv ORDER BY typ, kurzbz";
|
||||
$result_stg=$db->db_query($sql_query);
|
||||
if(!$result_stg)
|
||||
die ("Studiengang not found!");
|
||||
die ("Studiengang not found!");
|
||||
$num_rows_stg=$db->db_num_rows($result_stg);
|
||||
|
||||
$sql_query="SELECT ort_kurzbz, bezeichnung FROM public.tbl_ort WHERE aktiv AND lehre ORDER BY ort_kurzbz";
|
||||
$result_ort=$db->db_query($sql_query);
|
||||
if(!$result_ort)
|
||||
die("ort not found!");
|
||||
die("ort not found!");
|
||||
$num_rows_ort=$db->db_num_rows($result_ort);
|
||||
|
||||
/*$sql_query="SELECT student_uid FROM public.tbl_student ORDER BY student_uid";
|
||||
$result_lektor=$db->db_query($sql_query);
|
||||
if(!$result_lektor)
|
||||
die("lektor not found!");
|
||||
|
||||
|
||||
$num_rows_lektor=$db->db_num_rows($result_lektor);*/
|
||||
|
||||
|
||||
@@ -114,7 +114,10 @@ $num_rows_lektor=$db->db_num_rows($result_lektor);*/
|
||||
<title>Lehrveranstaltungsplan</title>
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link href="../../../skin/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css">
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
|
||||
function MM_jumpMenu(targ,selObj,restore){ //v3.0
|
||||
@@ -127,7 +130,7 @@ function jumpKalender(){
|
||||
}
|
||||
else if (document.getElementById('studiensemester').value == '') {
|
||||
alert("<?php echo $p->t('lvplan/bitteEinStudiensemesterAuswaehlen');?>");
|
||||
}
|
||||
}
|
||||
else {window.open ('stpl_kalender.php?type=verband&stg_kz='+document.getElementById('stg_kz_semplan').value+'&sem='+document.getElementById('sem_semplan').value
|
||||
+'&ver='+document.getElementById('ver_semplan').value+'&grp='+document.getElementById('grp_semplan').value+'&begin='+document.getElementById('studiensemester').value+'&format=html', '_blank');
|
||||
}
|
||||
@@ -149,8 +152,8 @@ function checkSetBenutzer(){
|
||||
return true;
|
||||
}
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#benutzer").autocomplete({
|
||||
source: "lvplan_autocomplete.php?autocomplete=benutzer",
|
||||
minLength:2,
|
||||
@@ -193,7 +196,7 @@ function LoadSemester(type)
|
||||
},
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
success: function(data)
|
||||
success: function(data)
|
||||
{
|
||||
$("#sem"+type).empty();
|
||||
$("#sem"+type).append('<option value=""><?php echo $p->t('lvplan/sem'); ?></option>');
|
||||
@@ -201,7 +204,7 @@ function LoadSemester(type)
|
||||
$("#sem"+type).append('<option value="'+data+'">'+data+'</option>');
|
||||
});
|
||||
},
|
||||
error: function(data)
|
||||
error: function(data)
|
||||
{
|
||||
alert("Fehler beim Laden der Daten");
|
||||
}
|
||||
@@ -222,7 +225,7 @@ function LoadVerband(type)
|
||||
},
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
success: function(data)
|
||||
success: function(data)
|
||||
{
|
||||
$("#ver"+type).empty();
|
||||
$("#ver"+type).append('<option value=""><?php echo $p->t('lvplan/ver'); ?></option>');
|
||||
@@ -230,7 +233,7 @@ function LoadVerband(type)
|
||||
$("#ver"+type).append('<option value="'+data+'">'+data+'</option>');
|
||||
});
|
||||
},
|
||||
error: function(data)
|
||||
error: function(data)
|
||||
{
|
||||
alert("Fehler beim Laden der Daten");
|
||||
}
|
||||
@@ -253,7 +256,7 @@ function LoadGruppe(type)
|
||||
},
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
success: function(data)
|
||||
success: function(data)
|
||||
{
|
||||
$("#grp"+type).empty();
|
||||
$("#grp"+type).append('<option value=""><?php echo $p->t('lvplan/grp'); ?></option>');
|
||||
@@ -261,7 +264,7 @@ function LoadGruppe(type)
|
||||
$("#grp"+type).append('<option value="'+data+'">'+data+'</option>');
|
||||
});
|
||||
},
|
||||
error: function(data)
|
||||
error: function(data)
|
||||
{
|
||||
alert("Fehler beim Laden der Daten");
|
||||
}
|
||||
@@ -279,7 +282,7 @@ function LoadGruppe(type)
|
||||
<td class="cmscontent" rowspan="3" valign="top">
|
||||
|
||||
<FORM name="Auswahl" action="stpl_week.php">
|
||||
|
||||
|
||||
<table class="tabcontent"><tr><td valign="top" width="30%">
|
||||
<?php
|
||||
if (isset($uid))
|
||||
@@ -288,13 +291,13 @@ function LoadGruppe(type)
|
||||
echo $p->t('lvplan/nichtVorhanden').' '.$p->t('lvplan/bitteWendenSieSichAn').'<A href="mailto:'.MAIL_ADMIN.'">Admin</A>!';
|
||||
?>
|
||||
<a class="Item" href="stpl_week.php?pers_uid=<?php echo $uid; ?>"><?php echo $p->t("lvplan/persoenlicherLvPlan");?></a><br><br>
|
||||
</td><td valign="top">
|
||||
</td><td valign="top">
|
||||
<?php
|
||||
if(!defined('CIS_LVPLAN_EXPORT_ANZEIGEN') || CIS_LVPLAN_EXPORT_ANZEIGEN)
|
||||
{
|
||||
echo'
|
||||
echo'
|
||||
<h2>'.$p->t('lvplan/persoenlichenAbonnieren').'</h2>
|
||||
<div>
|
||||
<div>
|
||||
<a class="Item" href="../../../cms/content.php?content_id='.$p->t('dms_link/lvplanSyncFAQ').'" target="_blank">'.$p->t('lvplan/anleitungLVPlanSync').'</a>
|
||||
<br>';
|
||||
|
||||
@@ -309,13 +312,13 @@ function LoadGruppe(type)
|
||||
|
||||
echo '
|
||||
</td></tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width="30%">
|
||||
<h2>'.$p->t("lvplan/saalplan").'</h2>
|
||||
</td>
|
||||
<td>';
|
||||
|
||||
|
||||
if(!defined('CIS_LVPLAN_PERSONENAUSWAHL_ANZEIGEN') || CIS_LVPLAN_PERSONENAUSWAHL_ANZEIGEN)
|
||||
{
|
||||
echo '<h2>'.$p->t("lvplan/lektorInStudentIn").'</h2>';
|
||||
@@ -330,21 +333,21 @@ function LoadGruppe(type)
|
||||
<option value="stpl_week.php" selected>'.$p->t('lvplan/raumAuswaehlen').'</option>';
|
||||
if(defined('CIS_SAALPLAN_ALLERAEUME_OPTION') && CIS_SAALPLAN_ALLERAEUME_OPTION)
|
||||
echo '<option value="stpl_week.php?type=ort&ort_kurzbz=all" value="all">'.$p->t('lvplan/alleRaeume').'</option>';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
for ($i=0;$i<$num_rows_ort;$i++)
|
||||
{
|
||||
$row=$db->db_fetch_object ($result_ort, $i);
|
||||
echo "<option value=\"stpl_week.php?type=ort&ort_kurzbz=$row->ort_kurzbz\">$row->ort_kurzbz ($row->bezeichnung)</option>";
|
||||
}
|
||||
|
||||
|
||||
echo '</select>';
|
||||
|
||||
|
||||
if ($raumres)
|
||||
{
|
||||
echo '<BR><BR><A class="Item" href="stpl_reserve_list.php">'.$p->t("lvplan/reservierungenLoeschen").'</A><BR>';
|
||||
}
|
||||
}
|
||||
|
||||
echo'</td>
|
||||
<td valign="top">';
|
||||
@@ -353,10 +356,10 @@ function LoadGruppe(type)
|
||||
{
|
||||
echo "<input class='search' placeholder='".$p->t('lvplan/nameEingeben')."' type='text' id='benutzer' size='32' value=''>";
|
||||
echo "<input type='hidden' id='mitarbeiter_uid' name='pers_uid'>";
|
||||
echo "<input type='hidden' id='uid' name='type' value='student'>";
|
||||
echo "<input type='hidden' id='uid' name='type' value='student'>";
|
||||
echo "<input type='submit' value='Go' onclick='return checkSetBenutzer();'>";
|
||||
}
|
||||
|
||||
|
||||
echo '
|
||||
</td>
|
||||
</tr>
|
||||
@@ -373,14 +376,14 @@ function LoadGruppe(type)
|
||||
<td width="20%" valign="middle">
|
||||
<select style="width:200px;" id="stg_kz" name="stg_kz" onchange="LoadSemester()">
|
||||
<option value="" selected>'.$p->t('lvplan/studiengangAuswaehlen').'</option>';
|
||||
|
||||
|
||||
$num_rows=$db->db_num_rows($result_stg);
|
||||
for ($i=0;$i<$num_rows;$i++)
|
||||
{
|
||||
$row=$db->db_fetch_object ($result_stg, $i);
|
||||
echo '<option value="'.$row->studiengang_kz.'">'.strtoupper($row->typ.$row->kurzbz).' ('.($sprache=='English' && $row->english!=''?$row->english:$row->bezeichnung).')</option>';
|
||||
}
|
||||
|
||||
|
||||
echo '
|
||||
</select>
|
||||
</td>
|
||||
@@ -441,14 +444,14 @@ if(!defined('CIS_LVPLAN_ARCHIVAUSWAHL_ANZEIGEN') || CIS_LVPLAN_ARCHIVAUSWAHL_ANZ
|
||||
<td valign="bottom">
|
||||
<select style="width:200px;" name="stg_kz_semplan" id="stg_kz_semplan" onchange="LoadSemester(\'_semplan\')">
|
||||
<option value="" selected>'.$p->t('lvplan/studiengangAuswaehlen').'</option>';
|
||||
|
||||
|
||||
$num_rows=$db->db_num_rows($result_stg);
|
||||
for ($i=0;$i<$num_rows;$i++)
|
||||
{
|
||||
$row=$db->db_fetch_object ($result_stg, $i);
|
||||
echo '<option value="'.$row->studiengang_kz.'">'.strtoupper($row->typ.$row->kurzbz).' ('.($sprache=='English' && $row->english!=''?$row->english:$row->bezeichnung).')</option>';
|
||||
}
|
||||
|
||||
|
||||
echo '
|
||||
</select>
|
||||
</td>
|
||||
@@ -489,10 +492,10 @@ if(!defined('CIS_LVPLAN_ARCHIVAUSWAHL_ANZEIGEN') || CIS_LVPLAN_ARCHIVAUSWAHL_ANZ
|
||||
</select>
|
||||
</td></tr><tr>
|
||||
<td valign="middle" >';
|
||||
|
||||
|
||||
$studiensemester = new studiensemester();
|
||||
$studiensemester->getFinished();
|
||||
|
||||
$studiensemester->getFinished();
|
||||
|
||||
echo '<SELECT style="width:200px;" name="begin" id="studiensemester">';
|
||||
echo '<OPTION value="" selected>'.$p->t('lvplan/studiensemesterAuswaehlen').'</OPTION>';
|
||||
foreach($studiensemester->studiensemester as $row)
|
||||
@@ -500,9 +503,9 @@ if(!defined('CIS_LVPLAN_ARCHIVAUSWAHL_ANZEIGEN') || CIS_LVPLAN_ARCHIVAUSWAHL_ANZ
|
||||
$studiensemester->getTimestamp($row->studiensemester_kurzbz);
|
||||
echo '<OPTION value="'.$studiensemester->begin->start.'&ende='.$studiensemester->ende->ende.'">'.$row->studiensemester_kurzbz.'</OPTION>';
|
||||
}
|
||||
|
||||
|
||||
echo '</SELECT>';
|
||||
|
||||
|
||||
echo '</td>
|
||||
<td colspan="3" valign="bottom">
|
||||
<input type="button" name="Abschicken" value="'.$p->t('lvplan/semesterplanLaden').'" onClick="jumpKalender()">
|
||||
|
||||
@@ -48,7 +48,12 @@ echo '
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/flexcrollstyles.css" type="text/css" />
|
||||
<script type="text/javascript" src="../../../include/js/flexcroll.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script language="Javascript">
|
||||
|
||||
$(document).ready(function()
|
||||
|
||||
@@ -49,8 +49,13 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Anzahl Studenten Lehrveranstaltungsplan FH Technikum-Wien</title>
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<script src="../../../include/js/jquery.js" type="text/javascript"></script>
|
||||
<script src="../../../include/js/jquery-ui.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script src="../../../vendor/components/jqueryui/jquery-ui.min.js" type="text/javascript"></script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
li { list-style : outside url("../../../skin/images/right.gif");}
|
||||
|
||||
@@ -57,7 +57,12 @@ if(!$is_lector)
|
||||
<link href="../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="../../skin/tablesort.css" type="text/css"/>
|
||||
<title><?php echo $p->t('mailverteiler/mailverteiler');?></title>
|
||||
<script type="text/javascript" src="../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<!--
|
||||
__js_page_array = new Array();
|
||||
|
||||
+157
-154
@@ -16,14 +16,14 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Karl Burkhart <[email protected]>
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
require_once('../../../config/cis.config.inc.php');
|
||||
require_once('../../../include/phrasen.class.php');
|
||||
require_once('../../../include/person.class.php');
|
||||
require_once('../../../include/benutzer.class.php');
|
||||
require_once('../../../include/preoutgoing.class.php');
|
||||
require_once('../../../include/preoutgoing.class.php');
|
||||
require_once('../../../include/firma.class.php');
|
||||
require_once('../../../include/functions.inc.php');
|
||||
require_once('../../../include/mobilitaetsprogramm.class.php');
|
||||
@@ -34,34 +34,34 @@ require_once('../../../include/akte.class.php');
|
||||
$method = (isset($_GET['method'])?$_GET['method']:'');
|
||||
$message = '';
|
||||
$uid=get_uid();
|
||||
$sprache = getSprache();
|
||||
$sprache = getSprache();
|
||||
$p=new phrasen($sprache);
|
||||
$outgoing = new preoutgoing();
|
||||
$outgoing->loadUid($uid);
|
||||
$outgoing = new preoutgoing();
|
||||
$outgoing->loadUid($uid);
|
||||
|
||||
// speichert outgoing
|
||||
if(isset($_REQUEST['submitOutgoing']))
|
||||
{
|
||||
{
|
||||
$ansprechpersonUid = (isset($_REQUEST['ansprechperson_uid']))?$_REQUEST['ansprechperson_uid']:'';
|
||||
|
||||
$datum=new datum();
|
||||
$datum=new datum();
|
||||
$zeitraum_von = $datum->formatDatum($_REQUEST['zeitraum_von'], 'Y-m-d');
|
||||
$zeitraum_bis = $datum->formatDatum($_REQUEST['zeitraum_bis'], 'Y-m-d');
|
||||
|
||||
$preoutgoing = new preoutgoing();
|
||||
|
||||
$preoutgoing = new preoutgoing();
|
||||
$preoutgoing->loadUid($outgoing->uid);
|
||||
|
||||
|
||||
// löschen der Ansprechperson
|
||||
if($_POST['ansprechperson']==' ' || $_POST['ansprechperson']=='' || $_POST['ansprechperson_uid'] == '')
|
||||
$ansprechpersonUid = '';
|
||||
|
||||
$preoutgoing->new = false;
|
||||
$preoutgoing->ansprechperson = $ansprechpersonUid;
|
||||
$preoutgoing->dauer_von = $zeitraum_von;
|
||||
$preoutgoing->dauer_bis = $zeitraum_bis;
|
||||
|
||||
$preoutgoing->new = false;
|
||||
$preoutgoing->ansprechperson = $ansprechpersonUid;
|
||||
$preoutgoing->dauer_von = $zeitraum_von;
|
||||
$preoutgoing->dauer_bis = $zeitraum_bis;
|
||||
$preoutgoing->anmerkung_student = $_POST['anmerkung'];
|
||||
$preoutgoing->updatevon = $uid;
|
||||
|
||||
$preoutgoing->updatevon = $uid;
|
||||
|
||||
if($preoutgoing->save())
|
||||
$message='<span class="ok">'.$p->t('global/erfolgreichgespeichert').'</span>';
|
||||
else
|
||||
@@ -70,11 +70,11 @@ if(isset($_REQUEST['submitOutgoing']))
|
||||
|
||||
// Updated die Daten des Preoutgoing
|
||||
if(isset($_REQUEST['zDaten']))
|
||||
{
|
||||
$preoutgoingZDaten = new preoutgoing();
|
||||
{
|
||||
$preoutgoingZDaten = new preoutgoing();
|
||||
$preoutgoingZDaten->load($outgoing->preoutgoing_id);
|
||||
|
||||
$datum=new datum();
|
||||
$datum=new datum();
|
||||
// wenn sprachkurs gesetzt -> erasmus programm
|
||||
if(isset($_REQUEST['sprachkurs']))
|
||||
{
|
||||
@@ -82,36 +82,36 @@ if(isset($_REQUEST['zDaten']))
|
||||
$preoutgoingZDaten->sprachkurs_bis = $datum->formatDatum($_REQUEST['sprachkurs_bis'], 'Y-m-d');
|
||||
if($_REQUEST['sprachkurs'] == 'vorbereitend')
|
||||
{
|
||||
$preoutgoingZDaten->sprachkurs = true;
|
||||
$preoutgoingZDaten->sprachkurs = true;
|
||||
$preoutgoingZDaten->intensivsprachkurs = false;
|
||||
}
|
||||
else if($_REQUEST['sprachkurs']=='intensiv')
|
||||
{
|
||||
$preoutgoingZDaten->sprachkurs = false;
|
||||
$preoutgoingZDaten->intensivsprachkurs = true;
|
||||
$preoutgoingZDaten->sprachkurs = false;
|
||||
$preoutgoingZDaten->intensivsprachkurs = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$preoutgoingZDaten->sprachkurs = false;
|
||||
$preoutgoingZDaten->sprachkurs = false;
|
||||
$preoutgoingZDaten->intensivsprachkurs = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$preoutgoingZDaten->praktikum_von = $datum->formatDatum($_REQUEST['praktikum_von'], 'Y-m-d');
|
||||
$preoutgoingZDaten->praktikum_bis = $datum->formatDatum($_REQUEST['praktikum_bis'], 'Y-m-d');
|
||||
$preoutgoingZDaten->praktikum = isset($_REQUEST['praktikum'])?true:false;
|
||||
$preoutgoingZDaten->praktikum_bis = $datum->formatDatum($_REQUEST['praktikum_bis'], 'Y-m-d');
|
||||
$preoutgoingZDaten->praktikum = isset($_REQUEST['praktikum'])?true:false;
|
||||
$betreuer = isset($_POST['betreuer_uid'])?$_POST['betreuer_uid']:'';
|
||||
|
||||
|
||||
if($_POST['betreuer']==' ' || $_POST['betreuer']=='' || $_POST['betreuer_uid'] == '')
|
||||
$betreuer = '';
|
||||
$preoutgoingZDaten->bachelorarbeit = isset($_REQUEST['bachelorarbeit'])?true:false;
|
||||
$preoutgoingZDaten->masterarbeit = isset($_REQUEST['masterarbeit'])?true:false;
|
||||
$preoutgoingZDaten->bachelorarbeit = isset($_REQUEST['bachelorarbeit'])?true:false;
|
||||
$preoutgoingZDaten->masterarbeit = isset($_REQUEST['masterarbeit'])?true:false;
|
||||
$preoutgoingZDaten->projektarbeittitel = $_REQUEST['projektarbeittitel'];
|
||||
$preoutgoingZDaten->behinderungszuschuss = isset($_REQUEST['behinderungszuschuss'])?true:false;
|
||||
$preoutgoingZDaten->studienbeihilfe = isset($_REQUEST['studienbeihilfe'])?true:false;
|
||||
$preoutgoingZDaten->betreuer = $betreuer;
|
||||
$preoutgoingZDaten->behinderungszuschuss = isset($_REQUEST['behinderungszuschuss'])?true:false;
|
||||
$preoutgoingZDaten->studienbeihilfe = isset($_REQUEST['studienbeihilfe'])?true:false;
|
||||
$preoutgoingZDaten->betreuer = $betreuer;
|
||||
$preoutgoingZDaten->studienrichtung_gastuniversitaet = isset($_REQUEST['studienrichtungGastuni'])?$_REQUEST['studienrichtungGastuni']:'';
|
||||
$preoutgoingZDaten->new = false;
|
||||
$preoutgoingZDaten->new = false;
|
||||
if(!$preoutgoingZDaten->save())
|
||||
$message='<span class="error">'.$p->t('global/fehlerBeimSpeichernDerDaten').'</span>';
|
||||
else
|
||||
@@ -121,17 +121,17 @@ if(isset($_REQUEST['zDaten']))
|
||||
// neuen Datensatz anlegen
|
||||
if($method=='new')
|
||||
{
|
||||
$preoutgoing = new preoutgoing();
|
||||
$preoutgoing->uid = $uid;
|
||||
$preoutgoing->new = true;
|
||||
$preoutgoing->bachelorarbeit = false;
|
||||
$preoutgoing->masterarbeit = false;
|
||||
$preoutgoing->sprachkurs = false;
|
||||
$preoutgoing->intensivsprachkurs = false;
|
||||
$preoutgoing->praktikum = false;
|
||||
$preoutgoing->behinderungszuschuss = false;
|
||||
$preoutgoing->studienbeihilfe = false;
|
||||
$preoutgoing->insertvon = $uid;
|
||||
$preoutgoing = new preoutgoing();
|
||||
$preoutgoing->uid = $uid;
|
||||
$preoutgoing->new = true;
|
||||
$preoutgoing->bachelorarbeit = false;
|
||||
$preoutgoing->masterarbeit = false;
|
||||
$preoutgoing->sprachkurs = false;
|
||||
$preoutgoing->intensivsprachkurs = false;
|
||||
$preoutgoing->praktikum = false;
|
||||
$preoutgoing->behinderungszuschuss = false;
|
||||
$preoutgoing->studienbeihilfe = false;
|
||||
$preoutgoing->insertvon = $uid;
|
||||
if($preoutgoing->save())
|
||||
{
|
||||
// Email an Auslandsabteilung schicken
|
||||
@@ -144,20 +144,20 @@ if($method=='new')
|
||||
|
||||
// speichert die eingegebene Lehrveranstaltung
|
||||
if(isset($_POST['saveLv']) == 'saveLv')
|
||||
{
|
||||
{
|
||||
$bezeichnung = $_POST['lv_bezeichnung'];
|
||||
$ects = $_POST['lv_ects'];
|
||||
$wochenstunden = $_POST['lv_wochenstunden'];
|
||||
$unitcode = $_POST['lv_unitcode'];
|
||||
|
||||
$preoutgoingLv = new preoutgoing();
|
||||
|
||||
$preoutgoingLv = new preoutgoing();
|
||||
$preoutgoingLv->preoutgoing_id = $outgoing->preoutgoing_id;
|
||||
$preoutgoingLv->bezeichnung = $bezeichnung;
|
||||
$preoutgoingLv->ects = $ects;
|
||||
$preoutgoingLv->wochenstunden = $wochenstunden;
|
||||
$preoutgoingLv->unitcode = $unitcode;
|
||||
$preoutgoingLv->new = true;
|
||||
$preoutgoingLv->insertvon = $uid;
|
||||
$preoutgoingLv->bezeichnung = $bezeichnung;
|
||||
$preoutgoingLv->ects = $ects;
|
||||
$preoutgoingLv->wochenstunden = $wochenstunden;
|
||||
$preoutgoingLv->unitcode = $unitcode;
|
||||
$preoutgoingLv->new = true;
|
||||
$preoutgoingLv->insertvon = $uid;
|
||||
if(!$preoutgoingLv->saveLv())
|
||||
$message='<span class="error">'.$p->t('global/fehlerBeimSpeichernDerDaten').'</span>';
|
||||
else
|
||||
@@ -168,12 +168,12 @@ if(isset($_POST['saveLv']) == 'saveLv')
|
||||
if($method== 'deleteLv')
|
||||
{
|
||||
$lv_id = $_GET['lv_id'];
|
||||
$preoutgoingLv = new preoutgoing();
|
||||
|
||||
$preoutgoingLv = new preoutgoing();
|
||||
|
||||
// Wenn die Lv zum preoutgoing gehört wird sie gelöscht
|
||||
|
||||
|
||||
if($preoutgoingLv->checkLv($lv_id, $outgoing->preoutgoing_id))
|
||||
{
|
||||
{
|
||||
if(!$preoutgoingLv->deleteLv($lv_id))
|
||||
$message ='<span class="error">'.$p->t('incoming/fehlerBeimLoeschenDerLv').'</span>';
|
||||
else
|
||||
@@ -184,15 +184,15 @@ if($method== 'deleteLv')
|
||||
// speichert die ausgewählte Firma
|
||||
if($method=='saveFirma')
|
||||
{
|
||||
$firmaOutgoing = new preoutgoing();
|
||||
$firmaOutgoing = new preoutgoing();
|
||||
|
||||
// Check ob schon 3 Firmen Eingetragen sind
|
||||
if(($firmaOutgoing->getAnzahlFirma($outgoing->preoutgoing_id)) < 3)
|
||||
if(($firmaOutgoing->getAnzahlFirma($outgoing->preoutgoing_id)) < 3)
|
||||
{
|
||||
if(!isset($_GET['firma_id']))
|
||||
{
|
||||
// Freemover wird ausgewählt
|
||||
$firma_id = '';
|
||||
$firma_id = '';
|
||||
$name = $_GET['name'];
|
||||
$firmaOutgoing->mobilitaetsprogramm_code = 202;
|
||||
}
|
||||
@@ -201,29 +201,29 @@ if($method=='saveFirma')
|
||||
// Programm ausgewählt
|
||||
$firma_id = $_GET['firma_id'];
|
||||
$name = '';
|
||||
$firmaOutgoing->mobilitaetsprogramm_code = $_GET['programm'];
|
||||
$firmaOutgoing->mobilitaetsprogramm_code = $_GET['programm'];
|
||||
}
|
||||
|
||||
|
||||
$firmaOutgoing->preoutgoing_id = $outgoing->preoutgoing_id;
|
||||
$firmaOutgoing->firma_id = $firma_id;
|
||||
$firmaOutgoing->name = $name;
|
||||
$firmaOutgoing->auswahl = false;
|
||||
$firmaOutgoing->new = true;
|
||||
$firmaOutgoing->firma_id = $firma_id;
|
||||
$firmaOutgoing->name = $name;
|
||||
$firmaOutgoing->auswahl = false;
|
||||
$firmaOutgoing->new = true;
|
||||
if(!$firmaOutgoing->saveFirma())
|
||||
{
|
||||
die($firmaOutgoing->errormsg);
|
||||
die($firmaOutgoing->errormsg);
|
||||
}
|
||||
$message='<span class="ok">'.$p->t('global/erfolgreichgespeichert').'</span>';
|
||||
}
|
||||
else
|
||||
$message = '<span class="error">'.$p->t('incoming/nichtMehrAlsDreiUniversitaeten').'</span>';
|
||||
$message = '<span class="error">'.$p->t('incoming/nichtMehrAlsDreiUniversitaeten').'</span>';
|
||||
}
|
||||
|
||||
// Löscht die Akte mit übergebener Id
|
||||
if($method == 'files')
|
||||
{
|
||||
$akte = new akte();
|
||||
|
||||
$akte = new akte();
|
||||
|
||||
if(isset($_GET['id']))
|
||||
{
|
||||
if($_GET['mode']=="delete")
|
||||
@@ -242,10 +242,10 @@ if($method =="deleteFirma")
|
||||
if(isset($_GET['outgoingFirma_id']))
|
||||
{
|
||||
$outgoingFirma_id = $_GET['outgoingFirma_id'];
|
||||
$firmaOutgoing = new preoutgoing();
|
||||
$firmaOutgoing = new preoutgoing();
|
||||
if(!$firmaOutgoing->deleteFirma($outgoingFirma_id))
|
||||
$message = '<span class="error">'.$p->t('global/fehlerBeimLoeschenDesEintrags').'</span>';
|
||||
$message ='<span class="ok">'.$p->t('global/erfolgreichgelöscht').'</span>';
|
||||
$message ='<span class="ok">'.$p->t('global/erfolgreichgelöscht').'</span>';
|
||||
}
|
||||
else
|
||||
$message = '<span class="error">'.$p->t('incoming/ungueltigeIdUebergeben').'</span>';
|
||||
@@ -262,36 +262,39 @@ if($method =="deleteFirma")
|
||||
<link href="../../../skin/jquery.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../../skin/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css">
|
||||
<script src="../../../include/js/tablesort/table.js" type="text/javascript"></script>
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
$(document).ready(function()
|
||||
{
|
||||
$( "#datepicker_zeitraumvon" ).datepicker($.datepicker.regional['de']);
|
||||
$( "#datepicker_zeitraumbis" ).datepicker($.datepicker.regional['de']);
|
||||
$( "#datepicker_sprachkursvon" ).datepicker($.datepicker.regional['de']);
|
||||
$( "#datepicker_sprachkursbis" ).datepicker($.datepicker.regional['de']);
|
||||
$( "#datepicker_praktikumvon" ).datepicker($.datepicker.regional['de']);
|
||||
$( "#datepicker_praktikumbis" ).datepicker($.datepicker.regional['de']);
|
||||
|
||||
$( "#datepicker_praktikumbis" ).datepicker($.datepicker.regional['de']);
|
||||
|
||||
$("#myTable").tablesorter(
|
||||
{
|
||||
widgets: ["zebra"]
|
||||
});
|
||||
});
|
||||
$("#myTableFiles").tablesorter(
|
||||
{
|
||||
sortList: [[0,0]],
|
||||
widgets: ["zebra"]
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
function formatItem(row)
|
||||
|
||||
function formatItem(row)
|
||||
{
|
||||
return row[0] + " " + row[1] + " " + row[2];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$("#ansprechperson").autocomplete({
|
||||
source: "outgoing_autocomplete.php?autocomplete=mitarbeiter",
|
||||
minLength:2,
|
||||
@@ -310,7 +313,7 @@ if($method =="deleteFirma")
|
||||
$("#ansprechperson_uid").val(ui.item.uid);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$("#betreuer").autocomplete({
|
||||
source: "outgoing_autocomplete.php?autocomplete=mitarbeiter",
|
||||
minLength:2,
|
||||
@@ -328,21 +331,21 @@ if($method =="deleteFirma")
|
||||
//Ausgeaehlte Ressource zuweisen und Textfeld wieder leeren
|
||||
$("#betreuer_uid").val(ui.item.uid);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
|
||||
$benutzer = new benutzer();
|
||||
$benutzer->load($uid);
|
||||
$outgoing = new preoutgoing();
|
||||
$outgoing->loadUid($uid);
|
||||
$datum = new datum();
|
||||
$benutzer = new benutzer();
|
||||
$benutzer->load($uid);
|
||||
$outgoing = new preoutgoing();
|
||||
$outgoing->loadUid($uid);
|
||||
$datum = new datum();
|
||||
$zeitraum_von = $datum->formatDatum($outgoing->dauer_von, 'd.m.Y');
|
||||
$zeitraum_bis = $datum->formatDatum($outgoing->dauer_bis, 'd.m.Y');
|
||||
$ansprechperson = new benutzer();
|
||||
@@ -351,12 +354,12 @@ $ansprechperson->load($outgoing->ansprechperson);
|
||||
$name = '';
|
||||
if($benutzer->titelpre !='')
|
||||
$name.=$benutzer->titelpre.' ';
|
||||
$name.= $benutzer->vorname.' '.$benutzer->nachname.' '.$benutzer->titelpost;
|
||||
//
|
||||
$name.= $benutzer->vorname.' '.$benutzer->nachname.' '.$benutzer->titelpost;
|
||||
//
|
||||
if(isset($_GET['ansicht']) == 'auswahl')
|
||||
{
|
||||
|
||||
?>
|
||||
?>
|
||||
<table border ="0" width="100%">
|
||||
<tr>
|
||||
<td align="left" colspan="4"><b><h1><div style="display:block; text-align:left; float:left;"><?php echo $p->t('incoming/outgoingRegistration'); ?></div><div style="display:block; text-align:right; margin-right:6px; "><?php echo((check_lektor($outgoing->uid)!='0')?"Mitarbeiter: ":"Student: ").$name; ?></div></h1></b></td>
|
||||
@@ -364,7 +367,7 @@ if(isset($_GET['ansicht']) == 'auswahl')
|
||||
<tr><td><?php echo $message; ?></td></tr>
|
||||
<tr><td><h3><?php echo $p->t('incoming/programmAuswahl');?>:</h3></td><td><div style="display:block; text-align:right; margin-right:6px; "><a href="<?php echo $_SERVER['PHP_SELF']; ?>?method=new&ansicht=auswahl" align ="left"><?php echo $p->t('incoming/neuenOutgoingAnlegen'); ?></a></div></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td width="50%">
|
||||
@@ -374,10 +377,10 @@ if(isset($_GET['ansicht']) == 'auswahl')
|
||||
<td><b>ERASMUS</b>: Finanzielle Unterstützung für Studierendenmobilität bei Partnerinstitutionen in den EU-Mitgliedsstaaten, Island, Kroatien, Liechtenstein, Norwegen, der Schweiz und der Türkei.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><SELECT name="auswahl_erasmus" style="width: 90%" onchange="saveFirma(this.value, '7')">
|
||||
<td><SELECT name="auswahl_erasmus" style="width: 90%" onchange="saveFirma(this.value, '7')">
|
||||
<option value="erasmus_auswahl">-- select --</option>
|
||||
<?php
|
||||
$firmaErasmus = new firma();
|
||||
<?php
|
||||
$firmaErasmus = new firma();
|
||||
$firmaErasmus->getFirmenMobilitaetsprogramm('7');
|
||||
foreach($firmaErasmus->result as $fi)
|
||||
echo'<option value="'.$fi->firma_id.'">'.$fi->name.'</option>';
|
||||
@@ -388,12 +391,12 @@ if(isset($_GET['ansicht']) == 'auswahl')
|
||||
<table width="90%" style="border: thin solid black; border-spacing:10px; background-color: lightgray; margin-top:5px">
|
||||
<tr>
|
||||
<td><b>CEEPUS</b>: Finanzielle Unterstützung für Studierendenmobilität bei Partnerinstitutionen im Rahmen unseres Netzwerkes in Albanien, Bosnien-Herzegowina, Bulgarien, Kosovo (Universität Prishtina), Kroatien, Mazedonien, Moldawien, Montenegro, Österreich, Polen, Rumänien, Serbien, der Slowakischen Republik, Slowenien, der Tschechischen Republik und Ungarn.</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><SELECT name="auswahl_ceepus" style="width: 90%" onchange="saveFirma(this.value, '6')" >
|
||||
<td><SELECT name="auswahl_ceepus" style="width: 90%" onchange="saveFirma(this.value, '6')" >
|
||||
<option value="ceepus_auswahl">-- select --</option>
|
||||
<?php
|
||||
$firmaCeepus = new firma();
|
||||
<?php
|
||||
$firmaCeepus = new firma();
|
||||
$firmaCeepus->getFirmenMobilitaetsprogramm('6');
|
||||
foreach($firmaCeepus->result as $fi)
|
||||
echo'<option value="'.$fi->firma_id.'">'.$fi->name.'</option>';
|
||||
@@ -406,10 +409,10 @@ if(isset($_GET['ansicht']) == 'auswahl')
|
||||
<td><b>Sonstige</b>: Bilaterale Abkommen zwischen der FH Technikum Wien und Hochschulen außerhalb Europas zum gegenseitigen geförderten Studierendenaustausch. Eine Liste der Partnerinstitutionen befindet sich auf unserer Homepage. </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><SELECT name="auswahl_sonstige" style="width: 90%" onchange="saveFirma(this.value, '30')">
|
||||
<td><SELECT name="auswahl_sonstige" style="width: 90%" onchange="saveFirma(this.value, '30')">
|
||||
<option value="sonstige_auswahl">-- select --</option>
|
||||
<?php
|
||||
$firmaSonstige = new firma();
|
||||
<?php
|
||||
$firmaSonstige = new firma();
|
||||
$firmaSonstige->getFirmenMobilitaetsprogramm('30');
|
||||
foreach($firmaSonstige->result as $fi)
|
||||
echo'<option value="'.$fi->firma_id.'">'.$fi->name.'</option>';
|
||||
@@ -430,39 +433,39 @@ if(isset($_GET['ansicht']) == 'auswahl')
|
||||
</td>
|
||||
<!-- Rechte Seite -> Ausgewählte Universitäten -->
|
||||
<td valign="top">
|
||||
|
||||
|
||||
<table width="100%" style="border: thin solid black; border-spacing:5px; background-color: lightgray; margin-top:5px;" >
|
||||
<tr><td><b> <?php echo $p->t('incoming/auswahlUniversitaeten'); ?>: </b></td></tr>
|
||||
|
||||
<?php
|
||||
$outgoingFirma = new preoutgoing();
|
||||
|
||||
<?php
|
||||
$outgoingFirma = new preoutgoing();
|
||||
$outgoingFirma->loadAuswahlFirmen($outgoing->preoutgoing_id);
|
||||
$disabledSpeichern = ($outgoing->checkStatus($outgoing->preoutgoing_id, 'freigabe'))?'disabled':'';
|
||||
|
||||
$i = 1;
|
||||
|
||||
$i = 1;
|
||||
|
||||
foreach($outgoingFirma->firmen as $fi)
|
||||
{
|
||||
$firmaAuswahl = new firma();
|
||||
$firmaAuswahl = new firma();
|
||||
$firmaAuswahl->load($fi->firma_id);
|
||||
$style = '';
|
||||
$link = '';
|
||||
|
||||
|
||||
if($fi->auswahl == true)
|
||||
$style = 'style="color:red"';
|
||||
|
||||
$mobilitätsprogramm = new mobilitaetsprogramm();
|
||||
|
||||
$mobilitätsprogramm = new mobilitaetsprogramm();
|
||||
$mobilitätsprogramm->load($fi->mobilitaetsprogramm_code);
|
||||
if($mobilitätsprogramm->kurzbz == '')
|
||||
$mobprogramm = 'SUMMERSCHOOL';
|
||||
else
|
||||
$mobprogramm = $mobilitätsprogramm->kurzbz;
|
||||
|
||||
$mobprogramm = $mobilitätsprogramm->kurzbz;
|
||||
|
||||
if($fi->name == '')
|
||||
{
|
||||
if(!$outgoing->checkStatus($outgoing->preoutgoing_id, 'freigabe'))
|
||||
$link = "<a href='".$_SERVER['PHP_SELF']."?method=deleteFirma&outgoingFirma_id=".$fi->preoutgoing_firma_id."&ansicht=auswahl'>delete</a>";
|
||||
|
||||
|
||||
echo " <tr><td ".$style.">".$i.": ".$firmaAuswahl->name." [".$mobprogramm."] $link </td></tr>";
|
||||
}
|
||||
else // freemover
|
||||
@@ -474,7 +477,7 @@ if(isset($_GET['ansicht']) == 'auswahl')
|
||||
$i++;
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</table>
|
||||
<form action="<?php echo $_SERVER['PHP_SELF']."?ansicht=auswahl"; ?>" method ="POST">
|
||||
<table width="100%" style="border: thin solid black; border-spacing:5px; background-color: lightgray; margin-top:5px; margin-bottom:5px;" >
|
||||
@@ -498,13 +501,13 @@ if(isset($_GET['ansicht']) == 'auswahl')
|
||||
<tr>
|
||||
<td><?php
|
||||
if(!$outgoing->checkStatus($outgoing->preoutgoing_id, 'freigabe'))
|
||||
echo '<span class="error">'.$p->t('incoming/warteAufFreigabe').'</span>';
|
||||
echo '<span class="error">'.$p->t('incoming/warteAufFreigabe').'</span>';
|
||||
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -516,12 +519,12 @@ if(isset($_GET['ansicht']) == 'auswahl')
|
||||
<table width="46%" style="border: thin solid black; border-spacing:10px; background-color: lightgray; margin-top:5px">
|
||||
<tr>
|
||||
<td><b>Summerschool</b>: Meist zwei- bis dreiwöchige wissenschaftliche Fachkurse, die in den Sommerferien von Partnerhochschulen organisiert werden. Ankündigungen von Summer Schools erfolgen auf der CIS-Seite. </td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><SELECT name="auswahl_summerschool" onchange="saveFirma(this.value, '')" style="width: 90%">
|
||||
<option value="summerschool_auswahl">-- select --</option>
|
||||
<?php
|
||||
$firmaSummerschool = new firma();
|
||||
<?php
|
||||
$firmaSummerschool = new firma();
|
||||
$firmaSummerschool->getFirmen('Partneruniversität');
|
||||
foreach($firmaSummerschool->result as $fi)
|
||||
echo'<option value="'.$fi->firma_id.'">'.$fi->name.'</option>';
|
||||
@@ -539,9 +542,9 @@ else
|
||||
// Wenn schon Freigegeben -> dann zusätzliche Felder anzeigen
|
||||
if($outgoing->checkStatus($outgoing->preoutgoing_id, 'freigabe'))
|
||||
{
|
||||
$outgoing_id = $outgoing->preoutgoing_id;
|
||||
$outgoing_id = $outgoing->preoutgoing_id;
|
||||
|
||||
$outgoingAuswahlFirma = new preoutgoing();
|
||||
$outgoingAuswahlFirma = new preoutgoing();
|
||||
$outgoingAuswahlFirma->loadAuswahl($outgoing_id);
|
||||
$bscChecked = $outgoing->bachelorarbeit?'checked':'';
|
||||
$mscChecked = $outgoing->masterarbeit?'checked':'';
|
||||
@@ -564,7 +567,7 @@ else
|
||||
echo '<form name="zusaetzlicheDaten" method="POST" action="'.$_SERVER['PHP_SELF'].'">';
|
||||
echo '<table width="90%" style="border: thin solid black; border-spacing:10px; background-color: lightgray; margin-top:5px; margin-bottom:5px;">';
|
||||
echo '<tr><td><table>';
|
||||
|
||||
|
||||
echo '<tr><td>'.$p->t('incoming/praktikum').': </td><td><input type="checkbox" name="praktikum" value="Praktikum" '.$praktikumChecked.'></td>
|
||||
<td>'.$p->t('incoming/bachelorthesis').': <input type="checkbox" name="bachelorarbeit" '.$bscChecked.'></td>';
|
||||
echo '<td>'.$p->t('incoming/masterthesis').': <input type="checkbox" name="masterarbeit" '.$mscChecked.'></td></tr>';
|
||||
@@ -573,16 +576,16 @@ else
|
||||
echo '<tr><td> </td></tr>';
|
||||
// zusätzliche Felder bei Erasmus
|
||||
if($outgoingAuswahlFirma->mobilitaetsprogramm_code == '7')
|
||||
{
|
||||
{
|
||||
echo '<tr><td>'.$p->t('incoming/sprachkurs').': </td><td><select name="sprachkurs">
|
||||
<option value="kein">'.$p->t('incoming/keiner').'</option>
|
||||
<option value="vorbereitend" '.$sprachkursSelect.'>'.$p->t('incoming/vorbereitenderSprachkurs').'</option>
|
||||
<option value="intensiv" '.$intensivSprachkursSelect.'>'.$p->t('incoming/erasmusIntensivsprachkurs').'</option>
|
||||
</select></td></tr>';
|
||||
echo '<tr><td>'.$p->t('incoming/sprachkursVon').':</td><td> <input type="text" name="sprachkurs_von" id="datepicker_sprachkursvon" value="'.$datum->formatDatum($outgoing->sprachkurs_von, 'd.m.Y').'"></td><td colspan="4">'.$p->t('incoming/studienrichtungGastuniversitaet').': <input type="text" name="studienrichtungGastuni" value="'.$outgoing->studienrichtung_gastuniversitaet.'"></td></tr>';
|
||||
echo '<tr><td>'.$p->t('incoming/sprachkursVon').':</td><td> <input type="text" name="sprachkurs_von" id="datepicker_sprachkursvon" value="'.$datum->formatDatum($outgoing->sprachkurs_von, 'd.m.Y').'"></td><td colspan="4">'.$p->t('incoming/studienrichtungGastuniversitaet').': <input type="text" name="studienrichtungGastuni" value="'.$outgoing->studienrichtung_gastuniversitaet.'"></td></tr>';
|
||||
echo '<tr><td>'.$p->t('incoming/sprachkursBis').': </td><td><input type="text" name="sprachkurs_bis" id="datepicker_sprachkursbis" value="'.$datum->formatDatum($outgoing->sprachkurs_bis, 'd.m.Y').'"></td></tr>';
|
||||
}
|
||||
|
||||
|
||||
echo '<tr><td colspan="6">'.$p->t('incoming/aufgrundEinerBehinderung').': <input type="checkbox" name="behinderungszuschuss" '.$behindChecked.'>';
|
||||
echo '<tr><td colspan="6">'.$p->t('incoming/währendDesAuslandsaufenthaltes').': <input type="checkbox" name="studienbeihilfe" '.$beihilfeChecked.'>';
|
||||
echo '</table>';
|
||||
@@ -591,7 +594,7 @@ else
|
||||
echo '<tr><td><input type="button" value="'.$p->t('global/zurueck').'" onclick="clickZurueck()"></td><td align="right"><input type="submit" value="'.$p->t('global/speichern').'" name="zDaten"></td>';
|
||||
echo '</table>';
|
||||
echo '</form>';
|
||||
|
||||
|
||||
// Bei Mitarbeiter Lehrveranstaltung ausblenden
|
||||
if(check_lektor($outgoing->uid)=='0')
|
||||
{
|
||||
@@ -610,7 +613,7 @@ else
|
||||
<thead>
|
||||
<tr>
|
||||
<th>'.$p->t('global/bezeichnung').'</th>
|
||||
<th>'.$p->t('incoming/wochenstunden').'</th>
|
||||
<th>'.$p->t('incoming/wochenstunden').'</th>
|
||||
<th>'.$p->t('incoming/ects').'</th>
|
||||
<th>'.$p->t('incoming/unitcode').'</th>
|
||||
<th></th>
|
||||
@@ -627,12 +630,12 @@ else
|
||||
echo '<tr><td><input type="button" value="'.$p->t('incoming/learningAgreement').'" onClick="getLearningAgreement();"><input type="button" value="'.$p->t('incoming/geaendertesLA').'" onClick="getLearningAgreementChange();"></td></tr>';
|
||||
echo '</table>';
|
||||
}
|
||||
|
||||
|
||||
echo '<hr>';
|
||||
echo '<h3>'.$p->t('incoming/verwaltungVonDateien').'</h3>';
|
||||
echo '<table>
|
||||
<tr><td><a href="'.APP_ROOT.'cis/private/outgoing/akteupload.php?person_id='.$benutzer->person_id.'" onclick="FensterOeffnen(this.href); return false;">',$p->t('incoming/fileupload'),'</a></td></td></tr>';
|
||||
$akte = new akte();
|
||||
$akte = new akte();
|
||||
$akte->getAktenOutgoing($benutzer->person_id);
|
||||
|
||||
|
||||
@@ -647,20 +650,20 @@ else
|
||||
</thead>
|
||||
<tbody>';
|
||||
foreach ($akte->result as $ak)
|
||||
{
|
||||
{
|
||||
echo '<tr>
|
||||
<td><a href="'.APP_ROOT.'cis/private/outgoing/akte.php?id='.$ak->akte_id.'">'.$ak->titel.'</a></td>
|
||||
<td><a href="'.$_SERVER['PHP_SELF'].'?method=files&mode=delete&id='.$ak->akte_id.'" title="delete">'.$p->t('incoming/loeschen').'</a></td>
|
||||
</tr>';
|
||||
}
|
||||
echo '</table>';
|
||||
echo '</table>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Lehrveranstaltungen eingragen
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function saveFirma(firma_id, programm)
|
||||
@@ -683,7 +686,7 @@ else
|
||||
{
|
||||
window.location.href="<?php echo $_SERVER['PHP_SELF'] ?>?ansicht=auswahl";
|
||||
}
|
||||
function FensterOeffnen (adresse)
|
||||
function FensterOeffnen (adresse)
|
||||
{
|
||||
MeinFenster = window.open(adresse, "Info", "width=600,height=200");
|
||||
MeinFenster.focus();
|
||||
@@ -691,19 +694,19 @@ else
|
||||
function getLearningAgreement()
|
||||
{
|
||||
var url = "<?php echo APP_ROOT ?>content/pdfExport.php?xsl=OutgoingLearning&xml=learningagreement_outgoing.rdf.php&preoutgoing_id=<?php echo $outgoing->preoutgoing_id;?>&output=pdf";
|
||||
window.location.href= url;
|
||||
window.location.href= url;
|
||||
}
|
||||
function getLearningAgreementChange()
|
||||
{
|
||||
var url = "<?php echo APP_ROOT ?>content/pdfExport.php?xsl=OutgoingChangeL&xml=learningagreement_outgoing.rdf.php&preoutgoing_id=<?php echo $outgoing->preoutgoing_id;?>&output=pdf";
|
||||
window.location.href= url;
|
||||
window.location.href= url;
|
||||
}
|
||||
function test()
|
||||
{
|
||||
alert('test')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -711,9 +714,9 @@ else
|
||||
function sendMailInternational()
|
||||
{
|
||||
$emailtext= "Dies ist eine automatisch generierte E-Mail.<br><br>";
|
||||
$emailtext.= "Es hat sich ein neuer Outgoing am System registriert.</b>";
|
||||
$emailtext.= "Es hat sich ein neuer Outgoing am System registriert.</b>";
|
||||
$mail = new mail(MAIL_INTERNATIONAL_OUTGOING, 'no-reply', 'New Outgoing', 'Bitte sehen Sie sich die Nachricht in HTML Sicht an, um den Link vollständig darzustellen.');
|
||||
$mail->setHTMLContent($emailtext);
|
||||
$mail->send();
|
||||
$mail->setHTMLContent($emailtext);
|
||||
$mail->send();
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -50,7 +50,12 @@ echo '
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="../../skin/tablesort.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
|
||||
@@ -81,7 +81,7 @@ if(!$semester || !array_key_exists($semester, $alle_semester))
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/jquery.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.min.1.11.1.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
</head>
|
||||
<body class="anwesenheit">
|
||||
<?php
|
||||
|
||||
@@ -91,7 +91,7 @@ if($lehreinheit_id)
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/jquery.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.min.1.11.1.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="anwesenheit">
|
||||
|
||||
@@ -49,7 +49,12 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<title>'.$p->t('freebusy/titel').'</title>
|
||||
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
|
||||
@@ -130,7 +130,12 @@ echo '<!DOCTYPE HTML>
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link href="../../../skin/flexcrollstyles.css" rel="stylesheet" type="text/css" />
|
||||
<script src="../../../include/js/flexcroll.js" type="text/javascript" ></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<!--
|
||||
|
||||
@@ -119,7 +119,12 @@ require_once('../../../include/benutzerberechtigung.class.php');
|
||||
<title>'.$p->t('lvaliste/titel').'</title>
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/jquery.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script language="Javascript">
|
||||
<!--
|
||||
|
||||
@@ -66,7 +66,12 @@ $buchung->getBuchungPerson($benutzer->person_id, $options);
|
||||
<title><?php echo $p->t('buchungen/titel'); ?></title>
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/jquery.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script language="Javascript">
|
||||
<!--
|
||||
|
||||
@@ -133,7 +133,10 @@ echo '<!DOCTYPE html>
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" />
|
||||
<link rel="stylesheet" href="../../../skin/jquery.css" />
|
||||
<link rel="stylesheet" href="../../../skin/jquery-ui-1.9.2.custom.min.css" />
|
||||
<script type="text/javascript" src="../../../include/js/jquery1.9.min.js"></script>';
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
|
||||
// ADDONS laden
|
||||
$addon_obj = new addon();
|
||||
|
||||
@@ -40,19 +40,19 @@ $rechte->getBerechtigungen($user);
|
||||
|
||||
if(isset($_GET['year']) && is_numeric($_GET['year']))
|
||||
$year = $_GET['year'];
|
||||
else
|
||||
else
|
||||
{
|
||||
//Bis August das aktuelle Jahr anzeigen
|
||||
//Ab September das naechste
|
||||
if(date('m')<9)
|
||||
$year = date('Y');
|
||||
else
|
||||
else
|
||||
$year = date('Y')+1;
|
||||
}
|
||||
|
||||
if(isset($_GET['uid']))
|
||||
$uid=$_GET['uid'];
|
||||
else
|
||||
else
|
||||
$uid='';
|
||||
|
||||
$datum_obj = new datum();
|
||||
@@ -62,7 +62,10 @@ echo '<html>
|
||||
<title>Urlaubsfreigabe</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript"></script>';
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
|
||||
// ADDONS laden
|
||||
$addon_obj = new addon();
|
||||
@@ -76,7 +79,7 @@ foreach($addon_obj->result as $addon)
|
||||
// Wenn Seite fertig geladen ist Addons aufrufen
|
||||
echo '
|
||||
<script>
|
||||
$( document ).ready(function()
|
||||
$( document ).ready(function()
|
||||
{
|
||||
for(i in addon)
|
||||
{
|
||||
@@ -140,16 +143,16 @@ if(isset($_GET['action']) && $_GET['action']=='freigabe')
|
||||
if(!$zeitsperre->save(false))
|
||||
echo "<b>Fehler bei der Freigabe: $zeitsperre->errormsg</b>";
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
echo '<b>Sie haben keine Berechtigung den Urlaub für diesen Mitarbeiter freizugeben</b>';
|
||||
}
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
echo '<b>Die Zeitsperre konnte nicht geladen werden</b>';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
//Speichern der Resturlaubstage
|
||||
@@ -159,16 +162,16 @@ if(isset($_POST['saveresturlaub']))
|
||||
{
|
||||
$resturlaub = new resturlaub();
|
||||
$resturlaub->load($uid);
|
||||
|
||||
|
||||
$resturlaub->resturlaubstage=$_POST['resturlaubstage'];
|
||||
$resturlaub->updateamum=date('Y-m-d H:i:s');
|
||||
$resturlaub->updatevon = $user;
|
||||
if($resturlaub->save())
|
||||
echo 'Resturlaubstage wurden erfolgreich gespeichert';
|
||||
else
|
||||
else
|
||||
echo '<span class="error">Fehler beim Speichern der Resturlaubstage: '.$resturlaub->errormsg.'</span>';
|
||||
}
|
||||
else
|
||||
else
|
||||
echo '<span class="error">Fehler beim Speichern der Resturlaubstage: Resturlaub muss eine gueltige Zahl sein</span>';
|
||||
}
|
||||
|
||||
@@ -176,30 +179,30 @@ if(isset($_POST['saveresturlaub']))
|
||||
function draw_monat($monat)
|
||||
{
|
||||
global $untergebene, $mitarbeiter, $year, $datum_obj, $uid;
|
||||
|
||||
|
||||
if (!$db = new basis_db())
|
||||
die('Fehler beim Oeffnen der Datenbankverbindung');
|
||||
|
||||
|
||||
|
||||
echo '<td style="border: 1px solid black; height:100px; width: 30%" valign="top">';
|
||||
echo '<center><b>';
|
||||
echo date('F',mktime(0,0,0,$monat,1,date('Y')));
|
||||
echo " ".($monat>8?$year-1:$year);
|
||||
echo '</b></center>';
|
||||
//Alle Anzeigen bei denen das von- oder bisdatum in dieses monat fallen
|
||||
$qry = "SELECT * FROM campus.tbl_zeitsperre WHERE zeitsperretyp_kurzbz='Urlaub'
|
||||
AND
|
||||
$qry = "SELECT * FROM campus.tbl_zeitsperre WHERE zeitsperretyp_kurzbz='Urlaub'
|
||||
AND
|
||||
(
|
||||
(date_part('month', vondatum)='$monat' AND date_part('year', vondatum)='".($monat>8?$year-1:$year)."')
|
||||
OR
|
||||
(date_part('month', vondatum)='$monat' AND date_part('year', vondatum)='".($monat>8?$year-1:$year)."')
|
||||
OR
|
||||
(date_part('month', bisdatum)='$monat' AND date_part('year', bisdatum)='".($monat>8?$year-1:$year)."')
|
||||
)";
|
||||
if($uid=='')
|
||||
$qry.=" AND mitarbeiter_uid in($untergebene)";
|
||||
else
|
||||
else
|
||||
$qry.=" AND mitarbeiter_uid='".addslashes($uid)."'";
|
||||
$qry.="ORDER BY vondatum, mitarbeiter_uid";
|
||||
|
||||
|
||||
if($result = $db->db_query($qry))
|
||||
{
|
||||
while($row = $db->db_fetch_object($result))
|
||||
@@ -230,9 +233,9 @@ if($uid!='')
|
||||
echo '</td><td style="width:33%">';
|
||||
//echo '<div id="resturlaub"></div>';
|
||||
//echo '</td></tr></table>';
|
||||
|
||||
|
||||
//Anzeige Resturlaubsberechnung
|
||||
|
||||
|
||||
$resturlaub = new resturlaub();
|
||||
|
||||
if($resturlaub->load($uid))
|
||||
@@ -241,17 +244,17 @@ if($uid!='')
|
||||
$mehrarbeitsstunden = $resturlaub->mehrarbeitsstunden;
|
||||
$anspruch = $resturlaub->urlaubstageprojahr;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
$resturlaubstage=0;
|
||||
$mehrarbeitsstunden=0;
|
||||
// wenn mitarbeiter ist kein fixangestellter --> kein urlaubsanspruch
|
||||
$mitarbeiter_anspruch = new mitarbeiter();
|
||||
$mitarbeiter_anspruch = new mitarbeiter();
|
||||
$mitarbeiter_anspruch->load($uid);
|
||||
if($mitarbeiter_anspruch->fixangestellt == true)
|
||||
$anspruch=25;
|
||||
else
|
||||
$anspruch = 0;
|
||||
else
|
||||
$anspruch = 0;
|
||||
}
|
||||
|
||||
$jahr=date('Y');
|
||||
@@ -296,7 +299,7 @@ if($uid!='')
|
||||
echo "<input type='submit' value='OK' name='saveresturlaub'>";
|
||||
echo "</form>";
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
echo "$resturlaubstage Tage";
|
||||
}
|
||||
@@ -305,9 +308,9 @@ if($uid!='')
|
||||
echo "<tr><td style='border-top: 1px solid black;' nowrap>aktueller Stand</td><td style='border-top: 1px solid black;' align='right' nowrap>".($anspruch+$resturlaubstage-$gebuchterurlaub)." Tage</td><td class='grey' nowrap> ( Stichtag: $datum_ende )</td></tr>";
|
||||
echo "</table>";
|
||||
echo '</div>';
|
||||
|
||||
|
||||
echo '</td></tr></table>';
|
||||
|
||||
|
||||
}
|
||||
|
||||
echo '<br><center>';
|
||||
|
||||
@@ -422,7 +422,10 @@ $datum_obj = new datum();
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/jquery-ui-1.9.2.custom.min.css" type="text/css">
|
||||
<script src="../../../include/js/tablesort/table.js" type="text/javascript"></script>
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<?php
|
||||
// ADDONS laden
|
||||
$addon_obj = new addon();
|
||||
|
||||
@@ -62,7 +62,12 @@
|
||||
<title>'.$p->t('tools/zahlungen').'</title>
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
</head>
|
||||
<style>
|
||||
table.tablesorter
|
||||
|
||||
@@ -35,12 +35,12 @@ require_once('../../../include/mail.class.php');
|
||||
require_once('../../../include/benutzerberechtigung.class.php');
|
||||
require_once('../../../include/phrasen.class.php');
|
||||
|
||||
$sprache = getSprache();
|
||||
$p = new phrasen($sprache);
|
||||
$sprache = getSprache();
|
||||
$p = new phrasen($sprache);
|
||||
|
||||
if (!$db = new basis_db())
|
||||
die($p->t('global/fehlerBeimOeffnenDerDatenbankverbindung'));
|
||||
|
||||
|
||||
$uid = get_uid();
|
||||
|
||||
$PHP_SELF = $_SERVER['PHP_SELF'];
|
||||
@@ -48,7 +48,7 @@ $PHP_SELF = $_SERVER['PHP_SELF'];
|
||||
if(isset($_GET['type']))
|
||||
$type=$_GET['type'];
|
||||
|
||||
//Wenn User Administrator ist und UID uebergeben wurde, dann die Zeitsperren
|
||||
//Wenn User Administrator ist und UID uebergeben wurde, dann die Zeitsperren
|
||||
//des uebergebenen Users anzeigen
|
||||
if(isset($_GET['uid']))
|
||||
{
|
||||
@@ -58,7 +58,7 @@ if(isset($_GET['uid']))
|
||||
{
|
||||
$uid = $_GET['uid'];
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
die($p->t('global/FuerDieseAktionBenoetigenSieAdministrationsrechte'));
|
||||
}
|
||||
@@ -78,8 +78,11 @@ $num_rows_stunde=$db->db_num_rows($result_stunde);
|
||||
<title><?php echo $p->t('zeitsperre/zeitsperre');?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript"></script>
|
||||
<script src="../../../include/js/jquery.ui.timepicker.js" type="text/javascript" ></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script src="../../../vendor/fgelinas/timepicker/jquery.ui.timepicker.js" type="text/javascript" ></script>
|
||||
<link href="../../../skin/jquery.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../../skin/jquery.ui.timepicker.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../../skin/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css">
|
||||
@@ -96,7 +99,7 @@ foreach($addon_obj->result as $addon)
|
||||
// Wenn Seite fertig geladen ist Addons aufrufen
|
||||
echo '
|
||||
<script>
|
||||
$( document ).ready(function()
|
||||
$( document ).ready(function()
|
||||
{
|
||||
if(typeof addon !== \'undefined\')
|
||||
{
|
||||
@@ -105,14 +108,14 @@ $( document ).ready(function()
|
||||
addon[i].init("cis/private/profile/urlaubstool.php", {uid:\''.$uid.'\'});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$( ".datepicker_datum" ).datepicker({
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
changeYear: true,
|
||||
dateFormat: "dd.mm.yy",
|
||||
});
|
||||
|
||||
|
||||
$( ".timepicker" ).timepicker({
|
||||
showPeriodLabels: false,
|
||||
hourText: "'.$p->t("global/stunde").'",
|
||||
@@ -165,43 +168,43 @@ function checkdatum()
|
||||
return false;
|
||||
}
|
||||
|
||||
var Datum, Tag, Monat,Jahr,vonDatum,bisDatum;
|
||||
|
||||
var Datum, Tag, Monat,Jahr,vonDatum,bisDatum;
|
||||
|
||||
Datum=document.getElementById('vondatum').value;
|
||||
Tag=Datum.substring(0,2);
|
||||
Monat=Datum.substring(3,5);
|
||||
Tag=Datum.substring(0,2);
|
||||
Monat=Datum.substring(3,5);
|
||||
if (parseInt(Monat,10)<1 || parseInt(Monat,10)>12)
|
||||
{
|
||||
{
|
||||
alert('<?php echo $p->t('zeitsperre/vonDatumMonat');?>'+ document.getElementById('vondatum').value+ ' <?php echo $p->t('zeitsperre/istNichtRichtig');?>.');
|
||||
document.getElementById('vondatum').focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
Jahr=Datum.substring(6,10);
|
||||
|
||||
Jahr=Datum.substring(6,10);
|
||||
|
||||
vonDatum=Jahr+''+Monat+''+Tag;
|
||||
|
||||
|
||||
Datum=document.getElementById('bisdatum').value;
|
||||
Tag=Datum.substring(0,2);
|
||||
Monat=Datum.substring(3,5);
|
||||
Tag=Datum.substring(0,2);
|
||||
Monat=Datum.substring(3,5);
|
||||
if (parseInt(Monat,10)<1 || parseInt(Monat,10)>12)
|
||||
{
|
||||
{
|
||||
alert('<?php echo $p->t('zeitsperre/bisDatumMonat');?>'+ document.getElementById('bisdatum').value+ ' <?php echo $p->t('zeitsperre/istNichtRichtig');?>.');
|
||||
document.getElementById('bisdatum').focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
Jahr=Datum.substring(6,10);
|
||||
|
||||
bisDatum=Jahr+''+Monat+''+Tag;
|
||||
|
||||
if (vonDatum>bisDatum)
|
||||
|
||||
Jahr=Datum.substring(6,10);
|
||||
|
||||
bisDatum=Jahr+''+Monat+''+Tag;
|
||||
|
||||
if (vonDatum>bisDatum)
|
||||
{
|
||||
alert('<?php echo $p->t('zeitsperre/vonDatum');?> '+ document.getElementById('vondatum').value+ ' <?php echo $p->t('zeitsperre/istGroesserAlsBisDatum');?> '+document.getElementById('bisdatum').value);
|
||||
document.getElementById('vondatum').focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -222,13 +225,13 @@ function showHideBezeichnungDropDown()
|
||||
str += '<option value="Wohnungswechsel">h) Wohnungswechsel in eigenen Haushalt</option>';
|
||||
str += '<option value="Bundesheer">i) Einberufung Bundesheer</option>';
|
||||
str += '</select>';
|
||||
|
||||
|
||||
sp.innerHTML = str;
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
sp.innerHTML = '<input type="text" name="bezeichnung" maxlength="32" size="32" value="">';
|
||||
}
|
||||
if (dd.options[dd.selectedIndex].value == 'Urlaub')
|
||||
@@ -267,7 +270,7 @@ function setBisDatum()
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
//Zeitsperre Speichern
|
||||
if(isset($_GET['type']) && ($_GET['type']=='edit_sperre' || $_GET['type']=='new_sperre'))
|
||||
{
|
||||
@@ -294,27 +297,27 @@ if(isset($_GET['type']) && ($_GET['type']=='edit_sperre' || $_GET['type']=='new_
|
||||
$date=explode('.',$_POST['vondatum']);
|
||||
if (@checkdate($date[1], $date[0], $date[2]))
|
||||
{
|
||||
$vondatum=$date[2].$date[1].$date[0];
|
||||
}
|
||||
$vondatum=$date[2].$date[1].$date[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
$error=true;
|
||||
$error_msg .= $p->t('zeitsperre/vonDatumUngueltig').' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$error=true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$bisdatum=0;
|
||||
if(isset($_POST['bisdatum']))
|
||||
{
|
||||
$date=explode('.',$_POST['bisdatum']);
|
||||
if (@checkdate($date[1], $date[0], $date[2]))
|
||||
{
|
||||
$bisdatum=$date[2].$date[1].$date[0];
|
||||
}
|
||||
$bisdatum=$date[2].$date[1].$date[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
$error=true;
|
||||
@@ -324,16 +327,16 @@ if(isset($_GET['type']) && ($_GET['type']=='edit_sperre' || $_GET['type']=='new_
|
||||
else
|
||||
{
|
||||
$error=true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if($vondatum > $bisdatum)
|
||||
{
|
||||
$error=true;
|
||||
$error_msg .= $p->t('zeitsperre/vonDatumGroesserAlsBisDatum').'! ';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$zeitsperre = new zeitsperre();
|
||||
|
||||
if($_GET['type']=='edit_sperre')
|
||||
@@ -418,9 +421,9 @@ if(isset($_GET['type']) && ($_GET['type']=='edit_sperre' || $_GET['type']=='new_
|
||||
$benutzer->load($uid);
|
||||
if($datum_obj->formatDatum($zeitsperre->vondatum, 'm')>=9)
|
||||
$jahr = $datum_obj->formatDatum($zeitsperre->vondatum, 'Y')+1;
|
||||
else
|
||||
else
|
||||
$jahr = $datum_obj->formatDatum($zeitsperre->vondatum, 'Y');
|
||||
|
||||
|
||||
$message = "Dies ist eine automatische Mail! \n".
|
||||
"$benutzer->nachname $benutzer->vorname hat einen neuen Urlaub eingetragen:\n".
|
||||
"$zeitsperre->bezeichnung von ".$datum_obj->formatDatum($zeitsperre->vondatum,'d.m.Y')." bis ".$datum_obj->formatDatum($zeitsperre->bisdatum,'d.m.Y')."\n\n".
|
||||
@@ -494,9 +497,9 @@ if(count($zeit->result)>0)
|
||||
{
|
||||
$i++;
|
||||
//name der vertretung holen
|
||||
$qry = "SELECT vorname || ' ' || nachname as kurzbz FROM public.tbl_mitarbeiter, public.tbl_benutzer, public.tbl_person
|
||||
WHERE tbl_benutzer.uid=tbl_mitarbeiter.mitarbeiter_uid
|
||||
AND tbl_benutzer.person_id=tbl_person.person_id
|
||||
$qry = "SELECT vorname || ' ' || nachname as kurzbz FROM public.tbl_mitarbeiter, public.tbl_benutzer, public.tbl_person
|
||||
WHERE tbl_benutzer.uid=tbl_mitarbeiter.mitarbeiter_uid
|
||||
AND tbl_benutzer.person_id=tbl_person.person_id
|
||||
AND mitarbeiter_uid=".$db->db_add_param($row->vertretung_uid);
|
||||
|
||||
$result_vertretung = $db->db_query($qry);
|
||||
@@ -511,13 +514,13 @@ if(count($zeit->result)>0)
|
||||
<td align='center'>".($row->freigabeamum!=''?'Ja':'')."</td>";
|
||||
if ($row->zeitsperretyp_kurzbz == 'DienstV')
|
||||
$content_table .= '<td> </td>';
|
||||
else
|
||||
else
|
||||
$content_table.="<td><a href='$PHP_SELF?type=edit&id=$row->zeitsperre_id' class='Item'>".$p->t('zeitsperre/edit')."</a></td>";
|
||||
if($row->freigabeamum=='' || $row->zeitsperretyp_kurzbz!='Urlaub')
|
||||
{
|
||||
$content_table.="\n<td><a href='$PHP_SELF?type=delete_sperre&id=$row->zeitsperre_id' onclick='return conf_del()' class='Item'>".$p->t('zeitsperre/loeschen')."</a></td>";
|
||||
}
|
||||
else
|
||||
else
|
||||
$content_table .= '<td> </td>';
|
||||
$content_table.="</tr>";
|
||||
}
|
||||
@@ -679,15 +682,15 @@ $anspruch = '25';
|
||||
$resturlaubstage = $resturlaub->resturlaubstage;
|
||||
$mehrarbeitsstunden = $resturlaub->mehrarbeitsstunden;
|
||||
$anspruch = $resturlaub->urlaubstageprojahr;
|
||||
}else
|
||||
}else
|
||||
{
|
||||
// wenn mitarbeiter ist kein fixangestellter --> kein urlaubsanspruch
|
||||
$mitarbeiter_anspruch = new mitarbeiter();
|
||||
$mitarbeiter_anspruch = new mitarbeiter();
|
||||
$mitarbeiter_anspruch->load($uid);
|
||||
if($mitarbeiter_anspruch->fixangestellt == true)
|
||||
$anspruch=25;
|
||||
else
|
||||
$anspruch = 0;
|
||||
else
|
||||
$anspruch = 0;
|
||||
}
|
||||
//Den Bereich fuer die Resturlaubstage nur anzeigen wenn dies
|
||||
//im config angegeben ist
|
||||
|
||||
@@ -32,7 +32,12 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="../../skin/tablesort.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
|
||||
@@ -40,7 +40,12 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="../../../skin/jquery.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<title>',$p->t('tools/ampelsystem'),'</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -69,7 +69,12 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="../../../skin/jquery.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<title>',$p->t('tools/ampelsystem'),'</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -91,10 +91,13 @@ if($aktion!='zip')
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script src="../../../include/js/jquery.js" type="text/javascript"></script>
|
||||
<script src="../../../include/js/jquery-ui.js" type="text/javascript"></script>
|
||||
<script src="../../../include/js/jquery.autocomplete.js" type="text/javascript"></script>
|
||||
<script src="../../../include/js/jquery.autocomplete.min.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<script src="../../../vendor/components/jqueryui/jquery-ui.min.js" type="text/javascript"></script>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
|
||||
@@ -52,7 +52,12 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../skin/jquery-ui-1.9.2.custom.min.css">
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/sizzle-0.9.3.js"></script>
|
||||
<title>Globale Suche</title>
|
||||
</head>
|
||||
<body>';
|
||||
|
||||
@@ -131,8 +131,11 @@ echo '<!DOCTYPE HTML>
|
||||
<link href="../../../skin/jquery.ui.timepicker.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../../skin/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css">
|
||||
<script src="../../../include/js/tablesort/table.js" type="text/javascript"></script>
|
||||
<script src="../../../include/js/jquery1.9.min.js" type="text/javascript" ></script>
|
||||
<script src="../../../include/js/jquery.ui.timepicker.js" type="text/javascript" ></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="../../../include/js/jquery.ui.datepicker.translation.js"></script>
|
||||
<script src="../../../vendor/fgelinas/timepicker/jquery.ui.timepicker.js" type="text/javascript" ></script>
|
||||
';
|
||||
|
||||
// ADDONS laden
|
||||
|
||||
Reference in New Issue
Block a user