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