aboutsummaryrefslogtreecommitdiffstats
path: root/et/alpha/index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-03-11 11:31:22 +0000
committerRomain d'Alverny <rda@mageia.org>2011-03-11 11:31:22 +0000
commitc471c22566ea2eb810cd343d328a60ad3f34911b (patch)
treee7c31408bb9c0f19935a6e014824f8a2c76f0864 /et/alpha/index.php
parent9f3a0d02eb206526aa6ba7cb09f20c2b94709435 (diff)
downloadwww-c471c22566ea2eb810cd343d328a60ad3f34911b.tar
www-c471c22566ea2eb810cd343d328a60ad3f34911b.tar.gz
www-c471c22566ea2eb810cd343d328a60ad3f34911b.tar.bz2
www-c471c22566ea2eb810cd343d328a60ad3f34911b.tar.xz
www-c471c22566ea2eb810cd343d328a60ad3f34911b.zip
use correct html[lang], include mirrors script
Diffstat (limited to 'et/alpha/index.php')
-rw-r--r--et/alpha/index.php39
1 files changed, 4 insertions, 35 deletions
diff --git a/et/alpha/index.php b/et/alpha/index.php
index 3ea1f284d..c4836e434 100644
--- a/et/alpha/index.php
+++ b/et/alpha/index.php
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
-<html dir="ltr" lang="en">
+<html dir="ltr" lang="et">
<head>
<meta charset="utf-8" />
<title>Mageia alfaväljalaske (ebastabiilne) allalaadimine</title>
@@ -41,38 +41,7 @@
<li>valige kõige paremini sobiv server (eelistatavalt muidugi oma kodumaal);</li>
<li>valige kõige paremini sobiv ISO-tõmmis (nimed peaksid olema enesestmõistetavad, me vähemalt loodame).</li>
</ol>
- <br />
- <table id="dl-table"><thead>
- <tr><th>Asukoht</th><th>Protokoll</th><th>Serveur</th></tr>
- </thead><tbody>
- <?php
- /* @fixme note to self: brains! */
- $mirrors = array(
- array('China', 'Beijing', 'http://fundawang.lcuc.org.cn/mageia/'),
- array('Czech Republic', 'Praha', 'http://mageia.supp.name/'),
- array('Deutschland', 'Erfurt', 'http://ftp.mandrivauser.de/mirrors/Mageia/'),
- array('Deutschland', 'Erfurt', 'ftp://ftp.mandrivauser.de/mirrors/Mageia/'),
- array('France', 'Paris', 'http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/'),
- array('France', 'Paris', 'ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/'),
- array('Nouvelle Calédonie', 'Nouméa', 'http://mageia.nautile.nc/mageia/distrib/'),
- array('USA', 'Durham', 'ftp://distro.ibiblio.org/pub/linux/distributions/mageia/'),
- array('USA', 'Durham', 'http://distro.ibiblio.org/pub/linux/distributions/mageia/'),
- );
- $tmpl = '<tr><td>%s, %s</td><td>%s</td><td><a href="%s%s">%s</a></td></tr>';
- foreach ($mirrors as $m):
- $pu = parse_url($m[2]);
- echo sprintf($tmpl,
- $m[1], $m[0],
- strtoupper($pu['scheme']),
- $m[2],
- 'iso/',
- $pu['host']);
- endforeach;
- ?>
- </body>
- </table>
-
-
+ <?php include '../../mirrors.php'; ?>
</div></div>
<div class="yui-g">
<div class="yui-u first"><div class="para" style="padding-right: 0;">
@@ -82,8 +51,8 @@
mida juba lähinädalatel on selle juures võimalik paremaks muuta.</p>
<ul>
- <li><a href="http://blog.mageia.org/?p=492" hreflang="en">Ajaveebi sissekanne</a></li>
- <li><a href="http://www.mageia.org/wiki/doku.php?id=iso1:alpha1_release_notes" hreflang="en">Väljalaskemärkmed</a></li>
+ <li><a href="http://blog.mageia.org/en/?p=492" hreflang="en">Ajaveebi sissekanne</a></li>
+ <li><a href="http://www.mageia.org/wiki/doku.php?id=iso1:alpha1_release_notes" hreflang="en">Väljalaskemärkmed</a></li>
<li><a href="http://www.mageia.org/wiki/doku.php?id=iso1:alpha1_errata" hreflang="en">Võimalikud vead</a></li>
<li><a href="http://www.mageia.org/et/">Mis on Mageia?</a></li>
</ul>