Show users with broken email in xnet
[platal.git] / templates / newsletter / edit.tpl
index b19bfa3..a944aa4 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  *}
 
 <p>
 [<a href="admin/newsletter">liste</a>]
-[<a href="nl/show/{$nl->_id}">visualiser</a>]
+[<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'>
     </tr>
     <tr>
       <td class='titre'>
+        Nom
+      </td>
+      <td>
+        <input type='text' size='16' name='shortname' value="{$nl->_shortname}" />
+        <span class="smaller">(Ex : 2006-06 pour la NL de juin 2006)</span>
+      </td>
+    </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>