]>
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"} | |
e85b7a05 A |
8 | {if="!$thumbnails_enabled"} |
9 | <div class="pure-g pure-alert pure-alert-warning page-single-alert"> | |
10 | <div class="pure-u-1 center"> | |
11 | {'Picture wall unavailable (thumbnails are disabled).'|t} | |
12 | </div> | |
13 | </div> | |
14 | {else} | |
7b4fea0e A |
15 | {if="count($linksToDisplay)===0 && $is_logged_in"} |
16 | <div class="pure-g pure-alert pure-alert-warning page-single-alert"> | |
17 | <div class="pure-u-1 center"> | |
18 | {'There is no cached thumbnail. Try to <a href="?do=thumbs_update">synchronize them</a>.'|t} | |
19 | </div> | |
20 | </div> | |
21 | {/if} | |
22 | ||
e85b7a05 A |
23 | <div class="pure-g"> |
24 | <div class="pure-u-lg-1-6 pure-u-1-24"></div> | |
25 | <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> | |
26 | {$countPics=count($linksToDisplay)} | |
27 | <h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2> | |
402b0346 | 28 | |
e85b7a05 A |
29 | <div id="plugin_zone_start_picwall" class="plugin_zone"> |
30 | {loop="$plugin_start_zone"} | |
31 | {$value} | |
32 | {/loop} | |
33 | </div> | |
402b0346 | 34 | |
d1bcf28d | 35 | <div id="picwall-container" class="picwall-container" role="list"> |
e85b7a05 | 36 | {loop="$linksToDisplay"} |
d1bcf28d | 37 | <div class="picwall-pictureframe" role="listitem"> |
e85b7a05 A |
38 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
39 | <img data-src="{$value.thumbnail}#" class="b-lazy" | |
8c75c43e | 40 | src="" |
719ef8e8 | 41 | alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
e85b7a05 A |
42 | <a href="{$value.real_url}"><span class="info">{$value.title}</span></a> |
43 | {loop="$value.picwall_plugin"} | |
44 | {$value} | |
45 | {/loop} | |
46 | </div> | |
47 | {/loop} | |
48 | <div class="clear"></div> | |
49 | </div> | |
402b0346 | 50 | |
e85b7a05 A |
51 | <div id="plugin_zone_end_picwall" class="plugin_zone"> |
52 | {loop="$plugin_end_zone"} | |
53 | {$value} | |
54 | {/loop} | |
55 | </div> | |
402b0346 | 56 | </div> |
e85b7a05 | 57 | <div class="pure-u-lg-1-6 pure-u-1-24"></div> |
402b0346 | 58 | </div> |
e85b7a05 | 59 | {/if} |
402b0346 A |
60 | |
61 | {include="page.footer"} | |
e85b7a05 | 62 | <script src="js/thumbnails.min.js?v={$version_hash}"></script> |
402b0346 A |
63 | </body> |
64 | </html> | |
65 |