]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/profile_vcard.tpl
revert unnecessary variable name changes
[friendica.git] / view / theme / diabook / 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                                 {{ for $profile.menu.entries as $e }}
10                                 <li>
11                                         <a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a>
12                                 </li>
13                                 {{ endfor }}
14                                 <li><a href="profile_photo" >$profile.menu.chg_photo</a></li>
15                                 <li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li>
16                                 <li><a href="profiles" >$profile.edit.3</a></li>
17                                                                 
18                         </ul>
19                         </div>
20                 {{ endif }}
21         </div>
22                                 
23         
24
25         <div id="profile-photo-wrapper"><img class="photo" src="$profile.photo?rev=$profile.picdate" alt="$profile.name" /></div>
26         {{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
27
28
29         {{ if $location }}
30                 <dl class="location"><dt class="location-label">$location</dt><br> 
31                 <dd class="adr">
32                         {{ if $profile.address }}<div class="street-address">$profile.address</div>{{ endif }}
33                         <span class="city-state-zip">
34                                 <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
35                                 <span class="region">$profile.region</span>
36                                 <span class="postal-code">$profile.postal-code</span>
37                         </span>
38                         {{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }}
39                 </dd>
40                 </dl>
41         {{ endif }}
42
43         {{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }}
44         
45         {{ if $profile.pubkey }}<div class="key" style="display:none;">$profile.pubkey</div>{{ endif }}
46
47         {{ if $marital }}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>$marital</dt><dd class="marital-text">$profile.marital</dd></dl>{{ endif }}
48
49         {{ 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>{{ endif }}
50
51         {{ inc diaspora_vcard.tpl }}{{ endinc }}
52         
53         <div id="profile-extra-links">
54                 <ul>
55                         {{ if $connect }}
56                                 <li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
57                         {{ endif }}
58                 </ul>
59         </div>
60 </div>
61
62 $contact_block
63
64