mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 14:32:18 +00:00
This commit is contained in:
@@ -107,65 +107,67 @@
|
||||
|
||||
if($result = pg_query($conn, $qry))
|
||||
{
|
||||
$lastlehreinheit='';
|
||||
$gruppen = '';
|
||||
while($row = pg_fetch_object($result))
|
||||
if(pg_num_rows($result)>0)
|
||||
{
|
||||
if($lastlehreinheit!=$row->lehreinheit_id)
|
||||
{
|
||||
if($lastlehreinheit!='')
|
||||
{
|
||||
$qry = "SELECT * FROM lehre.tbl_lehreinheitmitarbeiter JOIN public.tbl_mitarbeiter USING(mitarbeiter_uid)
|
||||
WHERE lehreinheit_id='$lastlehreinheit'";
|
||||
$lektoren = '';
|
||||
|
||||
if($result_lkt = pg_query($conn, $qry))
|
||||
$lastlehreinheit='';
|
||||
$gruppen = '';
|
||||
while($row = pg_fetch_object($result))
|
||||
{
|
||||
if($lastlehreinheit!=$row->lehreinheit_id)
|
||||
{
|
||||
if($lastlehreinheit!='')
|
||||
{
|
||||
while($row_lkt = pg_fetch_object($result_lkt))
|
||||
{
|
||||
if($lektoren!='')
|
||||
$lektoren.=', ';
|
||||
$lektoren .= $row_lkt->kurzbz;
|
||||
}
|
||||
$qry = "SELECT * FROM lehre.tbl_lehreinheitmitarbeiter JOIN public.tbl_mitarbeiter USING(mitarbeiter_uid)
|
||||
WHERE lehreinheit_id='$lastlehreinheit'";
|
||||
$lektoren = '';
|
||||
|
||||
if($result_lkt = pg_query($conn, $qry))
|
||||
{
|
||||
while($row_lkt = pg_fetch_object($result_lkt))
|
||||
{
|
||||
if($lektoren!='')
|
||||
$lektoren.=', ';
|
||||
$lektoren .= $row_lkt->kurzbz;
|
||||
}
|
||||
}
|
||||
|
||||
$aw_content .= "<tr><td><a class='Item' href='anwesenheitsliste.pdf.php?stg=$stg_kz&sem=$sem&lvid=$lvid&lehreinheit_id=$lastlehreinheit&stsem=$stsem'> <img src='../../../skin/images/haken.gif' />$kurzbz - $lehrform - $gruppen ($lektoren)</a></td></tr>";
|
||||
$nt_content .= "<tr><td><a class='Item' href='notenliste.xls.php?stg=$stg_kz&sem=$sem&lvid=$lvid&lehreinheit_id=$lastlehreinheit&stsem=$stsem'> <img src='../../../skin/images/haken.gif' />$kurzbz - $lehrform - $gruppen ($lektoren)</a></td></tr>";
|
||||
|
||||
$lastlehreinheit = $row->lehreinheit_id;
|
||||
$gruppen='';
|
||||
}
|
||||
else
|
||||
$lastlehreinheit = $row->lehreinheit_id;
|
||||
}
|
||||
|
||||
if($gruppen!='')
|
||||
$gruppen.= ', ';
|
||||
|
||||
if($row->gruppe_kurzbz!='')
|
||||
$gruppen .= $row->gruppe_kurzbz;
|
||||
else
|
||||
$gruppen .= trim($stg_arr[$row->studiengang_kz].'-'.$row->semester.$row->verband.$row->gruppe);
|
||||
|
||||
$aw_content .= "<tr><td><a class='Item' href='anwesenheitsliste.pdf.php?stg=$stg_kz&sem=$sem&lvid=$lvid&lehreinheit_id=$lastlehreinheit&stsem=$stsem'> <img src='../../../skin/images/haken.gif' />$kurzbz - $lehrform - $gruppen ($lektoren)</a></td></tr>";
|
||||
$nt_content .= "<tr><td><a class='Item' href='notenliste.xls.php?stg=$stg_kz&sem=$sem&lvid=$lvid&lehreinheit_id=$lastlehreinheit&stsem=$stsem'> <img src='../../../skin/images/haken.gif' />$kurzbz - $lehrform - $gruppen ($lektoren)</a></td></tr>";
|
||||
|
||||
$lastlehreinheit = $row->lehreinheit_id;
|
||||
$gruppen='';
|
||||
}
|
||||
else
|
||||
$lastlehreinheit = $row->lehreinheit_id;
|
||||
}
|
||||
|
||||
if($gruppen!='')
|
||||
$gruppen.= ', ';
|
||||
|
||||
if($row->gruppe_kurzbz!='')
|
||||
$gruppen .= $row->gruppe_kurzbz;
|
||||
else
|
||||
$gruppen .= trim($stg_arr[$row->studiengang_kz].'-'.$row->semester.$row->verband.$row->gruppe);
|
||||
|
||||
$lehrform = $row->lehrform_kurzbz;
|
||||
$kurzbz = $row->kurzbz;
|
||||
}
|
||||
$qry = "SELECT * FROM lehre.tbl_lehreinheitmitarbeiter JOIN public.tbl_mitarbeiter USING(mitarbeiter_uid)
|
||||
WHERE lehreinheit_id='$lastlehreinheit'";
|
||||
$lektoren = '';
|
||||
if($result_lkt = pg_query($conn, $qry))
|
||||
{
|
||||
while($row_lkt = pg_fetch_object($result_lkt))
|
||||
$lehrform = $row->lehrform_kurzbz;
|
||||
$kurzbz = $row->kurzbz;
|
||||
}
|
||||
$qry = "SELECT * FROM lehre.tbl_lehreinheitmitarbeiter JOIN public.tbl_mitarbeiter USING(mitarbeiter_uid)
|
||||
WHERE lehreinheit_id='$lastlehreinheit'";
|
||||
$lektoren = '';
|
||||
if($result_lkt = pg_query($conn, $qry))
|
||||
{
|
||||
if($lektoren!='')
|
||||
$lektoren.=', ';
|
||||
$lektoren .= $row_lkt->kurzbz;
|
||||
while($row_lkt = pg_fetch_object($result_lkt))
|
||||
{
|
||||
if($lektoren!='')
|
||||
$lektoren.=', ';
|
||||
$lektoren .= $row_lkt->kurzbz;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$aw_content .= "<tr><td><a class='Item' href='anwesenheitsliste.pdf.php?stg=$stg_kz&sem=$sem&lvid=$lvid&lehreinheit_id=$lastlehreinheit&stsem=$stsem'> <img src='../../../skin/images/haken.gif' />$kurzbz - $lehrform - $gruppen ($lektoren)</a></td></tr>";
|
||||
$nt_content .= "<tr><td><a class='Item' href='notenliste.xls.php?stg=$stg_kz&sem=$sem&lvid=$lvid&lehreinheit_id=$lastlehreinheit&stsem=$stsem'> <img src='../../../skin/images/haken.gif' />$kurzbz - $lehrform - $gruppen ($lektoren)</a></td></tr>";
|
||||
|
||||
|
||||
$aw_content .= "<tr><td><a class='Item' href='anwesenheitsliste.pdf.php?stg=$stg_kz&sem=$sem&lvid=$lvid&lehreinheit_id=$lastlehreinheit&stsem=$stsem'> <img src='../../../skin/images/haken.gif' />$kurzbz - $lehrform - $gruppen ($lektoren)</a></td></tr>";
|
||||
$nt_content .= "<tr><td><a class='Item' href='notenliste.xls.php?stg=$stg_kz&sem=$sem&lvid=$lvid&lehreinheit_id=$lastlehreinheit&stsem=$stsem'> <img src='../../../skin/images/haken.gif' />$kurzbz - $lehrform - $gruppen ($lektoren)</a></td></tr>";
|
||||
}
|
||||
}
|
||||
|
||||
if($nt_content=='' && $aw_content=='')
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
<td><a href='../cisdocs/kollegium/CV_Hofmann.pdf'><img src='../../skin/images/pdfpic.gif'></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>- <a href='../cisdocs/kollegium/CV_hoeller.pdf' class='Item'>Roland Höller</a></td>
|
||||
<td><a href='../cisdocs/kollegium/CV_hoeller.pdf'><img src='../../skin/images/pdfpic.gif'></a></td>
|
||||
<td>- <!--<a href='../cisdocs/kollegium/CV_hoeller.pdf' class='Item'>-->Roland Höller<!--</a>--></td>
|
||||
<!--<td><a href='../cisdocs/kollegium/CV_hoeller.pdf'><img src='../../skin/images/pdfpic.gif'></a></td>-->
|
||||
</tr>
|
||||
<tr>
|
||||
<td>- <a href='../cisdocs/kollegium/CV_kittenberger.pdf' class='Item'>Thomas Kittenberger</a></td>
|
||||
|
||||
@@ -762,8 +762,8 @@ function StudentProjektbetreuerDetailReset()
|
||||
document.getElementById('student-projektbetreuer-menulist-note').value='';
|
||||
document.getElementById('student-projektbetreuer-menulist-betreuerart').value='Betreuer';
|
||||
document.getElementById('student-projektbetreuer-textbox-punkte').value='0.0';
|
||||
document.getElementById('student-projektbetreuer-textbox-stunden').value=document.getElementById('student-projektarbeit-textbox-gesamtstunden').value;
|
||||
document.getElementById('student-projektbetreuer-textbox-stundensatz').value=document.getElementById('student-projektarbeit-textbox-stundensatz').value;
|
||||
document.getElementById('student-projektbetreuer-textbox-stunden').value='3.0';
|
||||
document.getElementById('student-projektbetreuer-textbox-stundensatz').value='80.0';
|
||||
document.getElementById('student-projektbetreuer-menulist-person').value='';
|
||||
}
|
||||
|
||||
|
||||
@@ -250,11 +250,11 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="Punkte" control="student-projektarbeit-textbox-punkte" />
|
||||
<label value="Gesamtpunkte" control="student-projektarbeit-textbox-punkte" />
|
||||
<hbox>
|
||||
<textbox id="student-projektarbeit-textbox-punkte" maxlength="5" size="5" disabled="true"/>
|
||||
</hbox>
|
||||
<label value="Note" control="student-projektarbeit-menulist-note"/>
|
||||
<label value="Gesamtnote" control="student-projektarbeit-menulist-note"/>
|
||||
<menulist id="student-projektarbeit-menulist-note" disabled="true"
|
||||
datasources="<?php echo APP_ROOT ?>rdf/note.rdf.php?optional=true" flex="1"
|
||||
ref="http://www.technikum-wien.at/note/liste" >
|
||||
@@ -279,22 +279,6 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<label value="Gesperrt bis" control="student-projektarbeit-datum-gesperrtbis"/>
|
||||
<box class="Datum" id="student-projektarbeit-datum-gesperrtbis" disabled="true" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="Stundensatz" control="student-projektarbeit-textbox-stundensatz"/>
|
||||
<hbox>
|
||||
<textbox id="student-projektarbeit-textbox-stundensatz" disabled="true" maxlength="5" size="5"/>
|
||||
</hbox>
|
||||
<label value="Faktor" control="student-projektarbeit-textbox-faktor"/>
|
||||
<hbox>
|
||||
<textbox id="student-projektarbeit-textbox-faktor" disabled="true" maxlength="3" size="3"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label value="Gesamtstunden" control="student-projektarbeit-textbox-gesamtstunden"/>
|
||||
<hbox>
|
||||
<textbox id="student-projektarbeit-textbox-gesamtstunden" disabled="true" maxlength="8" size="8"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label value="Anmerkung" control="student-projektarbeit-textbox-anmerkung"/>
|
||||
<textbox id="student-projektarbeit-textbox-anmerkung" disabled="true" maxlength="256"/>
|
||||
@@ -308,6 +292,22 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<vbox hidden="true">
|
||||
<!-- Stundensatz/Faktor und Gesamtstunden werden nicht mehr benoetigt -->
|
||||
<label value="Stundensatz" control="student-projektarbeit-textbox-stundensatz"/>
|
||||
<hbox>
|
||||
<textbox id="student-projektarbeit-textbox-stundensatz" disabled="true" maxlength="5" size="5"/>
|
||||
</hbox>
|
||||
<label value="Faktor" control="student-projektarbeit-textbox-faktor"/>
|
||||
<hbox>
|
||||
<textbox id="student-projektarbeit-textbox-faktor" disabled="true" maxlength="3" size="3"/>
|
||||
</hbox>
|
||||
|
||||
<label value="Gesamtstunden" control="student-projektarbeit-textbox-gesamtstunden"/>
|
||||
<hbox>
|
||||
<textbox id="student-projektarbeit-textbox-gesamtstunden" disabled="true" maxlength="8" size="8"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
<groupbox flex="1">
|
||||
<caption label="Betreuer"/>
|
||||
|
||||
@@ -550,7 +550,7 @@ class mitarbeiter extends benutzer
|
||||
$qry .= " AND uid IN (SELECT mitarbeiter_uid FROM bis.tbl_bisverwendung WHERE beschausmasscode='5' AND beginn<(SELECT start FROM public.tbl_studiensemester WHERE studiensemester_kurzbz='$studiensemester_kurzbz') AND ende<(SELECT ende FROM public.tbl_studiensemester WHERE studiensemester_kurzbz='$studiensemester_kurzbz'))";
|
||||
if($ausgeschieden)
|
||||
{
|
||||
$qry.=" AND NOT EXISTS(SELECT * FROM bis.tbl_bisverwendung WHERE beginn<now() AND ende>now())";
|
||||
$qry.=" AND tbl_benutzer.aktiv=false"; //AND NOT EXISTS(SELECT * FROM bis.tbl_bisverwendung WHERE beginn<now() AND ende>now() AND tbl_bisverwendung.mitarbeiter_uid=tbl_benutzer.uid)
|
||||
}
|
||||
//echo $qry;
|
||||
if($result = pg_query($this->conn, $qry))
|
||||
|
||||
@@ -84,7 +84,7 @@ function draw_content($row)
|
||||
<PROJEKTBETREUER:faktor><![CDATA['.$row->faktor.']]></PROJEKTBETREUER:faktor>
|
||||
<PROJEKTBETREUER:name><![CDATA['.$row->name.']]></PROJEKTBETREUER:name>
|
||||
<PROJEKTBETREUER:punkte><![CDATA['.$row->punkte.']]></PROJEKTBETREUER:punkte>
|
||||
<PROJEKTBETREUER:stunden><![CDATA['.$row->stunden.']]></PROJEKTBETREUER:stunden>
|
||||
<PROJEKTBETREUER:stunden><![CDATA['.number_format($row->stunden,1).']]></PROJEKTBETREUER:stunden>
|
||||
<PROJEKTBETREUER:stundensatz><![CDATA['.$row->stundensatz.']]></PROJEKTBETREUER:stundensatz>
|
||||
<PROJEKTBETREUER:betreuerart_kurzbz><![CDATA['.$row->betreuerart_kurzbz.']]></PROJEKTBETREUER:betreuerart_kurzbz>
|
||||
</RDF:Description>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
<fo:block-container position="absolute" top="170pt" left="60pt" height="0pt">
|
||||
<fo:block text-align="left" line-height="12pt" font-family="sans-serif" font-size="16pt">
|
||||
Bachelorprüfungszeugnis
|
||||
Bachelor-Prüfungszeugnis
|
||||
</fo:block>
|
||||
</fo:block-container>
|
||||
|
||||
@@ -211,7 +211,7 @@
|
||||
|
||||
<fo:block-container position="absolute" top="354pt" left="62pt" height="0pt">
|
||||
<fo:block text-align="left" line-height="12pt" font-family="sans-serif" font-size="8pt">
|
||||
Note der Bachelorprüfung
|
||||
Note der Bachelor-Prüfung
|
||||
|
||||
<fo:inline font-size="12pt" font-weight="900" text-align="center" > \n
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
<fo:block-container position="absolute" top="170pt" left="60pt" height="0pt">
|
||||
<fo:block text-align="left" line-height="12pt" font-family="sans-serif" font-size="16pt">
|
||||
Diplomprüfungszeugnis
|
||||
Diplom-Prüfungszeugnis
|
||||
</fo:block>
|
||||
</fo:block-container>
|
||||
|
||||
@@ -211,7 +211,7 @@
|
||||
|
||||
<fo:block-container position="absolute" top="354pt" left="62pt" height="0pt">
|
||||
<fo:block text-align="left" line-height="12pt" font-family="sans-serif" font-size="8pt">
|
||||
Gesamtnote der Diplomprüfung
|
||||
Gesamtnote der Diplom-Prüfung
|
||||
|
||||
<fo:inline font-size="12pt" font-weight="900" text-align="center" > \n
|
||||
|
||||
@@ -283,7 +283,7 @@
|
||||
|
||||
<fo:block-container position="absolute" top="475pt" left="62pt" height="0pt">
|
||||
<fo:block text-align="left" line-height="12pt" font-family="sans-serif" font-size="8pt">
|
||||
1. Teil der Diplomprüfung: Diplomarbeit
|
||||
1. Teil der Diplom-Prüfung: Diplomarbeit
|
||||
|
||||
</fo:block>
|
||||
</fo:block-container>
|
||||
@@ -353,7 +353,7 @@
|
||||
|
||||
<fo:block-container position="absolute" top="571pt" left="62pt" height="0pt">
|
||||
<fo:block text-align="left" line-height="12pt" font-family="sans-serif" font-size="8pt">
|
||||
2. Teil der Diplomprüfung: Kommissionelle Prüfung
|
||||
2. Teil der Diplom-Prüfung: Kommissionelle Prüfung
|
||||
|
||||
</fo:block>
|
||||
</fo:block-container>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<fo:block-container position="absolute" top="25mm" left="15mm">
|
||||
<fo:block text-align="left" line-height="20pt" font-family="sans-serif" font-size="16pt">
|
||||
Protokoll Bachelorprüfung
|
||||
Protokoll Bachelor-Prüfung
|
||||
</fo:block>
|
||||
</fo:block-container>
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<fo:block-container position="absolute" top="25mm" left="15mm" height="20mm">
|
||||
<fo:block text-align="left" line-height="20pt" font-family="sans-serif" font-size="16pt">
|
||||
<xsl:text>Protokoll Diplomprüfung</xsl:text>
|
||||
<xsl:text>Protokoll Diplom-Prüfung</xsl:text>
|
||||
</fo:block>
|
||||
</fo:block-container>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user