calllist.php 752 B

12345678910111213141516171819202122232425
  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. if($this->_['calls']) {
  13. foreach($this->_['calls'] as $call) {
  14. echo '<tr>';
  15. echo '<td>' . $call->getCallDate() . '</td>';
  16. echo '<td>' . $call->getCallerTelNr() . '</td>';
  17. echo '<td>' . getExcerptFromString($call->getNotes()) . '</td>';
  18. echo '<td><i class="fa fa-clock-o"></i></td>';
  19. echo '<td><a class="edit-call fancybox.ajax" href="ajax.php?action=editCall&callID=' . $call->getID() . '"><i class="fa fa-wrench"></i></a></td>';
  20. echo '</tr>';
  21. }
  22. }
  23. ?>
  24. </table>