diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-04-16 10:46:56 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-04-16 10:46:56 +0200 |
commit | 92c383ecc27bdef1ecab288f972d4abaf6d666f0 (patch) | |
tree | 1c57b61e46dc65fff746740c95127571d5232039 /templates | |
parent | 6ca07130bd1ee1f272ab5ab62dea26ed221f43f1 (diff) |
Proper IE warning
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/templates/main.php b/templates/main.php index e53cedb0..9fa58fc6 100644 --- a/templates/main.php +++ b/templates/main.php @@ -1,4 +1,15 @@ <?php -script('contacts', 'contacts'); -style('contacts', 'contacts'); +if (!\OCP\Util::isIe()) { + script('contacts', 'contacts'); + style('contacts', 'contacts'); +} else { ?> +<div id="app-content"> + <div class="emptycontent"> + <div class="icon-contacts-dark"></div> + <h2><?php p($l->t('Your web browser is out of date')); ?></h2> + <p><?php p($l->t('This application is not compatible with Internet Explorer')); ?></p> + </div> +</div> + +<?php } ?>
\ No newline at end of file |