From 701186ad05955ce47216bdfd4a0c264bc8b0d803 Mon Sep 17 00:00:00 2001 From: Loui Chang <louipc.ist@gmail.com> Date: Mon, 2 Mar 2009 13:38:54 -0500 Subject: Fix user stats table links. Signed-off-by: Loui Chang <louipc.ist@gmail.com> --- web/template/stats/user_table.php | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'web') 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> -- cgit v1.2.3-54-g00ecf