mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
need include preferences css manually, if running under a different app
This commit is contained in:
parent
a61dea2677
commit
a3006e87bc
@ -121,9 +121,13 @@ class preferences_settings
|
||||
$msg = $this->process_array($GLOBALS['egw']->preferences->$attribute,
|
||||
(array)$GLOBALS['egw']->preferences->{$attribute}[$appname], $preserve['types'], $appname, $attribute, true);
|
||||
}
|
||||
// get sidebox of given app
|
||||
if ($appname != 'common') $GLOBALS['egw_info']['flags']['currentapp'] = $appname;
|
||||
|
||||
// get sidebox menu of given app
|
||||
if ($appname != 'common')
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['currentapp'] = $appname;
|
||||
// need to include our css
|
||||
egw_framework::includeCSS('preferences','app');
|
||||
}
|
||||
if ($msg) egw_framework::message($msg, $msg_type ? $msg_type : 'error');
|
||||
|
||||
$tpl->exec('preferences.preferences_settings.index', $content, $sel_options, $readonlys, $preserve);
|
||||
|
Loading…
Reference in New Issue
Block a user