diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2013-07-16 17:40:03 +0000 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2013-07-16 17:40:03 +0000 |
commit | 9a962cc9fadea2244e1aba9a4791f42ed80f8636 (patch) | |
tree | 6e61992a6fd32e1b101f23aaee23d62e2fdea5ee /en/4/nav.php | |
parent | bdf84dfee50fc564d44b23dec881450cd8ea27f3 (diff) | |
download | www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.tar www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.tar.gz www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.tar.bz2 www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.tar.xz www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.zip |
add mga4 page for first isos planned in august
Diffstat (limited to 'en/4/nav.php')
-rw-r--r-- | en/4/nav.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/en/4/nav.php b/en/4/nav.php new file mode 100644 index 000000000..42d0bef81 --- /dev/null +++ b/en/4/nav.php @@ -0,0 +1,24 @@ +<?php + +$nav = array( + "https://wiki.mageia.org/en/Mageia_4_Development#Development_Planning" => _t('Development roadmap'), + "https://wiki.mageia.org/en/FeatureMageia4_Review" => _t('Features review'), + "https://wiki.mageia.org/en/Mageia_4_$release" => _t('Release notes'), + _t('https://wiki.mageia.org/en/Mageia_4_Errata') => _t('Errata'), + "//bugs.mageia.org/" => _t('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 +<div id="mgnavsub"><ul id="mgnavsubl">{$pnav}</ul></div> +S; |