Port csv export of xnetgrp, partially port member edition form.
[platal.git] / templates / xnetgrp / asso.tpl
index 62a2644..5714102 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -26,7 +26,7 @@
   {if $asso.site}
   <tr>
     <td class="titre">
-      Site Web:
+      Site Web&nbsp;:
     </td>
     <td><a href="{$asso.site}">{$asso.site}</a></td>
   </tr>
   {if $asso.resp || $asso.mail}
   <tr>
     <td class="titre">
-      Contact:
+      Contact&nbsp;:
     </td>
     <td>
       {if $asso.mail}
-      {mailto address=$asso.mail text=$asso.resp|utf8_decode|default:"par mail" encode=javascript}
+      {mailto address=$asso.mail text=$asso.resp|utf8_decode|default:"par email" encode=javascript}
       {else}
       {$asso.resp}
       {/if}
@@ -50,7 +50,7 @@
   {if $asso.forum}
   <tr>
     <td class="titre">
-      Forum:
+      Forum&nbsp;:
     </td>
     <td>
       <a href="{$platal->ns}forum">par le web</a>
     </td>
   </tr>
   {/if}
+
+  {if $is_admin && $requests}
+  <tr>
+    <td class="titre center" colspan="2">
+      <a href="{$platal->ns}subscribe/valid">{$requests} demande{if $requests gt 1}s{/if} d'inscription en attente</a>
+    </td>
+  </tr>
+  {/if}
 </table>
 
 <br />
 
 <br />
 
-{if $article_index && $article_index->total()}
+{if t($article_index) && $article_index->total()}
 <table class="tinybicol">
   <tr>
     <th>
-      {if $smarty.session.core_rss_hash}
-      <a href='{$platal->ns}rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml' style="display:block;float:right">
+      {if $smarty.session.token}
+      <a href='{$platal->ns}rss/{$smarty.session.hruid}/{$smarty.session.token}/rss.xml' style="display:block;float:right">
         {icon name=feed title='fil rss'}
       </a>
       {else}