summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-11 22:43:44 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-11 22:43:44 +0000
commit7c70d1b2a591c059a20b8008295a739b2f15af8f (patch)
treee3cc99744fd6eb9431eb4447e19939a6d659a6c8
parent702c0a2bcde18ab2b5bfa14c25117a9fa583f6af (diff)
downloadbrdo-7c70d1b2a591c059a20b8008295a739b2f15af8f.tar.gz
brdo-7c70d1b2a591c059a20b8008295a739b2f15af8f.tar.bz2
#191306 by xmacinfo, slightly modified: use standard reload link on all error pages
-rw-r--r--includes/theme.inc1
-rw-r--r--install.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index e50d8c896..c986c05e5 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -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
diff --git a/install.php b/install.php
index 66ee2d980..0b91fee33 100644
--- a/install.php
+++ b/install.php
@@ -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;
}