index.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php /** @var \OCP\IL10N $l */ ?>
  2. <?php $_['appNavigation']->printPage(); ?>
  3. <div id="app-content">
  4. <?php if (!$_['isIE']) { ?>
  5. <input type="checkbox" class="hidden-visually" id="showgridview"
  6. <?php if ($_['showgridview']) { ?>checked="checked" <?php } ?>/>
  7. <label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>"
  8. title="<?php p($l->t('Toggle grid view'))?>"></label>
  9. <?php } ?>
  10. <?php foreach ($_['appContents'] as $content) { ?>
  11. <div id="app-content-<?php p($content['id']) ?>" class="hidden viewcontainer">
  12. <?php print_unescaped($content['content']) ?>
  13. </div>
  14. <?php } ?>
  15. <div id="searchresults" class="hidden"></div>
  16. </div><!-- closing app-content -->
  17. <!-- config hints for javascript -->
  18. <input type="hidden" name="filesApp" id="filesApp" value="1" />
  19. <input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" />
  20. <input type="hidden" name="owner" id="owner" value="<?php p($_['owner']); ?>" />
  21. <input type="hidden" name="ownerDisplayName" id="ownerDisplayName" value="<?php p($_['ownerDisplayName']); ?>" />
  22. <input type="hidden" name="fileNotFound" id="fileNotFound" value="<?php p($_['fileNotFound']); ?>" />
  23. <?php if (!$_['isPublic']) :?>
  24. <input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" />
  25. <input type="hidden" name="defaultFileSorting" id="defaultFileSorting" value="<?php p($_['defaultFileSorting']) ?>" />
  26. <input type="hidden" name="defaultFileSortingDirection" id="defaultFileSortingDirection" value="<?php p($_['defaultFileSortingDirection']) ?>" />
  27. <input type="hidden" name="showHiddenFiles" id="showHiddenFiles" value="<?php p($_['showHiddenFiles']); ?>" />
  28. <?php endif;
  29. foreach ($_['hiddenFields'] as $name => $value) {?>
  30. <input type="hidden" name="<?php p($name) ?>" id="<?php p($name) ?>" value="<?php p($value) ?>" />
  31. <?php }