4 <link type=
"text/css" rel=
"stylesheet" href=
"../inc/awesomplete.css" />
9 {
include="page.header"}
11 <div id=
"headerform" class=
"search">
12 <form method=
"GET" class=
"searchform" name=
"searchform">
13 <input type=
"text" tabindex=
"1" id=
"searchform_value" name=
"searchterm" placeholder=
"Search text"
14 {
if=
"!empty($search_term)"}
15 value=
"{$search_term}"
18 <input type=
"submit" value=
"Search" class=
"bigbutton">
20 <form method=
"GET" class=
"tagfilter" name=
"tagfilter">
21 <input type=
"text" tabindex=
"2" name=
"searchtags" id=
"tagfilter_value" placeholder=
"Filter by tag"
22 {
if=
"!empty($search_tags)"}
23 value=
"{$search_tags}"
25 autocomplete=
"off" class=
"awesomplete" data-multiple
data-minChars=
"1"
26 data-list=
"{loop="$tags
"}{$key}, {/loop}"
28 <input type=
"submit" value=
"Search" class=
"bigbutton">
30 {
loop="$plugins_header.fields_toolbar"}
38 {
include="linklist.paging"}
40 <div id=
"plugin_zone_start_linklist" class=
"plugin_zone">
41 {
loop="$plugin_start_zone"}
46 {
if="count($links)==
0"}
47 <div id=
"searchcriteria">Nothing found.
</div>
48 {
elseif="!empty($search_term) or !empty($search_tags)"}
49 <div id=
"searchcriteria">
50 {$result_count} results
51 {
if="!empty($search_term)"}
52 for
<em>{$search_term}
</em>
54 {
if="!empty($search_tags)"}
55 {$exploded_tags=explode(' ', $search_tags)}
57 {
loop="$exploded_tags"}
58 <span class=
"linktag" title=
"Remove tag">
59 <a href=
"?removetag={function="urlencode($value)
"}">{$value}
<span class=
"remove">x
</span></a>
67 <li{
if=
"$value.class"}
class=
"{$value.class}"{/if}
>
68 <a id=
"{$value.shorturl}"></a>
69 <div class=
"thumbnail">{$value.url|thumbnail}
</div>
70 <div class=
"linkcontainer">
72 <div class=
"linkeditbuttons">
73 <form method=
"GET" class=
"buttoneditform">
74 <input type=
"hidden" name=
"edit_link" value=
"{$value.linkdate}">
75 <input type=
"image" alt=
"Edit" src=
"images/edit_icon.png#" title=
"Edit" class=
"button_edit">
77 <form method=
"POST" class=
"buttoneditform">
78 <input type=
"hidden" name=
"lf_linkdate" value=
"{$value.linkdate}">
79 <input type=
"hidden" name=
"token" value=
"{$token}">
80 <input type=
"hidden" name=
"delete_link">
81 <input type=
"image" alt=
"Delete" src=
"images/delete_icon.png#" title=
"Delete"
82 class=
"button_delete" onClick=
"return confirmDeleteLink();">
86 <span class=
"linktitle">
87 <a href=
"{$value.real_url}">{$value.title}
</a>
90 {
if="$value.description"}
<div class=
"linkdescription">{$value.description}
</div>{/if}
91 {
if="!$hide_timestamps || isLoggedIn()"}
92 <span class=
"linkdate" title=
"Permalink"><a href=
"?{$value.linkdate|smallHash}">{
function="strftime('%c', $value.timestamp)"} - permalink
</a> -
</span>
94 <span class=
"linkdate" title=
"Short link here"><a href=
"?{$value.shorturl}">permalink
</a> -
</span>
97 {
loop="$value.link_plugin"}
98 <span>{$value}
</span> -
101 <a href=
"{$value.real_url}"><span class=
"linkurl" title=
"Short link">{$value.url}
</span></a><br>
103 <div class=
"linktaglist">
104 {
loop="value.taglist"}
<span class=
"linktag" title=
"Add tag"><a href=
"?addtag={$value|urlencode}">{$value}
</a></span> {/loop}
114 <div id=
"plugin_zone_end_linklist" class=
"plugin_zone">
115 {
loop="$plugin_end_zone"}
120 {
include="linklist.paging"}
124 {
include="page.footer"}
126 <script src=
"inc/awesomplete.min.js#"></script>
127 <script src=
"inc/awesomplete-multiple-tags.js#"></script>
129 awesompleteUniqueTag('#tagfilter_value');