arteleku_skin/templates/views-isotope.tpl.php

27 lines
639 B
PHP
Raw Permalink Normal View History

2017-12-15 01:06:00 +01:00
<?php
/**
* @file views-isotope.tpl.php
* Default simple view template to display a list of rows.
*
* @ingroup views_templates
*/
?>
<div id="isotope-container">
<?php
$count = 0;
foreach ($rows as $row):
if (isset($isotope_filter_classes[$count])){
?>
<div class="isotope-element <?php print $isotope_filter_classes[$count]; ?>" data-category="<?php print $isotope_filter_classes[$count]; ?>">
<?php
}else{
?>
<div class="isotope-element" data-category="">
<?php } ?>
<div class="isotope-element-wrapper"><?php print $row; ?></div>
</div>
<?php
$count++;
endforeach;
?>
</div>