diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-09-08 18:07:20 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-09-08 18:07:20 +0200 |
commit | bd56619e7aa798fe899a04d2f47e450344720215 (patch) | |
tree | d6cf00df66bf48b247dab691def8e57fba03736f /core/templates | |
parent | 3db2b114352ffc066999ece45a8a22fff66e5b8f (diff) | |
download | nextcloud-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')
-rw-r--r-- | core/templates/layout.base.php | 1 | ||||
-rw-r--r-- | core/templates/layout.guest.php | 1 |
2 files changed, 2 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> diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 00950802fec..64546dcc01c 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -33,6 +33,7 @@ <?php endforeach; ?> </head> <body id="body-login"> + <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> <div class="wrapper"><!-- for sticky footer --> <div class="v-align"><!-- vertically centred box --> <header><div id="header"> |