Commit 18f4ed1d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Include parent's admin.css when a child theme also has an admin.css

parent e142ede9
......@@ -328,7 +328,9 @@ EOF;
}
}
if (defined('ADMIN') || defined('INSTITUTIONALADMIN')) {
$stylesheets[] = $THEME->get_url('style/admin.css');
if ($adminsheets = $THEME->get_url('style/admin.css', true)) {
$stylesheets = array_merge($stylesheets, array_reverse($adminsheets));
}
}
if (get_config('developermode') & DEVMODE_DEBUGCSS) {
$stylesheets[] = get_config('wwwroot') . 'theme/debug.css';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment