1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 03:24:20 +02:00

dialog styling fixes

This commit is contained in:
CaMer0n
2012-05-17 17:47:14 +00:00
parent 8dee12ae83
commit ac6084dea9
3 changed files with 13 additions and 11 deletions

View File

@@ -208,18 +208,20 @@ class e_jsmanager
$this->_core_prefs = e107::getPref('e_jslib_core');
$core = array();
foreach($this->_core_prefs as $id=>$vis)
if(is_array($this->_core_prefs))
{
if($vis != 'none' && $vis != 'auto')
foreach($this->_core_prefs as $id=>$vis)
{
foreach($this->_libraries[$id] as $path)
if($vis != 'none' && $vis != 'auto')
{
$core[$path] = $vis;
}
}
}
foreach($this->_libraries[$id] as $path)
{
$core[$path] = $vis;
}
}
}
}
$this->coreLib($core);
// Load stored in preferences plugin lib paths ASAP