You are here

semanticviews-view-unformatted.tpl.php in Semantic Views 6

Same filename and directory in other branches
  1. 7 semanticviews-view-unformatted.tpl.php

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

File

semanticviews-view-unformatted.tpl.php
View source
<?php

/**
 * @file views-view-unformatted.tpl.php
 * Default simple view template to display a list of rows.
 *
 * @ingroup views_templates
 */
if (!empty($title)) {
  ?>
  <<?php

  print $group_element;
  print drupal_attributes($group_attributes);
  ?>>
    <?php

  print $title;
  ?>
  </<?php

  print $group_element;
  ?>>
<?php

}
if (!empty($list_element)) {
  ?>
  <<?php

  print $list_element;
  print drupal_attributes($list_attributes);
  ?>>
<?php

}
foreach ($rows as $id => $row) {
  ?>
  <?php

  if (!empty($row_element)) {
    ?>
  <<?php

    print $row_element;
    print drupal_attributes($row_attributes[$id]);
    ?>>
  <?php

  }
  ?>
    <?php

  print $row;
  ?>
  <?php

  if (!empty($row_element)) {
    ?>
  </<?php

    print $row_element;
    ?>>
  <?php

  }
}
if (!empty($list_element)) {
  ?>
  </<?php

  print $list_element;
  ?>>
<?php

}