diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-14 01:57:19 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-15 22:48:32 +0200 |
commit | 03486c3b6feafb18f00b0e0c092a1bd4ac2f3903 (patch) | |
tree | f91bbdf64c725e35c7f08ac930e7fcd2a1f066c6 /web/template/stats | |
parent | 2425f963f8ad45292c217914b5fee1ed18104c26 (diff) | |
download | aur-03486c3b6feafb18f00b0e0c092a1bd4ac2f3903.tar.gz aur-03486c3b6feafb18f00b0e0c092a1bd4ac2f3903.tar.xz |
Use virtual paths for package details
Extend the routing front/back ends to allow for using
"/package/$pkgname/" for individual packages.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/stats')
-rw-r--r-- | web/template/stats/updates_table.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index 835d956f..6e43e224 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="<?php echo get_uri('/packages/'); ?>?ID=<?php print intval($row["ID"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a> + <a href="<?php echo get_pkg_uri($row["Name"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a> </td> <td> <span><?php print gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span> |