Projet

Général

Profil

Paste
Télécharger (790 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / views / theme / views-view-summary-unformatted.tpl.php @ 5d12d676

1
<?php
2

    
3
/**
4
 * @file
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 $id => $row): ?>
13
  <?php print (!empty($options['inline']) ? '<span' : '<div') . ' class="views-summary views-summary-unformatted">'; ?>
14
    <?php if (!empty($row->separator)):?><?php print $row->separator; ?><?php endif; ?>
15
    <a href="<?php print $row->url; ?>"<?php print !empty($row_classes[$id]) ? ' class="' . $row_classes[$id] . '"' : ''; ?>><?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; ?>