aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/layout.noscript.warning.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/layout.noscript.warning.php')
-rw-r--r--core/templates/layout.noscript.warning.php15
1 files changed, 11 insertions, 4 deletions
diff --git a/core/templates/layout.noscript.warning.php b/core/templates/layout.noscript.warning.php
index 7d7a32bfbf4..103af843477 100644
--- a/core/templates/layout.noscript.warning.php
+++ b/core/templates/layout.noscript.warning.php
@@ -1,11 +1,18 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<noscript>
<div id="nojavascript">
<div>
<?php print_unescaped(str_replace(
- ['{linkstart}', '{linkend}'],
- ['<a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">', '</a>'],
- $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
- )); ?>
+ ['{linkstart}', '{linkend}'],
+ ['<a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">', '</a>'],
+ $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
+ )); ?>
</div>
</div>
</noscript>