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
|
@ -7,14 +7,14 @@ $username = username_from_sid($_COOKIE["AURSID"]);
|
|||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="packages.php?SeB=m&L=2&K=<?php echo $username; ?>">
|
||||
<a href="<?php echo get_uri('/packages/'); ?>?SeB=m&L=2&K=<?php echo $username; ?>">
|
||||
<?php print __("Packages in unsupported"); ?></a>
|
||||
</td>
|
||||
<td><?php print $maintainer_unsupported_count; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="packages.php?SeB=m&outdated=on&K=<?php echo $username; ?>"><?php print __("Out of Date"); ?></a>
|
||||
<a href="<?php echo get_uri('/packages/'); ?>?SeB=m&outdated=on&K=<?php echo $username; ?>"><?php print __("Out of Date"); ?></a>
|
||||
</td>
|
||||
<td><?php echo $flagged_outdated ?></td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue