<div class="contact-wrapper media" id="contact-entry-wrapper-{{$id}}" >
-
+
+ {{* This is a wrapper for the contact picture and the dropdown menu with contact relating actions *}}
<div class="contact-photo-wrapper dropdown pull-left" >
<div class="contact-photo mframe" id="contact-entry-photo-{{$contact.id}}" >
</div>
<div class="media-body">
+ {{* The contact description (e.g. Name, Network, kind of connection and so on *}}
<div class="contact-entry-desc">
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >
<h4 class="media-heading">{{$contact.name}}
{{if $contact.network}}<div class="contact-entry-details" id="contact-entry-network-{{$contact.id}}" >{{$contact.network}}</div>{{/if}}
</div>
+ {{* The checkbox to perform batch actions to these contacts (for batch actions have a look at contacts-template.tpl) *}}
{{* if !$no_contacts_checkbox *}}
{{if $multiselect}}
<div class="checkbox contact-entry-checkbox pull-right">
</div>
{{/if}}
</div>
-
</div>
{{$tabs}}
+ {{* The page headding with it's contacts counter *}}
<h2 class="headding">{{$header}} {{if $total}} ({{$total}}) {{/if}}</h2>
{{if $finding}}<h4>{{$finding}}</h4>{{/if}}
+ {{* The search input field to search for contacts *}}
<div id="contacts-search-wrapper">
<form id="contacts-search-form" class="navbar-form" action="{{$cmd}}" method="get" >
<label for="contacts-search" class="contacts-search-desc">{{$desc}}</label><br/>
<hr>
<div id="contacts-search-end"></div>
+ {{* we need the form container to make batch actions work *}}
<form action="{{$baseurl}}/contacts/batch/" method="POST">
+ {{* We put the contact batch actions in a dropdown menu *}}
<ul class="nav nav-pills preferences">
<li class="dropdown pull-right">
<a class="btn btn-link dropdown-toggle" type="button" id="BatchActionDropdownMenuTools" data-toggle="dropdown" aria-expanded="true">
</ul>
<div class="clear">
+ {{* format each contact with the contact_template.tpl *}}
<ul id="viewcontact_wrapper" class="viewcontact_wrapper media-list">
{{foreach $contacts as $contact}}
<li>{{include file="contact_template.tpl"}}</li>
{{$paginate}}
</div>
+{{* The modals for Poke and Messages
+this needs to be removed and do it with js *}}
<div class="modal" id="PokeModal" tabindex="-1" role="dialog" aria-labelledby="PokeModal" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">