1
0
Fork 0

Issue 1779: There is now an atom feed link under the connect link on the profile page

This commit is contained in:
Michael Vogel 2015-11-28 18:11:34 +01:00
commit 388847e1f3
14 changed files with 37 additions and 5 deletions

View file

@ -216,7 +216,12 @@ if(! function_exists('profile_sidebar')) {
}
if ($connect AND ($profile['network'] != NETWORK_DFRN) AND !isset($profile['remoteconnect']))
$connect = false;
$connect = false;
if ($connect)
$subscribe_feed = t("Atom feed");
else
$subscribe_feed = false;
if (isset($profile['remoteconnect']))
$remoteconnect = $profile['remoteconnect'];
@ -337,6 +342,7 @@ if(! function_exists('profile_sidebar')) {
'$profile' => $p,
'$connect' => $connect,
'$remoteconnect' => $remoteconnect,
'$subscribe_feed' => $subscribe_feed,
'$wallmessage' => $wallmessage,
'$location' => $location,
'$gender' => $gender,