aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-07 16:15:52 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-07 16:15:52 -0800
commit241607e7d73d9bdbbae253b73de91c3847c6df76 (patch)
treecc62b12c3d8599d0c63d9c4ed05e8284f18b5815 /mod
parentbd7d851758e9fdedade6458049a8fbc799da6eba (diff)
parent96d94551f92aeca5efdee6286e7950229c46f201 (diff)
downloadvolse-hubzilla-241607e7d73d9bdbbae253b73de91c3847c6df76.tar.gz
volse-hubzilla-241607e7d73d9bdbbae253b73de91c3847c6df76.tar.bz2
volse-hubzilla-241607e7d73d9bdbbae253b73de91c3847c6df76.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 33a895fdf..5b3367d40 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -765,6 +765,7 @@ function photos_content(&$a) {
if($photos) {
$o = replace_macros(get_markup_template('photosajax.tpl'),array(
'$photos' => $photos,
+ '$album_id' => bin2hex($album)
));
}
else {
@@ -779,6 +780,7 @@ function photos_content(&$a) {
$o .= replace_macros($tpl, array(
'$photos' => $photos,
'$album' => $album,
+ '$album_id' => bin2hex($album),
'$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)),
@@ -1300,6 +1302,7 @@ function photos_content(&$a) {
if($photos) {
$o = replace_macros(get_markup_template('photosajax.tpl'),array(
'$photos' => $photos,
+ '$album_id' => bin2hex(t('Recent Photos'))
));
}
else {
@@ -1313,6 +1316,7 @@ function photos_content(&$a) {
$tpl = get_markup_template('photos_recent.tpl');
$o .= replace_macros($tpl, array(
'$title' => t('Recent Photos'),
+ '$album_id' => bin2hex(t('Recent Photos')),
'$can_post' => $can_post,
'$upload' => array(t('Upload'), $a->get_baseurl().'/photos/'.$a->data['channel']['channel_address'].'/upload'),
'$photos' => $photos,