[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/views/theme/ -> views-view-summary-unformatted.tpl.php (source)

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


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7