sforkowany z mirror/friendica
use z_root
rodzic
1067718018
commit
5990d62b06
|
@ -23,7 +23,7 @@ function allfriends_content(&$a) {
|
||||||
$vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
$vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
||||||
'$name' => $c[0]['name'],
|
'$name' => $c[0]['name'],
|
||||||
'$photo' => $c[0]['photo'],
|
'$photo' => $c[0]['photo'],
|
||||||
'url' => $a->get_baseurl() . '/contacts/' . $cid
|
'url' => z_root() . '/contacts/' . $cid
|
||||||
));
|
));
|
||||||
|
|
||||||
if(! x($a->page,'aside'))
|
if(! x($a->page,'aside'))
|
||||||
|
|
|
@ -31,7 +31,7 @@ function common_content(&$a) {
|
||||||
$vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
$vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
||||||
'$name' => $c[0]['name'],
|
'$name' => $c[0]['name'],
|
||||||
'$photo' => $c[0]['photo'],
|
'$photo' => $c[0]['photo'],
|
||||||
'url' => $a->get_baseurl() . '/contacts/' . $cid
|
'url' => z_root() . '/contacts/' . $cid
|
||||||
));
|
));
|
||||||
|
|
||||||
if(! x($a->page,'aside'))
|
if(! x($a->page,'aside'))
|
||||||
|
|
Ładowanie…
Reference in New Issue