X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Flinklist.html;h=ff0dd40ca5bad2a63a643e7d2c0897c3d7c0e999;hb=8affa2243159052675da7e23b737c76f6b43aeed;hp=5accc92fa4eed0367a187c3509d27e943ffd50fd;hpb=009ce9358168cc06c76fc2f4162829e552e633a3;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index 5accc92f..ff0dd40c 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html @@ -1,7 +1,6 @@ - {include="includes"} @@ -22,7 +21,7 @@ {if="!empty($search_tags)"} value="{$search_tags}" {/if} - autocomplete="off" class="awesomplete" data-multiple data-minChars="1" + autocomplete="off" data-multiple data-minChars="1" data-list="{loop="$tags"}{$key}, {/loop}" > @@ -55,42 +54,54 @@ {if="count($links)==0"}
Nothing found.
- {elseif="!empty($search_term) or !empty($search_tags)"} + {elseif="!empty($search_term) or $search_tags !== ''"}
{$result_count} results {if="!empty($search_term)"} for {$search_term} {/if} {if="!empty($search_tags)"} - {$exploded_tags=explode(' ', $search_tags)} + {$exploded_tags=tags_str2array($search_tags, $tags_separator)} tagged {loop="$exploded_tags"} - {$value} x + {$value} x {/loop} + {elseif="$search_tags === false"} + + untagged x + {/if}
{/if}