css fixes and missing string

This commit is contained in:
Mario Vavti
2017-04-07 11:31:10 +02:00
parent e685c580f2
commit 28207c3313
2 changed files with 8 additions and 15 deletions

View File

@@ -529,7 +529,8 @@ function photos_album_widget($channelx,$observer,$sortkey = 'display_path',$dire
'$albums' => $albums['albums'],
'$baseurl' => z_root(),
'$upload' => ((perm_is_allowed($channelx['channel_id'],(($observer) ? $observer['xchan_hash'] : ''),'write_storage'))
? t('Upload New Photos') : '')
? t('Upload New Photos') : ''),
'$recent_photos' => t('Recent Photos')
));
}