aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/groupprofile_albums.php
blob: 7cb89bf1c0fa73b74ccbcca23f98dacfb8496410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

/***********************************************
 *
 *  This is used on the group profile page
 *
 ***********************************************/

if ($vars['entity']->photos_enable != 'no') {
	echo '<div id="tidypics_group_profile">';
?>
	<h2><a href="<?php echo $CONFIG->wwwroot . "pg/photos/owned/group:" . $vars['entity']->guid; ?>">Group albums</a></h2>
<?php
	//echo '<h2>' . elgg_echo('album:group') . '</h2>';
	echo elgg_view('tidypics/albums', array('num_albums' => 5));
	echo '</div>';
}
?>