index.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <div class="controls">
  2. <div class="actions">
  3. <form id="file_upload_form" action="ajax/upload.php" method="post" enctype="multipart/form-data" target="file_upload_target">
  4. <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_["uploadMaxFilesize"] ?>" id="max_upload">
  5. <input type="hidden" class="max_human_file_size" value="(max <?php echo $_["uploadMaxHumanFilesize"]; ?>)">
  6. <input type="hidden" name="dir" value="<?php echo $_["dir"] ?>" id="dir">
  7. <div id='file_upload_wrapper'>
  8. <input class="prettybutton" id='file_upload_filename' value="Upload (max. <?php echo $_["uploadMaxHumanFilesize"];?>)"/>
  9. <input class="prettybutton" type="file" id="file_upload_start" name='file'/>
  10. </div>&nbsp;
  11. <input class="prettybutton" type="button" id="file_upload_submit" name="file_upload_submit" value="OK" />
  12. <iframe id="file_upload_target" name="file_upload_target" src=""></iframe>
  13. </form>
  14. <form id="file_newfolder_form">
  15. <input type="text" class="prettybutton" name="file_newfolder_name" id="file_newfolder_name" value="New Folder" />&nbsp;
  16. <input class="prettybutton" type="submit" id="file_newfolder_submit" name="file_newfolder_submit" value="OK" />
  17. </form>
  18. <a href="" title="" class="download"><?php echo $l->t( 'Download' ); ?></a>
  19. <!--<a href="" title="" class="share"><?php echo $l->t( 'Share' ); ?></a>-->
  20. <a href="" title="" class="delete"><?php echo $l->t( 'Delete' ); ?></a>
  21. </div>
  22. <div id="file_action_panel">
  23. </div>
  24. </div>
  25. <span class="nav">
  26. <?php echo($_['breadcrumb']); ?>
  27. </span>
  28. <table cellspacing="0">
  29. <thead>
  30. <tr>
  31. <th><input type="checkbox" id="select_all" /></th>
  32. <th><?php echo $l->t( 'Name' ); ?></th>
  33. <th><?php echo $l->t( 'Size (MB)' ); ?></th>
  34. <th><?php echo $l->t( 'Modified' ); ?></th>
  35. <th></th>
  36. </tr>
  37. </thead>
  38. <tbody id="fileList">
  39. <?php echo($_['fileList']); ?>
  40. </tbody>
  41. </table>
  42. <div id="file_menu">
  43. <ul>
  44. </ul>
  45. </div>