mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
a03c684ecd
commit
2425f963f8
24 changed files with 61 additions and 61 deletions
|
@ -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'] ?>" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue