From af77b2fd9a574ba03b309ea0799946fabf37c7d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20SAUVAGE?= Date: Wed, 25 Sep 2013 15:17:09 +0200 Subject: [PATCH] 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. --- tpl/linklist.html | 80 +++++++++++++++++++++++++++++++++++------------ 1 file changed, 60 insertions(+), 20 deletions(-) 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"}