1
0

sharenotfound.php 1018 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-only
  5. */
  6. use OCP\IURLGenerator;
  7. use OCP\Server;
  8. $urlGenerator = Server::get(IURLGenerator::class);
  9. ?>
  10. <div class="body-login-container update">
  11. <div>
  12. <svg xmlns="http://www.w3.org/2000/svg" height="70" viewBox="0 -960 960 960" width="70">
  13. <path fill="currentColor" d="m674-456-50-50 69-70-69-69 50-51 70 70 69-70 51 51-70 69 70 70-51 50-69-69-70 69Zm-290-24q-60 0-102-42t-42-102q0-60 42-102t102-42q60 0 102 42t42 102q0 60-42 102t-102 42ZM96-192v-92q0-26 12.5-47.5T143-366q55-32 116-49t125-17q64 0 125 17t116 49q22 13 34.5 34.5T672-284v92H96Z"/>
  14. </svg>
  15. </div>
  16. <h2><?php p($l->t('Share not found')); ?></h2>
  17. <p class="infogroup"><?php p($_['message'] ?: $l->t('This share does not exist or is no longer available')); ?></p>
  18. <p><a class="button primary" href="<?php p($urlGenerator->linkTo('', 'index.php')) ?>">
  19. <?php p($l->t('Back to %s', [$theme->getName()])); ?>
  20. </a></p>
  21. </div>