]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
move html from crepair.php to template
[friendica.git] / mod / follow.php
index 25169e403aa33fc00dcf95a9878ff06c568587d0..54c20e5093ac4924f7891b4dd37a54785c14cc3f 100644 (file)
@@ -67,6 +67,11 @@ function follow_content(&$a) {
        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"] != "")
@@ -76,7 +81,7 @@ function follow_content(&$a) {
 
        $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'))),