Code

FAI->WorkstationStartup->FAI-mirror will be available everytime now
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Oct 2007 11:08:07 +0000 (11:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Oct 2007 11:08:07 +0000 (11:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7630 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/gotomasses/class_divListMasses.inc
plugins/admin/systems/class_workstationStartup.inc

index ff912bd290c8627ded06a77ace29f98e6c3f529a..7c9f1da648bbd9140fa5b074dc42a242b8458c27 100644 (file)
@@ -26,7 +26,8 @@ class divListMasses extends MultiSelectWindow
 
     foreach($this->parent->get_actions() as $name => $desc){
       $this->$name = TRUE;
-      $this->AddCheckBox($name,$desc,$desc,TRUE);
+      $this->AddCheckBox($name,sprintf(_("Display entries with action %s."),$desc),
+                               sprintf(_("Display entries with action %s."),$desc),TRUE);
     }
     $plug  = $_GET['plug'];
 
index eaa4c8f8d6fd558af5936390e30736736b9a391d..42f98ee615399ab3d53f7ef19200f0aa80c9decf 100644 (file)
@@ -931,6 +931,12 @@ class workstartup extends plugin
         if not, dont't add them to our list
      */
     foreach($this->FAIServRepConfig as $mirror => $rest){
+
+      /* Automatically selection is available everytime */
+      if($mirror == "auto"){
+        continue;
+      }
+
       $use = false;
       if(count($this->FAIclass) == 0){
         $use = true;