Code

Added automatic to wsStartup
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Dec 2005 08:31:07 +0000 (08:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Dec 2005 08:31:07 +0000 (08:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2268 594d385d-05f5-0310-b6e9-bd551577e9d8

contrib/gosa.conf
plugins/admin/systems/class_workstationStartup.inc

index c1ff3770de316753d1bb8d2c27e5e36176e7f21d..ca2d1093d7b309a4c439a553fbf4376e34d75c51 100644 (file)
                <tab class="servdb" name="Databases" />
                <tab class="servservice" name="Services" />
                {servKolab}
+       <tab class="servrepository" name="Repository" />
                <tab class="terminfo" name="Information" />
                <tab class="reference" name="References" />
        </servtabs>
index 2d551801a8602efb9925fdc5ebd8c25ed59869c9..87c53ee721d91d665e0cedcb2dc01a098c687d09 100644 (file)
@@ -52,6 +52,7 @@ class workstartup extends plugin
     $ldap->search("(objectClass=FAIrepository)",array("FAIdebianMirror"));
     
     /* attach all attributes with "index => cn" to avoid multiple entries */
+    $this->FAIdebianMirrors['auto']=_("automatic");
     while($attr = $ldap->fetch()){
       if(isset($attr['FAIdebianMirror'])){
         $this->FAIdebianMirrors[$attr['FAIdebianMirror'][0]]=$attr['FAIdebianMirror'][0];
@@ -587,7 +588,7 @@ class workstartup extends plugin
     if($this->FAIdebianMirror == "none"){
       $this->FAIdebianMirror = "";
     }
-   
+    
     if((count($this->attrs['FAIclass'])==0)&&(empty($this->FAIdebianMirror))){
       $tmp = array();
       foreach($this->attrs['objectClass'] as $class){