From 35dfb42fa675a59217a5643371dcf2ba6cfc727a Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 1 Dec 2010 07:02:14 +0000 Subject: #602484 follow-up by rschwab, dww: Fixes to update manager page title. --- modules/update/update.authorize.inc | 3 ++- modules/update/update.manager.inc | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/update') diff --git a/modules/update/update.authorize.inc b/modules/update/update.authorize.inc index c1e9c9244..16029568b 100644 --- a/modules/update/update.authorize.inc +++ b/modules/update/update.authorize.inc @@ -218,6 +218,7 @@ function update_authorize_update_batch_finished($success, $results) { $_SESSION['authorize_results']['page_message'] = $page_message; $_SESSION['authorize_results']['messages'] = $results['log']; $_SESSION['authorize_results']['tasks'] = $results['tasks']; + $_SESSION['authorize_operation']['page_title'] = t('Update manager'); } /** @@ -265,7 +266,7 @@ function update_authorize_install_batch_finished($success, $results) { $_SESSION['authorize_results']['page_message'] = $page_message; $_SESSION['authorize_results']['messages'] = $results['log']; $_SESSION['authorize_results']['tasks'] = $results['tasks']; - $_SESSION['authorize_operation']['page_title'] = t('Drupal Update Manager'); + $_SESSION['authorize_operation']['page_title'] = t('Update manager'); } /** diff --git a/modules/update/update.manager.inc b/modules/update/update.manager.inc index 1bc3ce586..d149027bd 100644 --- a/modules/update/update.manager.inc +++ b/modules/update/update.manager.inc @@ -425,7 +425,7 @@ function update_manager_update_ready_form_submit($form, &$form_state) { // credentials and invoke update_authorize_run_update() indirectly with // whatever FileTransfer object authorize.php creates for us. else { - system_authorized_init('update_authorize_run_update', drupal_get_path('module', 'update') . '/update.authorize.inc', array($updates)); + system_authorized_init('update_authorize_run_update', drupal_get_path('module', 'update') . '/update.authorize.inc', array($updates), t('Update manager')); $form_state['redirect'] = system_authorized_get_url(); } } @@ -602,7 +602,7 @@ function update_manager_install_form_submit($form, &$form_state) { // credentials and invoke update_authorize_run_install() indirectly with // whatever FileTransfer object authorize.php creates for us. else { - system_authorized_init('update_authorize_run_install', drupal_get_path('module', 'update') . '/update.authorize.inc', $arguments); + system_authorized_init('update_authorize_run_install', drupal_get_path('module', 'update') . '/update.authorize.inc', $arguments, t('Update manager')); $form_state['redirect'] = system_authorized_get_url(); } } -- cgit v1.2.3