connect on suggest/match - added to testbubble
This commit is contained in:
parent
622886a33c
commit
eb05d00794
3 changed files with 13 additions and 1 deletions
|
@ -22,6 +22,14 @@ function follow_init(&$a) {
|
|||
// NOTREACHED
|
||||
}
|
||||
|
||||
|
||||
if(! $url) {
|
||||
notice( t('Connect URL missing.') . EOL);
|
||||
goaway($_SESSION['return_url']);
|
||||
// NOTREACHED
|
||||
}
|
||||
|
||||
|
||||
$ret = probe_url($url);
|
||||
|
||||
if($ret['network'] === NETWORK_DFRN) {
|
||||
|
|
|
@ -54,6 +54,7 @@ function match_content(&$a) {
|
|||
'$url' => $jj->url,
|
||||
'$name' => $jj->name,
|
||||
'$photo' => $jj->photo,
|
||||
'$inttxt' => ' ' . t('is interested in:'),
|
||||
'$conntxt' => t('Connect'),
|
||||
'$connlnk' => $connlnk,
|
||||
'$tags' => $jj->tags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue