Beautyfied code. Link to "follow" on community profiles
This commit is contained in:
parent
3b18c6cb0c
commit
1d71dde7ef
2 changed files with 31 additions and 30 deletions
|
@ -130,7 +130,8 @@ function vier_community_info() {
|
||||||
foreach($r as $rr) {
|
foreach($r as $rr) {
|
||||||
$entry = replace_macros($tpl,array(
|
$entry = replace_macros($tpl,array(
|
||||||
'$id' => $rr['id'],
|
'$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']),
|
'$photo' => proxy_url($rr['photo']),
|
||||||
'$alt_text' => $rr['name'],
|
'$alt_text' => $rr['name'],
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in a new issue