From bb8f712db66f8e572eba4b14f636aeeace7cd9e7 Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Mon, 4 Mar 2013 10:18:39 +0100 Subject: [add] https://github.com/sebsauvage/Shaarli/issues/20 New links created as private by default. --- tpl/editlink.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tpl/editlink.html') diff --git a/tpl/editlink.html b/tpl/editlink.html index 4ad43b35..ad549137 100644 --- a/tpl/editlink.html +++ b/tpl/editlink.html @@ -1,7 +1,7 @@ {include="includes"} - @@ -14,7 +14,13 @@ Title

Description

Tags

-  
+ {if condition="($link_is_new && $GLOBALS['privateLinkByDefault']==true) || $link.private == true"} + +  
+ {else} + +  
+ {/if} {if condition="!$link_is_new"}{/if} -- cgit v1.2.3