root / drupal7 / sites / all / modules / views_data_export / theme / views-data-export-txt-body.tpl.php @ ebcc4118
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* @file views-view-table.tpl.php
|
4 |
* Template to display a view as a table.
|
5 |
*
|
6 |
* - $title : The title of this group of rows. May be empty.
|
7 |
* - $rows: An array of row items. Each row is an array of content
|
8 |
* keyed by field ID.
|
9 |
* - $header: an array of haeaders(labels) for fields.
|
10 |
* - $themed_rows: a array of rows with themed fields.
|
11 |
* @ingroup views_templates
|
12 |
*/
|
13 |
|
14 |
foreach ($themed_rows as $count => $row): |
15 |
foreach ($row as $field => $content): |
16 |
?>
|
17 |
[<?php print $header[$field]; ?>] |
18 |
|
19 |
<?php print strip_tags($content); // strip html so its plain txt. ?> |
20 |
|
21 |
<?php endforeach; ?> |
22 |
---------------------------------------- |
23 |
|
24 |
<?php endforeach; |