1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

More featurebox tweaks

This commit is contained in:
CaMer0n
2012-06-06 07:39:42 +00:00
parent 3571186d82
commit 625525304f
7 changed files with 164 additions and 19 deletions

View File

@@ -23,6 +23,13 @@ class e_jsmanager
'scriptaculous/scriptaculous.js',
'scriptaculous/effects.js',
'e107.js'),
/*
'jquery' => array(
"jquery/jquery-1.7.2.min.js",
"jquery/jquery-ui-1.8.21.custom.min.js",
"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/base/jquery-ui.css"
),
*/
'jquery' => array(
"http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js",
@@ -632,7 +639,14 @@ class e_jsmanager
{
if(strpos($inc,".css"))
{
$this->addJs('other_css', $inc, 'all', '<!-- AutoLoad -->');
if(strpos($inc,"://")) // cdn
{
$this->addJs('other_css', $inc, 'all', '<!-- AutoLoad -->');
}
else
{
$this->addJs('core_css', $inc, 'all', '<!-- AutoLoad -->');
}
}
else
{