]>
Commit | Line | Data |
---|---|---|
402b0346 A |
1 | <!DOCTYPE html> |
2 | <html> | |
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} | |
15 | <div class="pure-g"> | |
16 | <div class="pure-u-lg-1-6 pure-u-1-24"></div> | |
17 | <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> | |
18 | {$countPics=count($linksToDisplay)} | |
19 | <h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2> | |
402b0346 | 20 | |
e85b7a05 A |
21 | <div id="plugin_zone_start_picwall" class="plugin_zone"> |
22 | {loop="$plugin_start_zone"} | |
23 | {$value} | |
24 | {/loop} | |
25 | </div> | |
402b0346 | 26 | |
fcba541e | 27 | <div id="picwall-container" class="picwall-container"> |
e85b7a05 | 28 | {loop="$linksToDisplay"} |
fcba541e | 29 | <div class="picwall-pictureframe"> |
e85b7a05 A |
30 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
31 | <img data-src="{$value.thumbnail}#" class="b-lazy" | |
32 | src="#" | |
33 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | |
34 | <a href="{$value.real_url}"><span class="info">{$value.title}</span></a> | |
35 | {loop="$value.picwall_plugin"} | |
36 | {$value} | |
37 | {/loop} | |
38 | </div> | |
39 | {/loop} | |
40 | <div class="clear"></div> | |
41 | </div> | |
402b0346 | 42 | |
e85b7a05 A |
43 | <div id="plugin_zone_end_picwall" class="plugin_zone"> |
44 | {loop="$plugin_end_zone"} | |
45 | {$value} | |
46 | {/loop} | |
47 | </div> | |
402b0346 | 48 | </div> |
e85b7a05 | 49 | <div class="pure-u-lg-1-6 pure-u-1-24"></div> |
402b0346 | 50 | </div> |
e85b7a05 | 51 | {/if} |
402b0346 A |
52 | |
53 | {include="page.footer"} | |
e85b7a05 | 54 | <script src="js/thumbnails.min.js?v={$version_hash}"></script> |
402b0346 A |
55 | </body> |
56 | </html> | |
57 |