Code

Updated images
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Mar 2010 17:01:35 +0000 (17:01 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Mar 2010 17:01:35 +0000 (17:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16544 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc
gosa-plugins/systems/admin/systems/system-list.xml

index 5a38c28189ab8ba4473bda30ad84250410b54d30..4413c7ef91bb3b950fa72f3b360658481eabb237 100644 (file)
@@ -1361,7 +1361,7 @@ class systemManagement extends management
     if ($class && is_array($class)) {
       foreach (explode(' ', $class[0]) as $element) {
         if ($element[0] == ":") {
-          return "&nbsp;<img class='center' src='images/empty.png'>&nbsp;".mb_substr($element, 1);
+          return "&nbsp;".image('images/empty.png')."&nbsp;".mb_substr($element, 1);
         }
       }
     }
@@ -1373,9 +1373,7 @@ class systemManagement extends management
     while($attrs = $ldap->fetch()){
       $rel = preg_replace("/^.*:/","",$attrs['FAIclass'][0]);
       $sys = sprintf(_("Inherited from %s"),$attrs['cn'][0]);
-      $str = "&nbsp;<img class='center' src='plugins/ogroups/images/ogroup.png' 
-          title='".$sys."' 
-          alt='".$sys."' >&nbsp;".$rel;
+      $str = "&nbsp;".image('plugins/ogroups/images/ogroup.png', "", $sys)."&nbsp;".$rel;
       return($str);
     }
     
index 198213a2f906890234cb4bebe3ca121e0abdad41..e16b68d58edc7fd9d1c61b59d7e7f79906bc7c0f 100644 (file)
 
     <action>
      <type>sub</type>
-     <image>images/lists/new.png</image>
+     <image>plugins/systems/images/select_server.png[new]</image>
      <label>Create</label>
 
      <action>