]>
Commit | Line | Data |
---|---|---|
4ed6d1ba A |
1 | <!DOCTYPE html> |
2 | <html> | |
3 | <head> | |
348e1587 | 4 | {include="includes"} |
4ed6d1ba A |
5 | </head> |
6 | <body> | |
dfb058c6 | 7 | {include="page.header"} |
4ed6d1ba | 8 | |
348e1587 A |
9 | <!--{loop="$plugins_header.fields_toolbar"} |
10 | {$value} | |
11 | {/loop}--> | |
4ed6d1ba A |
12 | |
13 | <div id="linklist"> | |
14 | ||
348e1587 | 15 | {include="linklist.paging"} |
4ed6d1ba | 16 | |
348e1587 A |
17 | <div id="plugin_zone_start_linklist" class="plugin_zone"> |
18 | {loop="$plugin_start_zone"} | |
19 | {$value} | |
20 | {/loop} | |
21 | </div> | |
4ed6d1ba | 22 | |
348e1587 A |
23 | {if="count($links)==0"} |
24 | <div id="searchcriteria">Nothing found.</div> | |
4fe87e69 A |
25 | {elseif="!empty($search_term) or !empty($search_tags)"} |
26 | <div id="searchcriteria"> | |
27 | {$result_count} results | |
28 | {if="!empty($search_term)"} | |
29 | for <em>{$search_term}</em> | |
30 | {/if} | |
31 | {if="!empty($search_tags)"} | |
32 | {$exploded_tags=explode(' ', $search_tags)} | |
33 | tagged | |
34 | {loop="$exploded_tags"} | |
35 | <span class="linktag" title="Remove tag"> | |
348e1587 | 36 | <a href="?removetag={function="urlencode($value)"}">{$value} <span class="remove">x</span></a> |
4fe87e69 A |
37 | </span> |
38 | {/loop} | |
39 | {/if} | |
40 | </div> | |
348e1587 | 41 | {/if} |
4fe87e69 | 42 | |
348e1587 A |
43 | <div class="pure-g"> |
44 | <div class="pure-u-2-24"></div> | |
45 | <div class="pure-u-20-24"> | |
46 | {loop="links"} | |
47 | <div class="linklist-item{if="$value.class"} {$value.class}{/if}"> | |
48 | ||
49 | <div class="linklist-item-title"> | |
50 | {if="isLoggedIn()"} | |
51 | <div class="linklist-item-editbuttons"> | |
52 | <a href="#" title="Fold" class="fold-button"><i class="fa fa-chevron-up"></i></a> | |
53 | <a href="?edit_link={$value.linkdate}" title="Edit"><i class="fa fa-pencil-square-o"></i></a> | |
735bda92 A |
54 | <a href="?delete_link={$value.linkdate}&token={$token}" title="Delete" class="delete-link"> |
55 | <i class="fa fa-trash"></i> | |
56 | </a> | |
348e1587 A |
57 | </div> |
58 | {/if} | |
59 | ||
60 | <h2> | |
b74d833d | 61 | <a href="{$value.real_url}" id="{$value.shorturl}" class="linklist-link"> |
348e1587 A |
62 | {if="strpos($value.url, $value.shorturl) === false"} |
63 | <i class="fa fa-external-link"></i> | |
4ed6d1ba | 64 | {else} |
348e1587 | 65 | <i class="fa fa-sticky-note"></i> |
4ed6d1ba A |
66 | {/if} |
67 | ||
348e1587 A |
68 | {if="$value.private"} |
69 | <span class="label label-private">Private</span> | |
4ed6d1ba A |
70 | {/if} |
71 | ||
348e1587 A |
72 | {$value.title} |
73 | </a> | |
74 | </h2> | |
75 | </div> | |
76 | ||
735bda92 A |
77 | {$thumb=thumbnail($value.url)} |
78 | {if="$thumb!=false"} | |
79 | <div class="linklist-item-thumbnail">{$thumb}</div> | |
80 | {/if} | |
4ed6d1ba | 81 | |
348e1587 A |
82 | {if="$value.description"} |
83 | <div class="linklist-item-description"> | |
84 | {$value.description} | |
4ed6d1ba | 85 | </div> |
348e1587 A |
86 | {/if} |
87 | ||
735bda92 | 88 | <div class="linklist-item-infos clear"> |
348e1587 A |
89 | {if="$value.tags"} |
90 | <div class="linklist-item-tags"> | |
91 | <i class="fa fa-tags"></i> | |
92 | {loop="value.taglist"} | |
93 | <span class="label label-tag" title="Add tag"> | |
94 | <a href="?addtag={$value|urlencode}">{$value}</a> | |
95 | </span> | |
96 | {/loop} | |
97 | </div> | |
98 | {/if} | |
4ed6d1ba | 99 | |
348e1587 | 100 | <div class="pure-g"> |
f26d4d56 | 101 | <div class="linklist-item-infos-dateblock pure-u-lg-3-8 pure-u-1"> |
348e1587 | 102 | <a href="?{$value.shorturl}" title="Permalink"> |
4fe87e69 | 103 | {if="!$hide_timestamps || isLoggedIn()"} |
348e1587 A |
104 | <span class="linkdate"> |
105 | <i class="fa fa-clock-o"></i> | |
106 | {function="strftime('%d %B %Y %H:%M', $value.timestamp)"} · | |
107 | </span> | |
108 | {/if} | |
109 | permalink · | |
110 | </a> | |
111 | ||
b74d833d | 112 | {$link_plugin_counter=count($value.link_plugin)} |
348e1587 | 113 | {loop="$value.link_plugin"} |
b74d833d A |
114 | <span>{$value}</span> |
115 | {if="$link_plugin_counter - 1 != $counter"}·{/if} | |
348e1587 | 116 | {/loop} |
1df7f8dc A |
117 | </div><div |
118 | {ignore}do not add space or line break between these div - Firefox issue{/ignore} | |
119 | class="linklist-item-infos-url pure-u-lg-5-8 pure-u-1"> | |
b74d833d A |
120 | <a href="{$value.real_url}" title="{$value.title}"> |
121 | <i class="fa fa-link"></i> {$value.url} | |
122 | </a> | |
348e1587 A |
123 | </div> |
124 | </div> | |
125 | </div> | |
126 | </div> | |
127 | {/loop} | |
4ed6d1ba | 128 | </div> |
348e1587 A |
129 | </div> |
130 | </div> | |
131 | ||
132 | <div id="plugin_zone_end_linklist" class="plugin_zone"> | |
133 | {loop="$plugin_end_zone"} | |
134 | {$value} | |
135 | {/loop} | |
136 | </div> | |
4ed6d1ba | 137 | |
348e1587 | 138 | {include="linklist.paging"} |
4ed6d1ba A |
139 | |
140 | </div> | |
141 | ||
348e1587 | 142 | {include="page.footer"} |
4ed6d1ba A |
143 | </body> |
144 | </html> |