aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/confirmation.php
blob: cc062d1ef4c5675e9bddb1aed86532934a017ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/** @var array $_ */
/** @var \OCP\IL10N $l */
/** @var \OCP\Defaults $theme */
?>
<div class="update">
	<form method="POST" action="<?php print_unescaped($_['targetUrl']);?>">
		<h2><?php p($_['title']) ?></h2>
		<p><?php p($_['message']) ?></p>
		<div class="buttons">
			<input type="submit" class="primary" value="<?php p($_['action']); ?>">
		</div>
		<?php foreach ($_['parameters'] as $name => $value) {?>
			<input type="hidden" name="<?php p($name); ?>" value="<?php p($value); ?>">
		<?php } ?>
		<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>">
	</form>
</div>