tazpanel diff pkgs.cgi @ rev 146

pkgs.cgi: fix admin display
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 17 13:48:40 2011 +0200 (2011-04-17)
parents e5e08e734226
children 2b919224c683
line diff
     1.1 --- a/pkgs.cgi	Sun Apr 17 13:43:42 2011 +0200
     1.2 +++ b/pkgs.cgi	Sun Apr 17 13:48:40 2011 +0200
     1.3 @@ -711,8 +711,8 @@
     1.4  <h3>`gettext "Current mirror list"`</h3>
     1.5  EOT
     1.6  		for i in $LOCALSTATE/mirrors $LOCALSTATE/undigest/*/mirrors; do
     1.7 -		echo '<div class="box">'
     1.8  			[ -s $i ] || continue
     1.9 +			echo '<div class="box">'
    1.10  			[ $i != $LOCALSTATE/mirrors ] &&
    1.11  				echo "<h4>Repository: $(repo_name $(dirname $i))</h4>"
    1.12  			echo "<ul>"