aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/layout.noscript.warning.php
blob: 103af8434772cd006efc27f1d3cea7e942200ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.')
			)); ?>
		</div>
	</div>
</noscript>