projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Partially reverts 5594f3a9 ("jQuery.Autocomplete should be downloaded by the Makefile").
[platal.git]
/
templates
/
emails
/
send.tpl
diff --git
a/templates/emails/send.tpl
b/templates/emails/send.tpl
index
9219ee2
..
1a3095f
100644
(file)
--- a/
templates/emails/send.tpl
+++ b/
templates/emails/send.tpl
@@
-68,6
+68,7
@@
}
$.post(platal_baseurl + "emails/send",
{ save: true,
}
$.post(platal_baseurl + "emails/send",
{ save: true,
+ token: '{xsrf_token}',
from: form.from.value,
to_contacts: toc,
cc_contacts: ccc,
from: form.from.value,
to_contacts: toc,
cc_contacts: ccc,
@@
-155,6
+156,7
@@
</script>
<form action="emails/send" method="post" enctype="multipart/form-data" id="form_mail" onsubmit="return check(this);">
</script>
<form action="emails/send" method="post" enctype="multipart/form-data" id="form_mail" onsubmit="return check(this);">
+ {xsrf_token_field}
<table class="bicol" cellpadding="2" cellspacing="0">
<tr>
<th colspan="2">Destinataires</th>
<table class="bicol" cellpadding="2" cellspacing="0">
<tr>
<th colspan="2">Destinataires</th>