diff options
author | nodiscc <nodiscc@gmail.com> | 2014-11-08 18:19:52 +0100 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2014-11-08 18:21:19 +0100 |
commit | d2f517638c337b5529684ab09966f74c304f0f99 (patch) | |
tree | c35b9cb2f64a2d584346f698d71f80f052e027bc /tpl/linklist.html | |
parent | 6fdbfe817abeb863cd1bfcade4da17b376414ca0 (diff) | |
download | Shaarli-d2f517638c337b5529684ab09966f74c304f0f99.tar.gz Shaarli-d2f517638c337b5529684ab09966f74c304f0f99.tar.zst Shaarli-d2f517638c337b5529684ab09966f74c304f0f99.zip |
make archive.org integration optional (ARCHIVE_ORG option, defaults to false)
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r-- | tpl/linklist.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html index b7cf096f..770819fc 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html | |||
@@ -48,7 +48,9 @@ | |||
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 | {if="$GLOBALS['config']['ARCHIVE_ORG']"} | ||
51 | <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} | ||
52 | <div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" | 54 | <div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" |
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> - | 55 | 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> - |
54 | <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br> | 56 | <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br> |