Code

Updated trustModes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Apr 2010 11:34:39 +0000 (11:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Apr 2010 11:34:39 +0000 (11:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17511 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/posix/trustModeDialog/class_trustModeDialog.inc

index 61703b126836d6f664c936e568544dc95e2e5238..5996aeb0127afc4da03c38f3a4f7bacc5d4013ad 100644 (file)
@@ -41,8 +41,8 @@ class trustModeDialog extends plugin
         $this->trustList->setWidth("100%");
         $this->trustList->setHeight("100px");
         $this->trustList->setColspecs(array('20px','*'));
-        
-        $this->trustList->setDefaultSortColumn(0);
+        $this->trustList->setHeader(array("~",_("Name"),_("Description")));
+        $this->trustList->setDefaultSortColumn(1);
 
     }
 
@@ -178,10 +178,10 @@ class trustModeDialog extends plugin
         else
             $smarty->assign("emptyArrAccess",false);
 
-        $smarty->assign("accessTo",$this->accessTo);
 
         $smarty->assign($smarty->assign("use_trustmode",in_array("trustmode", $this->multi_boxes)));
         $smarty->assign("multiple_support" , $this->multiple_support_active);
+        $this->trustList->update();
         $smarty->assign("trustList", $this->trustList->render());
         return($smarty->fetch(get_template_path("generic.tpl",TRUE, dirname(__FILE__))));
     }