mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
"bugfix: InfoLog types were NOT translated (unless you save the infolog site config)"
This commit is contained in:
parent
7aa859949b
commit
b95addb87c
@ -183,13 +183,6 @@ class boinfolog
|
||||
$this->enums['type'] += $this->config->config_data['types'];
|
||||
//echo "types:<pre>"; print_r($this->enums['type']); echo "</pre>\n";
|
||||
}
|
||||
// sort types by there translation
|
||||
foreach($this->enums['type'] as $key => $val)
|
||||
{
|
||||
if (($val = lang($key)) != $key.'*') $this->enums['type'][$key] = lang($key);
|
||||
}
|
||||
natcasesort($this->enums['type']);
|
||||
|
||||
if ($this->config->config_data['group_owners']) $this->group_owners = $this->config->config_data['group_owners'];
|
||||
|
||||
if (isset($this->config->config_data['customfields']) && is_array($this->config->config_data['customfields']))
|
||||
@ -221,6 +214,13 @@ class boinfolog
|
||||
$this->implicit_rights = 'edit';
|
||||
}
|
||||
}
|
||||
// sort types by there translation
|
||||
foreach($this->enums['type'] as $key => $val)
|
||||
{
|
||||
if (($val = lang($key)) != $key.'*') $this->enums['type'][$key] = lang($key);
|
||||
}
|
||||
natcasesort($this->enums['type']);
|
||||
|
||||
$this->user = $GLOBALS['egw_info']['user']['account_id'];
|
||||
|
||||
$this->tz_offset = $GLOBALS['egw_info']['user']['preferences']['common']['tz_offset'];
|
||||
|
Loading…
Reference in New Issue
Block a user