]> git.mxchange.org Git - friendica.git/blob - view/theme/frost-mobile/templates/contact_template.tpl
Vier: The usability with a touch device is improved
[friendica.git] / view / theme / frost-mobile / templates / contact_template.tpl
1
2
3 <div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
4         <div class="contact-entry-photo-wrapper" >
5                 <div class="contact-entry-photo mframe" id="contact-entry-photo-{{$contact.id}}"
6                 onmouseover="if (typeof t{{$contact.id}} != 'undefined') clearTimeout(t{{$contact.id}});" 
7                 onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-{{$contact.id}}\');',200)" >
8
9 {{*<!--                 <a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" /></a>-->*}}
10                         <span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">
11                         <img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
12                         </span>
13
14                         {{if $contact.photo_menu}}
15 {{*<!--                 <span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">menu</span>-->*}}
16                 <div class="contact-photo-menu" id="contact-photo-menu-{{$contact.id}}">
17                     <ul>
18                                                 {{foreach $contact.photo_menu as $c}}
19                                                 {{if $c.2}}
20                                                 <li><a target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
21                                                 {{else}}
22                                                 <li><a href="{{$c.1}}">{{$c.0}}</a></li>
23                                                 {{/if}}
24                                                 {{/foreach}}
25                     </ul>
26                 </div>
27                         {{/if}}
28                 </div>
29                         
30         </div>
31         <div class="contact-entry-photo-end" ></div>
32                 <div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div><br />
33 {{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
34         <div class="contact-entry-network" id="contact-entry-network-{{$contact.id}}" >{{$contact.network}}</div>
35
36         <div class="contact-entry-end" ></div>
37 </div>