diff options
Diffstat (limited to 'en/doc/index.php')
-rw-r--r-- | en/doc/index.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/en/doc/index.php b/en/doc/index.php index a36032396..fcc7a5dd3 100644 --- a/en/doc/index.php +++ b/en/doc/index.php @@ -3,8 +3,9 @@ define('HLANG', true); require '../../langs.php'; _lang_load($locale, 'documentation'); -function doc_list($languages, $link, $locale) +function doc_list($languages, $link) { + global $locale; $your_language = ''; $others = ''; $text_others = ''; @@ -65,7 +66,7 @@ function doc_list($languages, $link, $locale) 'ru' => 'Pусский', 'uk' => 'Українська', ); - doc_list($mga3_installer, '<a href="//doc.mageia.org/installer/3/%s/content/index.html">%s</a>', $locale); + doc_list($mga3_installer, '<a href="//doc.mageia.org/installer/3/%s/content/index.html">%s</a>'); ?></p> </div> <div style="float: right; margin: 2em;"> @@ -76,7 +77,7 @@ function doc_list($languages, $link, $locale) 'et' => 'Eesti', 'fr' => 'Français', ); - doc_list($mga3_control_center, '<a href="//doc.mageia.org/mcc/3/%s/content/index.html">%s</a>', $locale); + doc_list($mga3_control_center, '<a href="//doc.mageia.org/mcc/3/%s/content/index.html">%s</a>'); ?></p> </div> <hr style="clear: both;"> @@ -94,7 +95,7 @@ function doc_list($languages, $link, $locale) 'pt_br' => 'Português do Brasil', 'uk' => 'Українська', ); - doc_list($mga2_installer, '<a href="//doc.mageia.org/installer/2/%s/content/index.html">%s</a>', $locale); + doc_list($mga2_installer, '<a href="//doc.mageia.org/installer/2/%s/content/index.html">%s</a>'); ?></p> </div> </div> |