#592: User can unsubscribe from a group
[platal.git] / templates / xnet / groupe / edit.tpl
index f62348b..0a1455d 100644 (file)
 {*                                                                        *}
 {**************************************************************************}
 
-<img src='{rel}/{$platal->ns}logo' alt="LOGO" style="float: right;" />
-
 <h1>{$asso.nom} : Éditer l'accueil</h1>
 
-<form method="post" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data">
+<form method="post" action="{$platal->ns}edit" enctype="multipart/form-data">
   {if $super}
   <table cellpadding="0" cellspacing="0" class='tiny'>
     <tr>
     </tr>
 
     <tr>
+      <td class="titre">
+        Lien pour la désinscription:<br/>
+        <em>laisser vide par défaut</em>
+      </td>
+      <td>
+        <input type="text" size="40" name="unsub_url" value="{$asso.unsub_url}" />
+      </td>
+    </tr>
+
+    <tr>
       <td class="titre center" colspan="2">
         <input type="checkbox" value="1" name="ax" {if $asso.ax}checked="checked"{/if} />
         groupe agréé par l'AX
         <input type="checkbox" value="1" name="pub" {if $asso.pub eq 'private'}checked="checked"{/if} />
         liste des membres privée
       </td>
+    </tr>
   </table>
 
   <div class="center">