css from plugins will still outside the main css file
This commit is contained in:
@@ -1104,11 +1104,6 @@ class G
|
||||
}
|
||||
}
|
||||
return $output;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -314,11 +314,11 @@ class headPublisher {
|
||||
*/
|
||||
// Load external/plugin css
|
||||
// NOTE is necesary to move this to decorator server
|
||||
//$oPluginRegistry = & PMPluginRegistry::getSingleton ();
|
||||
//$registeredCss=$oPluginRegistry->getRegisteredCss();
|
||||
//foreach($registeredCss as $cssFile){
|
||||
// $script .= " <link rel='stylesheet' type='text/css' href='" . $cssFile->sCssFile . ".css' />\n";
|
||||
//}
|
||||
$oPluginRegistry = & PMPluginRegistry::getSingleton ();
|
||||
$registeredCss=$oPluginRegistry->getRegisteredCss();
|
||||
foreach($registeredCss as $cssFile){
|
||||
$script .= " <link rel='stylesheet' type='text/css' href='" . $cssFile->sCssFile . ".css' />\n";
|
||||
}
|
||||
|
||||
return $script;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user