]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #45 from dsferruzza/fix-picwall-bug
authorSébastien SAUVAGE <sebsauvage@sebsauvage.net>
Mon, 11 Mar 2013 08:49:50 +0000 (01:49 -0700)
committerSébastien SAUVAGE <sebsauvage@sebsauvage.net>
Mon, 11 Mar 2013 08:49:50 +0000 (01:49 -0700)
Fix picwall bugs

index.php
tpl/picwall.html

index adc11f9bc4405087983e996c0ebeebeb75131eb9..4c3a3a4dcd199988d1c2b1b887f4626fa9890d60 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1979,7 +1979,6 @@ function lazyThumbnail($url,$href=false)
     else
         $html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"';
 
-    $html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"';
     if (!empty($t['width']))  $html.=' width="'.htmlspecialchars($t['width']).'"';
     if (!empty($t['height'])) $html.=' height="'.htmlspecialchars($t['height']).'"';
     if (!empty($t['style']))  $html.=' style="'.htmlspecialchars($t['style']).'"';
index 8f8e0a0eed56b7b6671706e15f4fc8cb4130c0a4..631e0866b4c4c5f03ae60d0adfb79efea891cccb 100644 (file)
@@ -17,7 +17,7 @@
 </div>
 </center>
 {include="page.footer"}
-</body>
+
 {if="empty($GLOBALS['disablejquery'])"} 
 <script>
 $(document).ready(function() {
@@ -25,4 +25,5 @@ $(document).ready(function() {
 });
 </script>
 {/if} 
+</body>
 </html>
\ No newline at end of file