diff options
author | Zach Copley <zach@status.net> | 2010-10-01 11:31:44 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-01 11:31:44 -0700 |
commit | 33b16be0a40e78dee3cf25ab27ea95202f0e772e (patch) | |
tree | 743dcfd830937d1c95b60940ec0acf4f68b01169 /plugins | |
parent | 1a870e8ac63db53180d2182ef2b0800c3d543144 (diff) |
Better markup for anon fave tally
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/AnonymousFave/AnonymousFavePlugin.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/AnonymousFave/AnonymousFavePlugin.php b/plugins/AnonymousFave/AnonymousFavePlugin.php index a0aa12626..be93c1704 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'); } } |