diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-12-07 12:13:51 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-12-07 12:13:51 +0100 |
commit | 69c9f4588c57a1159ab18c5987f99ea5471579d5 (patch) | |
tree | 7988e6d787fae50ba68e220c3e80665f33274b62 /mod/photos.php | |
parent | 53627c89a716fcd9bac535169710e65b229e96a5 (diff) | |
download | volse-hubzilla-69c9f4588c57a1159ab18c5987f99ea5471579d5.tar.gz volse-hubzilla-69c9f4588c57a1159ab18c5987f99ea5471579d5.tar.bz2 volse-hubzilla-69c9f4588c57a1159ab18c5987f99ea5471579d5.zip |
make justify gallery work with more than one albums per page (eg album widget)
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php index 33a895fdf..5a55123cc 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -779,6 +779,7 @@ function photos_content(&$a) { $o .= replace_macros($tpl, array( '$photos' => $photos, '$album' => $album, + '$album_id' => rand(), '$album_edit' => array(t('Edit Album'), $album_edit), '$can_post' => $can_post, '$upload' => array(t('Upload'), $a->get_baseurl() . '/photos/' . $a->data['channel']['channel_address'] . '/upload/' . bin2hex($album)), @@ -1313,6 +1314,7 @@ function photos_content(&$a) { $tpl = get_markup_template('photos_recent.tpl'); $o .= replace_macros($tpl, array( '$title' => t('Recent Photos'), + '$album_id' => rand(), '$can_post' => $can_post, '$upload' => array(t('Upload'), $a->get_baseurl().'/photos/'.$a->data['channel']['channel_address'].'/upload'), '$photos' => $photos, |