Just a relooking
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 3 Dec 2006 20:24:39 +0000 (20:24 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 3 Dec 2006 20:24:39 +0000 (20:24 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1231 839d8a87-29fc-0310-9880-83ba4fa771e5

templates/newsletter/show.tpl

index 833c88e..a681ec9 100644 (file)
   </div>
 </form>
 
-<table class="bicol" cellpadding="3" cellspacing="0">
-  <tr>
-    <th>{$nl->title()}</th>
-  </tr>
-  <tr>
-    <td>
-      {if $smarty.get.text}
-      <pre>{$nl->toText($smarty.session.prenom, $smarty.session.nom, $smarty.session.femme)}</pre>
-      {else}
-      <div class='nl'>
-        {$nl->toHtml($smarty.session.prenom, $smarty.session.nom, $smarty.session.femme,
+<fieldset>
+<legend>{$nl->title(true)}</legend>
+  {if $smarty.get.text}
+  <pre style="width : 72ex; margin: auto">{$nl->toText($smarty.session.prenom, $smarty.session.nom, $smarty.session.femme)}
+  </pre>
+  {else}
+  <div class='nl'>
+    {$nl->toHtml($smarty.session.prenom, $smarty.session.nom, $smarty.session.femme,
                      false, true)|smarty:nodefaults}
-      </div>
-      {/if}
-    </td>
-  </tr>
-</table>
-
+  </div>
+  {/if}
+</fieldset>
 
 {* vim:set et sw=2 sts=2 sws=2: *}