summaryrefslogtreecommitdiffstats
path: root/web/template/stats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-03-02 19:38:54 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-03-02 19:38:54 +0100
commit701186ad05955ce47216bdfd4a0c264bc8b0d803 (patch)
tree757edf3be02507526897a75aa5b6af9693f940bc /web/template/stats
parentb1f83e8f58139cf88ffdea04173f05d8ebe8a917 (diff)
downloadaur-701186ad05955ce47216bdfd4a0c264bc8b0d803.tar.gz
aur-701186ad05955ce47216bdfd4a0c264bc8b0d803.tar.xz
Fix user stats table links.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template/stats')
-rw-r--r--web/template/stats/user_table.php20
1 files changed, 14 insertions, 6 deletions
diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php
index 5c27f5ef..e6841d71 100644
--- a/web/template/stats/user_table.php
+++ b/web/template/stats/user_table.php
@@ -1,3 +1,6 @@
+<?php
+ $username = username_from_sid($_COOKIE["AURSID"]);
+?>
<table class='boxSoft'>
<tr>
<th colspan='2' class='boxSoftTitle'>
@@ -6,10 +9,11 @@
</tr>
<tr>
<td class='boxSoft'>
-<span class='f4'><?php print __("Packages in unsupported"); ?></span>
+<span class='f4'><a href="packages.php?SeB=m&amp;L=2&amp;K=<?php echo $username; ?>">
+<?php print __("Packages in unsupported"); ?></a></span>
</td>
<td class='boxSoft'>
-<span class='f4'><a href="packages.php?SeB=m&L=2&K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"> <?php print $maintainer_unsupported_count; ?></a></span>
+<span class='f4'><?php print $maintainer_unsupported_count; ?></span>
</td>
</tr>
@@ -17,10 +21,12 @@
<tr>
<td class='boxSoft'>
-<span class='f4'><?php print __("Packages in [community]"); ?></span>
+<span class='f4'><a href="packages.php?SeB=m&amp;L=3&amp;K=<?php echo $username; ?>">
+<?php print __("Packages in [community]"); ?></a></span>
</td>
<td class='boxSoft'>
-<span class='f4'><a href="packages.php?SeB=m&L=3&K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"> <?php print $maintainer_community_count; ?></a></span>
+<span class='f4'>
+<?php echo $maintainer_community_count; ?></span>
</td>
</tr>
@@ -28,10 +34,12 @@
<tr>
<td class='boxSoft'>
-<span class='f4'><?php print __("Out-of-date"); ?></span>
+<span class='f4'><a href="packages.php?SeB=m&amp;outdated&amp;K=<?php echo $username; ?>">
+<?php print __("Out of Date"); ?></a></span>
</td>
<td class='boxSoft'>
-<span class='f4'><a href="packages.php?SeB=m&OD=on&K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"> <?php print $flagged_outdated ?></a></span>
+<span class='f4'>
+<?php echo $flagged_outdated ?></span>
</td>
</tr>
</table>