Beautyfied code. Link to "follow" on community profiles

This commit is contained in:
Michael Vogel 2015-10-04 14:40:02 +02:00
parent 3b18c6cb0c
commit 1d71dde7ef
2 changed files with 31 additions and 30 deletions

View file

@ -130,7 +130,8 @@ function vier_community_info() {
foreach($r as $rr) {
$entry = replace_macros($tpl,array(
'$id' => $rr['id'],
'$profile_link' => zrl($rr['url']),
//'$profile_link' => zrl($rr['url']),
'$profile_link' => $a->get_baseurl().'/follow/?url='.urlencode($rr['url']),
'$photo' => proxy_url($rr['photo']),
'$alt_text' => $rr['name'],
));