X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Flinklist.html;h=d42323423bc3411bc75de98ecda8bf0ead6cb6ac;hb=fc11ab2f290a3712b766d78fdbcd354625a35d0a;hp=d5bfadf8669eb5b898d78925a0b5588443e354b7;hpb=486f25a5f4ab2a9191618edcb89ebb61350ff600;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/linklist.html b/tpl/linklist.html
index d5bfadf8..d4232342 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -1,12 +1,45 @@
-
{include="includes"}
+
+
+ {include="includes"}
+
@@ -14,119 +47,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"}
+
+