- 1
- 2
- 3
- 4
- 5
- 6
{{if $remove_email eq "Y"}}
<script type="text/javascript">
if( confirm("Are you sure you want to delete email \"{{$email|escape}}\"?") )
document.location.href="http://{{$host}}/email.html?action=remove_email&confirm=Y";
</script>
{{/if}}
Ну, в любом случае, без JS ссылку удалить не сделаешь, по этому делается обычно GET-ом.
fixed