summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c895775)
raw | patch | inline | side by side (parent: c895775)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Oct 2005 09:12:08 +0000 (09:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Oct 2005 09:12:08 +0000 (09:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1479 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiManagement.inc | patch | blob | history | |
plugins/admin/fai/class_faiScript.inc | patch | blob | history | |
plugins/admin/fai/class_faiScriptEntry.inc | patch | blob | history |
index 7e9dab75d31f875f6353bd3f48238b0a67261f88..29ee26c90a515c8d7f6ed57ff249a70dba0d9c88 100644 (file)
require "tabsProfile.inc";
require "tabsPackage.inc";
+
class faiManagement extends plugin
{
/* Definitions */
index 9b4b1781567cb230a5bd626723feb0ffa382abf4..8471f376cd750265237eb8bc13edc90ca932e669 100644 (file)
if($tmp['description']==array()){
unset($tmp['description']);
}
+ if($tmp['FAIscript']==array()){
+ $tmp['FAIscript']=" ";
+ }
$ldap->cd($this->config->current['BASE']);
$ldap->create_missing_trees(preg_replace('/^[^,]+,/', '', $this->dn));
$ldap->cd($sub_dn);
diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc
index 4d337ca4b3990adf3ac956de5590032cd571208b..2e7341729d8d140d54d7f4429f408eb82ac240d3 100644 (file)
$str = utf8_encode("üöä");
- if(empty($this->Object_FAIscript)){
- $message[]=_("Please specify a script.");
- }
-
if(preg_match("/[^a-z0-9".$str."\.,;:\-_\? ]/i",$this->Object_description)){
$message[] = _("Invalid character in description. Please enter a valid description.");
}