when changing cover photo, show existing

This commit is contained in:
zotlabs
2018-04-17 16:29:32 -07:00
parent 02763811b3
commit 0576046d02
3 changed files with 8 additions and 2 deletions
+1
View File
@@ -355,6 +355,7 @@ class Cover_photo extends \Zotlabs\Web\Controller {
$o .= replace_macros($tpl,array(
'$user' => \App::$channel['channel_address'],
'$existing' => get_cover_photo(local_channel(),'array',PHOTO_RES_COVER_850),
'$lbl_upfile' => t('Upload File:'),
'$lbl_profiles' => t('Select a profile:'),
'$title' => t('Change Cover Photo'),