From ea4d1ec05ae302fcabe8036becb214accc96dcab Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 Jan 2006 09:50:54 +0000 Subject: [PATCH] Fixed some errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2551 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPackageEntry.inc | 9 +++++---- plugins/admin/fai/faiPackageEntry.tpl | 4 +--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/admin/fai/class_faiPackageEntry.inc b/plugins/admin/fai/class_faiPackageEntry.inc index 57e96f97d..3d5f07028 100644 --- a/plugins/admin/fai/class_faiPackageEntry.inc +++ b/plugins/admin/fai/class_faiPackageEntry.inc @@ -77,13 +77,14 @@ class faiPackageEntry extends plugin } } - ksort($this->categories); + @ksort($this->categories); - $CHKS = ""; - $i = 0; + $CHKS = "
"; + $CHKS .="
"; + $i = 0; + if(is_array($this->categories)) foreach($this->categories as $cat => $selected){ if($i == 3){ - $CHKS .="
"; $i = 0; } $i ++ ; diff --git a/plugins/admin/fai/faiPackageEntry.tpl b/plugins/admin/fai/faiPackageEntry.tpl index b2e434e9c..e9634f1f1 100644 --- a/plugins/admin/fai/faiPackageEntry.tpl +++ b/plugins/admin/fai/faiPackageEntry.tpl @@ -44,9 +44,7 @@
- + {t}Display objects matching{/t}