]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/templates/profile_vcard.tpl
Merge pull request #866 from annando/master
[friendica.git] / view / theme / quattro / templates / 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                             {{if $profile.menu.entries}}
15                                 {{foreach $profile.menu.entries as $e}}
16                                 <li>
17                                         <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a>
18                                 </li>
19                                 {{/foreach}}
20                         {{else}}
21                                 <li>
22                                         <a href="{{$profile.edit.0}}">{{$profile.edit.1}}</a>
23                                 </li>
24                         {{/if}}
25                                 <li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li>
26                                 {{if $profile.menu.cr_new }}
27                                 <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>
28                                 {{/if}}
29                         </ul>
30                         </div>
31                 {{/if}}
32         </div>
33
34
35         {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
36         <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
37
38
39
40         {{if $location}}
41                 <dl class="location"><dt class="location-label">{{$location}}</dt> 
42                 <dd class="adr">
43                         {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
44                         <span class="city-state-zip">
45                                 <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
46                                 <span class="region">{{$profile.region}}</span>
47                                 <span class="postal-code">{{$profile.postal_code}}</span>
48                         </span>
49                         {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}}
50                 </dd>
51                 </dl>
52         {{/if}}
53
54         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}}
55         
56         {{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
57
58         {{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}}
59
60         {{if $homepage}}<dl class="homepage"><dt
61         class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a
62         href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
63
64         {{include file="diaspora_vcard.tpl"}}
65         
66         <div id="profile-extra-links">
67                 <ul>
68                         {{if $connect}}
69                                 <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
70                         {{/if}}
71                         {{if $wallmessage}}
72                                 <li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
73                         {{/if}}
74                 </ul>
75         </div>
76 </div>
77
78 {{$contact_block}}
79
80