aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/linklist.html
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.org>2015-01-20 02:35:52 +0100
committerVirtualTam <virtualtam@flibidi.org>2015-01-20 02:53:53 +0100
commit04751e044170c1dbc13fa51ee4ea9234ab541ab9 (patch)
tree09289e84bff2cb74680e3bd161615d655f653692 /tpl/linklist.html
parent486f25a5f4ab2a9191618edcb89ebb61350ff600 (diff)
downloadShaarli-04751e044170c1dbc13fa51ee4ea9234ab541ab9.tar.gz
Shaarli-04751e044170c1dbc13fa51ee4ea9234ab541ab9.tar.zst
Shaarli-04751e044170c1dbc13fa51ee4ea9234ab541ab9.zip
w3c: fix HTML syntax errors
Fixes #64 All pages: - add `urlencode` when passing the version to a custom stylesheet; - set meaningful values of `alt` and `title` for QR-Code images. Install page: - the form's `action` attribute must be non-empty; - the `valign` attribute is deprecated. Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r--tpl/linklist.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html
index d5bfadf8..16fc842d 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -52,7 +52,8 @@
52 <span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">archive</a> - </span> 52 <span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">archive</a> - </span>
53 {/if} 53 {/if}
54 <div class="linkqrcode"><a href="http://qrfree.kaywa.com/?l=1&amp;s=8&amp;d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" 54 <div class="linkqrcode"><a href="http://qrfree.kaywa.com/?l=1&amp;s=8&amp;d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}"
55 onclick="return showQrCode(this);" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"><img src="images/qrcode.png#" title="QR-Code"></a></div> - 55 onclick="return showQrCode(this);" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}">
56 <img src="images/qrcode.png#" alt="QR-Code" title="{$value.localdate|htmlspecialchars}"></a></div> -
56 <a href="{$value.url|htmlspecialchars}"><span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span></a><br> 57 <a href="{$value.url|htmlspecialchars}"><span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span></a><br>
57 {if="$value.tags"} 58 {if="$value.tags"}
58 <div class="linktaglist"> 59 <div class="linktaglist">