[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

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


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