0 Members and 1 Guest are viewing this topic.
Selectable delete works in diff tpl, but after adding new selectable archive section, neither work.Both work in main tpl..
in diff tpl? please tell me how to configure HFS to reproduce your problem.
{.if|{.get|can delete.}| <input type='hidden' name='action' value='delete'> <input type='checkbox' onclick='var is = document.getElementsByName("selection"); for (var i=0; i < is.length; i++) is[i].checked = this.checked;'>All <input class="button" type='submit' value='Delete' onclick='return confirm("Are you sure?")'> /if.}
{.if|{.get|can delete.}{.get|can archive.}|<input type='checkbox' onclick='var is = document.getElementsByName("selection"); for (var i=0; i < is.length; i++) is[i].checked = this.checked;'> All{.if|{.get|can delete.}|<input style='margin-left:1em' type='button' value='Delete' onclick='if (confirm("Are you sure?")) submitAdding("filelist", {"action":"delete"}, "")'>.}{.if|{.get|can archive.}| <input style='margin-left:1em' type='button' value='Archive' onclick='if (confirm("Are you sure?")) submitAdding("filelist", {"action":"archive"}, "~folder.tar?recursive")'>.}/if.}