summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-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 5c27f5e..e6841d7 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>