diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-14 01:24:59 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-15 22:44:51 +0200 |
commit | 2425f963f8ad45292c217914b5fee1ed18104c26 (patch) | |
tree | 9dd5bcd1d4c95d9bbe8a5d96cd9f6610bd665787 /web/template/actions_form.php | |
parent | a03c684ecd51327f9c6921a6e0001d82e3223799 (diff) | |
download | aurweb-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/template/actions_form.php')
-rw-r--r-- | web/template/actions_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php index ff0fd4e..9cd5024 100644 --- a/web/template/actions_form.php +++ b/web/template/actions_form.php @@ -1,5 +1,5 @@ <div class="box"> - <form action="packages.php?ID=<?php echo $row['ID'] ?>" method="post"> + <form action="<?php echo get_uri('/packages/'); ?>?ID=<?php echo $row['ID'] ?>" method="post"> <fieldset> <input type="hidden" name="IDs[<?php echo $row['ID'] ?>]" value="1" /> <input type="hidden" name="ID" value="<?php echo $row['ID'] ?>" /> |