aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/editlink.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-01-15 14:01:47 +0100
committerGitHub <noreply@github.com>2017-01-15 14:01:47 +0100
commit5fbab3edb300ad770d88f40ba1cc50d5b93a5bb8 (patch)
treed15e7bdb1baf69009fe6e90f653ef8b06bc86173 /tpl/default/editlink.html
parent63ef549749fac9d0e302842f06e7794d1daabc13 (diff)
parent066333c03ca6f484b8e1505e7626d2d01f252bf5 (diff)
downloadShaarli-5fbab3edb300ad770d88f40ba1cc50d5b93a5bb8.tar.gz
Shaarli-5fbab3edb300ad770d88f40ba1cc50d5b93a5bb8.tar.zst
Shaarli-5fbab3edb300ad770d88f40ba1cc50d5b93a5bb8.zip
Merge pull request #746 from ArthurHoaro/hotfix/delete-button
Fix delete button in editlink
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>