summaryrefslogtreecommitdiff
path: root/authorize.php
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 /authorize.php
parent35a08a6780f7113d793e6285fdd62edd7bdec602 (diff)
downloadbrdo-6c881d9c5a379ea6b94b07f5b17613940ebbcc50.tar.gz
brdo-6c881d9c5a379ea6b94b07f5b17613940ebbcc50.tar.bz2
#606190 follow-up by rschwab, dww, Bojhan: Better workflow links in update manager.
Diffstat (limited to 'authorize.php')
-rw-r--r--authorize.php13
1 files changed, 7 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.