From: moodler Date: Thu, 29 May 2003 03:20:11 +0000 (+0000) Subject: Added a button on the language page that takes you to the moodle.org X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3ee8f1715fa0e576bbd56a53e13b7363f9e2632e;p=moodle.git Added a button on the language page that takes you to the moodle.org page to download new language packs --- diff --git a/admin/lang.php b/admin/lang.php index 7a616bcd0e..ed3f95931f 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -39,12 +39,16 @@ $currentlang = current_language(); print_header("$site->shortname: $title", "$site->fullname", - "$stradministration -> $navigation"); + "$stradministration -> $navigation"); if (!$mode) { print_heading("$strcurrentlanguage: $currentlang - ".get_string("thislanguage")); - print_heading("$strmissingstrings"); - print_heading("$strcomparelanguage"); + print_heading("$strmissingstrings"); + print_heading("$strcomparelanguage"); + echo "

"; + $options["lang"] = $currentlang; + print_single_button("http://moodle.org/download/lang/", $options, get_string("latestlanguagepack")); + echo "
"; print_footer(); exit; }