From 402b03464812aaec76bc841ca7dacb775baf1e03 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 14 Jan 2017 15:52:17 +0100 Subject: Introduce the new default Shaarli template --- tpl/default/daily.html | 113 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 tpl/default/daily.html (limited to 'tpl/default/daily.html') diff --git a/tpl/default/daily.html b/tpl/default/daily.html new file mode 100644 index 00000000..d8c91078 --- /dev/null +++ b/tpl/default/daily.html @@ -0,0 +1,113 @@ + + + + {include="includes"} + + +{include="page.header"} + +
+
+
+

+ {'The Daily Shaarli'|t} + +

+ +
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
+ +
+ +
+
+ {if="$previousday"} + + + {'Previous day'|t} + + {/if} +
+
+ {'All links of one day in a single page.'|t} +
+
+ {if="$nextday"} + + {'Next day'|t} + + + {/if} +
+
+
+

{function="strftime('%A %d, %B %Y', $day)"}

+ +
+ {loop="$daily_about_plugin"} + {$value} + {/loop} +
+
+
+ + + {if="$linksToDisplay"} +
+ {loop="$cols"} + {if="isset($value[0])"} +
+ {loop="value"} + {$link=$value} +
+
+ + + + {$link.title} +
+ {$thumb=thumbnail($value.url)} + {if="$thumb!=false"} +
{$thumb}
+ {/if} +
{$link.formatedDescription}
+ {if="$link.tags"} + + {/if} +
+ {loop="$link.link_plugin"} + {$value} + {/loop} +
+
+ {/loop} +
+ {/if} + {/loop} +
+ {else} +
No articles on this day.
+ {/if} + +
+ +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
+
+{include="page.footer"} + + + -- cgit v1.2.3