Merge pull request #43 from nodiscc/archiveorg-integration

Add Archive.org integration
This commit is contained in:
Emilien Klein 2014-11-08 17:32:12 +01:00
commit 19920acc17
2 changed files with 6 additions and 4 deletions

View file

@ -232,9 +232,10 @@ cursor:pointer;
.linktitle { font-size:14pt; font-weight:bold; } .linktitle { font-size:14pt; font-weight:bold; }
.linktitle a { text-decoration: none; color:#80AD48; } .linktitle a { text-decoration: none; color:#80AD48; }
.linktitle a:hover { color:#F57900; } .linktitle a:hover { color:#F57900; }
.linkdate { font-size:8pt; color:#888; } .linkdate, .linkarchive { 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, .linkarchive a { color:#E28E3F; }
.linkdate a:hover { color: #F57900 } .linkdate a {background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; }
.linkdate a:hover, .linkarchive a:hover { color: #F57900 }
.linkurl { font-size:8pt; color:#4BAA74; } .linkurl { font-size:8pt; color:#4BAA74; }
.linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; } .linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; }
.linkdescription a { text-decoration: none; color:#3465A4; } .linkdescription a { text-decoration: none; color:#3465A4; }

View file

@ -48,6 +48,7 @@
{else} {else}
<span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span>
{/if} {/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}" <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> - 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> <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br>