From 9c04921a8c28c18ef757f2d43ba35e7e2a7f1a4b Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 16 Oct 2020 20:17:08 +0200 Subject: Feature: Share private bookmarks using a URL containing a private key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add a share link next to « Permalink » in linklist (using share icon from fork awesome) - This link generates a private key associated to the bookmark - Accessing the bookmark while logged out with the proper key will display it Fixes #475 --- tpl/default/linklist.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tpl') diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 48cd9aad..e1115d49 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html @@ -129,6 +129,7 @@ {$strAddTag=t('Add tag')} {$strToggleSticky=t('Toggle sticky')} {$strSticky=t('Sticky')} + {$strShaarePrivate=t('Share a private link')} {ignore}End of translations{/ignore} {loop="links"}
@@ -241,6 +242,12 @@ {$strPermalinkLc} + {if="$is_logged_in && $value.private"} + + + + {/if} +
{if="isset($value.link_plugin)"} · -- cgit v1.2.3