Better markup for anon fave tally

This commit is contained in:
Zach Copley 2010-10-01 11:31:44 -07:00
parent 1a870e8ac6
commit 33b16be0a4

View File

@ -202,7 +202,12 @@ class AnonymousFavePlugin extends Plugin
'class' => 'notice-tally'
)
);
$out->raw(sprintf(_m("favored %d times"), $tally->count));
$out->elementStart('span', array('class' => 'fave-tally-title'));
$out->raw(sprintf(_m("Favored")));
$out->elementEnd('span');
$out->elementStart('span', array('class' => 'fave-tally'));
$out->raw($tally->count);
$out->elementEnd('span');
$out->elementEnd('div');
}
}