Code

removed unique remove templates, added one in the theme directory
[gosa.git] / gosa-core / plugins / admin / ogroups / class_ogroupManagement.inc
index c5898fb3a2962f722b0027a26276d4baee548cc2..cfde13495aef80c3bdd2ac63f21d20bf70505efc 100644 (file)
@@ -181,7 +181,7 @@ class ogroupManagement extends management
     $conv= array(
         "Y" => array("plugins/users/images/select_template.png",_("Templates") , "ogroup"),
         "U" => array("plugins/generic/images/head.png"        ,_("User")        , "ogroup"),
-        "G" => array("plugins/groups/images/groups.png"       ,_("Group")       , "ogroup"),
+        "G" => array("plugins/groups/images/select_group.png"       ,_("Group")       , "ogroup"),
         "A" => array("plugins/ogroups/images/application.png" ,_("Application") , "ogroup"),
         "D" => array("plugins/departments/department.png"     ,_("Department")  , "ogroup"),
         "S" => array("plugins/ogroups/images/server.png"      ,_("Server")      , "ogroup"),
@@ -195,10 +195,7 @@ class ogroupManagement extends management
     $result ="";
     for($i = 0 ; $i < strlen($types); $i++){
       $type = $types[$i];
-      $result.="<input class='center' type='image' src='".$conv[$type][0]."' ".
-        "alt='".$conv[$type][1]."' title='".$conv[$type][1].
-        "' name='listing_edit_".$conv[$type][2]."_$row' style='padding:1px'>";
-
+      $result.= image($conv[$type][0], 'listing_edit_'.$conv[$type][2].'_'.$row,$conv[$type][1]);
     }
     return($result);
   }