summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-05-22 01:22:07 +0000
committerZach Copley <zach@controlyourself.ca>2009-05-22 01:22:07 +0000
commitb134784df913bdead51b2b8c5847acdae7e543ce (patch)
tree96f5142c41e4d4d96ccfd01c65e2f896d3926b2d
parenteaf2a98daf2ad135f6daa1bcab391fbee7df3183 (diff)
Custom stylesheet for the Facebook Connect plugin
-rw-r--r--plugins/FBConnect/FBConnectPlugin.css1
-rw-r--r--plugins/FBConnect/FBConnectPlugin.php7
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/FBConnect/FBConnectPlugin.css b/plugins/FBConnect/FBConnectPlugin.css
new file mode 100644
index 000000000..19a196f3a
--- /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 4fb9a7ca4..ad5e47e47 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();