diff options
author | Qwerty <champlywood@free.fr> | 2014-11-02 15:29:39 +0100 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2014-11-05 14:35:52 +0100 |
commit | b113dc8e6bba052883297ab575dd36fd3073805e (patch) | |
tree | 3a826d9a4761ebb5a31d52f8cf4247a1fffd0e4d /tpl | |
parent | 36b226ca1bdc856ec3b8c0655852289e52b8d777 (diff) | |
download | Shaarli-b113dc8e6bba052883297ab575dd36fd3073805e.tar.gz Shaarli-b113dc8e6bba052883297ab575dd36fd3073805e.tar.zst Shaarli-b113dc8e6bba052883297ab575dd36fd3073805e.zip |
Add Archive.org integration
* adds an "archive" link next to permalinks, linking to the last version of the page on archive.org
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/linklist.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html index ddc38cb0..b7cf096f 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html | |||
@@ -48,6 +48,7 @@ | |||
48 | {else} | 48 | {else} |
49 | <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> | 49 | <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> |
50 | {/if} | 50 | {/if} |
51 | <span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">archive</a> - </span> | ||
51 | <div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" | 52 | <div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" |
52 | onclick="showQrCode(this); return false;" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"><img src="images/qrcode.png#" width="13" height="13" title="QR-Code"></a></div> - | 53 | onclick="showQrCode(this); return false;" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"><img src="images/qrcode.png#" width="13" height="13" title="QR-Code"></a></div> - |
53 | <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br> | 54 | <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br> |