]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Remove QRCode link to an external service 1309/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 25 May 2019 15:00:23 +0000 (17:00 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 25 May 2019 15:00:23 +0000 (17:00 +0200)
plugins/qrcode/qrcode.html
plugins/qrcode/qrcode.php

index dc214ed159ad35904c4842ba52b158a61ecd6a1f..a21f79328045924f053bc1e96505f3f57a5e7d74 100644 (file)
@@ -1,5 +1,5 @@
 <div class="linkqrcode">
-    <a href="http://qrfree.kaywa.com/?l=1&amp;s=8&amp;d=%s" onclick="showQrCode(this); return false;" class="qrcode" data-permalink="%s">
+    <a href="#" onclick="showQrCode(this); return false;" class="qrcode" data-permalink="%s">
         <img src="%s/qrcode/qrcode.png" class="linklist-plugin-icon" title="QR-Code" alt="QRCode">
     </a>
 </div>
index 34eef8be3fe88ca23c0f00cdeaa9c444795075be..c1d237d5d664532a6912e5ee5ba34c80ce59ddea 100644 (file)
@@ -22,7 +22,6 @@ function hook_qrcode_render_linklist($data)
     foreach ($data['links'] as &$value) {
         $qrcode = sprintf(
             $qrcode_html,
-            urlencode($value['url']),
             $value['url'],
             PluginManager::$PLUGINS_PATH
         );