X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Flinklist.html;h=c8dfd12292e15aee31f851e08a36078ec0bfb5bb;hb=refs%2Fpull%2F162%2Fhead;hp=d5bfadf8669eb5b898d78925a0b5588443e354b7;hpb=486f25a5f4ab2a9191618edcb89ebb61350ff600;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/linklist.html b/tpl/linklist.html index d5bfadf8..c8dfd122 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html @@ -52,7 +52,8 @@ archive - {/if}
- + onclick="return showQrCode(this);" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"> + QR-Code - {$value.url|htmlspecialchars}
{if="$value.tags"}
@@ -96,7 +97,7 @@ function showQrCode(caller,loading) if (!loading) // If javascript lib is still loading, do not append script to body. { var element = document.createElement("script"); - element.src = "inc/qr.min.js"; + element.src = "inc/qr-1.1.3.min.js"; document.body.appendChild(element); } setTimeout(function() { showQrCode(caller,true);}, 200); // Retry in 200 milliseconds.