MDL-17458 fixed headers used during installation

This commit is contained in:
skodak
2009-02-01 17:45:32 +00:00
parent 2d6b0b04c1
commit 770f0cea30
5 changed files with 13 additions and 8 deletions
+5 -2
View File
@@ -4039,7 +4039,7 @@ function admin_externalpage_print_header($focus='') {
define('ADMIN_EXT_HEADER_PRINTED', 'true');
if (!empty($SITE->fullname)) {
if (!empty($SITE->fullname) and !empty($SITE->shortname)) {
$pageblocks = blocks_setup($PAGE);
$preferred_width_left = bounded_number(BLOCK_L_MIN_WIDTH,
@@ -4085,7 +4085,10 @@ function admin_externalpage_print_header($focus='') {
}
}
} else {
print_header();
$strinstallation = get_string('installation', 'install');
$strsettings = get_string('settings');
$navigation = build_navigation(array(array('name'=>$strsettings, 'link'=>null, 'type'=>'misc')));
print_header($strinstallation, $strinstallation, $navigation, "", "", false, " ", " ");
}
}