Adds missing anti-XSRF protections in Admin module.
[platal.git] / templates / admin / homonymes.tpl
index 386065a..b254bcc 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -73,6 +73,7 @@
 {elseif $op eq 'mail-conf'}
 
 <form method="post" action="admin/homonyms/mail/{$target}">
+  {xsrf_token_field}
   <table class="bicol">
     <tr>
       <th>Envoyer un mail pour prévenir l'utilisateur</th>
@@ -108,6 +109,7 @@ L'équipe Polytechnique.org
 {elseif $op eq 'correct-conf'}
 
 <form method="post" action="admin/homonyms/correct/{$target}">
+  {xsrf_token_field}
   <table class="bicol">
     <tr>
       <th>Mettre en place le robot {$loginbis}@{#globals.mail.domain#}</th>