aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default/bookmarks.tpl.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-08-30 20:32:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-08-30 20:32:31 -0300
commit9b5dce170cd9db6529c458d55e2d898fc4c7c127 (patch)
tree6ab6146f13f50759a6de069f98e24d860e667715 /data/templates/default/bookmarks.tpl.php
parent46e32815aaad22553cf3001a797efb8d1bf7a3f3 (diff)
downloadsemanticscuttle-9b5dce170cd9db6529c458d55e2d898fc4c7c127.tar.gz
semanticscuttle-9b5dce170cd9db6529c458d55e2d898fc4c7c127.tar.bz2
Adds Wayback Machine links to bookmarks
Diffstat (limited to 'data/templates/default/bookmarks.tpl.php')
-rw-r--r--data/templates/default/bookmarks.tpl.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/default/bookmarks.tpl.php b/data/templates/default/bookmarks.tpl.php
index 20b5336..945e823 100644
--- a/data/templates/default/bookmarks.tpl.php
+++ b/data/templates/default/bookmarks.tpl.php
@@ -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"