]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/linklist.html
make archive.org integration optional (ARCHIVE_ORG option, defaults to false)
[github/shaarli/Shaarli.git] / tpl / linklist.html
index bce3fa9fcc551a4a34c78ae143a46041e921f641..770819fcf132b61fad9b24c20328c285012ddbdf 100644 (file)
@@ -48,6 +48,9 @@
                 {else}
                     <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span>
                 {/if}
+                {if="$GLOBALS['config']['ARCHIVE_ORG']"}
+                <span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">archive</a> - </span>
+                {/if}
                 <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>
@@ -68,7 +71,6 @@
     {include="page.footer"} 
 
 <script language="JavaScript">
-
 // Remove any displayed QR-Code
 function remove_qrcode()
 {