[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

   1  <?php
   2  /**
   3   * @file views-view-list.tpl.php
   4   * Default simple view template to display a list of rows.
   5   *
   6   * - $title : The title of this group of rows.  May be empty.
   7   * - $options['type'] will either be ul or ol.
   8   * @ingroup views_templates
   9   */
  10  ?>
  11  <div class="item-list">
  12    <?php if (!empty($title)) : ?>
  13      <h3><?php print $title; ?></h3>
  14    <?php endif; ?>
  15    <<?php print $options['type']; ?>>
  16      <?php foreach ($rows as $id => $row): ?>
  17        <li class="<?php print $classes[$id]; ?>"><?php print $row; ?></li>
  18      <?php endforeach; ?>
  19    </<?php print $options['type']; ?>>
  20  </div>


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