Updating branch refs/heads/nick/gettext
         to ae30ee2080913c9bf3e55c9a85c32be6473914a5 (commit)
       from f846f84afe3b8d97c3be5ca497e154d8eb38bb0c (commit)

commit ae30ee2080913c9bf3e55c9a85c32be6473914a5
Author: Nick Schermer <[email protected]>
Date:   Fri Jan 14 18:21:07 2011 +0100

    Update download link once again.

 pages/download/index.php |   46 ++++++++++------------------------------------
 1 files changed, 10 insertions(+), 36 deletions(-)

diff --git a/pages/download/index.php b/pages/download/index.php
index d31afa5..854851d 100644
--- a/pages/download/index.php
+++ b/pages/download/index.php
@@ -12,38 +12,6 @@ if($preview_visible) {
         $toc['anchors'] += array ('unstable' => R_('Preview release'));
 }
 
-$mirrors = array (
-  'archive.be.xfce.org' => R_('Europe/Belgium'),
-  'archive.be2.xfce.org' => R_('Europe/Belgium'),
-  'archive.se.xfce.org' => R_('Europe/Sweden'),
-  //'archive.ca-us.xfce.org' => R_('United States/California'),
-  //'archive.in-us.xfce.org' => R_('United States/Indiana'),
-  //'archive.tx-us.xfce.org' => R_('United States/Texas'),
-);
-
-function print_mirrors($path, $group)
-{
-  global $mirrors;
-
-  echo '  <ul>'."\n";
-
-  if (isset($_GET['g']) && $_GET['g'] == $group)
-  {
-    foreach ($mirrors as $m => $l)
-    {
-      $url = 'http://'.$m.'/'. $path;
-      echo '    <li><a href="'.$url.'">'.$m.'</a> ('.$l.')</li>'."\n";
-    }
-  }
-  else
-  {
-    echo '    <li><a 
href="http://archive.xfce.org/'.$path.'">archive.xfce.org</a> '.
-         '<a href="?g='.$group.'#'.$group.'">(', R_('mirror list') 
.'</a>)'."</li>\n";
-  }
-
-  echo '  </ul>'."\n";
-}
-
 ?>
 
 <h1><?php echo $head['title'] ?></h1>
@@ -58,14 +26,18 @@ function print_mirrors($path, $group)
   <?php printf (R_('Xfce %s is the most recent version of the Xfce desktop 
environment. You can find the changes in this release <a 
href="/download/changelogs/%s">here</a>.'), $stable_version, $stable_version) ?>
 </p>
 
-<?php print_mirrors ('xfce/'.$stable_version, 'stable') ?>
+<ul>
+  <li><a href="http://archive.xfce.org/xfce/<?php echo $stable_version 
?>/">http://archive.xfce.org/xfce/<?php echo $stable_version ?>/</a></li>
+</ul>
 
 <h2 id="individual"><?php E_('Individual releases') ?></h2>
 <p>
-  <?php E_('Each package in Xfce can make idividual stable or development 
releases, including the core packages (as discribed in the <a 
href="/about/releasemodel">release model</a>). You can follow the announcements 
of the releases on the <a href="/community/lists">Xfce users mailing list</a>, 
watch the <a href="http://releases.xfce.org/feeds/project/";>release feeds</a> 
or follow the Xfce <a href="http://identi.ca/xfce";>identi.ca channel</a>.') ?>
+  <?php E_('Each package in Xfce can make idividual stable or development 
releases, including the core packages (as discribed in the <a 
href="/about/releasemodel">release model</a>). You can follow the announcements 
of the releases on the <a href="/community/lists">Xfce users mailing list</a>, 
watch the <a href="http://archive.xfce.org/feeds/project/";>release feeds</a> or 
follow the Xfce <a href="http://identi.ca/xfce";>identi.ca channel</a>.') ?>
 </p>
 
-<?php print_mirrors ('src', 'individual') ?>
+<ul>
+  <li><a 
href="http://archive.xfce.org/src/";>http://archive.xfce.org/src/</a></li>
+</ul>
 
 <?php if ($preview_visible) { ?>
 <h2 id="unstable"><?php printf (R_('Preview release %s'), $preview_version) 
?></h2>
@@ -73,6 +45,8 @@ function print_mirrors($path, $group)
   <?php printf (R_('Xfce %s is the latest development release of the Xfce 
desktop environment. This release should not be used in a production 
environments. If you are uncertain about downloading this release, you should 
probably use the <a href="#stable">stable release</a> above. You can find the 
changes in this release <a href="/download/changelogs/%s">here</a>.'), 
$preview_version, $preview_version) ?>
 </p>
 
-<?php print_mirrors ('xfce/'.$preview_version, 'unstable') ?>
+<ul>
+  <li><a href="http://archive.xfce.org/xfce/<?php echo $preview_version 
?>/">http://archive.xfce.org/xfce/<?php echo $preview_version ?>/</a></li>
+</ul>
 
 <?php } ?>
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to