diff options
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; |