]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
shorten flag notification and include a class
authorEvan Prodromou <evan@status.net>
Mon, 9 Nov 2009 18:45:10 +0000 (13:45 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 9 Nov 2009 18:45:10 +0000 (13:45 -0500)
plugins/UserFlag/UserFlagPlugin.php

index 2376bb8594f7b5f6c33267f7f52b335acc24e108..fe4a74869efb4f67af521b75b32657a15fef585f 100644 (file)
@@ -102,8 +102,7 @@ class UserFlagPlugin extends Plugin
             $action->elementStart('li', 'entity_flag');
 
             if (User_flag_profile::exists($profile->id, $user->id)) {
-                $action->element('p', array(),
-                                 _('Flagged for review'));
+                $action->element('p', 'flagged', _('Flagged'));
             } else {
                 $form = new FlagProfileForm($action, $profile,
                                         array('action' => 'showstream',