make justify gallery work with more than one albums per page (eg album widget)

This commit is contained in:
Mario Vavti
2015-12-07 12:13:51 +01:00
parent 53627c89a7
commit 69c9f4588c
6 changed files with 12 additions and 9 deletions

View File

@@ -1338,6 +1338,7 @@ function widget_album($args) {
$o .= replace_macros($tpl, array(
'$photos' => $photos,
'$album' => (($title) ? $title : $album),
'$album_id' => rand(),
'$album_edit' => array(t('Edit Album'), $album_edit),
'$can_post' => false,
'$upload' => array(t('Upload'), z_root() . '/photos/' . get_app()->profile['channel_address'] . '/upload/' . bin2hex($album)),