aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/vintage/daily.html
blob: 28ba9f90497df2c3da85513d9e50747b2a1114f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>{include="includes"}</head>
<body>
<div id="pageheader">
    {include="page.header"}
</div>
<div class="daily">
    <div id="plugin_zone_start_picwall" class="plugin_zone">
        {loop="$plugin_start_zone"}
            {$value}
        {/loop}
    </div>

    <div class="dailyAbout">
        All links of one day<br>in a single page.<br>
        {if="$previousday"} <a href="{$base_path}/daily?day={$previousday}"><b>&lt;</b>Previous day</a>{else}<b>&lt;</b>Previous day{/if}
        -
        {if="$nextday"}<a href="{$base_path}/daily?day={$nextday}">Next day<b>&gt;</b></a>{else}Next day<b>&gt;</b>{/if}
        <br>

        {loop="$daily_about_plugin"}
            {$value}
        {/loop}

        <br>
        <a href="{$base_path}/daily-rss" title="1 RSS entry per day"><img src="{$asset_path}/img/feed-icon-14x14.png#" alt="rss_feed">Daily RSS Feed</a>
    </div>

    <div class="dailyTitle">
        <img src="{$asset_path}/img/floral_left.png#" width="51" height="50" class="nomobile" alt="floral_left">
        The Daily Shaarli
        <img src="{$asset_path}/img/floral_right.png#" width="51" height="50" class="nomobile" alt="floral_right">
    </div>

    <div class="dailyDate">
        <span class="nomobile">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span>
        {if="!empty($dayDesc)"}
          {$dayDesc} -
        {/if}
        {function="strftime('%A %d, %B %Y', $day)"}
        <span class="nomobile">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span>
    </div>

    <div class="clear"></div>

    {if="$linksToDisplay"}
        {loop="$cols"}
            {if="isset($value[0])"}
            <div id="daily_col{$counter+1}">
                {loop="$value"}
                    {$link=$value}
                    <div class="dailyEntry">
                        <div class="dailyEntryPermalink">
                            <a href="{$base_path}/shaare/{$value.shorturl}">
                                <img src="{$asset_path}/img/squiggle.png#" width="25" height="26" title="permalink" alt="permalink">
                            </a>
                        </div>
                        {if="!$hide_timestamps || $is_logged_in"}
                            <div class="dailyEntryLinkdate">
                                <a href="{$base_path}/shaare/{$value.shorturl}">{function="strftime('%c', $link.timestamp)"}</a>
                            </div>
                        {/if}
                        {if="$link.tags"}
                            <div class="dailyEntryTags">
                                {loop="$link.taglist"}
                                    {$value} -
                                {/loop}
                            </div>
                        {/if}
                        <div class="dailyEntryTitle">
                            <a href="{$link.real_url}">{$link.title}</a>
                        </div>
                        {if="$thumbnails_enabled && !empty($link.thumbnail)"}
                            <div class="dailyEntryThumbnail">
                              <img data-src="{$link.thumbnail}#" class="b-lazy"
                                   src=""
                                   alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
                            </div>
                        {/if}
                        <div class="dailyEntryDescription">{$link.formatedDescription}</div>

                        <div class="dailyEntryFooter">
                            {loop="$link.link_plugin"}
                                {$value}
                            {/loop}
                        </div>
                    </div>
                {/loop}
            </div>
            {/if}
        {/loop}
    {else}
         <div class="dailyNoEntry">No articles on this day.</div>
    {/if}

    <div class="clear"></div>

    <div id="plugin_zone_end_picwall" class="plugin_zone">
        {loop="$plugin_end_zone"}
            {$value}
        {/loop}
    </div>
    <div id="closing"><img src="{$asset_path}/img/squiggle_closing.png#" width="66" height="61" alt="-"></div>
</div>
{include="page.footer"}
<script src="{$asset_path}/js/thumbnails.min.js?v={$version_hash}#"></script>
</body>
</html>