<div class="generic-content-wrapper-styled">

<h1>{{$header}}{{if $total}} ({{$total}}){{/if}}</h1>

{{if $finding}}<h4>{{$finding}}</h4>{{/if}}

<div id="contacts-search-wrapper">
<form id="contacts-search-form" action="{{$cmd}}" method="get" >
<span class="contacts-search-desc">{{$desc}}</span>
<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="{{$search}}" />
<input type="submit" name="submit" id="contacts-search-submit" class="btn btn-default" value="{{$submit}}" />
</form>
</div>
<div id="contacts-search-end"></div>

{{$tabs}}

<div id="connections-wrapper">
{{foreach $contacts as $contact}}
	{{include file="connection_template.tpl"}}
{{/foreach}}
<div id="page-end"></div>
</div>
<div id="contact-edit-end"></div>
</div>
<script>$(document).ready(function() { loadingPage = false;});</script>
<div id="page-spinner"></div>