aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/latest_photos/view.php
blob: 108d070c93d1b70c63190953e234aafc9f9b54ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div class="contentWrapper"> 
<?php

//the number of files to display
$number = (int) $vars['entity']->num_display;
//if no number has been set, default to 6
if (!$number) {
	$number = 6;
}

echo '<div class="tidypics_widget_latest">';
echo tp_get_latest_photos($number, page_owner(), 'widget');
echo '</div>';

?>
</div>