Code

Added labels to systems
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Apr 2010 07:06:39 +0000 (07:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Apr 2010 07:06:39 +0000 (07:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17985 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index 56d1c62fb1c01a761bd5919e392e07c50f28809a..8a64dfb4c99eab7475385a11226848f86cf69478 100644 (file)
@@ -1369,8 +1369,9 @@ class systemManagement extends management
       $desc = isset($description[0])?$description[0]:"&nbsp;";
       $rc = "";
       switch($state){
-        case 'locked' : $rc = "<rowClass:entry-locked/>"; break;
-        case 'error' : $rc = "<rowClass:entry-locked/>"; break;
+        case 'locked' : $rc = "<rowClass:entry-locked/><rowLabel:locked/>"; break;
+        case 'error' : $rc = "<rowClass:entry-error/><rowLabel:error/>"; break;
+        case 'warning' : $rc = "<rowClass:entry-warning/><rowLabel:warning/>"; break;
       }
       return("<a href='?plug=".$_GET['plug']."&amp;PID={$pid}&amp;act=listing_edit_{$row}' title='{$dn}'>{$desc}</a>{$rc}");
   }