diff options
Diffstat (limited to 'apps/files/templates/index.php')
-rw-r--r-- | apps/files/templates/index.php | 40 |
1 files changed, 6 insertions, 34 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 4a1cf808f2a..5281220282a 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -1,35 +1,7 @@ -<?php /** @var \OCP\IL10N $l */ ?> -<?php $_['appNavigation']->printPage(); ?> -<div id="app-content"> +<?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"> - <?php print_unescaped($content['content']) ?> - </div> - <?php } ?> - <div id="searchresults" class="hidden"></div> -</div><!-- closing app-content --> - -<!-- config hints for javascript --> -<input type="hidden" name="filesApp" id="filesApp" value="1" /> -<input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" /> -<input type="hidden" name="owner" id="owner" value="<?php p($_['owner']); ?>" /> -<input type="hidden" name="ownerDisplayName" id="ownerDisplayName" value="<?php p($_['ownerDisplayName']); ?>" /> -<input type="hidden" name="fileNotFound" id="fileNotFound" value="<?php p($_['fileNotFound']); ?>" /> -<?php if (!$_['isPublic']) :?> -<input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" /> -<input type="hidden" name="defaultFileSorting" id="defaultFileSorting" value="<?php p($_['defaultFileSorting']) ?>" /> -<input type="hidden" name="defaultFileSortingDirection" id="defaultFileSortingDirection" value="<?php p($_['defaultFileSortingDirection']) ?>" /> -<input type="hidden" name="showHiddenFiles" id="showHiddenFiles" value="<?php p($_['showHiddenFiles']); ?>" /> -<input type="hidden" name="cropImagePreviews" id="cropImagePreviews" value="<?php p($_['cropImagePreviews']); ?>" /> -<?php endif; - -foreach ($_['hiddenFields'] as $name => $value) {?> -<input type="hidden" name="<?php p($name) ?>" id="<?php p($name) ?>" value="<?php p($value) ?>" /> -<?php } +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +// Empty template |