diff --git a/bureau/admin/menu_aide.php b/bureau/admin/menu_aide.php index 1d51c0ed..dca7513b 100644 --- a/bureau/admin/menu_aide.php +++ b/bureau/admin/menu_aide.php @@ -27,6 +27,20 @@ Purpose of file: ---------------------------------------------------------------------- */ -?> -
+global $lang; + +$doc_lang = substr($lang, 0, 2); // ex: get "fr" only, not "fr_CA" +$doc_url = 'http://alternc.org/wiki/Documentation/En/User'; + +switch ($doc_lang) { + case 'fr': + $doc_url = 'http://alternc.org/wiki/Documentation/Fr/Utilisateur'; + break; + + case 'es': + $doc_url = 'http://alternc.org/wiki/Documentation/Es'; + break; +} + +echo '
' . _("Online help") . '
';