From: Sarven Capadisli Date: Sun, 8 Nov 2009 20:31:53 +0000 (+0000) Subject: Fixed Flagged for review view X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb1013fa59d2109afe6e9a3b9fd16d44cd2726eb;p=quix0rs-gnu-social.git Fixed Flagged for review view --- diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php index 6910ff3329..2376bb8594 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; + } }