]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/vintage/daily.html
Fix fatal error on daily page: use new thumbnail system
[github/shaarli/Shaarli.git] / tpl / vintage / daily.html
CommitLineData
45034273
SS
1<!DOCTYPE html>
2<html>
3<head>{include="includes"}</head>
4<body>
567967fd
A
5<div id="pageheader">
6 {include="page.header"}
7</div>
45034273 8<div class="daily">
567967fd
A
9 <div id="plugin_zone_start_picwall" class="plugin_zone">
10 {loop="$plugin_start_zone"}
11 {$value}
12 {/loop}
13 </div>
14
45034273 15 <div class="dailyAbout">
567967fd
A
16 All links of one day<br>in a single page.<br>
17 {if="$previousday"} <a href="?do=daily&amp;day={$previousday}"><b>&lt;</b>Previous day</a>{else}<b>&lt;</b>Previous day{/if}
18 -
19 {if="$nextday"}<a href="?do=daily&amp;day={$nextday}">Next day<b>&gt;</b></a>{else}Next day<b>&gt;</b>{/if}
20 <br>
21
22 {loop="$daily_about_plugin"}
23 {$value}
24 {/loop}
25
26 <br>
7e9bd977 27 <a href="?do=dailyrss" title="1 RSS entry per day"><img src="img/feed-icon-14x14.png" alt="rss_feed">Daily RSS Feed</a>
45034273 28 </div>
567967fd
A
29
30 <div class="dailyTitle">
7e9bd977 31 <img src="img/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left">
567967fd 32 The Daily Shaarli
7e9bd977 33 <img src="img/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right">
567967fd
A
34 </div>
35
36 <div class="dailyDate">
37 <span class="nomobile">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span>
38 {function="strftime('%A %d, %B %Y', $day)"}
39 <span class="nomobile">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span>
40 </div>
41
c133612f 42 <div class="clear"></div>
45034273 43
cae64e52 44 {if="$linksToDisplay"}
dec5fe9c 45 {loop="$cols"}
cae64e52
FE
46 {if="isset($value[0])"}
47 <div id="daily_col{$counter+1}">
dec5fe9c 48 {loop="$value"}
cae64e52
FE
49 {$link=$value}
50 <div class="dailyEntry">
51 <div class="dailyEntryPermalink">
01878a75 52 <a href="?{$value.shorturl}">
7e9bd977 53 <img src="img/squiggle.png" width="25" height="26" title="permalink" alt="permalink">
cae64e52
FE
54 </a>
55 </div>
89ccc83b 56 {if="!$hide_timestamps || $is_logged_in"}
38a2d03e 57 <div class="dailyEntryLinkdate">
01878a75 58 <a href="?{$value.shorturl}">{function="strftime('%c', $link.timestamp)"}</a>
38a2d03e
V
59 </div>
60 {/if}
cae64e52
FE
61 {if="$link.tags"}
62 <div class="dailyEntryTags">
dec5fe9c 63 {loop="$link.taglist"}
5f85fcd8 64 {$value} -
cae64e52
FE
65 {/loop}
66 </div>
67 {/if}
68 <div class="dailyEntryTitle">
90e5bd65 69 <a href="{$link.real_url}">{$link.title}</a>
cae64e52 70 </div>
bf3c9934
A
71 {if="$thumbnails_enabled && !empty($link.thumbnail)"}
72 <div class="dailyEntryThumbnail">
73 <img data-src="{$link.thumbnail}#" class="b-lazy"
74 src="#"
75 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
76 </div>
cae64e52
FE
77 {/if}
78 <div class="dailyEntryDescription">{$link.formatedDescription}</div>
567967fd
A
79
80 <div class="dailyEntryFooter">
81 {loop="$link.link_plugin"}
82 {$value}
83 {/loop}
84 </div>
cae64e52
FE
85 </div>
86 {/loop}
87 </div>
88 {/if}
45034273 89 {/loop}
45034273 90 {else}
c133612f 91 <div class="dailyNoEntry">No articles on this day.</div>
45034273 92 {/if}
567967fd
A
93
94 <div class="clear"></div>
95
96 <div id="plugin_zone_end_picwall" class="plugin_zone">
97 {loop="$plugin_end_zone"}
98 {$value}
99 {/loop}
100 </div>
7e9bd977 101 <div id="closing"><img src="img/squiggle_closing.png" width="66" height="61" alt="-"></div>
45034273
SS
102</div>
103{include="page.footer"}
bf3c9934 104<script src="js/thumbnails.min.js?v={$version_hash}"></script>
45034273 105</body>
c133612f 106</html>