diff --git a/rdf/lehrauftrag.xml.php b/rdf/lehrauftrag.xml.php index d6c3c7969..869321655 100644 --- a/rdf/lehrauftrag.xml.php +++ b/rdf/lehrauftrag.xml.php @@ -64,8 +64,6 @@ if(isset($_GET['ss'])) else die('Fehlerhafte Parameteruebergabe'); -$ANZAHL_ZEILEN_PRO_SEITE=25; - //String der laenger als limit ist wird //abgeschnitten und '...' angehaengt function CutString($strVal, $limit) @@ -162,7 +160,6 @@ function drawLehrauftrag($uid) global $ss; global $xml; global $stgl; - global $ANZAHL_ZEILEN_PRO_SEITE; $db = new basis_db(); @@ -395,36 +392,25 @@ function drawLehrauftrag($uid) } } - $anz=0; - $newsite=false; + + foreach ($lv as $lv_row) { - if($anz>$ANZAHL_ZEILEN_PRO_SEITE) - { - if($newsite) - $xml.=''; - $xml.=''; - $newsite=true; - $anz=0; - } - $xml.=' - - - - - - - '.$lv_row['einzelgruppe'].' - - - - - - '; - $anz++; - } - if($newsite) - $xml.=''; + $xml.=' + + + + + + + '.$lv_row['einzelgruppe'].' + + + + + + '; + }; // Gesamtstunden und Gesamtkosten $xml.="