From: Zach Copley Date: Fri, 1 Oct 2010 18:31:44 +0000 (-0700) Subject: Better markup for anon fave tally X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=33b16be0a40e78dee3cf25ab27ea95202f0e772e;p=quix0rs-gnu-social.git Better markup for anon fave tally --- diff --git a/plugins/AnonymousFave/AnonymousFavePlugin.php b/plugins/AnonymousFave/AnonymousFavePlugin.php index a0aa126268..be93c1704f 100644 --- a/plugins/AnonymousFave/AnonymousFavePlugin.php +++ b/plugins/AnonymousFave/AnonymousFavePlugin.php @@ -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'); } }