Fix installer UI

pull/2487/head
jmontoyaa 10 years ago
parent 4dc979b4ff
commit af007dcc5c
  1. 12
      main/install/install.lib.php

@ -694,7 +694,7 @@ function display_requirements(
$timezone = checkPhpSettingExists("date.timezone");
if (!$timezone) {
echo "<div class='warning-message'>".
echo "<div class='alert alert-warning'>".
Display::return_icon('warning.png', get_lang('Warning'), '', ICON_SIZE_MEDIUM).
get_lang("DateTimezoneSettingNotSet")."</div>";
}
@ -918,12 +918,10 @@ function display_requirements(
}
if ($course_test_was_created && !$file_course_test_was_created) {
$courseTestLabel = Display::label(
sprintf(
get_lang('InstallWarningCouldNotInterpretPHP'),
api_get_path(WEB_COURSE_PATH).$course_attempt_name.'/test.php'
),
'warning'
$courseTestLabel = Display::label(get_lang('Warning'), 'warning');
$courseTestLabel .= '<br />'.sprintf(
get_lang('InstallWarningCouldNotInterpretPHP'),
api_get_path(WEB_COURSE_PATH).$course_attempt_name.'/test.php'
);
}

Loading…
Cancel
Save