Code

Also upper case should be allowed in serv-dns-edit-entry-dialog.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Nov 2006 11:30:11 +0000 (11:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Nov 2006 11:30:11 +0000 (11:30 +0000)
Else we can create a server named 'Server' but can't set dns entries for it.
Added missing attribute to user environemnt

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5271 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servDNSeditZoneEntries.inc
plugins/personal/environment/class_environment.inc

index b75eef55fe34576e691430370a433367be462000..152aef84d89f777a32a73cc00590c835cc9c0f42 100644 (file)
@@ -232,9 +232,9 @@ class servDNSeditZoneEntries extends plugin
 
       /* Names should be written in lowercase
        */
-      if(strtolower($DevName) != $DevName){
-        $message[] = sprintf(_("The host name '%s' should be written in lowercase."), $DevName);
-      }
+#      if(strtolower($DevName) != $DevName){
+#        $message[] = sprintf(_("The host name '%s' should be written in lowercase."), $DevName);
+#      }
 
       /* Check records
        */                 
index 21fcdf0dd66ee562cbd32c89e2007ac52928fce7..ebd10c5aa4a395323900842e9121a74b80189565 100644 (file)
@@ -65,7 +65,7 @@ class environment extends plugin
 
   var $CopyPasteVars      = array("gotoHotplugDevices","newKioskProfiles","gotoAvailableShares","gotoShareSelections","gotoPrinterSel","gotoProfileFlagL","gotoXResolutions","gotoProfileFlagC","gotoProfileServers","useProfile","is_group","in_dialog","OrigCn");
 
-  var $attributes         = array("uid","gotoProfileServer","gotoProfileFlags",
+  var $attributes         = array("uid","gotoProfileServer","gotoProfileFlags","gotoHotplugDevice",
       "gotoXResolution","gotoProfileQuota",
       "gotoLogonScripts","gotoLogonScript",
       "gotoPrinter", "gosaDefaultPrinter",