]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/picwall.html
Added option to disable jQuery and heavy javascript
[github/shaarli/Shaarli.git] / tpl / picwall.html
index 2083a6292d45bb3708357f705ca89ecb1fbbe50b..8f8e0a0eed56b7b6671706e15f4fc8cb4130c0a4 100644 (file)
@@ -1,7 +1,9 @@
 <!DOCTYPE html>
 <html>
 <head>{include="includes"}
-<script src="inc/jquery.lazyload.min.js#"></script>
+{if="empty($GLOBALS['disablejquery'])"}        
+       <script src="inc/jquery.lazyload.min.js#"></script>
+{/if}
 </head>
 <body>
 <div id="pageheader">{include="page.header"}</div>
 </center>
 {include="page.footer"}
 </body>
+{if="empty($GLOBALS['disablejquery'])"} 
 <script>
 $(document).ready(function() {
     $("img.lazyimage").show().lazyload();
 });
 </script>
+{/if} 
 </html>
\ No newline at end of file