]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed Flagged for review view
authorSarven Capadisli <csarven@status.net>
Sun, 8 Nov 2009 20:31:53 +0000 (20:31 +0000)
committerSarven Capadisli <csarven@status.net>
Sun, 8 Nov 2009 20:31:53 +0000 (20:31 +0000)
plugins/UserFlag/UserFlagPlugin.php

index 6910ff33293f90a3008e8e2699a6cc4790881f07..2376bb8594f7b5f6c33267f7f52b335acc24e108 100644 (file)
@@ -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;
+    }
 }