1
0
Fork 0

The global contacts now contain the network name so that the suggestions can select between this.

This commit is contained in:
Michael Vogel 2015-01-08 07:59:20 +01:00
commit 8f1cfac20a
5 changed files with 59 additions and 25 deletions

View file

@ -44,13 +44,15 @@ function suggest_init(&$a) {
}
}
function suggest_content(&$a) {
require_once("mod/proxy.php");
$o = '';
if(! local_user()) {
notice( t('Permission denied.') . EOL);
@ -82,7 +84,7 @@ function suggest_content(&$a) {
$o .= replace_macros($tpl,array(
'$url' => zrl($rr['url']),
'$name' => $rr['name'],
'$photo' => $rr['photo'],
'$photo' => proxy_url($rr['photo']),
'$ignlnk' => $a->get_baseurl() . '/suggest?ignore=' . $rr['id'],
'$ignid' => $rr['id'],
'$conntxt' => t('Connect'),