mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
remove html and use vcard-widget.tpl
This commit is contained in:
parent
dc182d508e
commit
f309f3a681
6 changed files with 39 additions and 29 deletions
|
@ -28,12 +28,11 @@ function common_content(&$a) {
|
|||
);
|
||||
}
|
||||
|
||||
$a->page['aside'] .= '<div class="vcard">'
|
||||
. '<div class="fn label">' . $c[0]['name'] . '</div>'
|
||||
. '<div id="profile-photo-wrapper">'
|
||||
. '<img class="photo" width="175" height="175"
|
||||
src="' . $c[0]['photo'] . '" alt="' . $c[0]['name'] . '" /></div>'
|
||||
. '</div>';
|
||||
$a->page['aside'] .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
||||
'$name' => $c[0]['name'],
|
||||
'$photo' => $c[0]['photo'],
|
||||
'url' => $a->get_baseurl() . '/contacts/' . $cid
|
||||
));
|
||||
|
||||
|
||||
if(! count($c))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue