shorten flag notification and include a class

This commit is contained in:
Evan Prodromou 2009-11-09 13:45:10 -05:00
parent 4845aefa69
commit 22310d17a4

View File

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