diff options
author | Thomas Backlund <tmb@mageia.org> | 2014-10-12 12:27:45 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2014-10-12 12:27:45 +0300 |
commit | 9ce6d646ff718cd62f6434c9a4c94e450436612a (patch) | |
tree | 3ee82e5db7c0aee44a5573d9d17035c6ecac697d /en/3/nav.php | |
parent | a0b2d09125d7911656fe4cb286f20643c4432281 (diff) | |
download | www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.gz www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.bz2 www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.xz www-9ce6d646ff718cd62f6434c9a4c94e450436612a.zip |
Revert "Updated Estonian translation"
This reverts commit a0b2d09125d7911656fe4cb286f20643c4432281.
Diffstat (limited to 'en/3/nav.php')
-rw-r--r-- | en/3/nav.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/en/3/nav.php b/en/3/nav.php new file mode 100644 index 000000000..eb9d8cb8d --- /dev/null +++ b/en/3/nav.php @@ -0,0 +1,23 @@ +<?php + +$nav = array( + "/{$locale}/3/" => _r('Mageia 3'), + "/{$locale}/3/download_index.php" => _r('Download'), + "/{$locale}/3/for-pc/" => _r('For PC'), + "/{$locale}/3/for-server/" => _r('For server'), +); + +$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; |