Code

Fixed removal of template and profile entries.
[gosa.git] / gosa-plugins / fai / admin / fai / class_faiTemplate.inc
index c3c99f607c7aa757e1f472c8684a649ba9afeb34..47313ac420467f4357e809df160d771ce8f86a6e 100644 (file)
@@ -69,6 +69,7 @@ class faiTemplate extends plugin
 
     // Prepare lists
     $this->templateList = new sortableListing();
+    $this->templateList->setInstantDelete(false);
     $this->templateList->setDeleteable(true);
     $this->templateList->setEditable(true);
     $this->templateList->setWidth("100%");
@@ -76,7 +77,6 @@ class faiTemplate extends plugin
     $this->templateList->setColspecs(array('*','18px'));
     $this->templateList->setHeader(array(_("Name"),""));
     $this->templateList->setDefaultSortColumn(0);
-
   }
 
 
@@ -96,7 +96,6 @@ class faiTemplate extends plugin
         if(in_array_ics($attrs,$this->sub64coded)){
           $var = base64_decode($var);
         }
-        $var = stripslashes($var);
 
         /*  check if this is a binary entry */
         if(in_array_ics($attrs,$this->subBinary)){
@@ -532,14 +531,14 @@ class faiTemplate extends plugin
                   "name"          => "faiTemplateRDN",
                   "type"          => "rdn",
                   "default"       => "ou=templates,",
-                  "description"   => _("The 'faiTemplateRDN' statement defines the location where new fai-templates will be created. The default is 'ou=templates,'."),
+                  "description"   => _("RDN for FAI template storage."),
                   "check"         => "gosaProperty::isRdn",
                   "migrate"       => "migrate_faiTemplateRDN",
                   "group"         => "plugin",
                   "mandatory"     => TRUE)),
 
           "plProvidedAcls" => array(
-              "cn"                => _("Name")." ("._("Readonly").")",
+              "cn"                => _("Name")." ("._("Read-only").")",
             "description"       => _("Description"))
           ));
   }