diff --git a/admin/lang.php b/admin/lang.php index 39a8b9e84b2..fd599a4576a 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -27,14 +27,21 @@ case "missing": $navigation = "$strlanguage -> $strmissingstrings"; $title = $strmissingstrings; + $button = '
'. + ''. + '
'; break; case "compare": $navigation = "$strlanguage -> $strcomparelanguage"; $title = $strcomparelanguage; + $button = '
'. + ''. + '
'; break; default: $title = $strlanguage; $navigation = $strlanguage; + $button = ''; break; } @@ -42,7 +49,8 @@ print_header("$site->shortname: $title", "$site->fullname", "$stradministration -> ". - "$strconfiguration -> $navigation"); + "$strconfiguration -> $navigation", + '', '', true, $button); if (!$mode) { $currlang = current_language(); @@ -102,15 +110,18 @@ $value = str_replace("$"."a", "\\$"."a", $value); $value = str_replace("%%","%",$value); if ($first) { - echo "

".get_string("stringsnotset","","$langdir/$file")."

";
+                        echo "

".get_string("stringsnotset","","$langdir/$file")."

";
                         $first = false;
                         $somethingfound = true;
                     }
-                    echo "$"."string['$key'] = \"$value\";
"; + echo "$"."string['$key'] = \"$value\";
"; } } + if (!$first) { + echo '

'; + } } - + if (! $files = get_directory_list("$CFG->dirroot/lang/en/help", "CVS")) { error("Could not find English language help files!"); }