diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-11-05 14:13:18 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-01-03 13:10:49 +0100 |
commit | 60d64256393ec4156ef7873860c14aa1028ffb60 (patch) | |
tree | 80879f87343daf384d6e4677933c04a3fe25a72c /tpl | |
parent | de92edd6dd6c09625d0acda8009ebbed86b98f47 (diff) | |
download | Shaarli-60d64256393ec4156ef7873860c14aa1028ffb60.tar.gz Shaarli-60d64256393ec4156ef7873860c14aa1028ffb60.tar.zst Shaarli-60d64256393ec4156ef7873860c14aa1028ffb60.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')
-rw-r--r-- | tpl/linklist.html | 2 |
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"> |