aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-07 17:07:44 -0700
committerzotlabs <mike@macgirvin.com>2017-06-07 17:07:44 -0700
commit416a82bf121e568569ed28590092d34dd25da6c0 (patch)
treeface76b8cda01ebfe8a1d3090235f1b524b75761 /include/photos.php
parent40b9130c63fbcc5bfd4ba5feb5463000dfe99d43 (diff)
parent55836e8ca65ca9a2ae25591de3232470d7a50049 (diff)
downloadvolse-hubzilla-416a82bf121e568569ed28590092d34dd25da6c0.tar.gz
volse-hubzilla-416a82bf121e568569ed28590092d34dd25da6c0.tar.bz2
volse-hubzilla-416a82bf121e568569ed28590092d34dd25da6c0.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/photos.php b/include/photos.php
index 8a7e49df6..de5e08646 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -495,15 +495,15 @@ function photos_albums_list($channel, $observer, $sort_key = 'display_path', $di
$ret['success'] = true;
$ret['albums'] = array();
foreach($albums as $k => $album) {
- $entry = array(
- 'text' => (($album['album']) ? $album['album'] : '/'),
+ $entry = [
+ 'text' => (($album['album']) ? $album['album'] : '/'),
'shorttext' => (($album['album']) ? ellipsify($album['album'],28) : '/'),
- 'jstext' => (($album['album']) ? addslashes($album['album']) : '/'),
- 'total' => $album['total'],
- 'url' => z_root() . '/photos/' . $channel['channel_address'] . '/album/' . $album['folder'],
+ 'jstext' => (($album['album']) ? addslashes($album['album']) : '/'),
+ 'total' => $album['total'],
+ 'url' => z_root() . '/photos/' . $channel['channel_address'] . '/album/' . $album['folder'],
'urlencode' => urlencode($album['album']),
- 'bin2hex' => $album['folder']
- );
+ 'bin2hex' => $album['folder']
+ ];
$ret['albums'][] = $entry;
}
}