views-view-masonry.tpl.php in Masonry Views 7.3
Same filename and directory in other branches
Default view template to display content in a Masonry layout.
File
views-view-masonry.tpl.phpView source
<?php
/**
* @file
* Default view template to display content in a Masonry layout.
*/
?>
<?php
if (isset($grouping) && $grouping) {
?>
<?php
if (!empty($title)) {
?>
<h3 style="clear:both;"><?php
print $title;
?></h3>
<?php
}
?>
<?php
print $prefix;
}
foreach ($rows as $id => $row) {
?>
<div class="masonry-item<?php
if ($classes_array[$id]) {
print ' ' . $classes_array[$id];
}
?>">
<?php
print $row;
?>
</div>
<?php
}
if (isset($grouping) && $grouping) {
?>
<?php
print $suffix;
}