Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

46 wiersze
1.3 KiB

  1. <?php $this->extend('block_searchable'); ?>
  2. <?php $this->block('content'); ?>
  3. <table id="<?= $this->id ?>" class="table">
  4. <?php if ($this->summary): ?>
  5. <caption><?= $this->summary ?></caption>
  6. <?php endif; ?>
  7. <?php if ($this->useHeader): ?>
  8. <thead>
  9. <tr>
  10. <?php foreach ($this->header as $col): ?>
  11. <th class="<?= $col['class'] ?>"><?= $col['content'] ?></th>
  12. <?php endforeach; ?>
  13. </tr>
  14. </thead>
  15. <?php endif; ?>
  16. <?php if ($this->useFooter): ?>
  17. <tfoot>
  18. <tr>
  19. <?php foreach ($this->footer as $col): ?>
  20. <td class="<?= $col['class'] ?>"><?= $col['content'] ?></td>
  21. <?php endforeach; ?>
  22. </tr>
  23. </tfoot>
  24. <?php endif; ?>
  25. <tbody>
  26. <?php foreach ($this->body as $class => $row): ?>
  27. <tr class="<?= $class ?>">
  28. <?php foreach ($row as $i => $col): ?>
  29. <?php if (0 == $i && $this->useLeftTh): ?>
  30. <th scope="row" class="<?= $col['class'] ?>"><?= $col['content'] ?></th>
  31. <?php else: ?>
  32. <td class="<?= $col['class'] ?>"><?= $col['content'] ?></td>
  33. <?php endif; ?>
  34. <?php endforeach; ?>
  35. </tr>
  36. <?php endforeach; ?>
  37. </tbody>
  38. </table>
  39. <?php $this->endblock(); ?>