mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-17 20:19:28 +00:00
display correct mitarbeiter ressources
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
$projekt_kurzbz=(isset($_GET['projekt_kurzbz'])?$_GET['projekt_kurzbz']:null);
|
||||
$projekt_phase=(isset($_GET['projekt_phase'])?$_GET['projekt_phase']:null);
|
||||
$projekt_phase=(isset($_GET['projekt_phase'])?$_GET['projekt_phase']:null);
|
||||
|
||||
if($projekt_phase != null && (is_numeric($projekt_phase) == false ))
|
||||
die('Ungültige ProjektphasenID');
|
||||
@@ -81,7 +81,7 @@ $ressource = new ressource();
|
||||
if($projekt_kurzbz!=null)
|
||||
$ressource->getProjectRessourcen($projekt_kurzbz);
|
||||
else if($projekt_phase!= null)
|
||||
$ressource->getPhaseRessourcen($projekt_phase);
|
||||
$ressource->getPhaseRessourcen($projekt_phase);
|
||||
|
||||
else
|
||||
$ressource->getAllRessourcen();
|
||||
@@ -171,7 +171,7 @@ function draw_ressource($ressource)
|
||||
else
|
||||
die('Fehler beim Laden der Mitarbeiter-daten');
|
||||
|
||||
$mitarbeiter.="\n\t\t\t<RDF:li resource=\"".$rdf_url.$ressource->ressource_id."\" />";
|
||||
$mitarbeiter.="\n\t\t\t<RDF:li resource=\"".$rdf_url.$ressource->ressource_id.'/'.$ressource->projekt_ressource_id."\" />";
|
||||
$typ ='Mitarbeiter';
|
||||
}
|
||||
// Ressource ist ein Student
|
||||
@@ -229,7 +229,7 @@ function draw_ressource($ressource)
|
||||
}
|
||||
|
||||
echo '
|
||||
<RDF:Description about="'.$rdf_url.$ressource->ressource_id.'" >
|
||||
<RDF:Description about="'.$rdf_url.$ressource->ressource_id.'/'.$ressource->projekt_ressource_id.'" >
|
||||
<RESSOURCE:ressource_id><![CDATA['.$ressource->ressource_id.']]></RESSOURCE:ressource_id>
|
||||
<RESSOURCE:bezeichnung><![CDATA['.$ressource->bezeichnung.']]></RESSOURCE:bezeichnung>
|
||||
<RESSOURCE:typ><![CDATA['.$typ.']]></RESSOURCE:typ>
|
||||
@@ -242,7 +242,7 @@ function draw_ressource($ressource)
|
||||
<RESSOURCE:insertvon><![CDATA['.$ressource->insertvon.']]></RESSOURCE:insertvon>
|
||||
<RESSOURCE:updateamum><![CDATA['.$ressource->updateamum.']]></RESSOURCE:updateamum>
|
||||
<RESSOURCE:updatevon><![CDATA['.$ressource->updatevon.']]></RESSOURCE:updatevon>
|
||||
<RESSOURCE:aufwand><![CDATA['.$ressource->aufwand.']]></RESSOURCE:aufwand>
|
||||
<RESSOURCE:aufwand><![CDATA['.$ressource->aufwand.']]></RESSOURCE:aufwand>
|
||||
<RESSOURCE:funktion_kurzbz><![CDATA['.$ressource->funktion_kurzbz.']]></RESSOURCE:funktion_kurzbz>
|
||||
<RESSOURCE:projekt_ressource_id><![CDATA['.$ressource->projekt_ressource_id.']]></RESSOURCE:projekt_ressource_id>
|
||||
<RESSOURCE:rdf_description><![CDATA['.$RdfDescription.']]></RESSOURCE:rdf_description>
|
||||
|
||||
Reference in New Issue
Block a user