]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Better markup for anon fave tally
authorZach Copley <zach@status.net>
Fri, 1 Oct 2010 18:31:44 +0000 (11:31 -0700)
committerZach Copley <zach@status.net>
Fri, 1 Oct 2010 18:31:44 +0000 (11:31 -0700)
plugins/AnonymousFave/AnonymousFavePlugin.php

index a0aa1262680cd730102a3cd7e944c9534107a6ca..be93c1704f6cb206f9c29d33bb35e687209a287b 100644 (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');
         }
     }