summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-11-29 17:06:01 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-11-30 13:03:08 +0100
commita3251415458e55d13695624bdebde4806dfc93de (patch)
tree4c94008651e91d2e955e8a083b35fb311c59068b /apps/files/templates
parent2c3cf86ad31e20504bea39bad0bf912e946e2c5e (diff)
downloadnextcloud-server-a3251415458e55d13695624bdebde4806dfc93de.tar.gz
nextcloud-server-a3251415458e55d13695624bdebde4806dfc93de.zip
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/index.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 1e8b7cf1ac9..4a1cf808f2a 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -2,13 +2,11 @@
<?php $_['appNavigation']->printPage(); ?>
<div id="app-content">
- <?php if (!$_['isIE']) { ?>
- <input type="checkbox" class="hidden-visually" id="showgridview"
- aria-label="<?php p($l->t('Toggle grid view'))?>"
- <?php if ($_['showgridview']) { ?>checked="checked" <?php } ?>/>
- <label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>"
- title="<?php p($l->t('Toggle grid view'))?>"></label>
- <?php } ?>
+ <input type="checkbox" class="hidden-visually" id="showgridview"
+ aria-label="<?php p($l->t('Toggle grid view'))?>"
+ <?php if ($_['showgridview']) { ?>checked="checked" <?php } ?>/>
+ <label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>"
+ title="<?php p($l->t('Toggle grid view'))?>"></label>
<?php foreach ($_['appContents'] as $content) { ?>
<div id="app-content-<?php p($content['id']) ?>" class="hidden viewcontainer">