aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/album_view/view.php
blob: 1b980aa8b3c0deb57d310b6b9fb5e156ced1648e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>