2016-04-20 20:14:37 -04:00
|
|
|
|
|
|
|
{{if $gdirpath}}
|
2016-04-20 20:36:29 -04:00
|
|
|
<ul class="list-unstyled pull-right">
|
2016-04-20 20:14:37 -04:00
|
|
|
<li><div id="global-directory-link"><a href="{{$gdirpath}}">{{$globaldir}}</a></div></li>
|
|
|
|
</ul>
|
|
|
|
{{/if}}
|
|
|
|
|
2016-04-20 20:36:29 -04:00
|
|
|
{{include file="section_title.tpl"}}
|
|
|
|
|
|
|
|
|
|
|
|
{{if $findterm}}
|
|
|
|
<h4 class="search-headding">{{$finding}} {{$findterm}}</h4>
|
|
|
|
{{/if}}
|
|
|
|
|
2016-04-20 20:14:37 -04:00
|
|
|
{{* The search input field to search for contacts *}}
|
|
|
|
<div id="directory-search-wrapper">
|
|
|
|
<form id="directory-search-form" class="navbar-form" role="search" action="directory" method="get" >
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2"></div>
|
|
|
|
<div class="col-md-8 ">
|
|
|
|
<div class="form-group form-group-search">
|
|
|
|
<input type="text" name="search" id="directory-search" class="search-input form-control form-search" onfocus="this.select();" value="{{$search|escape:'html'}}" placeholder="{{$desc}}"/>
|
|
|
|
<button class="btn btn-default btn-sm form-button-search" type="submit" name="submit" id="directory-search-submit" value="{{$submit|escape:'html'}}">{{$submit}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2"></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<div id="directory-search-end"></div>
|
|
|
|
|
|
|
|
{{* 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>
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="directory-end" ></div>
|
|
|
|
|
|
|
|
{{$paginate}}
|