From 29b82461b86903c5a44f59104c3f9e37007ec2b2 Mon Sep 17 00:00:00 2001 From: Gerald Simane Date: Wed, 1 Jul 2009 10:44:31 +0000 Subject: [PATCH] --- .../lehre/benotungstool/lvgesamtnoteverwalten.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php b/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php index 5f7cd1465..d4f1b8e53 100644 --- a/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php +++ b/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php @@ -807,27 +807,32 @@ echo " { # $error=(isset($mdldata[1])?$mdldata[1]:"Kurs Info "); $kursArr=(isset($mdldata[2])?$mdldata[2]:array()); -# $kursasObj=(isset($mdldata[3])?$mdldata[3]:array()); + $kursasObj=(isset($mdldata[3])?$mdldata[3]:array()); # $userArr=(isset($mdldata[4])?$mdldata[4]:array()); # $userasObj=(isset($mdldata[5])?$mdldata[5]:array()); # $id=(isset($mdldata[6])?$mdldata[6]:''); # $kursname=(isset($mdldata[7])?$mdldata[7]:''); # $shortname=(isset($mdldata[8])?$mdldata[8]:''); # $courseArr=(isset($mdldata[9])?$mdldata[9]:array()); - $note='?'; + $title=''; reset($kursArr); for ($iKurs=0;$iKursuid))==strtolower(trim($kursArr[$iKurs][2])) ) { - $note=$kursArr[$iKurs][6]; + $note=$kursArr[$iKurs][6]; + foreach ($kursasObj[$iKurs] as $key => $value) + { + + $title.=$key."=>".$value."\r\n"; + } } } if ($note == 5) $leneg = " style='color:red; font-weight:bold'"; else $leneg = " style='font-weight:bold'"; - $note_les_str .= "".$note." (".$moodle_course->mdl_shortname.") "; + $note_les_str .= "".$note." (".$moodle_course->mdl_shortname.") "; } else {