[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/views_slideshow_imageflow/themes/ -> views-slideshow-imageflow.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   *  @file
   5   *  This will format a view to display several images in a ImageFlow/CoverFlow
   6   *  style.
   7   *
   8   *  VERY IMPORTANT:
   9   *  The View MUST return a set of fields composed of Images only.
  10   *  Anything else WILL break the output.
  11   *
  12   * - $view: The view object.
  13   * - $options: Style options. See below.
  14   * - $rows: The output for the rows.
  15   * - $title: The title of this group of rows.  May be empty.
  16   * - $id: The unique counter for this view.
  17   * - $images: An array of images that have been stripped from $rows.
  18   */
  19  ?>
  20  
  21    <div id="views-slideshow-imageflow-<?php print $id; ?>" class="views-slideshow-imageflow">
  22      <?php if (!empty($title)) : ?>
  23        <h3><?php print $title; ?></h3>
  24      <?php endif; ?>
  25  
  26      <div id="views-slideshow-imageflow-images-<?php print $id; ?>" class="views-slideshow-imageflow-images imageflow">
  27        <?php foreach ($images as $image): ?>
  28         <?php print $image ."\n"; ?>
  29        <?php endforeach; ?>
  30      </div>
  31  
  32    </div>
  33  


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