From: Zach Copley Date: Fri, 22 May 2009 01:22:07 +0000 (+0000) Subject: Custom stylesheet for the Facebook Connect plugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b134784df913bdead51b2b8c5847acdae7e543ce;p=quix0rs-gnu-social.git Custom stylesheet for the Facebook Connect plugin --- diff --git a/plugins/FBConnect/FBConnectPlugin.css b/plugins/FBConnect/FBConnectPlugin.css new file mode 100644 index 0000000000..19a196f3a5 --- /dev/null +++ b/plugins/FBConnect/FBConnectPlugin.css @@ -0,0 +1 @@ +/* placeholder for csarven */ \ No newline at end of file diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php index 4fb9a7ca4d..ad5e47e478 100644 --- a/plugins/FBConnect/FBConnectPlugin.php +++ b/plugins/FBConnect/FBConnectPlugin.php @@ -130,6 +130,13 @@ class FBConnectPlugin extends Plugin $action->raw($html); } + function onEndShowLaconicaStyles($action) + { + $action->element('link', array('rel' => 'stylesheet', + 'type' => 'text/css', + 'href' => common_path('plugins/FBConnect/FBConnectPlugin.css'))); + } + function onStartPrimaryNav($action) { $user = common_current_user();