Proper IE warning

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-04-16 10:46:56 +02:00
parent 6ca07130bd
commit 92c383ecc2
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 13 additions and 2 deletions

View File

@ -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 } ?>