diff options
Diffstat (limited to 'tpl/default/daily.html')
-rw-r--r-- | tpl/default/daily.html | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/tpl/default/daily.html b/tpl/default/daily.html new file mode 100644 index 00000000..e86e90b1 --- /dev/null +++ b/tpl/default/daily.html | |||
@@ -0,0 +1,101 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head>{include="includes"}</head> | ||
4 | <body> | ||
5 | <div id="pageheader"> | ||
6 | {include="page.header"} | ||
7 | </div> | ||
8 | <div class="daily"> | ||
9 | <div id="plugin_zone_start_picwall" class="plugin_zone"> | ||
10 | {loop="$plugin_start_zone"} | ||
11 | {$value} | ||
12 | {/loop} | ||
13 | </div> | ||
14 | |||
15 | <div class="dailyAbout"> | ||
16 | All links of one day<br>in a single page.<br> | ||
17 | {if="$previousday"} <a href="?do=daily&day={$previousday}"><b><</b>Previous day</a>{else}<b><</b>Previous day{/if} | ||
18 | - | ||
19 | {if="$nextday"}<a href="?do=daily&day={$nextday}">Next day<b>></b></a>{else}Next day<b>></b>{/if} | ||
20 | <br> | ||
21 | |||
22 | {loop="$daily_about_plugin"} | ||
23 | {$value} | ||
24 | {/loop} | ||
25 | |||
26 | <br> | ||
27 | <a href="?do=dailyrss" title="1 RSS entry per day"><img src="images/feed-icon-14x14.png#" alt="rss_feed">Daily RSS Feed</a> | ||
28 | </div> | ||
29 | |||
30 | <div class="dailyTitle"> | ||
31 | <img src="images/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left"> | ||
32 | The Daily Shaarli | ||
33 | <img src="images/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right"> | ||
34 | </div> | ||
35 | |||
36 | <div class="dailyDate"> | ||
37 | <span class="nomobile">———————————</span> | ||
38 | {function="strftime('%A %d, %B %Y', $day)"} | ||
39 | <span class="nomobile">———————————</span> | ||
40 | </div> | ||
41 | |||
42 | <div class="clear"></div> | ||
43 | |||
44 | {if="$linksToDisplay"} | ||
45 | {loop="$cols"} | ||
46 | {if="isset($value[0])"} | ||
47 | <div id="daily_col{$counter+1}"> | ||
48 | {loop="$value"} | ||
49 | {$link=$value} | ||
50 | <div class="dailyEntry"> | ||
51 | <div class="dailyEntryPermalink"> | ||
52 | <a href="?{$value.shorturl}"> | ||
53 | <img src="images/squiggle.png" width="25" height="26" title="permalink" alt="permalink"> | ||
54 | </a> | ||
55 | </div> | ||
56 | {if="!$hide_timestamps || isLoggedIn()"} | ||
57 | <div class="dailyEntryLinkdate"> | ||
58 | <a href="?{$value.shorturl}">{function="strftime('%c', $link.timestamp)"}</a> | ||
59 | </div> | ||
60 | {/if} | ||
61 | {if="$link.tags"} | ||
62 | <div class="dailyEntryTags"> | ||
63 | {loop="$link.taglist"} | ||
64 | {$value} - | ||
65 | {/loop} | ||
66 | </div> | ||
67 | {/if} | ||
68 | <div class="dailyEntryTitle"> | ||
69 | <a href="{$link.real_url}">{$link.title}</a> | ||
70 | </div> | ||
71 | {if="$link.thumbnail"} | ||
72 | <div class="dailyEntryThumbnail">{$link.thumbnail}</div> | ||
73 | {/if} | ||
74 | <div class="dailyEntryDescription">{$link.formatedDescription}</div> | ||
75 | |||
76 | <div class="dailyEntryFooter"> | ||
77 | {loop="$link.link_plugin"} | ||
78 | {$value} | ||
79 | {/loop} | ||
80 | </div> | ||
81 | </div> | ||
82 | {/loop} | ||
83 | </div> | ||
84 | {/if} | ||
85 | {/loop} | ||
86 | {else} | ||
87 | <div class="dailyNoEntry">No articles on this day.</div> | ||
88 | {/if} | ||
89 | |||
90 | <div class="clear"></div> | ||
91 | |||
92 | <div id="plugin_zone_end_picwall" class="plugin_zone"> | ||
93 | {loop="$plugin_end_zone"} | ||
94 | {$value} | ||
95 | {/loop} | ||
96 | </div> | ||
97 | <div id="closing"><img src="images/squiggle_closing.png" width="66" height="61" alt="-"></div> | ||
98 | </div> | ||
99 | {include="page.footer"} | ||
100 | </body> | ||
101 | </html> | ||