Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-11 17:58:08 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-18 18:09:21 +0300
commit739dfb5c6638301799ee8dafd6b10460b493319d (patch)
tree1bb734784ec8ca83653068f21d59e0a27d0f6323 /core/templates/update.use-cli.php
parentfd1740deb604894a8bef515d98c5992a392e6f0a (diff)
Suggest cli based updater in case the instance is bigger - #23913
Diffstat (limited to 'core/templates/update.use-cli.php')
-rw-r--r--core/templates/update.use-cli.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/templates/update.use-cli.php b/core/templates/update.use-cli.php
new file mode 100644
index 00000000000..52d40cdea55
--- /dev/null
+++ b/core/templates/update.use-cli.php
@@ -0,0 +1,14 @@
+<div class="update" data-productname="<?php p($_['productName']) ?>" data-version="<?php p($_['version']) ?>">
+ <div class="updateOverview">
+ <h2 class="title"><?php p($l->t('Update needed')) ?></h2>
+ <div class="infogroup">
+ <?php if ($_['tooBig']) {
+ p($l->t('Please use the command line updater because you have a big instance.'));
+ } else {
+ p($l->t('Please use the command line updater because automatic updating is disabled in the config.php.'));
+ } ?><br><br>
+ <?php
+ print_unescaped($l->t('For help, see the <a target="_blank" rel="noreferrer" href="%s">documentation</a>.', [link_to_docs('admin-cli-upgrade')])); ?><br><br>
+ </div>
+ </div>
+</div>