Bugfix: Only show the feed link for local profiles

This commit is contained in:
Michael Vogel 2015-11-29 12:02:14 +01:00
父節點 a770be3cb6
當前提交 1cd06df5fa
共有 1 個檔案被更改,包括 5 行新增5 行删除

查看文件

@ -218,15 +218,15 @@ if(! function_exists('profile_sidebar')) {
if ($connect AND ($profile['network'] != NETWORK_DFRN) AND !isset($profile['remoteconnect']))
$connect = false;
if ($connect)
if (isset($profile['remoteconnect']))
$remoteconnect = $profile['remoteconnect'];
if ($connect AND ($profile['network'] == NETWORK_DFRN) AND !isset($remoteconnect))
$subscribe_feed = t("Atom feed");
else
$subscribe_feed = false;
if (isset($profile['remoteconnect']))
$remoteconnect = $profile['remoteconnect'];
if( get_my_url() && $profile['unkmail'] && ($profile['uid'] != local_user()) )
if(get_my_url() && $profile['unkmail'] && ($profile['uid'] != local_user()))
$wallmessage = t('Message');
else
$wallmessage = false;