From 33b16be0a40e78dee3cf25ab27ea95202f0e772e Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 1 Oct 2010 11:31:44 -0700 Subject: [PATCH] Better markup for anon fave tally --- plugins/AnonymousFave/AnonymousFavePlugin.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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'); } } -- 2.39.5