From: Evan Prodromou Date: Sat, 9 Apr 2011 19:42:27 +0000 (-0400) Subject: add classes to profile and group links in notices X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec1579474cdfa6476d8debe6ea7d3a8243d0d66b;p=quix0rs-gnu-social.git add classes to profile and group links in notices --- diff --git a/lib/util.php b/lib/util.php index c2b50f7045..819dcc5058 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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();