aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/picwall.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/picwall.html')
-rw-r--r--tpl/default/picwall.html68
1 files changed, 40 insertions, 28 deletions
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html
index 2f7e03dc..1ea9c20a 100644
--- a/tpl/default/picwall.html
+++ b/tpl/default/picwall.html
@@ -5,41 +5,53 @@
5</head> 5</head>
6<body> 6<body>
7{include="page.header"} 7{include="page.header"}
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>
8 20
9<div class="pure-g"> 21 <div id="plugin_zone_start_picwall" class="plugin_zone">
10 <div class="pure-u-lg-1-6 pure-u-1-24"></div> 22 {loop="$plugin_start_zone"}
11 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> 23 {$value}
12 {$countPics=count($linksToDisplay)} 24 {/loop}
13 <h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2> 25 </div>
14
15 <div id="plugin_zone_start_picwall" class="plugin_zone">
16 {loop="$plugin_start_zone"}
17 {$value}
18 {/loop}
19 </div>
20 26
21 <div id="picwall_container" class="picwall-container"> 27 <div id="picwall_container" class="picwall-container">
22 {loop="$linksToDisplay"} 28 {loop="$linksToDisplay"}
23 <div class="picwall-pictureframe"> 29 <div class="picwall_pictureframe">
24 {$value.thumbnail}<a href="{$value.real_url}"><span class="info">{$value.title}</span></a> 30 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
25 {loop="$value.picwall_plugin"} 31 <img data-src="{$value.thumbnail}#" class="b-lazy"
26 {$value} 32 src="#"
27 {/loop} 33 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
28 </div> 34 <a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
29 {/loop} 35 {loop="$value.picwall_plugin"}
30 <div class="clear"></div> 36 {$value}
31 </div> 37 {/loop}
38 </div>
39 {/loop}
40 <div class="clear"></div>
41 </div>
32 42
33 <div id="plugin_zone_end_picwall" class="plugin_zone"> 43 <div id="plugin_zone_end_picwall" class="plugin_zone">
34 {loop="$plugin_end_zone"} 44 {loop="$plugin_end_zone"}
35 {$value} 45 {$value}
36 {/loop} 46 {/loop}
47 </div>
37 </div> 48 </div>
49 <div class="pure-u-lg-1-6 pure-u-1-24"></div>
38 </div> 50 </div>
39</div> 51{/if}
40 52
41{include="page.footer"} 53{include="page.footer"}
42<script src="js/picwall.min.js?v={$version_hash}"></script> 54<script src="js/thumbnails.min.js?v={$version_hash}"></script>
43</body> 55</body>
44</html> 56</html>
45 57