/[drupal]/contributions/modules/views_rotator/views-view-rotator.tpl.php
ViewVC logotype

Contents of /contributions/modules/views_rotator/views-view-rotator.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Tue Sep 23 02:28:12 2008 UTC (14 months ago) by mfer
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-ALPHA2, HEAD
Changes since 1.3: +2 -2 lines
File MIME type: text/x-php
Updated to add hook_views_api and move to autoloaded objects.
1 <?php
2 // $Id: views-view-rotator.tpl.php,v 1.3 2008/08/24 00:06:44 mfer Exp $
3 /**
4 * @file
5 * Displays the first row and hides the others to be displayed by the js rotator.
6 *
7 * @ingroup views_templates
8 */
9 ?>
10 <div class="item-list views-rotator <?php print $views_rotator_id ?> clear-block">
11 <span><a id ="<?php print $views_rotator_id ?>-views-rotator-prev"></a></span>
12 <span><a id ="<?php print $views_rotator_id ?>-views-rotator-next"></a></span>
13 <div id="<?php print $views_rotator_id ?>">
14 <?php foreach ($rows as $row): ?>
15 <div class="views-rotator-item"<?php if (theme('views_rotator_display_item', $views_rotator_id)) print ' style="display: none;"' ?>><?php print $row ?></div>
16 <?php endforeach; ?>
17 </div>
18 </div>

  ViewVC Help
Powered by ViewVC 1.1.2