summaryrefslogtreecommitdiffstats
path: root/web/html/addvote.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/addvote.php
parenta03c684ecd51327f9c6921a6e0001d82e3223799 (diff)
downloadaur-2425f963f8ad45292c217914b5fee1ed18104c26.tar.gz
aur-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/addvote.php')
-rw-r--r--web/html/addvote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/addvote.php b/web/html/addvote.php
index d3bd7d4b..d1cd809a 100644
--- a/web/html/addvote.php
+++ b/web/html/addvote.php
@@ -68,7 +68,7 @@ if ($atype == "Trusted User" || $atype == "Developer") {
<div class="box">
<h2><?php print __("Submit a proposal to vote on.") ?></h2>
- <form action="addvote.php" method="post">
+ <form action="<?php echo get_uri('/addvote/'); ?>" method="post">
<p>
<b><?php print __("Applicant/TU") ?></b>
<input type="text" name="user" value="<?php if (!empty($_POST['user'])) { print htmlentities($_POST['user'], ENT_QUOTES); } ?>" />