aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/picwall.html
blob: 1b8bf3b96a6c9a2692277399404624f5e6cf32ab (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
<!DOCTYPE html>
<html>
<head>
  {include="includes"}
</head>
<body>
{include="page.header"}
{if="!$thumbnails_enabled"}
<div class="pure-g pure-alert pure-alert-warning page-single-alert">
  <div class="pure-u-1 center">
    {'Picture wall unavailable (thumbnails are disabled).'|t}
  </div>
</div>
{else}
  <div class="pure-g">
    <div class="pure-u-lg-1-6 pure-u-1-24"></div>
    <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor">
      {$countPics=count($linksToDisplay)}
      <h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2>

      <div id="plugin_zone_start_picwall" class="plugin_zone">
        {loop="$plugin_start_zone"}
          {$value}
        {/loop}
      </div>

      <div id="picwall-container" class="picwall-container">
        {loop="$linksToDisplay"}
          <div class="picwall-pictureframe">
            {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
            <img data-src="{$value.thumbnail}#" class="b-lazy"
                 src="#"
                 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
            <a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
            {loop="$value.picwall_plugin"}
              {$value}
            {/loop}
          </div>
        {/loop}
        <div class="clear"></div>
      </div>

      <div id="plugin_zone_end_picwall" class="plugin_zone">
        {loop="$plugin_end_zone"}
          {$value}
        {/loop}
      </div>
    </div>
    <div class="pure-u-lg-1-6 pure-u-1-24"></div>
  </div>
{/if}

{include="page.footer"}
<script src="js/thumbnails.min.js?v={$version_hash}"></script>
</body>
</html>