documentlist.php 737 B

1234567891011121314151617181920212223
  1. <table class="table table-striped">
  2. <thead>
  3. <tr>
  4. <th>Typ</th>
  5. <th>Name</th>
  6. <th>Vorlage</th>
  7. <th>Erstellt am</th>
  8. <th>Letzte Änderung</th>
  9. </tr>
  10. </thead>
  11. <?php
  12. foreach($this->_['documents'] as $document) {
  13. echo '<tr>';
  14. echo '<td>' . $document->getType() . '</td>';
  15. echo '<td>' . $document->getFileName() . '</td>';
  16. echo '<td>' . $document->getDraft() . '</td>';
  17. echo '<td>' . $document->getCreated() . '</td>';
  18. echo '<td>' . $document->getLastChange() . '</td>';
  19. echo '</tr>';
  20. }
  21. ?>
  22. </table>
  23. <a id="new-document" href="ajax.php?action=getNewDocumentBox" type="button" class="btn btn-success fancybox.ajax">Neues Dokument</a>