diff --git a/admin/lang.php b/admin/lang.php index 84c305487e6..750e4cf2bad 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -27,7 +27,7 @@ case "missing": $navigation = "$strlanguage -> $strmissingstrings"; $title = $strmissingstrings; - $button = '
'. + $button = ''. ''. ''. '
'; @@ -35,7 +35,7 @@ case "compare": $navigation = "$strlanguage -> $strcomparelanguage"; $title = $strcomparelanguage; - $button = '
'. + $button = ''. ''. ''. '
'; @@ -60,7 +60,7 @@ echo "
"; echo "$strcurrentlanguage:"; echo ""; - echo popup_form ("$CFG->wwwroot/admin/lang.php?lang=", $langs, "chooselang", $currlang, "", "", "", true); + echo popup_form ("$CFG->wwwroot/$CFG->admin/lang.php?lang=", $langs, "chooselang", $currlang, "", "", "", true); echo "
"; print_heading("sesskey\">$strmissingstrings"); print_heading("sesskey\">$strcomparelanguage"); diff --git a/theme/index.php b/theme/index.php index 8fbc78e5308..98a9ee158b0 100644 --- a/theme/index.php +++ b/theme/index.php @@ -39,8 +39,8 @@ $strthemesaved = get_string("themesaved"); print_header("$site->shortname: $strthemes", $site->fullname, - "wwwroot/admin/index.php\">$stradministration -> ". - "wwwroot/admin/configure.php\">$strconfiguration -> $strthemes"); + "wwwroot/$CFG->admin/index.php\">$stradministration -> ". + "wwwroot/$CFG->admin/configure.php\">$strconfiguration -> $strthemes"); if ($choose and confirm_sesskey()) { if (set_config("theme", $choose)) {