X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tpl%2Flinklist.html;h=2316f145d94aeac694848ab0e5de6ae1f4c992e4;hb=1336a7326b4939ae4efda026d4f592c6726acf38;hp=353eca52245d65d468b1d59f056d25870910cdf1;hpb=5b2a7cfe0f12b373fc0bf55c1e22413632f57b4d;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/linklist.html b/tpl/linklist.html
index 353eca52..2316f145 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -1,12 +1,35 @@
-
{include="includes"}
+
+
+ {include="includes"}
+
@@ -14,120 +37,96 @@
{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"}
-
-
+
{$value.url|thumbnail}
{/loop}
+
+ {loop="$plugin_end_zone"}
+ {$value}
+ {/loop}
+
+
{include="linklist.paging"}
{include="page.footer"}
+
+