source: sipes/0.3-modules/sipp_reports2/theme/views-view-table--matriz-procesos--page-2.tpl.php @ eb502b4

stableversion-3.0
Last change on this file since eb502b4 was 303fae2, checked in by José Gregorio Puentes <jpuentes@…>, 9 años ago

se agregaron los modulos

  • Propiedad mode establecida a 100755
File size: 1.6 KB
Línea 
1<?php
2// $Id: views-view-table.tpl.php,v 1.8 2009/01/28 00:43:43 merlinofchaos Exp $
3/**
4 * @file views-view-table.tpl.php
5 * Template to display a view as a table.
6 *
7 * - $title : The title of this group of rows.  May be empty.
8 * - $header: An array of header labels keyed by field id.
9 * - $fields: An array of CSS IDs to use for each field id.
10 * - $class: A class or classes to apply to the table, based on settings.
11 * - $row_classes: An array of classes to apply to each row, indexed by row
12 *   number. This matches the index in $rows.
13 * - $rows: An array of row items. Each row is an array of content.
14 *   $rows are keyed by row number, fields within rows are keyed by field ID.
15 * @ingroup views_templates
16 */
17?>
18<table class="<?php print $class; ?>">
19  <?php if (!empty($title)) : ?>
20    <caption><?php print $title; ?></caption>
21  <?php endif; ?>
22  <thead>
23    <tr>
24      <?php foreach ($header as $field => $label): ?>
25        <th class="views-field views-field-<?php print $fields[$field]; ?>">
26          <?php print $label; ?>
27        </th>
28      <?php endforeach; ?>
29    </tr>
30  </thead>
31  <tbody>
32    <?php foreach ($rows as $count => $row): ?>
33      <tr class="<?php print implode(' ', $row_classes[$count]); ?>">
34        <?php foreach ($row as $field => $content): ?>
35          <td class="views-field views-field-<?php print $fields[$field]; ?>">
36            <?php
37              if ($field == 'nid') {
38                $content = isset($result[$count]->nodo_reporte)? $result[$count]->nodo_reporte : '';
39              }
40              print $content;
41            ?>
42          </td>
43        <?php endforeach; ?>
44      </tr>
45    <?php endforeach; ?>
46  </tbody>
47</table>
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.