stableversion-3.0
Last change
on this file since a8b1f3f was
59029b2,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se actualizo la version del modulo views
|
-
Propiedad mode establecida a
100644
|
File size:
892 octetos
|
Ver. | Línea | |
---|
[177a560] | 1 | <?php |
---|
| 2 | /** |
---|
| 3 | * @file views-view-grid.tpl.php |
---|
| 4 | * Default simple view template to display a rows in a grid. |
---|
| 5 | * |
---|
| 6 | * - $rows contains a nested array of rows. Each row contains an array of |
---|
| 7 | * columns. |
---|
| 8 | * - $class contains the class of the table. |
---|
| 9 | * - $attributes contains other attributes for the table. |
---|
| 10 | * @ingroup views_templates |
---|
| 11 | */ |
---|
| 12 | ?> |
---|
| 13 | <?php if (!empty($title)) : ?> |
---|
| 14 | <h3><?php print $title; ?></h3> |
---|
| 15 | <?php endif; ?> |
---|
| 16 | <table class="<?php print $class; ?>"<?php print $attributes; ?>> |
---|
| 17 | <tbody> |
---|
| 18 | <?php foreach ($rows as $row_number => $columns): ?> |
---|
[59029b2] | 19 | <tr class="<?php print $row_classes[$row_number]; ?>"> |
---|
[177a560] | 20 | <?php foreach ($columns as $column_number => $item): ?> |
---|
| 21 | <td class="<?php print $column_classes[$row_number][$column_number]; ?>"> |
---|
| 22 | <?php print $item; ?> |
---|
| 23 | </td> |
---|
| 24 | <?php endforeach; ?> |
---|
| 25 | </tr> |
---|
| 26 | <?php endforeach; ?> |
---|
| 27 | </tbody> |
---|
| 28 | </table> |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.