From 89437885e22f0dab69f336bc8c7bd86744919687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Wed, 16 Jun 2010 10:49:03 +0000 Subject: [PATCH] PrestudentID wird mitexportiert --- content/statistik/studentenexport.xls.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/statistik/studentenexport.xls.php b/content/statistik/studentenexport.xls.php index a7a49c8ff..ec83aa41c 100644 --- a/content/statistik/studentenexport.xls.php +++ b/content/statistik/studentenexport.xls.php @@ -165,6 +165,8 @@ loadVariables($user); $maxlength[$i]=7; $worksheet->write($zeile,++$i,"VORNAMEN", $format_bold); $maxlength[$i]=8; + $worksheet->write($zeile,++$i,"PRESTUDENTID", $format_bold); + $maxlength[$i]=12; $zeile++; @@ -502,6 +504,12 @@ loadVariables($user); $maxlength[$i] = mb_strlen($row->vornamen); $worksheet->write($zeile,$i, $row->vornamen); $i++; + + //PrestudentID + if(mb_strlen($row->prestudent_id)>$maxlength[$i]) + $maxlength[$i] = mb_strlen($row->prestudent_id); + $worksheet->write($zeile,$i, $row->prestudent_id); + $i++; }