Code

closes #269 - Just display a warning when Mac addresses are already in use
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 15:37:09 +0000 (15:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 15:37:09 +0000 (15:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7878 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc

index 34f55366000146f0536eb4469e768ec3b670975a..88aa84602a38595fe50ecf5278d4ec199c2b95c1 100644 (file)
@@ -479,7 +479,7 @@ class termDNS extends plugin
     if(!empty($this->macAddress) && $this->dhcp_is_Account && 
         $this->macAddress != $this->orig_macAddress && 
         in_array("mac:".$this->macAddress,$this->used_ip_mac)){
-      $message[] =_("The specified MAC address is already in use.");
+      print_red(sprintf(_("The specified MAC address '%s' for this system '%s' is already in use."),$this->macAddress,$this->cn));
     }
 
     /* Check if ip must be given