Use cssLink() to link to external css

This commit is contained in:
Craig Andrews 2009-08-05 20:16:34 -04:00
parent 5ba3383665
commit ca70874b0a

View File

@ -152,10 +152,7 @@ class FBConnectPlugin extends Plugin
{ {
if ($this->reqFbScripts($action)) { if ($this->reqFbScripts($action)) {
$action->cssLink('plugins/FBConnect/FBConnectPlugin.css');
$action->element('link', array('rel' => 'stylesheet',
'type' => 'text/css',
'href' => common_path('plugins/FBConnect/FBConnectPlugin.css')));
} }
} }