X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Flinklist.html;h=8608e61e934139e8341f358028291651e576b887;hb=b3c039b02f9608802d0ba2cf5b5742caa3b9d430;hp=9ed28853a10a96e6744464bccf41603f5e0b8819;hpb=567967fdf94b2b8ba2b2fc9c8836e89ac23c8c71;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/linklist.html b/tpl/linklist.html
index 9ed28853..8608e61e 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -7,18 +7,40 @@
@@ -34,17 +56,23 @@
{if="count($links)==0"}
- Nothing found.
- {else}
- {if="$search_type=='fulltext'"}
- {$result_count} results for {$search_crits}
- {/if}
- {if="$search_type=='tags'"}
- {$result_count} results for tags
- {loop="search_crits"}
- {$value} x
- {/loop}
- {/if}
+ Nothing found.
+ {elseif="!empty($search_term) or !empty($search_tags)"}
+
+ {$result_count} results
+ {if="!empty($search_term)"}
+ for
{$search_term}
+ {/if}
+ {if="!empty($search_tags)"}
+ {$exploded_tags=explode(' ', $search_tags)}
+ tagged
+ {loop="$exploded_tags"}
+
+ {$value} x
+
+ {/loop}
+ {/if}
+
{/if}
{loop="links"}
@@ -54,16 +82,35 @@