Fixes the grid toggle for none folder shares
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
parent
b7a59fb56a
commit
04b9154c9a
|
@ -46,7 +46,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if (!$_['isIE']) { ?>
|
<?php if ($_['showgridview'] && empty($_['dir']) === false) { ?>
|
||||||
<input type="checkbox" class="hidden-visually" id="showgridview"
|
<input type="checkbox" class="hidden-visually" id="showgridview"
|
||||||
<?php if($_['showgridview']) { ?>checked="checked" <?php } ?>/>
|
<?php if($_['showgridview']) { ?>checked="checked" <?php } ?>/>
|
||||||
<label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>"
|
<label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>"
|
||||||
|
|
Loading…
Reference in New Issue