]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add classes to profile and group links in notices
authorEvan Prodromou <evan@status.net>
Sat, 9 Apr 2011 19:42:27 +0000 (15:42 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 9 Apr 2011 19:42:27 +0000 (15:42 -0400)
lib/util.php

index c2b50f7045237c0eb366c5aa11462f9aa62c50ee..819dcc5058a5bffb9b1e886bc65af0d0a5b2c123 100644 (file)
@@ -638,7 +638,7 @@ function common_linkify_mention($mention)
 
         $xs->elementStart('span', 'vcard');
         $xs->elementStart('a', $attrs);
-        $xs->element('span', 'fn nickname', $mention['text']);
+        $xs->element('span', 'fn nickname profile', $mention['text']);
         $xs->elementEnd('a');
         $xs->elementEnd('span');
 
@@ -1148,7 +1148,7 @@ function common_group_link($sender_id, $nickname)
         $xs = new XMLStringer();
         $xs->elementStart('span', 'vcard');
         $xs->elementStart('a', $attrs);
-        $xs->element('span', 'fn nickname', $nickname);
+        $xs->element('span', 'fn nickname group', $nickname);
         $xs->elementEnd('a');
         $xs->elementEnd('span');
         return $xs->getString();