]> git.mxchange.org Git - friendica.git/blob - view/templates/match.tpl
Vier: The usability with a touch device is improved
[friendica.git] / view / templates / match.tpl
1
2 <div class="profile-match-wrapper">
3         <div class="profile-match-photo" id="contact-entry-photo-{{$id}}"
4                 onmouseover="if (typeof t{{$id}} != 'undefined') clearTimeout(t{{$id}}); openMenu('contact-photo-menu-button-{{$id}}')" 
5                 onmouseout="t{{$id}}=setTimeout('closeMenu(\'contact-photo-menu-button-{{$id}}\'); closeMenu(\'contact-photo-menu-{{$id}}\');',200)" >
6                 <a href="{{$url}}">
7                         <img width="80" height="80" src="{{$photo}}" alt="{{$name}}" title="{{$name}}[{{$tags}}]" />
8                 </a>
9                 {{if $photo_menu}}
10                         <span onclick="openClose('contact-photo-menu-{{$id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$id}}">menu</span>
11                         <div class="contact-photo-menu" id="contact-photo-menu-{{$id}}">
12                                 <ul>
13                                         {{foreach $photo_menu as $k=>$c}}
14                                         {{if $c.2}}
15                                         <li><a class="{{$k}}" target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
16                                         {{else}}
17                                         <li><a class="{{$k}}" href="{{$c.1}}">{{$c.0}}</a></li>
18                                         {{/if}}
19                                         {{/foreach}}
20                                 </ul>
21                         </div>
22                         {{/if}}
23         </div>
24         <div class="profile-match-break"></div>
25         <div class="profile-match-name">
26                 <a href="{{$url}}" title="{{$name}}[{{$tags}}]">{{$name}}</a>
27         </div>
28         <div class="profile-match-end"></div>
29         {{if $connlnk}}
30         <div class="profile-match-connect"><a href="{{$connlnk}}" title="{{$conntxt}}">{{$conntxt}}</a></div>
31         {{/if}}
32
33 </div>