1
0

layout.noscript.warning.php 584 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. ?>
  8. <noscript>
  9. <div id="nojavascript">
  10. <div>
  11. <?php print_unescaped(str_replace(
  12. ['{linkstart}', '{linkend}'],
  13. ['<a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">', '</a>'],
  14. $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
  15. )); ?>
  16. </div>
  17. </div>
  18. </noscript>