summaryrefslogtreecommitdiff
path: root/plugins/UserFlag/UserFlagPlugin.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-08 20:31:53 +0000
committerSarven Capadisli <csarven@status.net>2009-11-08 20:31:53 +0000
commitcb1013fa59d2109afe6e9a3b9fd16d44cd2726eb (patch)
treec3a165b76eebbd0171d53156f408cd9ec775ac61 /plugins/UserFlag/UserFlagPlugin.php
parentdc6b2d3ac8487c18715492629bddaabf4c86b092 (diff)
Fixed Flagged for review view
Diffstat (limited to 'plugins/UserFlag/UserFlagPlugin.php')
-rw-r--r--plugins/UserFlag/UserFlagPlugin.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php
index 6910ff332..2376bb859 100644
--- a/plugins/UserFlag/UserFlagPlugin.php
+++ b/plugins/UserFlag/UserFlagPlugin.php
@@ -130,4 +130,15 @@ class UserFlagPlugin extends Plugin
return true;
}
+
+ function onEndShowStatusNetStyles($action)
+ {
+ $action->elementStart('style', array('type' => 'text/css'));
+ $action->raw('.entity_flag input, .entity_flag p {'.
+ ' background:url('.common_path('plugins/UserFlag/flag.gif').') 5px 5px no-repeat;'.
+ ' }');
+ $action->elementEnd('style');
+
+ return true;
+ }
}