From: Sébastien SAUVAGE Date: Wed, 25 Sep 2013 13:17:09 +0000 (+0200) Subject: New QR-Code generation code X-Git-Tag: v0.0.42beta~9 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=af77b2fd9a574ba03b309ea0799946fabf37c7d1;p=github%2Fshaarli%2FShaarli.git New QR-Code generation code * QR-Code generation now uses a client-side javascript library instead of an external service. This is better for user privacy. * Library used is http://neocotic.com/qr.js/ (11 kb). * jQuery is no longer used to display QR-Code (this is a first step in removing jQuery entirely). * This library is loaded *only* if the QR-Code icon is clicked. * If javascript is disabled, it will fallback to the external service. * External service was changed from "invx.com" to "qrfree.kaywa.com" because invx has become bloated. By loading the javascript library *only* if the icon is clicked, it will prevent the 11 kb lib to be loaded in every page. --- diff --git a/tpl/linklist.html b/tpl/linklist.html index 37ffeb64..bce3fa9f 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html @@ -3,11 +3,11 @@ {include="includes"}