From 9ce6d646ff718cd62f6434c9a4c94e450436612a Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sun, 12 Oct 2014 12:27:45 +0300 Subject: Revert "Updated Estonian translation" This reverts commit a0b2d09125d7911656fe4cb286f20643c4432281. --- langs.php | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 langs.php (limited to 'langs.php') diff --git a/langs.php b/langs.php new file mode 100644 index 000000000..3aadfabba --- /dev/null +++ b/langs.php @@ -0,0 +1,84 @@ + 0 ? implode('/', $sel) : null; +$list_langs = array(); +$options = array(); + +foreach ($langs as $k => $v) { + $list_langs[] = sprintf('%s', + $page != null ? implode('/', array($k, $page)) : $k, + $k == $locale ? ' class="sel"' : '', + $v); + + $options[] = sprintf('', + $k, + $k == $locale ? ' selected="selected"' : '', + $v); +} + +$options = implode($options); +$langsForm = << + + + + +H; + +$hsnav = _mgnav_style() . _mgnav_html(true, $locale, $langsForm, $_SERVER['HTTP_HOST']); +$hsfoot = ''; + +if (!defined('HLANG')) + echo $hsnav; -- cgit v1.2.1