X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Flinklist.html;h=0f1a5e8ca9911ed164ee147ef3227bc9c0adf443;hb=5036cffadee0acc3c87474139361e6e359380bcd;hp=bfb1fcdaa18bec5914f22213371dfc253bf3adf8;hpb=450342737ced8ef2864b4f83a4107a7fafcc4add;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/linklist.html b/tpl/linklist.html
index bfb1fcda..0f1a5e8c 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -1,76 +1,151 @@
-
{include="includes"}
+
+
{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"}
+
+
+
-
\ No newline at end of file
+