]>
Commit | Line | Data |
---|---|---|
402b0346 | 1 | <!DOCTYPE html> |
cb974e47 | 2 | <html{if="$language !== 'auto'"} lang="{$language}"{/if}> |
402b0346 A |
3 | <head> |
4 | {include="includes"} | |
5 | </head> | |
6 | <body> | |
7 | {include="page.header"} | |
8 | ||
36e6d88d A |
9 | <div class="pure-g"> |
10 | <div class="pure-u-1 pure-alert pure-alert-success tag-sort"> | |
11 | <a href="{$base_path}/daily?day">{'Daily'|t}</a> | |
12 | <a href="{$base_path}/daily?week">{'Weekly'|t}</a> | |
13 | <a href="{$base_path}/daily?month">{'Monthly'|t}</a> | |
14 | </div> | |
15 | </div> | |
16 | ||
17 | ||
402b0346 A |
18 | <div class="pure-g"> |
19 | <div class="pure-u-lg-1-6 pure-u-1-24"></div> | |
20 | <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor" id="daily"> | |
21 | <h2 class="window-title"> | |
36e6d88d A |
22 | {$localizedType} Shaarli |
23 | <a href="{$base_path}/daily-rss?{$type}" | |
24 | title="{function="t('1 RSS entry per :type', '', 1, 'shaarli', [':type' => t($type)])"}" | |
25 | > | |
26 | <i class="fa fa-rss"></i> | |
27 | </a> | |
402b0346 A |
28 | </h2> |
29 | ||
30 | <div id="plugin_zone_start_daily" class="plugin_zone"> | |
31 | {loop="$plugin_start_zone"} | |
32 | {$value} | |
33 | {/loop} | |
34 | </div> | |
35 | ||
36 | <div class="daily-about"> | |
37 | ||
38 | <div class="pure-g"> | |
39 | <div class="pure-u-lg-1-3 pure-u-1 center"> | |
40 | {if="$previousday"} | |
36e6d88d | 41 | <a href="{$base_path}/daily?{$type}={$previousday}"> |
402b0346 | 42 | <i class="fa fa-arrow-left"></i> |
36e6d88d | 43 | {function="t('Previous :type', '', 1, 'shaarli', [':type' => t($type)], true)"} |
402b0346 A |
44 | </a> |
45 | {/if} | |
46 | </div> | |
47 | <div class="daily-desc pure-u-lg-1-3 pure-u-1 center"> | |
36e6d88d | 48 | {function="t('All links of one :type in a single page.', '', 1, 'shaarli', [':type' => t($type)])"} |
402b0346 A |
49 | </div> |
50 | <div class="pure-u-lg-1-3 pure-u-1 center"> | |
51 | {if="$nextday"} | |
36e6d88d A |
52 | <a href="{$base_path}/daily?{$type}={$nextday}"> |
53 | {function="t('Next :type', '', 1, 'shaarli', [':type' => t($type)], true)"} | |
402b0346 A |
54 | <i class="fa fa-arrow-right"></i> |
55 | </a> | |
56 | {/if} | |
57 | </div> | |
58 | </div> | |
59 | <div> | |
5321f704 | 60 | <h3 class="window-subtitle"> |
36e6d88d | 61 | {$dayDesc} |
5321f704 | 62 | </h3> |
402b0346 A |
63 | |
64 | <div id="plugin_zone_about_daily" class="plugin_zone"> | |
65 | {loop="$daily_about_plugin"} | |
66 | {$value} | |
67 | {/loop} | |
68 | </div> | |
69 | </div> | |
70 | </div> | |
71 | ||
72 | ||
73 | {if="$linksToDisplay"} | |
74 | <div class="pure-g"> | |
75 | {loop="$cols"} | |
76 | {if="isset($value[0])"} | |
77 | <div class="pure-u-lg-1-3 pure-u-1"> | |
78 | {loop="value"} | |
79 | {$link=$value} | |
80 | <div class="daily-entry"> | |
81 | <div class="daily-entry-title center"> | |
818b3193 | 82 | <a href="{$base_path}/?{$link.shorturl}" title="{'Permalink'|t}"> |
402b0346 A |
83 | <i class="fa fa-link"></i> |
84 | </a> | |
85 | <a href="{$link.real_url}">{$link.title}</a> | |
86 | </div> | |
bf3c9934 A |
87 | {if="$thumbnails_enabled && !empty($link.thumbnail)"} |
88 | <div class="daily-entry-thumbnail"> | |
7f525042 | 89 | <img data-src="{$root_path}/{$link.thumbnail}#" class="b-lazy" |
8c75c43e | 90 | src="" |
bf3c9934 A |
91 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
92 | </div> | |
402b0346 A |
93 | {/if} |
94 | <div class="daily-entry-description">{$link.formatedDescription}</div> | |
95 | {if="$link.tags"} | |
96 | <div class="daily-entry-tags center"> | |
97 | {loop="link.taglist"} | |
301c7ab1 | 98 | <span class="label label-tag"> |
402b0346 A |
99 | {$value} |
100 | </span> | |
101 | {/loop} | |
102 | </div> | |
103 | {/if} | |
bf3c9934 | 104 | <div class="dailyEntryFooter clear"> |
402b0346 A |
105 | {loop="$link.link_plugin"} |
106 | {$value} | |
107 | {/loop} | |
108 | </div> | |
109 | </div> | |
110 | {/loop} | |
111 | </div> | |
112 | {/if} | |
113 | {/loop} | |
114 | </div> | |
115 | {else} | |
116 | <div class="dailyNoEntry">No articles on this day.</div> | |
117 | {/if} | |
118 | ||
119 | <div class="clear"></div> | |
120 | ||
121 | <div id="plugin_zone_end_picwall" class="plugin_zone"> | |
122 | {loop="$plugin_end_zone"} | |
123 | {$value} | |
124 | {/loop} | |
125 | </div> | |
126 | </div> | |
127 | </div> | |
128 | {include="page.footer"} | |
818b3193 | 129 | <script src="{$asset_path}/js/thumbnails.min.js?v={$version_hash}#"></script> |
402b0346 A |
130 | </body> |
131 | </html> | |
132 |