You are here

views-view-row-sgrid-style.tpl.php in Sortable Grid Views Plugin 6

Same filename and directory in other branches
  1. 7 views-view-row-sgrid-style.tpl.php

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

File

views-view-row-sgrid-style.tpl.php
View source
<?php

// $Id: views-view-unformatted.tpl.php,v 1.6.6.1 2010/03/29 20:05:38 dereine Exp $

/**
 * @file views-view-unformatted.tpl.php
 * Default simple view template to display a list of rows.
 *
 * @ingroup views_templates
 */
foreach ($fields as $id => $field) {
  ?>
  <?php

  if (!empty($field->separator)) {
    ?>
    <?php

    print $field->separator;
    ?>
  <?php

  }
  ?>

  <<?php

  print $field->inline_html;
  ?> class="views-field-<?php

  print $field->class;
  ?>">
    <?php

  if ($field->label) {
    ?>
      <label class="views-label-<?php

    print $field->class;
    ?>">
        <?php

    print $field->label;
    ?>:
      </label>
    <?php

  }
  ?>
      <?php


  // $field->element_type is either SPAN or DIV depending upon whether or not
  // the field is a 'block' element type or 'inline' element type.
  ?>
      <<?php

  print $field->element_type;
  ?> class="field-content"><?php

  print $field->content;
  ?></<?php

  print $field->element_type;
  ?>>
  </<?php

  print $field->inline_html;
  ?>>
<?php

}
?>

<span class='sgrid-nid'><?php

print $sgrid_nid;
?></span>