Merge commit 'origin/fusionax' into account
[platal.git] / templates / xnetevents / edit.tpl
index 5a208cc..661826a 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -35,7 +35,7 @@ function deadlineChange(box)
 {/literal}
 </script>
 
-<h1>{$asso.nom}&nbsp;: {$evt.intitule|default:"Nouvel événement"}</h1>
+<h1>{$asso->nom}&nbsp;: {$evt.intitule|default:"Nouvel événement"}</h1>
 
 <p class="descr">
   Un événement peut être une réunion, un séminaire, une conférence, un voyage promo,
@@ -64,6 +64,7 @@ function deadlineChange(box)
 {/if}
 
 <form method="post" action="{$platal->ns}events/edit/{$url_ref}">
+  {xsrf_token_field}
   <table class='bicol' cellspacing='0' cellpadding='0'>
     <colgroup>
       <col width='25%' />
@@ -84,7 +85,7 @@ function deadlineChange(box)
     <tr>
       <td class='titre'>
         Nom raccourci&nbsp;:<br />
-        <small>(pour les mailings listes)</small>
+        <small>(pour les listes de diffusion)</small>
       </td>
       <td>
         <input type="text" name="short_name" size="20" maxlength="20"
@@ -127,18 +128,22 @@ function deadlineChange(box)
       </td>
       <td>
         Montrer la liste des inscrits aux membres&nbsp;:
-        <input type="radio" name="show_participants" value="1" {if $evt.show_participants}checked="checked"{/if} /> oui
-        <input type="radio" name="show_participants" value="0" {if !$evt.show_participants}checked="checked"{/if}/> non
+        <label><input type="radio" name="show_participants" value="1" {if $evt.show_participants}checked="checked"{/if} />
+        oui</label>
+        <label><input type="radio" name="show_participants" value="0" {if !$evt.show_participants}checked="checked"{/if}/>
+        non</label>
 
         <br />
         Autoriser les non-membres&nbsp;:
-        <input type="radio" name="accept_nonmembre" value="1" {if $evt.accept_nonmembre}checked="checked"{/if} /> oui
-        <input type="radio" name="accept_nonmembre" value="0" {if !$evt.accept_nonmembre}checked="checked"{/if}/> non
+        <label><input type="radio" name="accept_nonmembre" value="1" {if $evt.accept_nonmembre}checked="checked"{/if} />
+        oui</label>
+        <label><input type="radio" name="accept_nonmembre" value="0" {if !$evt.accept_nonmembre}checked="checked"{/if}/>
+        non</label>
 
         <br />
         Autoriser les invités&nbsp;:
-        <input type="radio" name="noinvite" value="0" {if !$evt.noinvite}checked="checked"{/if} /> oui
-        <input type="radio" name="noinvite" value="1" {if $evt.noinvite}checked="checked"{/if}/> non
+        <label><input type="radio" name="noinvite" value="0" {if !$evt.noinvite}checked="checked"{/if} /> oui</label>
+        <label><input type="radio" name="noinvite" value="1" {if $evt.noinvite}checked="checked"{/if}/> non</label>
       </td>
     </tr>
     <tr>
@@ -156,7 +161,7 @@ function deadlineChange(box)
     </tr>
     <tr id="new_pay" style="display:none">
       <td colspan="2">
-        Il faut que tu définisses le texte dmail de confirmation de paiement. Pour ceci, tu peux adapter le modèle qui suit&nbsp;:
+        Il faut que tu définisses le texte de l'email de confirmation de paiement. Pour ceci, tu peux adapter le modèle qui suit&nbsp;:
         <ul>
           <li><strong>Remplace les crochets</strong> ([...]) par le texte que tu désires y voir apparaître</li>
           <li>&lt;salutation&gt;, &lt;prenom&gt;, &lt;nom&gt; et &lt;montant&gt; seront <strong>automatiquement</strong> remplacés par les informations adaptées</li>
@@ -175,11 +180,11 @@ Ton inscription à [METS LE NOM DE L'EVENEMENT ICI] a bien été enregistrée et
 
 [COMPLETE EN PRECISANT LA DATE ET LA PERSONNE A CONTACTER]
 
-A très bientôt,
+À très bientôt,
 
 -- 
 {$smarty.session.prenom} {$smarty.session.nom}{/if}</textarea><br />
-        Page internet de l'événement&nbsp;: <input size="40" name="site" value="{$paiement_site|default:$asso.site|default:$platal->ns}" /><br />
+        Page internet de l'événement&nbsp;: <input size="40" name="site" value="{$paiement_site|default:$asso->site|default:$globals->baseurl|cat:'/'|cat:$platal->ns}" /><br />
         Le nouveau paiement sera activé automatiquement après validation par le trésorier de Polytechnique.org,
         ce qui sera fait sous peu.
         <script type="text/javascript">//<![CDATA[