]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/smarty3/profile_vcard.tpl
template engine rework
[friendica.git] / view / theme / quattro / smarty3 / profile_vcard.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <div class="vcard">
7
8         <div class="tool">
9                 <div class="fn label">{{$profile.name}}</div>
10                 {{if $profile.edit}}
11                         <div class="action">
12                         <a class="icon s16 edit ttright" href="#" rel="#profiles-menu" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
13                         <ul id="profiles-menu" class="menu-popup">
14                                 {{foreach $profile.menu.entries as $e}}
15                                 <li>
16                                         <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a>
17                                 </li>
18                                 {{/foreach}}
19                                 <li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li>
20                                 <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>
21                                 
22                         </ul>
23                         </div>
24                 {{/if}}
25         </div>
26
27
28         {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
29         <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
30
31
32
33         {{if $location}}
34                 <dl class="location"><dt class="location-label">{{$location}}</dt> 
35                 <dd class="adr">
36                         {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
37                         <span class="city-state-zip">
38                                 <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
39                                 <span class="region">{{$profile.region}}</span>
40                                 <span class="postal-code">{{$profile.postal_code}}</span>
41                         </span>
42                         {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}}
43                 </dd>
44                 </dl>
45         {{/if}}
46
47         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}}
48         
49         {{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
50
51         {{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}}
52
53         {{if $homepage}}<dl class="homepage"><dt
54         class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a
55         href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
56
57         {{include file="diaspora_vcard.tpl"}}
58         
59         <div id="profile-extra-links">
60                 <ul>
61                         {{if $connect}}
62                                 <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
63                         {{/if}}
64                         {{if $wallmessage}}
65                                 <li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
66                         {{/if}}
67                 </ul>
68         </div>
69 </div>
70
71 {{$contact_block}}
72
73