X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Flinklist.html;h=ccdb5f216728ff1249e591e58d88258e476d71aa;hb=4fe87e697425e28cd0be00cc397d62b82eb13b26;hp=4a0f44c6a3977e867273aaed672e0e87be89ae94;hpb=f791ba634e733811b3e10bb662e30cd5ba0b29e3;p=github%2Fshaarli%2FShaarli.git
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 @@
{/loop}
-
{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"}
-
+ {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}
+
+ {/loop}
+ {/if}
+
{/if}
+