Fix user stats table links.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2009-03-02 13:38:54 -05:00
parent b1f83e8f58
commit 701186ad05

View file

@ -1,3 +1,6 @@
<?php
$username = username_from_sid($_COOKIE["AURSID"]);
?>
<table class='boxSoft'> <table class='boxSoft'>
<tr> <tr>
<th colspan='2' class='boxSoftTitle'> <th colspan='2' class='boxSoftTitle'>
@ -6,10 +9,11 @@
</tr> </tr>
<tr> <tr>
<td class='boxSoft'> <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>
<td class='boxSoft'> <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> </td>
</tr> </tr>
@ -17,10 +21,12 @@
<tr> <tr>
<td class='boxSoft'> <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>
<td class='boxSoft'> <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> </td>
</tr> </tr>
@ -28,10 +34,12 @@
<tr> <tr>
<td class='boxSoft'> <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>
<td class='boxSoft'> <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> </td>
</tr> </tr>
</table> </table>