Code

Prepared for multiple asterisk servers
[gosa.git] / plugins / admin / fai / class_faiPackage.inc
index bb06019cd064a4d132405ccef8579f9b525b5367..51df0c833059591b5a09707b3f16296f4c146749 100644 (file)
@@ -262,7 +262,7 @@ class faiPackage extends plugin
 
     /* Configuration dialog open*/
     if((isset($_POST['Conpkg']))&&(isset($_POST['usedPackages']))&&(!empty($_POST['usedPackages'])) && $this->acl_is_writeable("FAIdebconfInfo")){
-      $path = "/etc/gosa/fai/".$this->FAIdebianRelease."/debconf.d";
+      $path = CONFIG_DIR."/fai/".$this->FAIdebianRelease."/debconf.d";
       $pkg_config = array();
       $pkg = $_POST['usedPackages'][0];
 
@@ -432,7 +432,7 @@ class faiPackage extends plugin
       $this->buffer=array();
       $a_ret = array();
       foreach($this->FAIdebianSection as $sec){
-        $strID= "/etc/gosa/fai/".$this->FAIdebianRelease."/".$sec;
+        $strID= CONFIG_DIR."/fai/".$this->FAIdebianRelease."/".$sec;
 
         if(!is_file($strID)){
           print_red(sprintf(_("Package file '%s' does not exist."),$strID));
@@ -529,17 +529,17 @@ class faiPackage extends plugin
           "plDescription" => _("FAI Package list"),
           "plSelfModify"  => FALSE,
           "plDepends"     => array(),
-          "plPriority"    => 30,
+          "plPriority"    => 28,
           "plSection"     => array("administration"),
           "plCategory"    => array("fai"),
           "plProvidedAcls" => array(
             "cn"                => _("Name"),
             "description"       => _("Description"),
             "FAIpackage"        => _("Packages"),
-            "FAIdebianSection"  => _("Section"),
+            "FAIdebianSection"  => _("Section")." ("._("Readonly").")",
             "FAIinstallMethod"  => _("Install Method"),
             "FAIdebconfInfo"    => _("Package configuration"),
-            "FAIdebianRelease"  => _("Release"))
+            "FAIdebianRelease"  => _("Release")." ("._("Readonly").")")
           ));
   }
 }