diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-16 02:22:28 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-16 02:22:28 +0000 |
commit | 8f25e4b48a5a578720baac0bc26dd5b9ba8fe3e3 (patch) | |
tree | f49bcf68ea5d219be5080b0e37ec8111ac3b9fd1 /lib/util.php | |
parent | ba1e36dd492cedbad49f00715cf35a8cdf23ac07 (diff) | |
parent | 5d5dcb6f51c0babc54f43f1baace4cc9830e4939 (diff) |
Merge ../csarven into uiredesign
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util.php b/lib/util.php index 8c6cddbd9..9ca817eab 100644 --- a/lib/util.php +++ b/lib/util.php @@ -571,7 +571,7 @@ function common_tag_link($tag) { $canonical = common_canonical_tag($tag); $url = common_local_url('tag', array('tag' => $canonical)); - return '<a href="' . htmlspecialchars($url) . '" rel="tag" class="hashlink">' . htmlspecialchars($tag) . '</a>'; + return '<span class="tag"><a href="' . htmlspecialchars($url) . '" rel="tag">' . htmlspecialchars($tag) . '</a></span>'; } function common_canonical_tag($tag) @@ -589,7 +589,7 @@ function common_at_link($sender_id, $nickname) $sender = Profile::staticGet($sender_id); $recipient = common_relative_profile($sender, common_canonical_nickname($nickname)); if ($recipient) { - return '<a href="'.htmlspecialchars($recipient->profileurl).'" class="atlink">'.$nickname.'</a>'; + return '<span class="vcard"><a href="'.htmlspecialchars($recipient->profileurl).'" class="url"><span class="fn nickname">'.$nickname.'</span></a></span>'; } else { return $nickname; } @@ -606,7 +606,7 @@ function common_at_hash_link($sender_id, $tag) $url = common_local_url('subscriptions', array('nickname' => $user->nickname, 'tag' => $tag)); - return '<a href="'.htmlspecialchars($url).'" class="atlink">'.$tag.'</a>'; + return '<span class="tag"><a href="'.htmlspecialchars($url).'" rel="tag">'.$tag.'</a></span>'; } else { return $tag; } |