]> git.mxchange.org Git - friendica.git/blob - view/theme/duepuntozero/profile_vcard.tpl
Implement Smarty3
[friendica.git] / view / theme / duepuntozero / 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>{{ endif }}
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>{{ endif }}
16                         <span class="city-state-zip">
17                                 <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
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>{{ endif }}
22                 </dd>
23                 </dl>
24         {{ endif }}
25
26         {{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }}
27         
28         {{ if $profile.pubkey }}<div class="key" style="display:none;">$profile.pubkey</div>{{ endif }}
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>{{ endif }}
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>{{ endif }}
33
34         {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
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                         {{ endif }}
42                         {{ if $wallmessage }}
43                                 <li><a id="wallmessage-link" href="wallmessage/$profile.nickname">$wallmessage</a></li>
44                         {{ endif }}
45                 </ul>
46         </div>
47 </div>
48
49 $contact_block
50
51