Code

get rid of the div stuff
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Apr 2010 13:29:50 +0000 (13:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Apr 2010 13:29:50 +0000 (13:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17710 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc

index 3e55b675dd6b2792a305fb43b50b204cd73c8187..77d63041a85d98ad5a04d48743a9a62eb9385925 100644 (file)
@@ -319,7 +319,7 @@ class sudo extends plugin
             $smarty->assign($attr."ACL",$this->getacl($attr));
         }
 
-        /* Fill divlists
+        /* Fill listings
          */
         $neg_img= image('plugins/sudo/images/negate.png','','!');
         $option = image('plugins/sudo/images/negate.png','neg_%ATTR%_%KEY%');
@@ -345,7 +345,7 @@ class sudo extends plugin
             }
             $this->$list->setListData($this->$attr, $tmp);
             $this->$list->update();
-            $smarty->assign("divlist_{$attr}", $this->$list->render());
+            $smarty->assign("listing_{$attr}", $this->$list->render());
         }
 
 
@@ -369,7 +369,7 @@ class sudo extends plugin
         }
         $this->sudoUserList->setListData($this->sudoUser,$sudoUserData);
         $this->sudoUserList->update();
-        $smarty->assign("divlist_sudoUser", $this->sudoUserList->render());
+        $smarty->assign("listing_sudoUser", $this->sudoUserList->render());
         return($smarty->fetch(get_template_path('generic.tpl', TRUE)));
     }