aboutsummaryrefslogtreecommitdiffstats
path: root/en/3/nav.php
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2014-10-12 12:27:45 +0300
committerThomas Backlund <tmb@mageia.org>2014-10-12 12:27:45 +0300
commit9ce6d646ff718cd62f6434c9a4c94e450436612a (patch)
tree3ee82e5db7c0aee44a5573d9d17035c6ecac697d /en/3/nav.php
parenta0b2d09125d7911656fe4cb286f20643c4432281 (diff)
downloadwww-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.gz
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.bz2
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.xz
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.zip
Revert "Updated Estonian translation"
Diffstat (limited to 'en/3/nav.php')
-rw-r--r--en/3/nav.php23
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&nbsp;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;