X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=8bf31ca8e591bf449d489064ad5ec84fa33c0d28;hb=72896b0f6b1677a42970f432485df213318141e9;hp=af16197a04d827a938a8f656cbd8a890ed8a198a;hpb=5837fd4f817c06a723af9ad27298b6bef40e37e5;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index af16197a04..8bf31ca8e5 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -65,7 +65,9 @@ function suggest_content(&$a) { $a->page['aside'] .= findpeople_widget(); - $o .= '

' . t('Friend Suggestions') . '

'; + $o .= replace_macros(get_markup_template("section_title.tpl"),array( + '$title' => t('Friend Suggestions') + )); $r = suggestion_query(local_user()); @@ -79,12 +81,12 @@ function suggest_content(&$a) { foreach($r as $rr) { - $connlnk = $a->get_baseurl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']); + $connlnk = $a->get_baseurl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']); $o .= replace_macros($tpl,array( '$url' => zrl($rr['url']), '$name' => $rr['name'], - '$photo' => proxy_url($rr['photo']), + '$photo' => proxy_url($rr['photo'], false, PROXY_SIZE_THUMB), '$ignlnk' => $a->get_baseurl() . '/suggest?ignore=' . $rr['id'], '$ignid' => $rr['id'], '$conntxt' => t('Connect'),