friendica/view/templates/directory_header.tpl

29 lines
805 B
Smarty
Raw Normal View History

2013-04-23 13:47:57 +02:00
<h1>{{$sitedir}}</h1>
2015-10-16 21:44:10 +02:00
{{if $gdirpath}}
<ul>
<li><div id="global-directory-link"><a href="{{$gdirpath}}">{{$globaldir}}</a></div></li>
</ul>
{{/if}}
2013-04-23 13:47:57 +02:00
<div id="directory-search-wrapper">
2015-10-16 21:44:10 +02: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 13:47:57 +02:00
</div>
2015-10-16 21:44:10 +02:00
{{if $findterm}}
<h4>{{$finding}} '{{$findterm}}'</h4>
{{/if}}
2013-04-23 13:47:57 +02:00
<div id="directory-search-end"></div>
2015-10-16 21:44:10 +02:00
{{foreach $entries as $entry}}
{{include file="directory_item.tpl"}}
{{/foreach}}
<div class="directory-end" ></div>