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