X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Flinklist.html;h=7208a3b6050ea87c909632ccddca1a88cc4c0561;hb=b3bd8c3e8d367975980043e772f7cd78b7f96bc6;hp=b44d0783aa03f3e6aeebeb5c82cb28354c0c8d81;hpb=d1bcf28db3704b75200c03be728dddcaf725ca51;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index b44d0783..7208a3b6 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html @@ -90,11 +90,13 @@ {'for'|t} {$search_term} {/if} {if="!empty($search_tags)"} - {$exploded_tags=explode(' ', $search_tags)} + {$exploded_tags=tags_str2array($search_tags, $tags_separator)} {'tagged'|t} {loop="$exploded_tags"} - {$value} + + {$value} + {/loop} {/if} @@ -127,19 +129,26 @@ {$strAddTag=t('Add tag')} {$strToggleSticky=t('Toggle sticky')} {$strSticky=t('Sticky')} + {$strShaarePrivate=t('Share a private link')} {ignore}End of translations{/ignore} {loop="links"}
{/if} {/if} - + {if="!$hide_timestamps || $is_logged_in"} {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink} @@ -233,6 +242,12 @@ {$strPermalinkLc} + {if="$is_logged_in && $value.private"} + + + + {/if} +
{if="isset($value.link_plugin)"} · @@ -247,7 +262,7 @@ {ignore}do not add space or line break between these div - Firefox issue{/ignore} class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1"> - {$value.url} + {$value.url_html}
@@ -293,6 +318,7 @@ {include="page.footer"} - + +{if="$is_logged_in && $async_metadata"}{/if}