diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-26 22:34:32 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-27 09:38:13 +0100 |
commit | 4608d3def7e8619fe2a151aa7d2180dc465f8155 (patch) | |
tree | 342d9b61a07778b037e82945fff0a568d33e39d2 /settings | |
parent | 908538d8638e901f391162a078cf476194f30eea (diff) | |
download | nextcloud-server-4608d3def7e8619fe2a151aa7d2180dc465f8155.tar.gz nextcloud-server-4608d3def7e8619fe2a151aa7d2180dc465f8155.zip |
Fix link to the updater
Diffstat (limited to 'settings')
-rw-r--r-- | settings/admin.php | 3 | ||||
-rw-r--r-- | settings/templates/admin.php | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/settings/admin.php b/settings/admin.php index b74a4cf4c5e..95afaf1ac0a 100644 --- a/settings/admin.php +++ b/settings/admin.php @@ -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' => 'log-section', 'section-name' => $l->t('Log')); $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); diff --git a/settings/templates/admin.php b/settings/templates/admin.php index df2ec15d495..600449adac2 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -548,7 +548,9 @@ if ($_['cronErrors']) { <?php include('settings.development.notice.php'); ?> </div> -<?php print_unescaped($_['updaterAppPanel']); ?> +<?php if (!empty($_['updaterAppPanel'])): ?> + <div id="updater"><?php print_unescaped($_['updaterAppPanel']); ?></div> +<?php endif; ?> <div class="section credits-footer"> <p><?php print_unescaped($theme->getShortFooter()); ?></p> |