aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-09 21:20:55 -0800
committerfriendica <info@friendica.com>2013-12-09 21:20:55 -0800
commited9f10872240231125007cf32b95007281558cac (patch)
tree06686896c308c5ad30becb62f3e236b311ab238b /view/tpl
parent251720bfd32541901b9e845651dbc037b34065e2 (diff)
downloadvolse-hubzilla-ed9f10872240231125007cf32b95007281558cac.tar.gz
volse-hubzilla-ed9f10872240231125007cf32b95007281558cac.tar.bz2
volse-hubzilla-ed9f10872240231125007cf32b95007281558cac.zip
comanchify the savedsearch widget
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/saved_searches.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/view/tpl/saved_searches.tpl b/view/tpl/saved_searches.tpl
new file mode 100644
index 000000000..bdff72ba1
--- /dev/null
+++ b/view/tpl/saved_searches.tpl
@@ -0,0 +1,14 @@
+<div class="widget" id="saved-search-list">
+ <h3 id="search">{{$title}}</h3>
+ {{$searchbox}}
+
+ <ul id="saved-search-ul">
+ {{foreach $saved as $search}}
+ <li id="search-term-{{$search.id}}" class="saved-search-li clear">
+ <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="{{$search.dellink}}"><i id="dropicon-saved-search-term-{{$search.id}}" class="icon-remove drop-icons iconspacer savedsearchdrop" ></i></a>
+ <a id="saved-search-term-{{$search.id}}" class="savedsearchterm{{if $search.selected}} search-selected{{/if}}" href="{{$search.srchlink}}">{{$search.displayterm}}</a>
+ </li>
+ {{/foreach}}
+ </ul>
+ <div class="clear"></div>
+</div>