You are here

rotor-row-rotor.tpl.php in Rotor Banner 7

Same filename and directory in other branches
  1. 6.2 theme/rotor-row-rotor.tpl.php

views-view-unformatted.tpl.php Default simple view template to display a list of rows.

File

theme/rotor-row-rotor.tpl.php
View source
<?php

/**
 * @file views-view-unformatted.tpl.php
 * Default simple view template to display a list of rows.
 *
 * @ingroup views_templates
 */
$display_tabs = $view->style_plugin->options['tabs']['show_tabs'] && $view->style_plugin->options['tabs']['group_tabs'] == ROTOR_DONT_GROUP_TABS;
$node = node_load($row->nid);
if ($display_tabs && $view->style_plugin->options['tabs']['position'] == ROTOR_TAB_POSITION_TOP) {
  ?>
  <?php

  print theme('rotor_tab', $node);
}
?>
<div class="rotor-content-detail"><?php

print theme('rotor_item', $node, $options['imagecache_preset']);
?></div>
<?php

if ($display_tabs && $view->style_plugin->options['tabs']['position'] == ROTOR_TAB_POSITION_BOTTOM) {
  ?>
  <?php

  print theme('rotor_tab', $node);
}