#606190 follow-up by rschwab, dww, Bojhan: Better workflow links in update manager.

merge-requests/26/head
Angie Byron 2010-11-30 06:19:47 +00:00
parent 35a08a6780
commit 6c881d9c5a
2 changed files with 9 additions and 6 deletions

View File

@ -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.

View File

@ -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'),
);
}
}