'$select'=>sprintf('%s %s',t('or'),($newuser)?'<a href="'.z_root().'">'.t('skip this step').'</a>':'<a href="'.z_root().'/photos/'.\App::$channel['channel_address'].'">'.t('select a photo from your photo albums').'</a>')
/// @FIXME - yuk
'$select'=>sprintf('%s %s',t('or'),($newuser)?'<a href="'.z_root().'">'.t('skip this step').'</a>':'<a href="'.z_root().'/photos/'.\App::$channel['channel_address'].'">'.t('select a photo from your photo albums').'</a>')
));
call_hooks('cover_photo_content_end',$o);
...
...
@@ -370,14 +374,14 @@ class Cover_photo extends \Zotlabs\Web\Controller {
$resolution=3;
$tpl=get_markup_template("cropcover.tpl");
$o.=replace_macros($tpl,array(
'$filename'=>$filename,
'$profile'=>intval($_REQUEST['profile']),
'$resource'=>\App::$data['imagecrop'].'-3',
'$image_url'=>z_root().'/photo/'.$filename,
'$title'=>t('Crop Image'),
'$desc'=>t('Please adjust the image cropping for optimum viewing.'),
'$filename'=>$filename,
'$profile'=>intval($_REQUEST['profile']),
'$resource'=>\App::$data['imagecrop'].'-3',
'$image_url'=>z_root().'/photo/'.$filename,
'$title'=>t('Crop Image'),
'$desc'=>t('Please adjust the image cropping for optimum viewing.'),