[Dehs-devel] r157 - trunk/www

atomo64-guest at alioth.debian.org atomo64-guest at alioth.debian.org
Sat Jul 26 20:26:41 UTC 2008


Author: atomo64-guest
Date: 2008-07-26 20:26:41 +0000 (Sat, 26 Jul 2008)
New Revision: 157

Modified:
   trunk/www/maintainer.php
Log:
Only display the links box if we are not displaying a single package


Modified: trunk/www/maintainer.php
===================================================================
--- trunk/www/maintainer.php	2008-07-26 20:07:52 UTC (rev 156)
+++ trunk/www/maintainer.php	2008-07-26 20:26:41 UTC (rev 157)
@@ -65,6 +65,9 @@
 $package  = pg_escape_string($package);
 
 ?>
+<?php
+    if ($login != '%' || count(explode(',',$package)) > 1) {
+?>
 <center><table bgcolor="#BBDDFF" border="0" cellpadding="0" cellspacing="0" summary="">
   <tr>
         <td colspan="3" valign="top">
@@ -94,6 +97,7 @@
         </td>
   </tr>
   </table></center><br/>
+<?php } ?>
 <?php
 
 $sql=ARRAY(no_updated=>"Select id,pkgs.pop_inst,name,section,version,tot_up_error,tot_avg_error_date,pkgs.dist,up_version,watch_warn, up_changes,up_url,dversionmangled,lastupvsdebsync,lastcheck from pkgs




More information about the Dehs-devel mailing list