index 3472e3c6442298f1a5c82ad90349d1c38d717a30..6f9df0b45fcf17070a033a4d538a7f4ec65cf0b5 100644 (file)
$list = array('mail' => 'mail','uid' => 'uid');
break;
case 'mailMethod':
- $list = mailMethod::get_methods();
+ $tmp = mailMethod::get_methods();
+ $list =array();
+ foreach($tmp as $name => $value){
+ $name = preg_replace('/^mailMethod/','', $name);
+ $list[$name] = $value;
+ }
$list[''] = _("None");
break;
case 'language':
"name" => "htaccessAuthentication",
"type" => "bool",
"default" => "false",
- "description" => _("The 'htaccessAuthentication' variable tells GOsa to use either htaccess authentication or LDAP authentication. This can be used if you want to use i.e. kerberos to authenticate the users."),
+ "description" => _("The 'htaccessAuthentication' variable tells GOsa to use either htaccess authentication or LDAP authentication. This can be used if you want to use i.e. Kerberos to authenticate the users."),
"check" => "gosaProperty::isBool",
"migrate" => "",
"group" => "authentification",
"mandatory" => TRUE),
+ array(
+ "name" => "statsDatabaseEnabled",
+ "type" => "bool",
+ "default" => "false",
+ "description" => _("Enables/Disables GOSa usage statistics moduls."),
+ "check" => "gosaProperty::isBool",
+ "migrate" => "",
+ "group" => "core",
+ "mandatory" => TRUE),
+
+ array(
+ "name" => "statsDatabaseDirectory",
+ "type" => "path",
+ "default" => "/var/spool/gosa/stats",
+ "description" => _("The database file for GOSa usage statistics."),
+ "check" => "gosaProperty::isWriteablePath",
+ "migrate" => "",
+ "group" => "core",
+ "mandatory" => TRUE),
+
array(
"name" => "logging",
"type" => "bool",