friendica-github/view/templates/directory_header.tpl

37 lines
994 B
Smarty
Raw Normal View History

2024-08-24 18:23:27 +00:00
{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
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">
<form id="directory-search-form" action="{{$search_mod}}" method="get">
2021-11-07 09:18:25 +00:00
<span class="dirsearch-desc">{{$desc}}</span>
<input type="text" name="search" id="directory-search" class="search-input" onfocus="this.select();" value="{{$search}}" />
<input type="submit" name="submit" id="directory-search-submit" value="{{$submit}}" class="button" />
2015-10-16 19:44:10 +00:00
</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>
{{foreach $contacts as $contact}}
{{include file="contact/entry.tpl"}}
2015-10-16 19:44:10 +00:00
{{/foreach}}
<div class="directory-end"></div>
{{$paginate nofilter}}