force 'base href=...../~x......' once for good.
[platal.git] / templates / xnet / groupe / asso.tpl
index f139389..9610c3b 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -21,9 +21,9 @@
 {**************************************************************************}
 
 {if $asso.site}
-<a href="{$asso.site}"><img src='getlogo.php' alt="LOGO" style="float: right;" /></a>
+<a href="{$asso.site}"><img src='{rel}/{$platal->ns}logo' alt="LOGO" style="float: right;" /></a>
 {else}
-<img src='getlogo.php' alt="LOGO" style="float: right;" />
+<img src='{rel}/{$platal->ns}logo' alt="LOGO" style="float: right;" />
 {/if}
 
 <h1>{$asso.nom} : Accueil</h1>
       Forum:
     </td>
     <td>
-      <a href="https://www.polytechnique.org/banana/thread.php?group={$asso.forum}">par le web</a>
+      <a href="https://www.polytechnique.org/banana/{$asso.forum}">par le web</a>
       ou <a href="news://ssl.polytechnique.org/{$asso.forum}">par nntp</a>
     </td>
   </tr>
   {/if}
 
-  {if !$is_member && $logged && $asso.pub eq 'public' && $asso.inscriptible}
+  {if !$is_member && $logged && $asso.pub eq 'public' && $xnet_type != 'promotions'}
   <tr>
     <td class="titre">
       M'inscrire :
     </td>
     <td>
-      <a href="{$asso.sub_url|default:"inscrire.php"}">m'inscrire</a>
+      <a href="{rel}/{$platal->ns}subscribe">m'inscrire</a>
     </td>
   </tr>
   {/if}