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/stats/user_table.php | |
parent | a03c684ecd51327f9c6921a6e0001d82e3223799 (diff) |
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/stats/user_table.php')
-rw-r--r-- | web/template/stats/user_table.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php index 0882119..3620798 100644 --- a/web/template/stats/user_table.php +++ b/web/template/stats/user_table.php @@ -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> |