2020-08-14 16:10:48 +03:00
|
|
|
<?php /** @var \OCP\IL10N $l */ ?>
|
2013-12-09 16:32:28 +04:00
|
|
|
<?php $_['appNavigation']->printPage(); ?>
|
|
|
|
<div id="app-content">
|
2018-11-06 11:06:24 +03:00
|
|
|
|
|
|
|
<?php if (!$_['isIE']) { ?>
|
|
|
|
<input type="checkbox" class="hidden-visually" id="showgridview"
|
2021-04-13 21:06:48 +03:00
|
|
|
aria-label="<?php p($l->t('Toggle grid view'))?>"
|
2020-04-10 15:19:56 +03:00
|
|
|
<?php if ($_['showgridview']) { ?>checked="checked" <?php } ?>/>
|
2018-11-06 11:06:24 +03:00
|
|
|
<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 } ?>
|
|
|
|
|
2014-05-08 18:24:24 +04:00
|
|
|
<?php foreach ($_['appContents'] as $content) { ?>
|
2014-05-22 13:16:42 +04:00
|
|
|
<div id="app-content-<?php p($content['id']) ?>" class="hidden viewcontainer">
|
2014-05-08 18:24:24 +04:00
|
|
|
<?php print_unescaped($content['content']) ?>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2015-06-09 13:39:40 +03:00
|
|
|
<div id="searchresults" class="hidden"></div>
|
2013-12-09 16:32:28 +04:00
|
|
|
</div><!-- closing app-content -->
|
|
|
|
|
2012-03-19 14:56:02 +04:00
|
|
|
<!-- config hints for javascript -->
|
2013-10-08 19:19:58 +04:00
|
|
|
<input type="hidden" name="filesApp" id="filesApp" value="1" />
|
2013-02-28 00:14:15 +04:00
|
|
|
<input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" />
|
2015-06-05 19:21:41 +03:00
|
|
|
<input type="hidden" name="owner" id="owner" value="<?php p($_['owner']); ?>" />
|
|
|
|
<input type="hidden" name="ownerDisplayName" id="ownerDisplayName" value="<?php p($_['ownerDisplayName']); ?>" />
|
2016-10-25 14:02:50 +03:00
|
|
|
<input type="hidden" name="fileNotFound" id="fileNotFound" value="<?php p($_['fileNotFound']); ?>" />
|
2013-11-21 15:02:09 +04:00
|
|
|
<?php if (!$_['isPublic']) :?>
|
2013-10-21 13:29:40 +04:00
|
|
|
<input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" />
|
2016-04-12 11:19:52 +03:00
|
|
|
<input type="hidden" name="defaultFileSorting" id="defaultFileSorting" value="<?php p($_['defaultFileSorting']) ?>" />
|
2016-04-12 12:08:26 +03:00
|
|
|
<input type="hidden" name="defaultFileSortingDirection" id="defaultFileSortingDirection" value="<?php p($_['defaultFileSortingDirection']) ?>" />
|
2016-04-12 18:10:09 +03:00
|
|
|
<input type="hidden" name="showHiddenFiles" id="showHiddenFiles" value="<?php p($_['showHiddenFiles']); ?>" />
|
2021-01-10 11:14:49 +03:00
|
|
|
<input type="hidden" name="cropImagePreviews" id="cropImagePreviews" value="<?php p($_['cropImagePreviews']); ?>" />
|
2013-11-21 15:02:09 +04:00
|
|
|
<?php endif;
|
2017-06-12 10:57:34 +03:00
|
|
|
|
|
|
|
foreach ($_['hiddenFields'] as $name => $value) {?>
|
|
|
|
<input type="hidden" name="<?php p($name) ?>" id="<?php p($name) ?>" value="<?php p($value) ?>" />
|
|
|
|
<?php }
|