X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Flinklist.html;h=ff0dd40ca5bad2a63a643e7d2c0897c3d7c0e999;hb=8affa2243159052675da7e23b737c76f6b43aeed;hp=8458caa1c89224f377370b34ecfaedeb2ae8b395;hpb=3e395a6bc63cba16b0772a382f6cbac0ce4ab906;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index 8458caa1..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}" > @@ -62,39 +61,47 @@ 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 + untagged x {/if} {/if}