From: hickert Date: Mon, 26 Jul 2010 15:47:06 +0000 (+0000) Subject: Updated several service dialogs, fixed typos, string, html, post handling and more. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=12c0753f03dcbc4582137e25aaa73c2816771bfa;p=gosa.git Updated several service dialogs, fixed typos, string, html, post handling and more. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19132 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc index b68f39839..2a08a801f 100644 --- a/gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc +++ b/gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc @@ -2,31 +2,31 @@ class filterRepository { - static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "") - { - $list = servrepository::getRepositoryList(); + static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "") + { + $list = servrepository::getRepositoryList(); - // Convert plugin data into useable format for list. - $data = array(); - foreach($list as $key => $entry){ - $entry['objectClass'] = array('FAKE_OC_FaiRepository'); - $item = array('count' => count($entry)); - $item['dn'] = $key; + // Convert plugin data into useable format for list. + $data = array(); + foreach($list as $key => $entry){ + $entry['objectClass'] = array('FAKE_OC_FaiRepository'); + $item = array('count' => count($entry)); + $item['dn'] = $key; - if(!count($entry['Sections'])){ - $entry['Sections'][] = ''; - } - foreach($entry as $name => $value){ - $item[] = $name; - if(!is_array($value)) $value=array($value); - $value= array_values($value); - $value['count'] = count($value); - $item[$name] = $value; - } - $data[] = $item; + if(!count($entry['Sections'])){ + $entry['Sections'][] = ''; + } + foreach($entry as $name => $value){ + $item[] = $name; + if(!is_array($value)) $value=array($value); + $value= array_values($value); + $value['count'] = count($value); + $item[$name] = $value; + } + $data[] = $item; + } + return($data); } - return($data); - } } ?>