]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Adds Wayback Machine links to bookmarks
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Aug 2023 23:32:31 +0000 (20:32 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Aug 2023 23:32:31 +0000 (20:32 -0300)
data/templates/default/bookmarks.tpl.php

index 20b53361b21bc8c7a4dcb898be40b7a2e986c729..945e8234209bd0fabe19ba8c16f6312c414d3a85 100644 (file)
@@ -516,6 +516,7 @@ if ($currenttag!= '') {
             . $update . "\n"
             . $cacheLink ."\n"
            . ' | <a href="/permalink/'. $row['bId'] . '">Permalink</a>' ."\n"
+                 . ' | <a href="https://web.archive.org/web/*/'. htmlspecialchars($address) . '">Wayback Machine</a>' ."\n"
             . "  </div>\n";
                echo $privateNoteField != ''
             ? '    <div class="privateNote" title="'. T_('Private Note on this bookmark') .'">'.$privateNoteField."</div>\n"