Remove all password-related pages from X.net
[platal.git] / templates / survey / index.tpl
index 294a558..81c3b73 100644 (file)
     {assign var="has_cs" value="true"}
   {/if}
   {/iterate}
+  {if hasPerm('user')}
   <tr class="impair">
     <td colspan="3" style="text-align: right">
       {if $smarty.session.auth}<a href="survey/edit/new">{icon name=page_edit} Proposer un sondage</a>{/if}
     </td>
   </tr>
+  {/if}
 </table>
 {/if}