diff options
Diffstat (limited to 'en/5_preview/nav.php')
-rw-r--r-- | en/5_preview/nav.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/en/5_preview/nav.php b/en/5_preview/nav.php deleted file mode 100644 index 37199fe1f..000000000 --- a/en/5_preview/nav.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -$releasenotes = _r('https://wiki.mageia.org/en/Mageia_5_Release_Notes'); -$errata = _r('https://wiki.mageia.org/en/Mageia_5_Errata'); -$upgradeguide = _r('https://wiki.mageia.org/en/Mageia_5_Release_Notes#Upgrading_from_Mageia_4'); - -$nav = array( - "./" => 'Mageia 5', -// "/{$locale}/downloads/" => _r('Download'), - "./download_index.php" => _r('Download'), - $releasenotes => _r('Release notes'), - $errata => _r('Errata'), -// "//bugs.mageia.org/" => _r('Bugs Reports'), -); - -$sru = trim($_SERVER['REQUEST_URI']); - -$pnav = array(); -foreach ($nav as $k => $v) { - $pnav[] = sprintf('<li><a href="%s"%s>%s</a></li>', - $k, - $k == $sru ? ' class="sel"' : null, - $v); -} -$pnav = implode($pnav); - -echo <<<S -<ul>{$pnav}</ul> -S; |