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