[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

   1  <?php
   2  // $Id: views-view-summary-unformatted.tpl.php,v 1.2.4.1 2010/03/16 23:12:31 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 $id => $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 !empty($classes[$id]) ? ' class="'. $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; ?>


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7