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
|
|
|
|
*}}
|
2024-07-04 22:15:19 +00:00
|
|
|
<span id="saved-search-list-inflated" class="widget inflated fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
|
2020-01-09 06:53:33 +00:00
|
|
|
<h3>{{$title}}</h3>
|
|
|
|
</span>
|
2020-01-11 08:41:14 +00:00
|
|
|
<div class="widget" id="saved-search-list">
|
|
|
|
<span class="fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
|
2020-01-09 06:53:33 +00:00
|
|
|
<h3 id="search">{{$title}}</h3>
|
|
|
|
</span>
|
2019-10-07 18:13:31 +00:00
|
|
|
{{$searchbox nofilter}}
|
2024-07-04 22:15:19 +00:00
|
|
|
|
2019-10-07 18:13:31 +00:00
|
|
|
<ul role="menu" id="saved-search-ul">
|
|
|
|
{{foreach $saved as $search}}
|
|
|
|
<li role="menuitem" class="saved-search-li clear">
|
2019-10-13 12:39:41 +00:00
|
|
|
<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>
|
2020-05-17 13:51:56 +00:00
|
|
|
<a href="{{$search.searchpath}}" id="saved-search-term-{{$search.id}}" class="savedsearchterm">{{$search.term}}</a>
|
2019-10-07 18:13:31 +00:00
|
|
|
</li>
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
2020-01-11 08:41:14 +00:00
|
|
|
<script>
|
|
|
|
initWidget('saved-search-list', 'saved-search-list-inflated');
|
|
|
|
</script>
|