css from plugins will still outside the main css file

This commit is contained in:
Hugo Loza
2011-02-28 21:40:49 +00:00
parent 9a65b79243
commit bd50ae3799
2 changed files with 5 additions and 10 deletions

View File

@@ -1104,11 +1104,6 @@ class G
}
}
return $output;
}
/**

View File

@@ -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;
}