aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r--tpl/default/linklist.html30
1 files changed, 17 insertions, 13 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index 4a0f44c6..ccdb5f21 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -20,22 +20,26 @@
20 {/loop} 20 {/loop}
21 </div> 21 </div>
22 22
23 <!-- TODO: Search results. -->
24 {if="count($links)==0"} 23 {if="count($links)==0"}
25 <div id="searchcriteria">Nothing found.</div> 24 <div id="searchcriteria">Nothing found.</div>
26 {else} 25 {elseif="!empty($search_term) or !empty($search_tags)"}
27 {if="$search_type=='fulltext'"} 26 <div id="searchcriteria">
28 <div id="searchcriteria">{$result_count} results for <i>{$search_crits}</i></div> 27 {$result_count} results
29 {/if} 28 {if="!empty($search_term)"}
30 {if="$search_type=='tags'"} 29 for <em>{$search_term}</em>
31 <div id="searchcriteria">{$result_count} results for tags <i> 30 {/if}
32 {loop="search_crits"} 31 {if="!empty($search_tags)"}
33 <span class="linktag" title="Remove tag"> 32 {$exploded_tags=explode(' ', $search_tags)}
33 tagged
34 {loop="$exploded_tags"}
35 <span class="linktag" title="Remove tag">
34 <a href="?removetag={function="urlencode($value)"}">{$value} <span class="remove">x</span></a> 36 <a href="?removetag={function="urlencode($value)"}">{$value} <span class="remove">x</span></a>
35 </span> 37 </span>
36 {/loop}</i></div> 38 {/loop}
37 {/if} 39 {/if}
40 </div>
38 {/if} 41 {/if}
42
39 <div class="pure-g"> 43 <div class="pure-g">
40 <div class="pure-u-2-24"></div> 44 <div class="pure-u-2-24"></div>
41 <div class="pure-u-20-24"> 45 <div class="pure-u-20-24">
@@ -96,7 +100,7 @@
96 <div class="pure-g"> 100 <div class="pure-g">
97 <div class="linklist-item-infos-dateblock pure-u-lg-3-8 pure-u-1"> 101 <div class="linklist-item-infos-dateblock pure-u-lg-3-8 pure-u-1">
98 <a href="?{$value.shorturl}" title="Permalink"> 102 <a href="?{$value.shorturl}" title="Permalink">
99 {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} 103 {if="!$hide_timestamps || isLoggedIn()"}
100 <span class="linkdate"> 104 <span class="linkdate">
101 <i class="fa fa-clock-o"></i> 105 <i class="fa fa-clock-o"></i>
102 {function="strftime('%d %B %Y %H:%M', $value.timestamp)"} &middot; 106 {function="strftime('%d %B %Y %H:%M', $value.timestamp)"} &middot;