summaryrefslogtreecommitdiffstats
path: root/web/template/tu_last_votes_list.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-11-21 11:34:38 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-11-21 11:43:31 +0100
commit571b74b9017169ed6181a57d637ad737fd15f6b3 (patch)
treec636c26608acb3cd06a446beaf33532caf854a6b /web/template/tu_last_votes_list.php
parentbef4fc9f44bf6762f64ffe0521cd60b445f3d816 (diff)
downloadaurweb-571b74b9017169ed6181a57d637ad737fd15f6b3.tar.xz
Always use virtual URLs
Support for non-virtual URLs has been broken for a long time and is no longer used on the official AUR setup. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/tu_last_votes_list.php')
-rw-r--r--web/template/tu_last_votes_list.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/template/tu_last_votes_list.php b/web/template/tu_last_votes_list.php
index 0b0ee48..f7b07bc 100644
--- a/web/template/tu_last_votes_list.php
+++ b/web/template/tu_last_votes_list.php
@@ -21,11 +21,7 @@
?>
<tr class="<?= $c ?>">
<td>
- <?php if (!use_virtual_urls()): ?>
- <a href="<?= get_uri('/account/'); ?>?Action=AccountInfo&amp;ID=<?= htmlspecialchars($row['UserID'], ENT_QUOTES) ?>" title="<?= __('View account information for')?> <?= html_format_username($username) ?>"><?= html_format_username($username) ?></a></td>
- <?php else: ?>
<a href="<?= get_uri('/account/') . html_format_username($username) ?>" title="<?= __('View account information for %s', html_format_username($username)) ?>"><?= html_format_username($username) ?></a>
- <?php endif; ?>
</td>
<td>
<a href="<?= get_uri('/tu/'); ?>?id=<?= $row['LastVote'] ?>"><?= intval($row["LastVote"]) ?></a>