mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Filter hidden Contacts from FAS
This commit is contained in:
+3
-2
@@ -73,7 +73,8 @@ else
|
|||||||
function draw_rdf($row)
|
function draw_rdf($row)
|
||||||
{
|
{
|
||||||
global $rdf_url;
|
global $rdf_url;
|
||||||
|
if($row->kontakttyp == 'hidden')
|
||||||
|
return;
|
||||||
echo '
|
echo '
|
||||||
<RDF:li>
|
<RDF:li>
|
||||||
<RDF:Description id="'.$row->kontakt_id.'" about="'.$rdf_url.'/'.$row->kontakt_id.'" >
|
<RDF:Description id="'.$row->kontakt_id.'" about="'.$rdf_url.'/'.$row->kontakt_id.'" >
|
||||||
@@ -93,4 +94,4 @@ function draw_rdf($row)
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</RDF:Seq>
|
</RDF:Seq>
|
||||||
</RDF:RDF>
|
</RDF:RDF>
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ if($kontakt->getKontakttyp())
|
|||||||
{
|
{
|
||||||
foreach ($kontakt->result as $row)
|
foreach ($kontakt->result as $row)
|
||||||
{
|
{
|
||||||
|
if($row->kontakttyp == 'hidden')
|
||||||
|
continue;
|
||||||
echo '
|
echo '
|
||||||
<RDF:li>
|
<RDF:li>
|
||||||
<RDF:Description id="'.$row->kontakttyp.'" about="'.$rdf_url.'/'.$row->kontakttyp.'" >
|
<RDF:Description id="'.$row->kontakttyp.'" about="'.$rdf_url.'/'.$row->kontakttyp.'" >
|
||||||
@@ -65,4 +67,4 @@ else
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</RDF:Seq>
|
</RDF:Seq>
|
||||||
</RDF:RDF>
|
</RDF:RDF>
|
||||||
|
|||||||
Reference in New Issue
Block a user