confirmation.php 738 B

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