From adc4aee80f7cd3242f65f0b316af2b560a64712c Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Wed, 7 Dec 2016 11:58:25 +0100 Subject: Change templates set through administration UI --- tpl/default/daily.html | 101 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 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..024ee32e --- /dev/null +++ b/tpl/default/daily.html @@ -0,0 +1,101 @@ + + +{include="includes"} + + +
+
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
+ +
+ All links of one day
in a single page.
+ {if="$previousday"} <Previous day{else}<Previous day{/if} + - + {if="$nextday"}Next day>{else}Next day>{/if} +
+ + {loop="$daily_about_plugin"} + {$value} + {/loop} + +
+ rss_feedDaily RSS Feed +
+ +
+ floral_left + The Daily Shaarli + floral_right +
+ +
+ ——————————— + {function="strftime('%A %d, %B %Y', $day)"} + ——————————— +
+ +
+ + {if="$linksToDisplay"} + {loop="$cols"} + {if="isset($value[0])"} +
+ {loop="$value"} + {$link=$value} +
+ + {if="!$hide_timestamps || isLoggedIn()"} + + {/if} + {if="$link.tags"} +
+ {loop="$link.taglist"} + {$value} - + {/loop} +
+ {/if} + + {if="$link.thumbnail"} +
{$link.thumbnail}
+ {/if} +
{$link.formatedDescription}
+ +
+ {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 From a0df06517bada0f811b464017ce385290e02c2bf Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 3 Jan 2017 11:42:21 +0100 Subject: Minor improvements regarding #705 (coding style, unit tests, etc.) --- tpl/default/daily.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tpl/default/daily.html') diff --git a/tpl/default/daily.html b/tpl/default/daily.html index 024ee32e..e86e90b1 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html @@ -28,9 +28,9 @@
- floral_left + floral_left The Daily Shaarli - floral_right + floral_right
@@ -50,7 +50,7 @@
{if="!$hide_timestamps || isLoggedIn()"} @@ -94,7 +94,7 @@ {$value} {/loop}
-
-
+
-
{include="page.footer"} -- cgit v1.2.3 From 009ce9358168cc06c76fc2f4162829e552e633a3 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 14 Jan 2017 15:51:30 +0100 Subject: Move default template to vintage folder --- tpl/default/daily.html | 101 ------------------------------------------------- 1 file changed, 101 deletions(-) delete mode 100644 tpl/default/daily.html (limited to 'tpl/default/daily.html') diff --git a/tpl/default/daily.html b/tpl/default/daily.html deleted file mode 100644 index e86e90b1..00000000 --- a/tpl/default/daily.html +++ /dev/null @@ -1,101 +0,0 @@ - - -{include="includes"} - - -
-
- {loop="$plugin_start_zone"} - {$value} - {/loop} -
- -
- All links of one day
in a single page.
- {if="$previousday"} <Previous day{else}<Previous day{/if} - - - {if="$nextday"}Next day>{else}Next day>{/if} -
- - {loop="$daily_about_plugin"} - {$value} - {/loop} - -
- rss_feedDaily RSS Feed -
- -
- floral_left - The Daily Shaarli - floral_right -
- -
- ——————————— - {function="strftime('%A %d, %B %Y', $day)"} - ——————————— -
- -
- - {if="$linksToDisplay"} - {loop="$cols"} - {if="isset($value[0])"} -
- {loop="$value"} - {$link=$value} -
- - {if="!$hide_timestamps || isLoggedIn()"} - - {/if} - {if="$link.tags"} -
- {loop="$link.taglist"} - {$value} - - {/loop} -
- {/if} - - {if="$link.thumbnail"} -
{$link.thumbnail}
- {/if} -
{$link.formatedDescription}
- -
- {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 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 From 81bd104daa26204b8deffcd2d0723d234c9514a6 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 28 Mar 2017 20:40:14 +0200 Subject: Theme: use format_date function for daily date --- tpl/default/daily.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/daily.html') diff --git a/tpl/default/daily.html b/tpl/default/daily.html index d8c91078..29d845d5 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html @@ -44,7 +44,7 @@
-

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

+

{function="format_date($dayDate, false)"}

{loop="$daily_about_plugin"} -- cgit v1.2.3