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