friendica-github/view/templates/directory_header.tpl

32 lines
836 B
Smarty
Raw Normal View History

2015-10-17 17:45:57 +00:00
{{include file="section_title.tpl"}}
2013-04-23 11:47:57 +00:00
2015-10-16 19:44:10 +00:00
{{if $gdirpath}}
<ul>
<li><div id="global-directory-link"><a href="{{$gdirpath}}">{{$globaldir}}</a></div></li>
</ul>
{{/if}}
2013-04-23 11:47:57 +00:00
<div id="directory-search-wrapper">
2015-10-16 19:44:10 +00:00
<form id="directory-search-form" action="directory" method="get" >
<span class="dirsearch-desc">{{$desc}}</span>
<input type="text" name="search" id="directory-search" class="search-input" onfocus="this.select();" value="{{$search|escape:'html'}}" />
<input type="submit" name="submit" id="directory-search-submit" value="{{$submit|escape:'html'}}" class="button" />
</form>
2013-04-23 11:47:57 +00:00
</div>
2015-10-16 19:44:10 +00:00
{{if $findterm}}
<h4>{{$finding}} '{{$findterm}}'</h4>
{{/if}}
2013-04-23 11:47:57 +00:00
<div id="directory-search-end"></div>
2015-10-16 19:44:10 +00:00
{{foreach $entries as $entry}}
{{include file="directory_item.tpl"}}
{{/foreach}}
<div class="directory-end" ></div>
{{$paginate}}