mirror of
https://github.com/friendica/friendica
synced 2025-04-24 01:10:11 +00:00
two-way subscriptions working with federated social accounts
This commit is contained in:
parent
1335ef7595
commit
c16f314ec3
15 changed files with 356 additions and 34 deletions
|
@ -472,13 +472,17 @@ function dfrn_request_content(&$a) {
|
|||
return; // NOTREACHED
|
||||
}
|
||||
else {
|
||||
|
||||
$myaddr = ((x($_GET,'address')) ? urldecode($_GET['address']) : '');
|
||||
// Normal web request. Display our user's introduction form.
|
||||
if($a->profile['page-flags'] == PAGE_NORMAL)
|
||||
$tpl = load_view_file('view/dfrn_request.tpl');
|
||||
else
|
||||
$tpl = load_view_file('view/auto_request.tpl');
|
||||
$o .= replace_macros($tpl,array('$nickname' => $a->argv[1]));
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$nickname' => $a->argv[1],
|
||||
'$name' => $a->profile['name'],
|
||||
'$myaddr' => $myaddr
|
||||
));
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue