]> git.mxchange.org Git - friendica.git/blob - view/theme/frost/smarty3/profile_vcard.tpl
Implement Smarty3
[friendica.git] / view / theme / frost / smarty3 / profile_vcard.tpl
1 <div class="vcard">
2
3         <div class="fn label">{{$profile.name}}</div>
4         
5                                 
6         
7         {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
8         <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div>
9
10
11
12         {{if $location}}
13                 <dl class="location"><dt class="location-label">{{$location}}</dt> 
14                 <dd class="adr">
15                         {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
16                         <span class="city-state-zip">
17                                 <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
18                                 <span class="region">{{$profile.region}}</span>
19                                 <span class="postal-code">{{$profile.postal-code}}</span>
20                         </span>
21                         {{if $profile.country-name}}<span class="country-name">{{$profile.country-name}}</span>{{/if}}
22                 </dd>
23                 </dl>
24         {{/if}}
25
26         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}}
27         
28         {{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
29
30         {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}}
31
32         {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
33
34         {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
35
36         <div id="profile-vcard-break"></div>    
37         <div id="profile-extra-links">
38                 <ul>
39                         {{if $connect}}
40                                 <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
41                         {{/if}}
42                         {{if $wallmessage}}
43                                 <li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
44                         {{/if}}
45                 </ul>
46         </div>
47 </div>
48
49 {{$contact_block}}
50
51