aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-31 22:59:07 -0700
committerMario Vavti <mario@mariovavti.com>2017-06-07 09:33:00 +0200
commitc96fe2931a43614f209ce19e2cec507fc5b6c8f3 (patch)
tree6265846fde93bf37e6ecd4f03a2ec24d2c50d052 /include/photos.php
parent8a11dc0c900e48d3625ad500290d862d5fa64667 (diff)
downloadvolse-hubzilla-c96fe2931a43614f209ce19e2cec507fc5b6c8f3.tar.gz
volse-hubzilla-c96fe2931a43614f209ce19e2cec507fc5b6c8f3.tar.bz2
volse-hubzilla-c96fe2931a43614f209ce19e2cec507fc5b6c8f3.zip
cleanup only
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;
}
}