Fix link to the updater

This commit is contained in:
Joas Schilling 2015-03-26 22:34:32 +01:00
parent 908538d863
commit 4608d3def7
2 changed files with 6 additions and 1 deletions

View File

@ -188,6 +188,9 @@ $formsAndMore[] = array('anchor' => 'backgroundjobs', 'section-name' => $l->t('C
$formsAndMore[] = array('anchor' => 'mail_general_settings', 'section-name' => $l->t('Email Server')); $formsAndMore[] = array('anchor' => 'mail_general_settings', 'section-name' => $l->t('Email Server'));
$formsAndMore[] = array('anchor' => 'log-section', 'section-name' => $l->t('Log')); $formsAndMore[] = array('anchor' => 'log-section', 'section-name' => $l->t('Log'));
$formsAndMore[] = array('anchor' => 'admin-tips', 'section-name' => $l->t('Tips & tricks')); $formsAndMore[] = array('anchor' => 'admin-tips', 'section-name' => $l->t('Tips & tricks'));
if ($updaterAppPanel) {
$formsAndMore[] = array('anchor' => 'updater', 'section-name' => $l->t('Updates'));
}
$template->assign('forms', $formsAndMore); $template->assign('forms', $formsAndMore);

View File

@ -548,7 +548,9 @@ if ($_['cronErrors']) {
<?php include('settings.development.notice.php'); ?> <?php include('settings.development.notice.php'); ?>
</div> </div>
<?php print_unescaped($_['updaterAppPanel']); ?> <?php if (!empty($_['updaterAppPanel'])): ?>
<div id="updater"><?php print_unescaped($_['updaterAppPanel']); ?></div>
<?php endif; ?>
<div class="section credits-footer"> <div class="section credits-footer">
<p><?php print_unescaped($theme->getShortFooter()); ?></p> <p><?php print_unescaped($theme->getShortFooter()); ?></p>