calllist.php 689 B

12345678910111213141516171819202122
  1. <table class="table table-striped">
  2. <thead>
  3. <tr>
  4. <th>Date</th>
  5. <th>Telefonnummer</th>
  6. <th>Notizen</th>
  7. <th></th>
  8. <th></th>
  9. </tr>
  10. </thead>
  11. <?php
  12. foreach($this->_['calls'] as $call) {
  13. echo '<tr>';
  14. echo '<td>' . $call->getCallDate() . '</td>';
  15. echo '<td>' . $call->getCallerTelNr() . '</td>';
  16. echo '<td>' . getExcerptFromString($call->getNotes()) . '</td>';
  17. echo '<td><i class="fa fa-clock-o"></i></td>';
  18. echo '<td><a class="edit-call fancybox.ajax" href="ajax.php?action=editCall&callID=' . $call->getID() . '"><i class="fa fa-wrench"></i></a></td>';
  19. echo '</tr>';
  20. }
  21. ?>
  22. </table>