aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-11-05 14:13:18 +0100
committerArthurHoaro <arthur@hoa.ro>2016-12-16 12:42:13 +0100
commitf4ebd5fed20b29c4fb580983b4be7bd0a52151b9 (patch)
treec102ff1526c467b1869ed72bbd68c6f39997f529 /tpl/linklist.html
parente3ffc8fdee30be41046b985fe6e7034fb580b0c8 (diff)
downloadShaarli-f4ebd5fed20b29c4fb580983b4be7bd0a52151b9.tar.gz
Shaarli-f4ebd5fed20b29c4fb580983b4be7bd0a52151b9.tar.zst
Shaarli-f4ebd5fed20b29c4fb580983b4be7bd0a52151b9.zip
Bugfixes on link deletion, and use a GET form
Use a GET form to delete links: harmonize with edit_link and preparation for #585 Bug fixes: * LinkDB element can't be passed as reference, fix error: PHP Notice: Indirect modification of overloaded element of LinkDB has no effect * Resource cache folder setting wasn't set correctly
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r--tpl/linklist.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html
index 0f1a5e8c..d4232342 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -84,7 +84,7 @@
84 <input type="hidden" name="edit_link" value="{$value.id}"> 84 <input type="hidden" name="edit_link" value="{$value.id}">
85 <input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit"> 85 <input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit">
86 </form><br> 86 </form><br>
87 <form method="POST" class="buttoneditform"> 87 <form method="GET" class="buttoneditform">
88 <input type="hidden" name="lf_linkdate" value="{$value.id}"> 88 <input type="hidden" name="lf_linkdate" value="{$value.id}">
89 <input type="hidden" name="token" value="{$token}"> 89 <input type="hidden" name="token" value="{$token}">
90 <input type="hidden" name="delete_link"> 90 <input type="hidden" name="delete_link">