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:
parent
1687756741
commit
83a86d2d39
3 changed files with 6 additions and 3 deletions
BIN
images/logo_Archive.org.jpg
Normal file
BIN
images/logo_Archive.org.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -232,9 +232,11 @@ cursor:pointer;
|
|||
.linktitle { font-size:14pt; font-weight:bold; }
|
||||
.linktitle a { text-decoration: none; color:#80AD48; }
|
||||
.linktitle a:hover { color:#F57900; }
|
||||
.linkdate { font-size:8pt; color:#888; }
|
||||
.linkdate a { background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; color:#E28E3F; }
|
||||
.linkdate a:hover { color: #F57900 }
|
||||
.linkdate, .linkarchive { font-size:8pt; color:#888; }
|
||||
.linkdate a, .linkarchive a { color:#E28E3F;text-decoration: none;}
|
||||
.linkarchive a {background-image:url('../images/logo_Archive.org.jpg');padding:2px 0 3px 20px;background-repeat:no-repeat;}
|
||||
.linkdate a {background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;}
|
||||
.linkdate a:hover, .linkarchive a:hover { color: #F57900 }
|
||||
.linkurl { font-size:8pt; color:#4BAA74; }
|
||||
.linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; }
|
||||
.linkdescription a { text-decoration: none; color:#3465A4; }
|
||||
|
|
|
@ -54,6 +54,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.org</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>
|
||||
|
|
Loading…
Reference in a new issue