<input type="hidden" name="redirect_url" value="{{$cmd}}" />
<input type="hidden" name="form_security_token" value="{{$form_security_token}}" />
{{foreach $contacts as $contact}}
- {{include file="contact_template.tpl"}}
+ {{include file="contact/entry.tpl"}}
{{/foreach}}
<div id="contact-edit-end"></div>
<div id="contacts-actions">
return false;
}
});
-
- // add javascript confirm dialog to "drop" links. Plain html url have "?confirm=1" to show confirmation form, we need to remove it
- $(".drop").each(function() {
- $(this).attr('href', $(this).attr('href').replace("confirm=1","") );
- $(this).click(function(e){
- if (confirm("{{$contact_drop_confirm}}")) {
- return true;
- } else {
- e.preventDefault();
- return false;
- }
- });
-
- });
});
</script>