Commit 7c70d1b2 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#191306 by xmacinfo, slightly modified: use standard reload link on all error pages

parent 702c0a2b
......@@ -1104,6 +1104,7 @@ function theme_install_page($content) {
$title = count($messages['error']) > 1 ? st('The following errors must be resolved before you can continue the installation process') : st('The following error must be resolved before you can continue the installation process');
$variables['messages'] .= '<h3>'. $title .':</h3>';
$variables['messages'] .= theme('status_messages', 'error');
$variables['content'] .= '<p>'. st('Please check the error messages and <a href="!url">try again</a>.', array('!url' => request_uri())) .'</p>';
}
// Special handling of status messages
......
......@@ -616,7 +616,7 @@ function install_missing_modules_error($profile) {
drupal_maintenance_theme();
install_task_list('requirements');
drupal_set_title(st('Modules missing'));
print theme('install_page', '<p>'. st('One or more required modules are missing. Please check the error messages and <a href="!url">try again</a>.', array('!url' => "install.php?profile=$profile")) .'</p>');
print theme('install_page', '<p>'. st('One or more required modules are missing.') .'</p>');
exit;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment