Backport
[platal.git] / templates / newsletter / submit.tpl
index 192914a..e8e84ac 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*                                                                        *}
 {**************************************************************************}
 
-
-<h1>
-  Proposer un article à sur la prochaine Lettre mensuelle
-</h1>
-
+<h1>Proposer un article pour la prochaine Lettre mensuelle</h1>
 
 {if $submited}
 
@@ -44,12 +40,12 @@ renseignements 
 
 {if !$art->check()}
 <p class='erreur'>
-article trop long !<br />
-il faut te limiter à 8 lignes de 68 caractères.
+L'article que tu as proposé est trop long !<br />
+Il te faut te limiter à 8 lignes de 68 caractères.
 </p>
 {/if}
 
-<form action="{$smarty.server.PHP_SELF}" method='post'>
+<form action="nl/submit" method='post'>
   <table class='tinybicol'>
     <tr><th>Version texte</th></tr>
     <tr id='text'>
@@ -69,7 +65,7 @@ il faut te limiter 
     </tr>
     <tr>
       <td>
-        Si tu es content de ton article, tu peux le soumetre.
+        Si tu es content de ton article, tu peux le soumettre.
         Sinon, tu peux continuer à l'éditer en dessous
       </td>
     </tr>
@@ -89,35 +85,32 @@ il faut te limiter 
 
 {/if}
 
-<p>
-Il faut absolument que ton article fasse moins de 8 lignes (non vides) de 68 caractères.
-</p>
+<h2>Proposer un article</h2>
 
 <p>
-Les contacts, prix, adresses mail utiles, liens web, ...  sont en sus, et sont à placer dans la case "Ajouts"
+Tu peux <a href='nl/submit#conseils'>lire les conseils de rédaction</a> avant de proposer ton article.
 </p>
-
-<form action="{$smarty.server.PHP_SELF}" method='post'>
-  <table class="bicol" cellpadding="3" cellspacing="0" summary="liste des NL">
+<form action="nl/submit" method='post'>
+  <table class="bicol" cellpadding="3" cellspacing="0" summary="proposer un article">
     <tr>
-      <th colspan='2'>proposer un article</th>
+      <th colspan='2'>Proposer un article</th>
     </tr>
     <tr class="impair">
-      <td class='titre'>Sujet</td>
+        <td class='titre'>Sujet</td>
       <td>
-        <input size='60' type='text' value='{$smarty.request.title|escape}' name='title' />
+        <input size='60' type='text' value='{$smarty.request.title}' name='title' />
       </td>
     </tr>
     <tr class="pair">
       <td class='titre'>Contenu</td>
       <td>
-        <textarea cols="68" rows="10" name='body'>{if $art}{$art->body()}{/if}</textarea>
+        <textarea cols="68" rows="8" name='body'>{if $art}{$art->body()}{/if}</textarea>
       </td>
     </tr>
     <tr class="impair">
       <td class='titre'>Ajouts (emails, contacts, tarifs, site web, ...)</td>
       <td>
-        <textarea cols="68" rows="6" name='append'>{if $art}{$art->append()}{/if}</textarea>
+        <textarea cols="68" rows="3" name='append'>{if $art}{$art->append()}{/if}</textarea>
       </td>
     </tr>
     <tr class='pair'>
@@ -128,7 +121,9 @@ Les contacts, prix, adresses mail utiles, liens web, ...  sont en sus, et sont 
   </table>
 </form>
 
-{/if}
+<a id='conseils'></a>
+{include file=../spool/wiki.d/cache_Xorg.LettreMensuelle.tpl included=1}
 
+{/if}
 
 {* vim:set et sw=2 sts=2 sws=2: *}