X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Flinklist.html;h=ff0dd40ca5bad2a63a643e7d2c0897c3d7c0e999;hb=df9aac5b6406bf192f2e4e0987e25d0de88480df;hp=fc116667aac83dd12bb4d45bbfad8d5744cbb560;hpb=52b503105d389d1796698114573ff618b2ad34a2;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index fc116667..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}