X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Flinklist.html;fp=tpl%2Fdefault%2Flinklist.html;h=639fbe7693603f48683a9a2d7a3d7b8244c24474;hb=402b03464812aaec76bc841ca7dacb775baf1e03;hp=0000000000000000000000000000000000000000;hpb=009ce9358168cc06c76fc2f4162829e552e633a3;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
new file mode 100644
index 00000000..639fbe76
--- /dev/null
+++ b/tpl/default/linklist.html
@@ -0,0 +1,246 @@
+
+
+
+ {include="includes"}
+
+
+{include="page.header"}
+
+
+ {if="!empty($linkcount)"}
+ {$linkcount} {function="t('shaare', 'shaares', $linkcount)"}
+ {if="$privateLinkcount>0"}
+
{$privateLinkcount} {function="t('private link', 'private links', $privateLinkcount)"}
+ {/if}
+ {/if}
+
+
+
+
+{loop="$plugins_header.fields_toolbar"}
+
+{/loop}
+
+
+
+
+
+
+ {if="!empty($linkcount)"}
+ {$linkcount} {function="t('shaare', 'shaares', $linkcount)"}
+ {if="$privateLinkcount>0"}
+ · {$privateLinkcount} {function="t('private link', 'private links', $privateLinkcount)"}
+ {/if}
+ {/if}
+
+
+ {include="linklist.paging"}
+
+
+ {loop="$plugin_start_zone"}
+ {$value}
+ {/loop}
+
+
+
+
+ {if="count($links)==0"}
+
+ {elseif="!empty($search_term) or !empty($search_tags)"}
+
+
+
+ {function="t('%s result', '%s results', $result_count)"}
+ {if="!empty($search_term)"}
+ {'for'|t}
{$search_term}
+ {/if}
+ {if="!empty($search_tags)"}
+ {$exploded_tags=explode(' ', $search_tags)}
+ {'tagged'|t}
+ {loop="$exploded_tags"}
+
+ {$value}
+
+ {/loop}
+ {/if}
+
+
+ {/if}
+
+
+
+
+ {loop="links"}
+
+
+
+
+ {if="isLoggedIn()"}
+
+ {/if}
+
+
+
+
+ {$thumb=thumbnail($value.url)}
+ {if="$thumb!=false"}
+
{$thumb}
+ {/if}
+
+ {if="$value.description"}
+
+ {$value.description}
+
+ {/if}
+
+
+ {if="$value.tags"}
+
+ {/if}
+
+
+
+
+ {/loop}
+
+
+
+
+
+ {loop="$plugin_end_zone"}
+ {$value}
+ {/loop}
+
+
+
+
+
+ {include="linklist.paging"}
+
+
+
+{include="page.footer"}
+
+