858c5c2b43
Shaarli uses light Javascript in its normal operation, and some jQuery for some features (autocomplete in tags, QR-Code popup...). jQuery can be slow on small computers. An option has been added in configuration screen to disable javascript features which are hard on CPU. (Note that the Picture Wall is awfully heavy *without* jQuery.) (Side note: A *LOT* of users want Shaarli to work without javasript at all, if possible. That's why I try to use as few javascript as possible: It keeps Shaarli pages fast.)
28 lines
No EOL
661 B
HTML
28 lines
No EOL
661 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>{include="includes"}
|
|
{if="empty($GLOBALS['disablejquery'])"}
|
|
<script src="inc/jquery.lazyload.min.js#"></script>
|
|
{/if}
|
|
</head>
|
|
<body>
|
|
<div id="pageheader">{include="page.header"}</div>
|
|
<center>
|
|
<div class="picwall_container">
|
|
{loop="linksToDisplay"}
|
|
<div class="picwall_pictureframe">
|
|
{$value.thumbnail}<a href="{$value.permalink}"><span class="info">{$value.title|htmlspecialchars}</span></a>
|
|
</div>
|
|
{/loop}
|
|
</div>
|
|
</center>
|
|
{include="page.footer"}
|
|
</body>
|
|
{if="empty($GLOBALS['disablejquery'])"}
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("img.lazyimage").show().lazyload();
|
|
});
|
|
</script>
|
|
{/if}
|
|
</html> |