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"}
37 {
loop="$value.inputs"}
50 {
include="linklist.paging"}
52 <div id=
"plugin_zone_start_linklist" class=
"plugin_zone">
53 {
loop="$plugin_start_zone"}
58 {
if="count($links)==
0"}
59 <div id=
"searchcriteria">Nothing found.
</div>
60 {
elseif="!empty($search_term) or !empty($search_tags)"}
61 <div id=
"searchcriteria">
62 {$result_count} results
63 {
if="!empty($search_term)"}
64 for
<em>{$search_term}
</em>
66 {
if="!empty($search_tags)"}
67 {$exploded_tags=explode(' ', $search_tags)}
69 {
loop="$exploded_tags"}
70 <span class=
"linktag" title=
"Remove tag">
71 <a href=
"?removetag={function="urlencode($value)
"}">{$value}
<span class=
"remove">x
</span></a>
79 <li{
if=
"$value.class"}
class=
"{$value.class}"{/if}
>
80 <a id=
"{$value.shorturl}"></a>
81 <div class=
"thumbnail">{$value.url|thumbnail}
</div>
82 <div class=
"linkcontainer">
84 <div class=
"linkeditbuttons">
85 <form method=
"GET" class=
"buttoneditform">
86 <input type=
"hidden" name=
"edit_link" value=
"{$value.linkdate}">
87 <input type=
"image" alt=
"Edit" src=
"images/edit_icon.png#" title=
"Edit" class=
"button_edit">
89 <form method=
"POST" class=
"buttoneditform">
90 <input type=
"hidden" name=
"lf_linkdate" value=
"{$value.linkdate}">
91 <input type=
"hidden" name=
"token" value=
"{$token}">
92 <input type=
"hidden" name=
"delete_link">
93 <input type=
"image" alt=
"Delete" src=
"images/delete_icon.png#" title=
"Delete"
94 class=
"button_delete" onClick=
"return confirmDeleteLink();">
98 <span class=
"linktitle">
99 <a href=
"{$value.real_url}">{$value.title}
</a>
102 {
if="$value.description"}
<div class=
"linkdescription">{$value.description}
</div>{/if}
103 {
if="!$hide_timestamps || isLoggedIn()"}
104 {$updated=$value.updated_timestamp ? 'Edited: '. strftime('%c', $value.updated_timestamp) : 'Permalink'}
105 <span class=
"linkdate" title=
"Permalink">
106 <a href=
"?{$value.linkdate|smallHash}">
107 <span title=
"{$updated}">
108 {
function="strftime('%c', $value.timestamp)"}
109 {
if="$value.updated_timestamp"}*{/if}
115 <span class=
"linkdate" title=
"Short link here"><a href=
"?{$value.shorturl}">permalink
</a> -
</span>
118 {
loop="$value.link_plugin"}
119 <span>{$value}
</span> -
122 <a href=
"{$value.real_url}"><span class=
"linkurl" title=
"Short link">{$value.url}
</span></a><br>
124 <div class=
"linktaglist">
125 {
loop="$value.taglist"}
<span class=
"linktag" title=
"Add tag"><a href=
"?addtag={$value|urlencode}">{$value}
</a></span> {/loop}
135 <div id=
"plugin_zone_end_linklist" class=
"plugin_zone">
136 {
loop="$plugin_end_zone"}
141 {
include="linklist.paging"}
145 {
include="page.footer"}
147 <script src=
"inc/awesomplete.min.js#"></script>
148 <script src=
"inc/awesomplete-multiple-tags.js#"></script>
150 awesompleteUniqueTag('#tagfilter_value');