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