friendica-github/view/templates/widget/saved_searches.tpl
2019-10-07 14:27:46 -04:00

15 lines
650 B
Smarty

<div class="widget" id="saved-search-list">
<h3 id="search">{{$title}}</h3>
{{$searchbox nofilter}}
<ul role="menu" id="saved-search-ul">
{{foreach $saved as $search}}
<li role="menuitem" class="saved-search-li clear">
<a href="search/saved/remove/{{$search.encodedterm}}?return_url={{$return_url}}" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop"></a>
<a href="search?q={{$search.encodedterm}}" id="saved-search-term-{{$search.id}}" class="savedsearchterm">{{$search.term}}</a>
</li>
{{/foreach}}
</ul>
<div class="clear"></div>
</div>