X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=tpl%2Flinklist.html;h=ddfd729ac9500dd3a534e8a3927af8243f38a329;hb=5eb724785209fd0ddf34784be8f872d83208eb54;hp=16fc842d048a87d48c7821af77399a49f034dd6f;hpb=852613dece4e8216534c32f5b6c58e3d37697084;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/linklist.html b/tpl/linklist.html
index 16fc842d..ddfd729a 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -1,12 +1,35 @@
-
{include="includes"}
+
+
+ {include="includes"}
+
@@ -14,120 +37,105 @@
{include="linklist.paging"}
+
+ {loop="$plugin_start_zone"}
+ {$value}
+ {/loop}
+
+
{if="count($links)==0"}
- Nothing found.
- {else}
- {if="$search_type=='fulltext'"}
- {$result_count} results for {$search_crits}
- {/if}
- {if="$search_type=='tags'"}
-
- {/if}
+ Nothing found.
+ {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}
+
{/if}
- {loop="links"}
+ {loop="$links"}
-
-
+
{$value.url|thumbnail}
{/loop}
+
+ {loop="$plugin_end_zone"}
+ {$value}
+ {/loop}
+
+
{include="linklist.paging"}
{include="page.footer"}
+
+