{{$tabs nofilter}}
{{* The page heading with it's contacts counter *}}
{{$header}} {{if $total}} ({{$total}}) {{/if}}
{{if $finding}}
{{$finding}}
{{/if}} {{* The search input field to search for contacts *}}
{{$submit}}
{{* we need the form container to make batch actions work *}}
{{* we put here a hidden input element. This is needed to transmit the batch actions with javascript*}}
{{* We put the contact batch actions in a dropdown menu *}}
{{$h_batch_actions}}
{{foreach $batch_actions as $n=>$l}}
{{* call the js batch_submit_handler. Have a look at the file mod_contacts.js *}}
{{$l}}
{{/foreach}}
{{* format each contact with the contact_template.tpl *}}
{{foreach $contacts as $contact}}
{{include file="contact_template.tpl"}}
{{/foreach}}
{{$paginate nofilter}}