summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b55b552)
raw | patch | inline | side by side (parent: b55b552)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jun 2010 07:16:22 +0000 (07:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jun 2010 07:16:22 +0000 (07:16 +0000) |
-This is for properties which cannot be stored in ldap
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18857 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18857 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_core.inc | patch | blob | history | |
gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc | patch | blob | history |
index dc55acf27c162d0012d9e760dbf0b9823d4e5ac8..35614e6e8a9a35194ef8879392d5923486f28246 100644 (file)
array(
"name" => "forceGlobals",
- "type" => "bool",
+ "type" => "noLdap",
"default" => "false",
"description" => _("The 'forceGlobals' statement enables PHP security checks to force register_global settings to be switched off."),
"check" => "gosaProperty::isBool",
array(
"name" => "forceSSL",
- "type" => "bool",
+ "type" => "noLdap",
"default" => "false",
"description" => _("The 'forceSSL' statement enables PHP security checks to force encrypted access to the web interface. GOsa will try to redirect to the same URL - just with https://"),
"check" => "gosaProperty::isBool",
array(
"name" => "warnSSL",
- "type" => "bool",
+ "type" => "noLdap",
"default" => "true",
"description" => _("The 'warnSSL' statement enables PHP security checks to detect non encrypted access to the web interface. GOsa will display a warning in this case."),
"check" => "gosaProperty::isBool",
diff --git a/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc b/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc
index 93b605ab15f4721536cfb03646e1a1697c606125..7f1960f59173a03498d18e99ca5de6feca5f42ad 100644 (file)
$value = addslashes($value);
switch($type[0]){
+ case 'noLdap':
+ $res = $value." <i>(".CONFIG_DIR.'/'.CONFIG_FILE.")</i>";
+ break;
case 'bool':
$res = "<select size=1 name=\"{$name}\" style='width:{$ssize}'>";
$false = (preg_match('/true/i', $value)) ? '' : "selected";