1
0
Fork 0

Merge pull request #2110 from annando/1511-subscribe-feed

Issue 1779: Atom feed link under the connect link on the profile page
This commit is contained in:
Tobias Diekershoff 2015-11-29 08:40:39 +01:00
commit be40fb8186
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,