X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Flinklist.html;h=de9586c69199dd4d21145ffbd7f742b80d76991a;hb=01878a75b93b9966f7366ea2937c118bbc3e459e;hp=daf870603a6484000adf626d419097d1743e2b0e;hpb=5f85fcd863fe261921953ea3bd1742f3e1b7cf68;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/linklist.html b/tpl/linklist.html
index daf87060..de9586c6 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -7,16 +7,29 @@
@@ -24,121 +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'"}
- {$result_count} results for tags
- {loop="search_crits"}
- {$value} x
- {/loop}
- {/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"}
+
+
-