summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module20
1 files changed, 14 insertions, 6 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 3b221f204..2d1f019ae 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1641,14 +1641,18 @@ function system_modules_confirm_form($modules, $storage) {
$form['text'] = array('#value' => theme('item_list', $items));
if ($form) {
+ $options = array(
+ 'description' => t('Would you like to continue with enabling the above?'),
+ 'yes' => t('Continue'),
+ );
+
// Set some default form values
$form = confirm_form(
$form,
t('Some required modules must be enabled'),
'admin/build/modules',
- t('Would you like to continue with enabling the above?'),
- t('Continue'),
- t('Cancel'));
+ $options);
+
return $form;
}
}
@@ -1929,13 +1933,17 @@ function system_modules_uninstall_confirm_form($storage) {
$form['#confirmed'] = TRUE;
$form['uninstall']['#tree'] = TRUE;
$form['modules'] = array('#value' => '<p>'. t('The following modules will be completely uninstalled from your site, and <em>all data from these modules will be lost</em>!') .'</p>'. theme('item_list', $uninstall));
+
+ $options = array(
+ 'description' => t('Would you like to continue with uninstalling the above?'),
+ 'yes' => t('Uninstall')
+ );
+
$form = confirm_form(
$form,
t('Confirm uninstall'),
'admin/build/modules/uninstall',
- t('Would you like to continue with uninstalling the above?'),
- t('Uninstall'),
- t('Cancel'));
+ $options);
return $form;
}
}