aboutsummaryrefslogtreecommitdiffstats
path: root/en/3/nav.php
diff options
context:
space:
mode:
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;