Merge pull request #1309 from ArthurHoaro/feature/qrcode-link
Remove QRCode link to an external service
This commit is contained in:
commit
86aa248654
2 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<div class="linkqrcode">
|
<div class="linkqrcode">
|
||||||
<a href="http://qrfree.kaywa.com/?l=1&s=8&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">
|
<img src="%s/qrcode/qrcode.png" class="linklist-plugin-icon" title="QR-Code" alt="QRCode">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,7 +22,6 @@ function hook_qrcode_render_linklist($data)
|
||||||
foreach ($data['links'] as &$value) {
|
foreach ($data['links'] as &$value) {
|
||||||
$qrcode = sprintf(
|
$qrcode = sprintf(
|
||||||
$qrcode_html,
|
$qrcode_html,
|
||||||
urlencode($value['url']),
|
|
||||||
$value['url'],
|
$value['url'],
|
||||||
PluginManager::$PLUGINS_PATH
|
PluginManager::$PLUGINS_PATH
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue