summaryrefslogtreecommitdiff
path: root/plugins/UserFlag/UserFlagPlugin.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-26 13:03:01 +0000
committerSarven Capadisli <csarven@status.net>2009-11-26 13:03:01 +0000
commit385573f174a66c18c6879ee9228241b842416f0d (patch)
tree94bdbef18288a5b4a3387feeebbfb72e28746bb1 /plugins/UserFlag/UserFlagPlugin.php
parentb16cabc3bccc1c46178e86dda2a8ba55ff97f28c (diff)
Moved CSS out to its own file for UserFlag
Diffstat (limited to 'plugins/UserFlag/UserFlagPlugin.php')
-rw-r--r--plugins/UserFlag/UserFlagPlugin.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php
index 198202847..1c58a6916 100644
--- a/plugins/UserFlag/UserFlagPlugin.php
+++ b/plugins/UserFlag/UserFlagPlugin.php
@@ -138,12 +138,8 @@ class UserFlagPlugin extends Plugin
function onEndShowStatusNetStyles($action)
{
- $action->elementStart('style', array('type' => 'text/css'));
- $action->raw('.entity_flag input, .entity_flag p {'.
- ' background:url('.common_path('plugins/UserFlag/icon_flag.gif').') 5px 5px no-repeat;'.
- ' }');
- $action->elementEnd('style');
-
+ $action->cssLink(common_path('plugins/UserFlag/userflag.css'),
+ null, 'screen, projection, tv');
return true;
}