aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/layout.base.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-09-08 18:07:20 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-09-08 18:07:20 +0200
commitbd56619e7aa798fe899a04d2f47e450344720215 (patch)
treed6cf00df66bf48b247dab691def8e57fba03736f /core/templates/layout.base.php
parent3db2b114352ffc066999ece45a8a22fff66e5b8f (diff)
downloadnextcloud-server-bd56619e7aa798fe899a04d2f47e450344720215.tar.gz
nextcloud-server-bd56619e7aa798fe899a04d2f47e450344720215.zip
also add no-JavaScript notice to log in and sharing pages because they do not work without JS either
Diffstat (limited to 'core/templates/layout.base.php')
-rw-r--r--core/templates/layout.base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 127e99be84d..009cfe21c3f 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -31,6 +31,7 @@
<?php endforeach; ?>
</head>
<body id="body-public">
+ <noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
<?php print_unescaped($_['content']); ?>
</body>
</html>