summaryrefslogtreecommitdiffstats
path: root/web/html/voters.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-07-14 01:24:59 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-15 22:44:51 +0200
commit2425f963f8ad45292c217914b5fee1ed18104c26 (patch)
tree9dd5bcd1d4c95d9bbe8a5d96cd9f6610bd665787 /web/html/voters.php
parenta03c684ecd51327f9c6921a6e0001d82e3223799 (diff)
downloadaurweb-2425f963f8ad45292c217914b5fee1ed18104c26.tar.xz
Use virtual path feature for links
Use virtual paths in links (e.g. link to "/packages/" instead of "/packages.php" etc.) if the virtual path feature is enabled. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/voters.php')
-rw-r--r--web/html/voters.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/voters.php b/web/html/voters.php
index 231e323..378e605 100644
--- a/web/html/voters.php
+++ b/web/html/voters.php
@@ -15,12 +15,12 @@ if ($atype == 'Trusted User' || $atype== 'Developer'):
?>
<div class="box">
- <h2>Votes for <a href="packages.php?ID=<?php echo $pkgid ?>"><?php echo pkgname_from_id($pkgid) ?></a></h2>
+ <h2>Votes for <a href="<?php echo get_uri('/packages/'); ?>?ID=<?php echo $pkgid ?>"><?php echo pkgname_from_id($pkgid) ?></a></h2>
<div class="boxbody">
<?php
while (list($indx, $row) = each($votes)): ?>
- <a href="account.php?Action=AccountInfo&amp;ID=<?php echo $row['UsersID'] ?>"><?php echo htmlspecialchars($row['Username']) ?></a><br />
+ <a href="<?php echo get_uri('/account/'); ?>?Action=AccountInfo&amp;ID=<?php echo $row['UsersID'] ?>"><?php echo htmlspecialchars($row['Username']) ?></a><br />
<?php endwhile; ?>
</div>
</div>