summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-30 06:19:47 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-30 06:19:47 +0000
commit6c881d9c5a379ea6b94b07f5b17613940ebbcc50 (patch)
treea55ab893bf897251b9ba50a40a74fceb2f65acd3
parent35a08a6780f7113d793e6285fdd62edd7bdec602 (diff)
downloadbrdo-6c881d9c5a379ea6b94b07f5b17613940ebbcc50.tar.gz
brdo-6c881d9c5a379ea6b94b07f5b17613940ebbcc50.tar.bz2
#606190 follow-up by rschwab, dww, Bojhan: Better workflow links in update manager.
-rw-r--r--authorize.php13
-rw-r--r--modules/system/system.updater.inc2
2 files changed, 9 insertions, 6 deletions
diff --git a/authorize.php b/authorize.php
index e04f14f4a..dca410a14 100644
--- a/authorize.php
+++ b/authorize.php
@@ -140,12 +140,13 @@ if (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 f8b9cb6a1..c86a518bb 100644
--- a/modules/system/system.updater.inc
+++ b/modules/system/system.updater.inc
@@ -77,6 +77,7 @@ class ModuleUpdater extends Updater implements DrupalUpdaterInterface {
public function postInstallTasks() {
return array(
l(t('Enable newly added modules'), 'admin/modules'),
+ l(t('Administration pages'), 'admin'),
);
}
@@ -146,6 +147,7 @@ class ThemeUpdater extends Updater implements DrupalUpdaterInterface {
public function postInstallTasks() {
return array(
l(t('Set the !project theme as default', array('!project' => $this->title)), 'admin/appearance'),
+ l(t('Administration pages'), 'admin'),
);
}
}