Add Archive.org integration

* adds an "archive" link next to permalinks, linking to the last version of the page on archive.org
This commit is contained in:
Qwerty 2014-11-02 15:29:39 +01:00 committed by nodiscc
parent 36b226ca1b
commit b113dc8e6b
2 changed files with 6 additions and 4 deletions

View file

@ -48,6 +48,7 @@
{else}
<span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span>
{/if}
<span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">archive</a> - </span>
<div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}"
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> -
<span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br>