index 9fb3846549c5b419279877abacb8c3fb5a25785a..834ed53f6632cbf391b7eefd9507d0a4336b6975 100644 (file)
break;
case 'timezone':
$tmp = timezone::_get_tz_zones();
- foreach($tmp['TIMEZONES'] as $name => $offset){
+ foreach($tmp['TIMEZONES'] as $tzname => $offset){
if($offset >= 0){
- $list[$name] = $name." ( + ".sprintf("%0.2f",$offset/(60*60))." "._("hours").")";
+ $list[$tzname] = $tzname." ( + ".sprintf("%0.2f",$offset/(60*60))." "._("hours").")";
}else{
$offset = $offset * -1;
- $list[$name] = $name." ( - ".sprintf("%0.2f",($offset/(60*60)))." "._("hours").")";
+ $list[$tzname] = $tzname." ( - ".sprintf("%0.2f",($offset/(60*60)))." "._("hours").")";
}
}
break;
$tmp = mailMethod::get_methods();
}
$list =array();
- foreach($tmp as $name => $value){
- $name = preg_replace('/^mailMethod/','', $name);
- $list[$name] = $value;
+ foreach($tmp as $vName => $vValue){
+ $vName = preg_replace('/^mailMethod/','', $vName);
+ $list[$vName] = $vValue;
}
$list[''] = _("None");
break;
"name" => "forceTranslit",
"type" => "bool",
"default" => "false",
- "description" => _("Force to use internal translate function (fix for generation of uid for cyrillic sn and givenName)."),
+ "description" => _("Enable transliteration of cyrillic characters for UID generation."),
"check" => "gosaProperty::isBool",
"migrate" => "",
"group" => "core",