| 1 |
<?php
|
| 2 |
// $Id: views-view-summary-unformatted.tpl.php,v 1.1 2008/06/06 22:43:08 merlinofchaos Exp $
|
| 3 |
/**
|
| 4 |
* @file views-view-summary-unformatted.tpl.php
|
| 5 |
* Default simple view template to display a group of summary lines
|
| 6 |
*
|
| 7 |
* This wraps items in a span if set to inline, or a div if not.
|
| 8 |
*
|
| 9 |
* @ingroup views_templates
|
| 10 |
*/
|
| 11 |
?>
|
| 12 |
<?php foreach ($rows as $row): ?>
|
| 13 |
<?php print (!empty($options['inline']) ? '<span' : '<div') . ' class="views-summary views-summary-unformatted">'; ?>
|
| 14 |
<?php if (!empty($row->separator)) { print $row->separator; } ?>
|
| 15 |
<a href="<?php print $row->url; ?>"><?php print $row->link; ?></a>
|
| 16 |
<?php if (!empty($options['count'])): ?>
|
| 17 |
(<?php print $row->count; ?>)
|
| 18 |
<?php endif; ?>
|
| 19 |
<?php print !empty($options['inline']) ? '</span>' : '</div>'; ?>
|
| 20 |
<?php endforeach; ?>
|