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

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

	echo elgg_view('tidypics/albums', array('num_albums' => $number));

?>
</div>