mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
Terminliste und Export bei Studierenden, Mitarbeitern und Lehrveranstaltungen/Lehreinheiten
This commit is contained in:
@@ -369,6 +369,7 @@ else
|
||||
<tab id="student-tab-gruppen" label="Gruppen" onclick="StudentGruppenLoadData();"/>
|
||||
<tab id="student-tab-funktionen" label="Funktionen" onclick="StudentFunktionIFrameLoad();"/>
|
||||
<tab id="student-tab-notizen" label="Notizen"/>
|
||||
<tab id="student-tab-termine" label="Termine" onclick="StudentTermineIFrameLoad();"/>
|
||||
</tabs>
|
||||
<tabpanels id="student-tabpanels-main" flex="1">
|
||||
<vbox id="student-detail" style="margin-top:10px;" />
|
||||
@@ -392,6 +393,7 @@ else
|
||||
<vbox id="student-box-notiz">
|
||||
<box class="Notiz" flex="1" id="student-box-notizen"/>
|
||||
</vbox>
|
||||
<iframe id="student-termine" src="" style="margin-top:10px;" />
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</vbox>
|
||||
|
||||
@@ -1525,6 +1525,13 @@ function StudentAuswahl()
|
||||
url = '<?php echo APP_ROOT; ?>content/funktionen.xul.php?uid='+uid;
|
||||
document.getElementById('student-funktionen').setAttribute('src',url);
|
||||
}
|
||||
|
||||
// ***** Termine *****
|
||||
if(document.getElementById('student-content-tabs').selectedItem==document.getElementById('student-tab-termine'))
|
||||
{
|
||||
document.getElementById('student-termine').setAttribute('src','termine.xul.php?student_uid='+uid);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Notizen laden
|
||||
@@ -5289,6 +5296,19 @@ function StudentFunktionIFrameLoad()
|
||||
}
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Laedt den Termine IFrame
|
||||
// ****
|
||||
function StudentTermineIFrameLoad()
|
||||
{
|
||||
uid = document.getElementById('student-detail-textbox-uid').value;
|
||||
if(uid!='')
|
||||
{
|
||||
url = 'termine.xul.php?student_uid='+uid+'&ts='+gettimestamp();
|
||||
document.getElementById('student-termine').setAttribute('src',url);
|
||||
}
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Funktionen IFrame ins leere zeigen lassen
|
||||
// ****
|
||||
|
||||
Reference in New Issue
Block a user