From 3ee8f1715fa0e576bbd56a53e13b7363f9e2632e Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 29 May 2003 03:20:11 +0000 Subject: [PATCH] Added a button on the language page that takes you to the moodle.org page to download new language packs --- admin/lang.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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; } -- 2.39.5