mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-13 17:00:45 +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,
|
$msg = $this->process_array($GLOBALS['egw']->preferences->$attribute,
|
||||||
(array)$GLOBALS['egw']->preferences->{$attribute}[$appname], $preserve['types'], $appname, $attribute, true);
|
(array)$GLOBALS['egw']->preferences->{$attribute}[$appname], $preserve['types'], $appname, $attribute, true);
|
||||||
}
|
}
|
||||||
// get sidebox of given app
|
// get sidebox menu of given app
|
||||||
if ($appname != 'common') $GLOBALS['egw_info']['flags']['currentapp'] = $appname;
|
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');
|
if ($msg) egw_framework::message($msg, $msg_type ? $msg_type : 'error');
|
||||||
|
|
||||||
$tpl->exec('preferences.preferences_settings.index', $content, $sel_options, $readonlys, $preserve);
|
$tpl->exec('preferences.preferences_settings.index', $content, $sel_options, $readonlys, $preserve);
|
||||||
|
Loading…
Reference in New Issue
Block a user