aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/editlink.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-01-06 16:08:19 +0100
committerArthurHoaro <arthur@hoa.ro>2017-01-07 11:15:30 +0100
commit066333c03ca6f484b8e1505e7626d2d01f252bf5 (patch)
tree00ba1beb914ab8fffc8a2e0b8dfcd5f6029e2ae5 /tpl/default/editlink.html
parent7418f7cb60524c3bfc2f240386b5e3e7eb9b3257 (diff)
downloadShaarli-066333c03ca6f484b8e1505e7626d2d01f252bf5.tar.gz
Shaarli-066333c03ca6f484b8e1505e7626d2d01f252bf5.tar.zst
Shaarli-066333c03ca6f484b8e1505e7626d2d01f252bf5.zip
Fix delete button in editlink
This one was forgotten in #682
Diffstat (limited to 'tpl/default/editlink.html')
-rw-r--r--tpl/default/editlink.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html
index d3f99fe6..a2d9b78f 100644
--- a/tpl/default/editlink.html
+++ b/tpl/default/editlink.html
@@ -39,7 +39,13 @@
39 {/if} 39 {/if}
40 <input type="submit" value="Save" name="save_edit" class="bigbutton"> 40 <input type="submit" value="Save" name="save_edit" class="bigbutton">
41 <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton"> 41 <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton">
42 {if="!$link_is_new"}<input type="submit" value="Delete" name="delete_link" class="bigbutton delete" onClick="return confirmDeleteLink();">{/if} 42 {if="!$link_is_new && isset($link.id)"}
43 <a href="?delete_link&amp;lf_linkdate={$link.id}&amp;token={$token}"
44 name="delete_link" class="bigbutton"
45 onClick="return confirmDeleteLink();">
46 {'Delete'|t}
47 </a>
48 {/if}
43 <input type="hidden" name="token" value="{$token}"> 49 <input type="hidden" name="token" value="{$token}">
44 {if="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer}">{/if} 50 {if="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer}">{/if}
45 </form> 51 </form>