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

update.use-cli.php « templates « core - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d30e15c8573e75e3d13d1d7b48ec16f60a072993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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 with more than 50 users.'));
			} 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>

	<?php if ($_['tooBig']) { ?>
		<div class="warning updateAnyways">
			<?php p($l->t('I know that if I continue doing the update via web UI has the risk, that the request runs into a timeout and could cause data loss, but I have a backup and know how to restore my instance in case of a failure.' )); ?>
			<a href="?IKnowThatThisIsABigInstanceAndTheUpdateRequestCouldRunIntoATimeoutAndHowToRestoreABackup=IAmSuperSureToDoThis" class="button updateAnywaysButton"><?php p($l->t('Upgrade via web on my own risk' )); ?></a>
		</div>
	<?php } ?>


</div>