From: hickert Date: Mon, 8 May 2006 07:49:00 +0000 (+0000) Subject: summary tab improvements X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e3d8c2e83c840508b2fca8d1e7f880d958903995;p=gosa.git summary tab improvements git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3214 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiSummaryTab.inc b/plugins/admin/fai/class_faiSummaryTab.inc index f85bffaab..fbe589efd 100644 --- a/plugins/admin/fai/class_faiSummaryTab.inc +++ b/plugins/admin/fai/class_faiSummaryTab.inc @@ -218,12 +218,16 @@ class faiSummaryTab extends plugin{ $entry['Entries'] = $tmp; }else{ + $tmp = array(); foreach($entry['Entries'] as $script){ + $tmp[$script['cn'][0].$script['CLASS']] = $script; if(!isset($nums[$script['cn'][0]])){ $nums[$script['cn'][0]]= 0; } $nums[$script['cn'][0]] ++; } + ksort($tmp); + $entry['Entries'] = $tmp; } foreach($entry['Entries'] as $cn => $data){ @@ -259,17 +263,14 @@ class faiSummaryTab extends plugin{ $str .= " [".$data['description'][0]."] "; } $str .=" = '".$data['FAIvariableContent'][0]."'"; - $str .= "".$data['CLASS'].""; - - $str .=""; } } /* Create packagelist entries */ if(in_array($key,array("FAIpackageList"))) { -// ksort($entry['Entries']); + ksort($entry['Entries']); foreach($entry['Entries'] as $data){ $str .=""; $str .= $image." ".$data['cn'][0];