Tweaks to login page template (Closes FS#771) [alk]
[platal.git] / templates / newsletter / edit.tpl
index 2d6ca24..fbbd359 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 [<a href="nl/show/{$nl->id()}">visualiser</a>]
 </p>
 
-<form action='admin/newsletter/edit/{$nl->_id}/update' method='post'>
+<form action='admin/newsletter/edit/{$nl->id(true)}/update' method='post'>
   <table class="bicol" cellpadding="3" cellspacing="0">
     <tr>
       <th colspan='2'>
-        Propriétés de la newsletter
+        Propriétés de la newsletter
       </th>
     </tr>
     <tr>
     </tr>
     <tr>
       <td class='titre'>
+        Titre du mail
+      </td>
+      <td>
+        <input type='text' size='60' name='title_mail' value="{$nl->title(true)}" />
+      </td>
+    </tr>
+    <tr>
+      <td class='titre'>
         Titre
       </td>
       <td>
 <table class="bicol" cellpadding="3" cellspacing="0">
   <tr>
     <td>
-      Créer un nouvel article ...
+      Créer un nouvel article ...
     </td>
     <td style='vertical-align:middle; border-left: 1px gray solid'>
-      [<a href="admin/newsletter/edit/{$nl->_id}/new#edit">créer</a>]
+      [<a href="admin/newsletter/edit/{$nl->_id}/new#edit">créer</a>]
     </td>
   </tr>
   {foreach from=$nl->_arts item=arts key=cat}
       </td>
     </tr>
     <tr class="impair">
-      <td class='titre'>Catégorie</td>
+      <td class='titre'>Catégorie</td>
       <td>
         <select name='cid'>
           <option value='0'>-- none --</option>
         <textarea cols="68" rows="6" name='append'>{$art->append()}</textarea>
       </td>
     </tr>
+    <tr class="pair smaller">
+      <td></td>
+      <td>
+        <a href="wiki_help/notitle" class="popup3">{icon name=information} Voir la documentation du wiki</a>
+      </td>
+    </tr>
     <tr class='pair'>
       <td colspan='2' class='center'>
         <input type='submit' value='visualiser' />
 {/if}
 
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}