From: ArthurHoaro Date: Fri, 5 Aug 2016 10:31:18 +0000 (+0200) Subject: Rebase: new config manager, search criteria, and private links X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=4fe87e697425e28cd0be00cc397d62b82eb13b26;p=github%2Fshaarli%2FShaarli.git Rebase: new config manager, search criteria, and private links --- 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} +
@@ -96,7 +100,7 @@