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