mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
Merge pull request #1428 from FlxAlbroscheit/develop
Access a contact directly from the contact-manager-page
This commit is contained in:
commit
dd21750d90
2 changed files with 4 additions and 3 deletions
|
@ -32,7 +32,8 @@ function contacts_init(&$a) {
|
|||
$a->data['contact'] = $r[0];
|
||||
$vcard_widget = replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
||||
'$name' => $a->data['contact']['name'],
|
||||
'$photo' => $a->data['contact']['photo']
|
||||
'$photo' => $a->data['contact']['photo'],
|
||||
'$url' => $a->data['contact']['url']
|
||||
));
|
||||
$follow_widget = '';
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
<div class="vcard">
|
||||
<div class="fn">{{$name}}</div>
|
||||
<div id="profile-photo-wrapper"><img class="photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></div>
|
||||
<div class="fn"><a href="{{$url}}">{{$name}}</a></div>
|
||||
<div id="profile-photo-wrapper"><a href="{{$url}}"><img class="photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></a></div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue