mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
Merge branch 'feature-4026/TabulatorWidget' into feature-3994/Digitaler_Lehrauftrag
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/* Copyright (C) 2019 fhcomplete.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Andreas Österreicher <[email protected]>
|
||||
*/
|
||||
require_once('../config/vilesci.config.inc.php');
|
||||
require_once('../include/rdf.class.php');
|
||||
require_once('../include/basis_db.class.php');
|
||||
require_once('../include/bisio.class.php');
|
||||
|
||||
$oRdf = new rdf('AUFENTHALTFOERDERUNG','http://www.technikum-wien.at/aufenthaltfoerderung');
|
||||
$oRdf->sendHeader();
|
||||
|
||||
$io = new bisio();
|
||||
if(isset($_GET['bisio_id']))
|
||||
$io->getFoerderungen($_GET['bisio_id']);
|
||||
else
|
||||
$io->getFoerderungen();
|
||||
|
||||
foreach($io->result as $row)
|
||||
{
|
||||
$i=$oRdf->newObjekt($row->aufenthaltfoerderung_code);
|
||||
$oRdf->obj[$i]->setAttribut('aufenthaltfoerderung_code',$row->aufenthaltfoerderung_code,true);
|
||||
$oRdf->obj[$i]->setAttribut('bezeichnung',$row->bezeichnung,true);
|
||||
|
||||
$oRdf->addSequence($row->aufenthaltfoerderung_code);
|
||||
}
|
||||
|
||||
$oRdf->sendRdfText();
|
||||
?>
|
||||
+3
-3
@@ -115,17 +115,17 @@ function draw_content($row)
|
||||
<IO:von><![CDATA['.$datum->convertISODate($row->von).']]></IO:von>
|
||||
<IO:bis_iso><![CDATA['.$row->bis.']]></IO:bis_iso>
|
||||
<IO:bis><![CDATA['.$datum->convertISODate($row->bis).']]></IO:bis>
|
||||
<IO:zweck_code><![CDATA['.$row->zweck_code.']]></IO:zweck_code>
|
||||
<IO:zweck_bezeichnung><![CDATA['.$row->zweck_bezeichnung.']]></IO:zweck_bezeichnung>
|
||||
<IO:student_uid><![CDATA['.$row->student_uid.']]></IO:student_uid>
|
||||
<IO:lehreinheit_id><![CDATA['.$row->lehreinheit_id.']]></IO:lehreinheit_id>
|
||||
<IO:ort><![CDATA['.$row->ort.']]></IO:ort>
|
||||
<IO:universitaet><![CDATA['.$row->universitaet.']]></IO:universitaet>
|
||||
<IO:lehrveranstaltung_id><![CDATA['.$lehrveranstaltung_id.']]></IO:lehrveranstaltung_id>
|
||||
<IO:studiensemester_kurzbz><![CDATA['.$studiensemester_kurzbz.']]></IO:studiensemester_kurzbz>
|
||||
<IO:ects_angerechnet><![CDATA['.$row->ects_angerechnet.']]></IO:ects_angerechnet>
|
||||
<IO:ects_erworben><![CDATA['.$row->ects_erworben.']]></IO:ects_erworben>
|
||||
</RDF:Description>
|
||||
</RDF:li>';
|
||||
}
|
||||
?>
|
||||
</RDF:Seq>
|
||||
</RDF:RDF>
|
||||
</RDF:RDF>
|
||||
|
||||
@@ -883,11 +883,13 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
|
||||
|
||||
$qry_outgoing_note = "
|
||||
SELECT
|
||||
anmerkung, offiziell, positiv, benotungsdatum, lehrform_kurzbz
|
||||
tbl_note.anmerkung, tbl_note.offiziell,
|
||||
tbl_note.positiv, tbl_zeugnisnote.benotungsdatum,
|
||||
tbl_lehrveranstaltung.lehrform_kurzbz
|
||||
FROM
|
||||
lehre.tbl_zeugnisnote
|
||||
JOIN tbl_lehrveranstaltung using(lehrveranstaltung_id)
|
||||
JOIN tbl_note using(note)
|
||||
JOIN lehre.tbl_lehrveranstaltung using(lehrveranstaltung_id)
|
||||
JOIN lehre.tbl_note using(note)
|
||||
WHERE
|
||||
lehrveranstaltung_id = ".$db->db_add_param($row_outgoing->lehrveranstaltung_id)."
|
||||
AND student_uid = ".$db->db_add_param($uid_arr[$i]);
|
||||
@@ -948,7 +950,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
|
||||
<kurzbz>'.$lehrform_kurzbz_outgoing.'</kurzbz>
|
||||
<stsem></stsem>
|
||||
<bezeichnung><![CDATA[]]></bezeichnung>
|
||||
<bezeichnung_englisch><![CDATA[International Semester Abroad: '.$datum_von.'-'.$datum_bis.', at '.$row_outgoing->ort.', '.$row_outgoing->universitaet.'. All credits earned during the International Semester Abroad (ISA) are fully credited for the '.$start.$auslandssemester_start.' semester at the UAS Technikum Wien.'.$projektarbeitszusatz.']]></bezeichnung_englisch>
|
||||
<bezeichnung_englisch><![CDATA[International Semester Abroad: '.$datum_von.'-'.$datum_bis.', at '.$row_outgoing->ort.', '.$row_outgoing->universitaet.'. All credits earned during the International Semester Abroad (ISA) are fully credited for the '.$start.$auslandssemester_start.' semester at the UAS Technikum Wien. '.$projektarbeitszusatz.']]></bezeichnung_englisch>
|
||||
<ects>'.$row_outgoing->ects.'</ects>
|
||||
<semesterstunden>'.$row_outgoing->semesterstunden.'</semesterstunden>
|
||||
<note>'.$note_outgoing.'</note>
|
||||
|
||||
@@ -166,7 +166,7 @@ if($lehrveranstaltung_id==null && $filter==null && $mitarbeiter_uid==null)
|
||||
{
|
||||
$stge=$bb->getStgKz('admin');
|
||||
$stge=array_merge($stge, $bb->getStgKz('assistenz'));
|
||||
$ma=$mitarbeiter->getMitarbeiterStg($lektor,$fixangestellt,$stge, 'lkt');
|
||||
$ma=$mitarbeiter->getMitarbeiterStg($lektor,$fixangestellt,$stge, 'lkt', 'typ, stg_kurzbz, nachname, vorname, vw_mitarbeiter.kurzbz');
|
||||
$laststg=-1;
|
||||
if(count($ma)>0)
|
||||
{
|
||||
|
||||
+18
-6
@@ -29,6 +29,7 @@ header("Pragma: no-cache");
|
||||
header("Content-type: application/xhtml+xml");
|
||||
require_once('../config/vilesci.config.inc.php');
|
||||
require_once('../include/basis_db.class.php');
|
||||
require_once('../include/bisio.class.php');
|
||||
|
||||
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
|
||||
|
||||
@@ -41,13 +42,25 @@ echo '
|
||||
>
|
||||
<RDF:Seq about="'.$rdf_url.'/liste">';
|
||||
|
||||
$qry = 'SELECT * FROM bis.tbl_zweck ORDER BY kurzbz';
|
||||
$db = new basis_db();
|
||||
$bisio = new bisio();
|
||||
if(isset($_GET['bisio_id']))
|
||||
{
|
||||
$bisio->getZweck($_GET['bisio_id']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$incoming = null;
|
||||
$outgoing = null;
|
||||
if (isset($_GET['type']) && $_GET['type'] == 'incoming')
|
||||
$incoming = true;
|
||||
if (isset($_GET['type']) && $_GET['type'] == 'outgoing')
|
||||
$outgoing = true;
|
||||
$bisio->getZweck(null, $outgoing, $incoming);
|
||||
}
|
||||
|
||||
if($db->db_query($qry))
|
||||
foreach($bisio->result as $row)
|
||||
{
|
||||
while($row = $db->db_fetch_object())
|
||||
{
|
||||
echo '
|
||||
<RDF:li>
|
||||
<RDF:Description id="'.$row->zweck_code.'" about="'.$rdf_url.'/'.$row->zweck_code.'" >
|
||||
@@ -56,8 +69,7 @@ if($db->db_query($qry))
|
||||
<ZWECK:bezeichnung><![CDATA['.$row->bezeichnung.']]></ZWECK:bezeichnung>
|
||||
</RDF:Description>
|
||||
</RDF:li>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</RDF:Seq>
|
||||
</RDF:RDF>
|
||||
</RDF:RDF>
|
||||
|
||||
Reference in New Issue
Block a user