list.php 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <div id="controls">
  2. <div class="actions creatable hidden">
  3. <div id="uploadprogresswrapper">
  4. </div>
  5. </div>
  6. <div id="file_action_panel"></div>
  7. <div class="notCreatable notPublic hidden">
  8. <?php p($l->t('You don’t have permission to upload or create files here'))?>
  9. </div>
  10. <?php /* Note: the template attributes are here only for the public page. These are normally loaded
  11. through ajax instead (updateStorageStatistics).
  12. */ ?>
  13. <input type="hidden" name="permissions" value="" id="permissions">
  14. <input type="hidden" id="free_space" value="<?php isset($_['freeSpace']) ? p($_['freeSpace']) : '' ?>">
  15. <?php if(isset($_['dirToken'])):?>
  16. <input type="hidden" id="publicUploadRequestToken" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
  17. <input type="hidden" id="dirToken" name="dirToken" value="<?php p($_['dirToken']) ?>" />
  18. <?php endif;?>
  19. <input type="hidden" class="max_human_file_size"
  20. value="(max <?php isset($_['uploadMaxHumanFilesize']) ? p($_['uploadMaxHumanFilesize']) : ''; ?>)">
  21. </div>
  22. <div id="emptycontent" class="hidden">
  23. <div class="icon-folder"></div>
  24. <h2><?php p($l->t('No files in here')); ?></h2>
  25. <p class="uploadmessage hidden"><?php p($l->t('Upload some content or sync with your devices!')); ?></p>
  26. </div>
  27. <div class="nofilterresults emptycontent hidden">
  28. <div class="icon-search"></div>
  29. <h2><?php p($l->t('No entries found in this folder')); ?></h2>
  30. <p></p>
  31. </div>
  32. <table id="filestable" class="list-container <?php p($_['showgridview'] ? 'view-grid' : '') ?>" data-allow-public-upload="<?php p($_['publicUploadEnabled'])?>" data-preview-x="250" data-preview-y="250">
  33. <thead>
  34. <tr>
  35. <th id="headerSelection" class="hidden column-selection">
  36. <input type="checkbox" id="select_all_files" class="select-all checkbox"/>
  37. <label for="select_all_files">
  38. <span class="hidden-visually"><?php p($l->t('Select all'))?></span>
  39. </label>
  40. </th>
  41. <th id='headerName' class="hidden column-name">
  42. <div id="headerName-container">
  43. <a class="name sort columntitle" data-sort="name">
  44. <span><?php p($l->t( 'Name' )); ?></span>
  45. <span class="sort-indicator"></span>
  46. </a>
  47. <span id="selectedActionsList" class="selectedActions">
  48. <a href="" class="actions-selected">
  49. <span class="icon icon-more"></span>
  50. <span><?php p($l->t('Actions'))?></span>
  51. </a>
  52. </span>
  53. </div>
  54. </th>
  55. <th id="headerSize" class="hidden column-size">
  56. <a class="size sort columntitle" data-sort="size"><span><?php p($l->t('Size')); ?></span><span class="sort-indicator"></span></a>
  57. </th>
  58. <th id="headerDate" class="hidden column-mtime">
  59. <a id="modified" class="columntitle" data-sort="mtime"><span><?php p($l->t( 'Modified' )); ?></span><span class="sort-indicator"></span></a>
  60. </th>
  61. </tr>
  62. </thead>
  63. <tbody id="fileList">
  64. </tbody>
  65. <tfoot>
  66. </tfoot>
  67. </table>
  68. <input type="hidden" name="dir" id="dir" value="" />
  69. <div class="hiddenuploadfield">
  70. <input type="file" id="file_upload_start" class="hiddenuploadfield" name="files[]" />
  71. </div>
  72. <div id="editor"></div><!-- FIXME Do not use this div in your app! It is deprecated and will be removed in the future! -->
  73. <div id="uploadsize-message" title="<?php p($l->t('Upload too large'))?>">
  74. <p>
  75. <?php p($l->t('The files you are trying to upload exceed the maximum size for file uploads on this server.'));?>
  76. </p>
  77. </div>