Refactor code for printing account links

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-06-14 09:49:17 +02:00
parent 19ee268935
commit a2f79eb2e1
4 changed files with 12 additions and 39 deletions

View file

@ -21,7 +21,7 @@
?>
<tr class="<?= $c ?>">
<td>
<a href="<?= get_uri('/account/') . html_format_username($username) ?>" title="<?= __('View account information for %s', html_format_username($username)) ?>"><?= html_format_username($username) ?></a>
<?= html_format_username($username) ?>
</td>
<td>
<a href="<?= get_uri('/tu/'); ?>?id=<?= $row['LastVote'] ?>"><?= intval($row["LastVote"]) ?></a>