slitaz-forge rev 173

mirror: Update dir-generator.php to use static files
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 20 19:36:51 2012 +0100 (2012-03-20)
parents 4b427d44baae
children d2a35762c34d
files mirror/root/dir-generator.php
line diff
     1.1 --- a/mirror/root/dir-generator.php	Tue Mar 20 19:29:18 2012 +0100
     1.2 +++ b/mirror/root/dir-generator.php	Tue Mar 20 19:36:51 2012 +0100
     1.3 @@ -158,9 +158,8 @@
     1.4  	<meta name="description" content=">Index of /$vpath" />
     1.5  	<meta name="robots" content="index, nofollow" />
     1.6  	<meta name="author" content="SliTaz Contributors" />
     1.7 -	<link rel="shortcut icon" href="http://mf.slitaz.org//favicon.ico" />
     1.8 -	<link rel="stylesheet" type="text/css" href="http://mf.slitaz.org/css/slitaz.css" />
     1.9 -	<!--<link rel="stylesheet" type="text/css" href="http://mf.slitaz.org/css/mirror.css" />-->
    1.10 +	<link rel="shortcut icon" href="/static/favicon.ico" />
    1.11 +	<link rel="stylesheet" type="text/css" href="/static/slitaz.css" />
    1.12  	<style type="text/css">
    1.13  	#header { color: #ffffff; }
    1.14  	div.list { background-color: white; padding-bottom: 14px;}
    1.15 @@ -171,6 +170,7 @@
    1.16  	td.s, th.s {text-align: right;}
    1.17  	#mirrors {
    1.18  		padding: 10px;
    1.19 +		margin: 0 10px;
    1.20  		text-align: center;
    1.21  		background: #f1f1f1;
    1.22  		border: 2px solid #ddd;
    1.23 @@ -184,7 +184,7 @@
    1.24  	<div id="logo"></div>
    1.25  	<div id="network">
    1.26  		<a href="http://www.slitaz.org/">
    1.27 -			<img src="http://mf.slitaz.org/images/home.png" alt="[ Home ]" />
    1.28 +			<img src="/static/home.png" alt="[ Home ]" />
    1.29  			Home</a>
    1.30  		<a href="http://scn.slitaz.org/">Community</a>
    1.31  		<a href="http://doc.slitaz.org/">Doc</a>
    1.32 @@ -193,7 +193,7 @@
    1.33  		<a href="https://slitaz.spreadshirt.net/">Shop</a>
    1.34  		<a href="http://bugs.slitaz.org">Bugs</a>
    1.35  		<a href="http://hg.slitaz.org/">Hg</a>
    1.36 -		<a href="http://cook.slitaz.org/">BB</a>
    1.37 +		<a href="http://cook.slitaz.org/">Cook</a>
    1.38  	</div>
    1.39  	<h1><a href="http://mirror.slitaz.org/">SliTaz Mirror</a></h1>
    1.40  </div>
    1.41 @@ -215,7 +215,7 @@
    1.42  	if (preg_match("/mirror\.slitaz\./",$_SERVER["SERVER_NAME"])) print <<<EOT
    1.43  		<p>This is the SliTaz GNU/Linux main mirror. The server runs naturally 
    1.44  		SliTaz (stable) in an lguest virtual machine provided by 
    1.45 -		<a href="http://www.ads-lu.com/">ADS</a>.
    1.46 +		<a href="http://www.ads-lu.com/">ADS</a> and is located in France.
    1.47  		<a href="/info/">Mirror info...</a></p>
    1.48  EOT;
    1.49  	print <<<EOT