Code

Updated texts
[gosa.git] / gosa-plugins / fai / admin / systems / services / repository / class_servRepository.inc
index 565501bc00b1b4a7ecb61e3a3e26bf014e26db93..3a097e2610bc57f7a1537eb0bdc878d8074dbef7 100644 (file)
@@ -10,7 +10,7 @@ class servrepository extends goService
   /* Repositories */
   var $repositories          = array();
   var $FAIrepository         = array();
-  var $conflicts             = array("FAIrepositoryServer");
+  var $conflicts             = array("goKioskService");
   var $DisplayName           = "";
   var $StatusFlag            = "";
   
@@ -306,8 +306,6 @@ class servrepository extends goService
   {
     $fields = goService::getListEntry();
     $fields['Message']    = _("Repository service");
-    $fields['AllowEdit']  = true;
-    $fields['AllowStart'] = $fields['AllowStop'] = $fields['AllowRestart'] = false;
     return($fields);
   }
 
@@ -322,7 +320,7 @@ class servrepository extends goService
         $evt = $events['TRIGGERED']['DaemonEvent_recreate_fai_server_db']; 
         $tmp = new $evt['CLASS_NAME']($this->config);
         $tmp->set_type(TRIGGERED_EVENT);
-        $tmp->add_targets(array("GOsa"));
+        $tmp->add_targets(array("GOSA"));
         $o_queue = new gosaSupportDaemon();
         if(!$o_queue->append($tmp)){
           msg_dialog::display(_("Service infrastructure"),msgPool::siError($o_queue->get_error()),ERROR_DIALOG);
@@ -351,15 +349,16 @@ class servrepository extends goService
           "plCategory"    => array("server"),
 
           "plProvidedAcls"=> array(
-              "cn"            => _("Name"),
-              "start"         => _("Start"),
-              "stop"          => _("Stop"),
-              "restart"       => _("Restart"),
-              "Release"       => _("Releases"),
-              "Section"       => _("Sections"),
-              "ParentServer"  => _("Parent server"),
-              "Url"           => _("Url"))
-            ));
+#            "start"         => _("Service start"),  // Remove this to hide the start button at all.
+#            "stop"          => _("Service stop"),   // Remove this to hide the stop button at all.
+#            "restart"       => _("Service restart"),// Remove this to hide the restart button at all.
+
+#            "cn"            => _("Name"),
+            "ParentServer"  => _("Parent server"),
+            "Release"       => _("Releases"),
+            "Url"           => _("URL"),
+            "Section"       => _("Sections"))
+          ));
   }
 }