2015-10-22 20:48:49 +00:00
|
|
|
{{* todo: better layout and implement $contact.details and other variables *}}
|
|
|
|
|
2013-04-23 11:47:57 +00:00
|
|
|
|
|
|
|
<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
|
|
|
|
<div class="contact-entry-photo-wrapper" >
|
|
|
|
<div class="contact-entry-photo mframe" id="contact-entry-photo-{{$contact.id}}"
|
|
|
|
onmouseover="if (typeof t{{$contact.id}} != 'undefined') clearTimeout(t{{$contact.id}}); openMenu('contact-photo-menu-button-{{$contact.id}}')"
|
|
|
|
onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-button-{{$contact.id}}\'); closeMenu(\'contact-photo-menu-{{$contact.id}}\');',200)" >
|
|
|
|
|
|
|
|
<a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" /></a>
|
|
|
|
|
2015-10-18 15:12:48 +00:00
|
|
|
{{if $multiselect}}
|
2013-12-17 10:19:06 +00:00
|
|
|
<input type="checkbox" class="contact-select" name="contact_batch[]" value="{{$contact.id}}">
|
2015-06-23 08:09:27 +00:00
|
|
|
{{/if}}
|
2015-10-18 15:12:48 +00:00
|
|
|
|
2013-04-23 11:47:57 +00:00
|
|
|
{{if $contact.photo_menu}}
|
|
|
|
<span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">menu</span>
|
2015-06-23 08:09:27 +00:00
|
|
|
<div class="contact-photo-menu" id="contact-photo-menu-{{$contact.id}}">
|
|
|
|
<ul>
|
|
|
|
{{foreach $contact.photo_menu as $k=>$c}}
|
|
|
|
{{if $c.2}}
|
|
|
|
<li><a class="{{$k}}" target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
|
|
|
|
{{else}}
|
|
|
|
<li><a class="{{$k}}" href="{{$c.1}}">{{$c.0}}</a></li>
|
|
|
|
{{/if}}
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-04-23 11:47:57 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="contact-entry-photo-end" ></div>
|
2015-06-23 08:09:27 +00:00
|
|
|
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div>
|
2013-04-23 11:47:57 +00:00
|
|
|
|
|
|
|
<div class="contact-entry-end" ></div>
|
|
|
|
</div>
|