Merge branch 'fusionax' into account
[platal.git] / templates / xnetevents / edit.tpl
index 7f63c8d..8ce2eb1 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,
@@ -128,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>
@@ -159,9 +163,9 @@ function deadlineChange(box)
       <td colspan="2">
         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>
-          <li><a href="wiki_help" class="popup3">{icon name=information} tu peux utiliser une syntaxe wiki pour formatter ton texte</a></li>
+          <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;, &lt;montant&gt; et &lt;comment&gt; seront <strong>automatiquement</strong> remplacés par les informations adaptées.</li>
+          <li><a href="wiki_help" class="popup3">{icon name=information} Tu peux utiliser une syntaxe wiki pour formatter ton texte.</a></li>
         </ul>
         {javascript name=ajax}
         <div id="pay_preview" style="display: none">
@@ -172,15 +176,18 @@ function deadlineChange(box)
         </div>
         <textarea name="confirmation" id="payment_text" rows="12" cols="65">{if $paiement_message}{$paiement_message}{else}&lt;salutation&gt; &lt;prenom&gt; &lt;nom&gt;,
 
-Ton inscription à [METS LE NOM DE L'EVENEMENT ICI] a bien été enregistrée et ton paiement de &lt;montant&gt; a bien été reçu.
+Ton inscription à [METS LE NOM DE L'EVENEMENT ICI] a bien été enregistrée et ton paiement de &lt;montant&gt; a bien
+été reçu avec le commentaire suivant&nbsp;:
+&lt;comment&gt;
 
 [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 />
+        {assign var='asso_url' value=$globals->baseurl|cat:'/'|cat:$platal->ns}
+        Page internet de l'événement&nbsp;: <input size="40" name="site" value="{$paiement_site|default:$asso.site|default:$asso_url}" /><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[