summaryrefslogtreecommitdiffstats
path: root/web/template/stats
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/stats')
-rw-r--r--web/template/stats/updates_table.php2
-rw-r--r--web/template/stats/user_table.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php
index b942dbcb..835d956f 100644
--- a/web/template/stats/updates_table.php
+++ b/web/template/stats/updates_table.php
@@ -6,7 +6,7 @@
<?php foreach ($newest_packages->getIterator() as $row): ?>
<tr>
<td>
- <a href="packages.php?ID=<?php print intval($row["ID"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
+ <a href="<?php echo get_uri('/packages/'); ?>?ID=<?php print intval($row["ID"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
</td>
<td>
<span><?php print gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span>
diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php
index 0882119e..36207989 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&amp;L=2&amp;K=<?php echo $username; ?>">
+ <a href="<?php echo get_uri('/packages/'); ?>?SeB=m&amp;L=2&amp;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&amp;outdated=on&amp;K=<?php echo $username; ?>"><?php print __("Out of Date"); ?></a>
+ <a href="<?php echo get_uri('/packages/'); ?>?SeB=m&amp;outdated=on&amp;K=<?php echo $username; ?>"><?php print __("Out of Date"); ?></a>
</td>
<td><?php echo $flagged_outdated ?></td>
</tr>