X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=e07e9331146cd1ec8efa4840de23eeb3763d37dd;hb=dcfcd6f906e9b7a10d4e733ff53879149c05e80a;hp=a86b412b3235e7484d9a6fe9f92e412e84b64bb7;hpb=93143702ed5fe88c0fce77d778d86ec651d4331e;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index a86b412b32..e07e933114 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -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); @@ -63,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()); @@ -82,7 +86,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'),