slitaz-forge rev 169

CSS fix for dir gen
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 20 16:02:33 2012 +0100 (2012-03-20)
parents f9bd3c1cfe92
children b2d3e65c0749
files mirror/root/dir-generator.php
line diff
     1.1 --- a/mirror/root/dir-generator.php	Tue Mar 20 15:55:07 2012 +0100
     1.2 +++ b/mirror/root/dir-generator.php	Tue Mar 20 16:02:33 2012 +0100
     1.3 @@ -169,7 +169,6 @@
     1.4  	th { font-weight: bold; padding-right: 14px; padding-bottom: 3px;}
     1.5  	td {padding-right: 14px;}
     1.6  	td.s, th.s {text-align: right;}
     1.7 -	
     1.8  	#mirrors {
     1.9  		padding: 10px;
    1.10  		text-align: center;
    1.11 @@ -231,6 +230,9 @@
    1.12  Path: /${vpath}
    1.13  </div>
    1.14  
    1.15 +<!-- Content -->
    1.16 +<div id="content">
    1.17 +
    1.18  <div id="mirrors">
    1.19  EOT;
    1.20  
    1.21 @@ -251,14 +253,7 @@
    1.22  foreach($mirrors as $name => $url) {
    1.23  	echo "<a href=\"$url$vpath\" title=\"$name mirror\">$name</a>\n";
    1.24  }
    1.25 -
    1.26 -print <<<EOT
    1.27 -</div>
    1.28 -
    1.29 -<!-- Content -->
    1.30 -<div id="content">
    1.31 -
    1.32 -EOT;
    1.33 +echo "</div>";
    1.34  }
    1.35  else {
    1.36