summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.base.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-09-08 21:58:54 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-09-08 21:58:54 +0200
commit71e10b66d9f3f0ab1545ac460bb4e5ea61bb8196 (patch)
tree763e2a7fa72d88f27ba2645745a8a504da11ee0c /core/templates/layout.base.php
parent70abce04827517d4391cc1bb3cd71574fc19724a (diff)
parentbd56619e7aa798fe899a04d2f47e450344720215 (diff)
downloadnextcloud-server-71e10b66d9f3f0ab1545ac460bb4e5ea61bb8196.tar.gz
nextcloud-server-71e10b66d9f3f0ab1545ac460bb4e5ea61bb8196.zip
Merge pull request #10944 from owncloud/fix-nojavascript-style
fix no-JS message, and add it to log in and shared as well cause they don’t work without JS
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>