friendica_2021-01/view/theme/quattro/templates/widget/saved_searches.tpl

16 lines
552 B
Smarty
Raw Normal View History

<div id="saved-search-list" class="widget">
<h3 class="title">{{$title}}</h3>
<ul id="saved-search-ul">
{{foreach $saved as $search}}
<li class="tool {{if $search.selected}}selected{{/if}}">
<a href="search?q={{$search.encodedterm}}" class="label">{{$search.term}}</a>
<a href="search/saved/remove?term={{$search.encodedterm}}&amp;return_url={{$return_url}}" class="action icon s10 delete" title="{{$search.delete}}" onclick="return confirmDelete();"></a>
</li>
{{/foreach}}
</ul>
{{$searchbox nofilter}}
</div>