1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 17:19:56 +02:00

Issue #991 : Added support for CSS files in the footer of the <body>. Tested in FF successfully, more testing required.

This commit is contained in:
Cameron
2015-05-23 12:02:14 -07:00
parent 999c3d1ded
commit 05083699e4
2 changed files with 15 additions and 1 deletions

View File

@@ -298,7 +298,21 @@ if (is_array($pref['e_footer_list']))
unset($ret);
}
// Load Footer CSS
//
echo "\n\n<!-- ======= [JSManager] FOOTER: Remaining CSS ======= -->";
$CSSORDER = deftrue('CSSORDER') ? explode(",",CSSORDER) : array('other','core','plugin','theme','inline');
foreach($CSSORDER as $val)
{
$cssId = $val."_css";
e107::getJs()->renderJs($cssId, false, 'css', false);
}
unset($CSSORDER);
echo "\n\n<!-- ======= [JSManager] FOOTER: Remaining JS ======= -->";
// [JSManager] Load JS Footer Includes by priority
e107::getJs()->renderJs('footer', true);