if (!$r)
$r = array(array("location" => "", "about" => "", "keywords" => ""));
+ if($ret['network'] === NETWORK_DIASPORA) {
+ $r[0]["location"] = "";
+ $r[0]["about"] = "";
+ }
+
$header = $ret["name"];
if ($ret["addr"] != "")
$o = replace_macros($tpl,array(
'$header' => htmlentities($header),
- '$photo' => proxy_url($ret["photo"]),
+ '$photo' => proxy_url($ret["photo"], false, PROXY_SIZE_SMALL),
'$desc' => "",
'$pls_answer' => t('Please answer the following:'),
'$does_know_you' => array('knowyou', sprintf(t('Does %s know you?'),$ret["name"]), false, '', array(t('No'),t('Yes'))),