]>
Commit | Line | Data |
---|---|---|
45034273 SS |
1 | <!DOCTYPE html> |
2 | <html> | |
65d62517 A |
3 | <head> |
4 | <link type="text/css" rel="stylesheet" href="../inc/awesomplete.css" /> | |
5 | {include="includes"} | |
6 | </head> | |
45034273 SS |
7 | <body> |
8 | <div id="pageheader"> | |
af77b2fd | 9 | {include="page.header"} |
c133612f | 10 | <div id="headerform" class="search"> |
0923a2bc | 11 | <form method="GET" class="searchform" name="searchform"> |
b39b1bc2 A |
12 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="Search text" value=""> |
13 | <input type="submit" value="Search" class="bigbutton"> | |
14 | </form> | |
65d62517 | 15 | <form method="GET" class="tagfilter" name="tagfilter"> |
b39b1bc2 A |
16 | <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="Filter by tag" value="" |
17 | autocomplete="off" class="awesomplete" data-multiple data-minChars="1" | |
18 | data-list="{loop="$tags"}{$key}, {/loop}"> | |
65d62517 A |
19 | <input type="submit" value="Search" class="bigbutton"> |
20 | </form> | |
567967fd A |
21 | {loop="$plugins_header.fields_toolbar"} |
22 | {$value} | |
23 | {/loop} | |
af77b2fd | 24 | </div> |
45034273 SS |
25 | </div> |
26 | ||
27 | <div id="linklist"> | |
28 | ||
29 | {include="linklist.paging"} | |
30 | ||
567967fd A |
31 | <div id="plugin_zone_start_linklist" class="plugin_zone"> |
32 | {loop="$plugin_start_zone"} | |
33 | {$value} | |
34 | {/loop} | |
35 | </div> | |
36 | ||
45034273 SS |
37 | {if="count($links)==0"} |
38 | <div id="searchcriteria">Nothing found.</i></div> | |
39 | {else} | |
40 | {if="$search_type=='fulltext'"} | |
41 | <div id="searchcriteria">{$result_count} results for <i>{$search_crits}</i></div> | |
42 | {/if} | |
43 | {if="$search_type=='tags'"} | |
44 | <div id="searchcriteria">{$result_count} results for tags <i> | |
45 | {loop="search_crits"} | |
b39b1bc2 A |
46 | <span class="linktag" title="Remove tag"> |
47 | <a href="?removetag={$value}">{$value} <span class="remove">x</span></a> | |
48 | </span> | |
45034273 SS |
49 | {/loop}</i></div> |
50 | {/if} | |
51 | {/if} | |
52 | <ul> | |
53 | {loop="links"} | |
54 | <li{if="$value.class"} class="{$value.class}"{/if}> | |
567967fd | 55 | <a id="{$value.shorturl}"></a> |
45034273 SS |
56 | <div class="thumbnail">{$value.url|thumbnail}</div> |
57 | <div class="linkcontainer"> | |
45034273 | 58 | {if="isLoggedIn()"} |
b2877611 | 59 | <div class="linkeditbuttons"> |
b39b1bc2 A |
60 | <form method="GET" class="buttoneditform"> |
61 | <input type="hidden" name="edit_link" value="{$value.linkdate}"> | |
62 | <input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit"> | |
63 | </form><br> | |
64 | <form method="POST" class="buttoneditform"> | |
65 | <input type="hidden" name="lf_linkdate" value="{$value.linkdate}"> | |
66 | <input type="hidden" name="token" value="{$token}"> | |
67 | <input type="hidden" name="delete_link"> | |
68 | <input type="image" alt="Delete" src="images/delete_icon.png#" title="Delete" | |
69 | class="button_delete" onClick="return confirmDeleteLink();"> | |
70 | </form> | |
b2877611 | 71 | </div> |
45034273 | 72 | {/if} |
90e5bd65 A |
73 | <span class="linktitle"> |
74 | <a href="{$value.real_url}">{$value.title}</a> | |
75 | </span> | |
45034273 | 76 | <br> |
c133612f | 77 | {if="$value.description"}<div class="linkdescription">{$value.description}</div>{/if} |
45034273 | 78 | {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} |
bec18701 | 79 | <span class="linkdate" title="Permalink"><a href="?{$value.linkdate|smallHash}">{function="strftime('%c', $value.timestamp)"} - permalink</a> - </span> |
45034273 | 80 | {else} |
567967fd | 81 | <span class="linkdate" title="Short link here"><a href="?{$value.shorturl}">permalink</a> - </span> |
45034273 | 82 | {/if} |
567967fd A |
83 | |
84 | {loop="$value.link_plugin"} | |
85 | <span>{$value}</span> - | |
86 | {/loop} | |
87 | ||
90e5bd65 | 88 | <a href="{$value.real_url}"><span class="linkurl" title="Short link">{$value.url}</span></a><br> |
45034273 SS |
89 | {if="$value.tags"} |
90 | <div class="linktaglist"> | |
5f85fcd8 | 91 | {loop="value.taglist"}<span class="linktag" title="Add tag"><a href="?addtag={$value|urlencode}">{$value}</a></span> {/loop} |
45034273 SS |
92 | </div> |
93 | {/if} | |
567967fd A |
94 | |
95 | ||
45034273 SS |
96 | </div> |
97 | </li> | |
98 | {/loop} | |
99 | </ul> | |
100 | ||
567967fd A |
101 | <div id="plugin_zone_end_linklist" class="plugin_zone"> |
102 | {loop="$plugin_end_zone"} | |
103 | {$value} | |
104 | {/loop} | |
105 | </div> | |
106 | ||
45034273 SS |
107 | {include="linklist.paging"} |
108 | ||
109 | </div> | |
110 | ||
d741c9fc | 111 | {include="page.footer"} |
af77b2fd | 112 | |
65d62517 | 113 | <script src="inc/awesomplete.min.js#"></script> |
b39b1bc2 A |
114 | <script src="inc/awesomplete-multiple-tags.js#"></script> |
115 | <script> | |
116 | awesompleteUniqueTag('#tagfilter_value'); | |
117 | </script> | |
45034273 | 118 | </body> |
af77b2fd | 119 | </html> |