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/configure.html | 4 +++- tpl/editlink.html | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'tpl') diff --git a/tpl/configure.html b/tpl/configure.html index 1beba59c..62296cb2 100644 --- a/tpl/configure.html +++ b/tpl/configure.html @@ -19,8 +19,10 @@ Features: + + New link: + - 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