username CSS, so that the name can be consistent even when it's a non-linked anon

This commit is contained in:
Shish 2012-02-10 01:29:31 +00:00
parent 01b89c2a1b
commit 34fd9751db
2 changed files with 3 additions and 3 deletions

View File

@ -153,10 +153,10 @@ class CommentListTheme extends Themelet {
$anoncode = '<sup>'.$this->anon_id.'</sup>';
$this->anon_id++;
}
$h_userlink = $h_name . $anoncode;
$h_userlink = "<span class='username'>" . $h_name . $anoncode . "</span>";
}
else {
$h_userlink = '<a href="'.make_link('user/'.$h_name).'">'.$h_name.'</a>';
$h_userlink = '<a class="username" href="'.make_link('user/'.$h_name).'">'.$h_name.'</a>';
}
$stripped_nonl = str_replace("\n", "\\n", substr($tfe->stripped, 0, 50));
$stripped_nonl = str_replace("\r", "\\r", $stripped_nonl);

View File

@ -42,7 +42,7 @@ class TagEditTheme extends Themelet {
<tr>
<td>User</td>
<td>
<span class='view'><a href='".make_link("user/$h_owner")."'>$h_owner</a>$ip, $h_date</span>
<span class='view'><a class='username' href='".make_link("user/$h_owner")."'>$h_owner</a>$ip, $h_date</span>
<input class='edit' type='text' name='tag_edit__owner' value='$h_owner'>
</td>
<td width='80px' rowspan='4'>$h_av</td>