aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-10-11 13:34:38 +0200
committerArthurHoaro <arthur@hoa.ro>2020-10-27 20:11:30 +0100
commit25e90d8d75382721ff7473fa1686090fcfeb46ff (patch)
treeaad18c29535d62b81c7991c4ae916bd596761ee6 /tpl
parent5d8de7587d67b5c3e5d1fed8562d9b87ecde80c1 (diff)
downloadShaarli-25e90d8d75382721ff7473fa1686090fcfeb46ff.tar.gz
Shaarli-25e90d8d75382721ff7473fa1686090fcfeb46ff.tar.zst
Shaarli-25e90d8d75382721ff7473fa1686090fcfeb46ff.zip
Bulk creation: fix private status based on the first form
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/addlink.html4
-rw-r--r--tpl/default/editlink.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/tpl/default/addlink.html b/tpl/default/addlink.html
index 7d4bc9e6..4aac7ff1 100644
--- a/tpl/default/addlink.html
+++ b/tpl/default/addlink.html
@@ -62,8 +62,8 @@
62 </div> 62 </div>
63 63
64 <div> 64 <div>
65 <input type="checkbox" name="private" 65 <input type="hidden" name="private" value="0">
66 {if="$default_private_links"} checked="checked"{/if}> 66 <input type="checkbox" name="private" {if="$default_private_links"} checked="checked"{/if}>
67 &nbsp; <label for="lf_private">{'Private'|t}</label> 67 &nbsp; <label for="lf_private">{'Private'|t}</label>
68 </div> 68 </div>
69 </div> 69 </div>
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html
index 980b2b8e..83e541fd 100644
--- a/tpl/default/editlink.html
+++ b/tpl/default/editlink.html
@@ -65,7 +65,7 @@
65 65
66 <div> 66 <div>
67 <input type="checkbox" name="lf_private" id="lf_private" 67 <input type="checkbox" name="lf_private" id="lf_private"
68 {if="($link_is_new && $default_private_links || $link.private == true)"} 68 {if="$link.private === true"}
69 checked="checked" 69 checked="checked"
70 {/if}> 70 {/if}>
71 &nbsp;<label for="lf_private">{'Private'|t}</label> 71 &nbsp;<label for="lf_private">{'Private'|t}</label>