index.php 1.6 KB

123456789101112131415161718192021222324252627
  1. <?php /** @var $l \OCP\IL10N */ ?>
  2. <?php $_['appNavigation']->printPage(); ?>
  3. <div id="app-content">
  4. <?php foreach ($_['appContents'] as $content) { ?>
  5. <div id="app-content-<?php p($content['id']) ?>" class="hidden viewcontainer">
  6. <?php print_unescaped($content['content']) ?>
  7. </div>
  8. <?php } ?>
  9. <div id="searchresults" class="hidden"></div>
  10. </div><!-- closing app-content -->
  11. <!-- config hints for javascript -->
  12. <input type="hidden" name="filesApp" id="filesApp" value="1" />
  13. <input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" />
  14. <input type="hidden" name="owner" id="owner" value="<?php p($_['owner']); ?>" />
  15. <input type="hidden" name="ownerDisplayName" id="ownerDisplayName" value="<?php p($_['ownerDisplayName']); ?>" />
  16. <input type="hidden" name="fileNotFound" id="fileNotFound" value="<?php p($_['fileNotFound']); ?>" />
  17. <?php if (!$_['isPublic']) :?>
  18. <input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" />
  19. <input type="hidden" name="defaultFileSorting" id="defaultFileSorting" value="<?php p($_['defaultFileSorting']) ?>" />
  20. <input type="hidden" name="defaultFileSortingDirection" id="defaultFileSortingDirection" value="<?php p($_['defaultFileSortingDirection']) ?>" />
  21. <input type="hidden" name="showHiddenFiles" id="showHiddenFiles" value="<?php p($_['showHiddenFiles']); ?>" />
  22. <?php endif;
  23. foreach ($_['hiddenFields'] as $name => $value) {?>
  24. <input type="hidden" name="<?php p($name) ?>" id="<?php p($name) ?>" value="<?php p($value) ?>" />
  25. <?php }