diff --git a/authorize.php b/authorize.php index e04f14f4aa4f06ca0046e19d2520a95cf3bba82c..dca410a1489bfeaeb66f9a2b5e4d2f8255b5da10 100644 --- a/authorize.php +++ b/authorize.php @@ -140,12 +140,13 @@ function authorize_access_allowed() { if (is_array($results['tasks'])) { $links += $results['tasks']; } - - $links = array_merge($links, array( - l(t('Administration pages'), 'admin'), - l(t('Front page'), '<front>'), - )); - + else { + $links = array_merge($links, array( + l(t('Administration pages'), 'admin'), + l(t('Front page'), '<front>'), + )); + } + $output .= theme('item_list', array('items' => $links, 'title' => t('Next steps'))); } // If a batch is running, let it run. diff --git a/modules/system/system.updater.inc b/modules/system/system.updater.inc index f8b9cb6a17eb8faa6b285d76087a0f0ea7e2005c..c86a518bb56fe27af2c6b32a27b1e71ab609ad72 100644 --- a/modules/system/system.updater.inc +++ b/modules/system/system.updater.inc @@ -77,6 +77,7 @@ public function getSchemaUpdates() { public function postInstallTasks() { return array( l(t('Enable newly added modules'), 'admin/modules'), + l(t('Administration pages'), 'admin'), ); } @@ -146,6 +147,7 @@ public function postInstall() { public function postInstallTasks() { return array( l(t('Set the !project theme as default', array('!project' => $this->title)), 'admin/appearance'), + l(t('Administration pages'), 'admin'), ); } }