aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/latest_photos/view.php
blob: 0c319390714a01ab29b35679fcb7ebb2a5adae17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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());
	echo '</div>';

?>
</div>