aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/album.php
blob: 51b25b7da92937992aa6f07124ece0a80dc5c9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
 * Album view
 * 
 * @uses $vars['entity'] TidypicsAlbum
 * 
 * @author Cash Costello
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
 */

$album = elgg_extract('entity', $vars);
$full_view = elgg_extract('full_view', $vars, false);

if ($full_view) {
	echo elgg_view('object/album/full', $vars);
} else {
	echo elgg_view('object/album/summary', $vars);
}