diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-03-02 13:38:54 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-03-02 13:38:54 -0500 |
commit | 701186ad05955ce47216bdfd4a0c264bc8b0d803 (patch) | |
tree | 757edf3be02507526897a75aa5b6af9693f940bc | |
parent | b1f83e8f58139cf88ffdea04173f05d8ebe8a917 (diff) |
Fix user stats table links.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r-- | web/template/stats/user_table.php | 20 |
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&L=2&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&L=3&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&outdated&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> |