summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f977383)
raw | patch | inline | side by side (parent: f977383)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 May 2010 09:18:57 +0000 (09:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 May 2010 09:18:57 +0000 (09:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18545 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_configRegistry.inc | patch | blob | history | |
gosa-core/include/class_core.inc | patch | blob | history |
diff --git a/gosa-core/include/class_configRegistry.inc b/gosa-core/include/class_configRegistry.inc
index ec10966878c2ed6fac6cfd604398cc0c1c64fdbd..cc51e3ce1ed0d64d20a07b68abc22dde1ccfb613 100644 (file)
// Skip searching for LDAP defined properties if 'ignoreLdapProperties' is set to 'true'
// in the config.
+ $this->ignoreLdapProperties = FALSE;
if(isset($this->fileStoredProperties['core'][strtolower('ignoreLdapProperties')]) &&
preg_match("/(true|on)/i", $this->fileStoredProperties['core'][strtolower('ignoreLdapProperties')])){
$this->ignoreLdapProperties = TRUE;
index e9b8bfcf6a85cf3fc235039dba5aaf993f5c5956..d7a528bcd5a264c83056c3f61877790351e3b1a0 100644 (file)
$list[$method] = $desc;
}
break;
+ case 'theme':
+ $cmd = "cd ../ihtml/themes; find . -name 'img.styles' | sed s/'^[^\/]*\/\([^\/]*\).*'/'\\1'/g";
+ $res = `$cmd`;
+ foreach(preg_split("/\n/",$res) as $entry){
+ $list[$entry] = $entry;
+ }
+ break;
case 'accountPrimaryAttribute':
$list = array('uid' => 'uid', 'cn' => 'cn');
break;
array(
"name" => "theme",
- "type" => "string",
+ "type" => "switch",
"default" => "default",
"defaults" => "core::getPropertyValues",
"description" => "The 'theme' statement defines what theme is used to display GOsa pages. You can install some corporate identity like theme and/or modify certain templates to fit your needs within themes. Take a look at the GOsa FAQ for more information.",