mirror of
https://github.com/friendica/friendica
synced 2024-11-16 00:53:54 +00:00
28 lines
1.2 KiB
Smarty
28 lines
1.2 KiB
Smarty
{{*
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*}}
|
|
<span id="saved-search-list-inflated" class="widget inflated fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
|
|
<h3>{{$title}}</h3>
|
|
</span>
|
|
<div class="widget" id="saved-search-list">
|
|
<span class="fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
|
|
<h3 id="search">{{$title}}</h3>
|
|
</span>
|
|
{{$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?term={{$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.searchpath}}" id="saved-search-term-{{$search.id}}" class="savedsearchterm">{{$search.term}}</a>
|
|
</li>
|
|
{{/foreach}}
|
|
</ul>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<script>
|
|
initWidget('saved-search-list', 'saved-search-list-inflated');
|
|
</script>
|