Code

Updated opsi property class
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Aug 2008 07:54:32 +0000 (07:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Aug 2008 07:54:32 +0000 (07:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12308 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc

index 5ff41aa5a8e316889cb237afbf0b3769df1639b6..47be77ba212014161c8e45f55f70fef4184e2c05 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-class opsiProductConfig extends plugin
+class opsiProperties extends plugin
 {
   private $product;
   private $cfg;
@@ -18,6 +18,7 @@ class opsiProductConfig extends plugin
   {
     $smarty = get_smarty();
     $smarty->assign("cfg",$this->cfg);
+    $smarty->assign("cfg_count",count($this->cfg));
     return($smarty->fetch(get_template_path("properties.tpl",TRUE,dirname(__FILE__))));
   }