Merge branch 'xorg/master' into xorg/f/xnet-accounts
[platal.git] / templates / xnetgrp / membres-edit.tpl
index 4bf9c80..12e1da1 100644 (file)
@@ -90,7 +90,7 @@
         </select>
       </td>
     </tr>
-    {if !$user->profile()}
+    {if $user->type eq 'virtual' || $user->type eq 'xnet'}
     <tr class="impair">
       <td class="titre">
         Type d'utilisateur&nbsp;:
         </select>
       </td>
     </tr>
-    {/if}
-    {if !$user->profile() || !$user->perms}
+    {if !$user->perms}
     <tr class="impair">
       <td class="titre">
         Email&nbsp;:
       </td>
     </tr>
     {/if}
+    {/if}
     <tr class="impair">
       <td class="titre">
         Commentaire&nbsp;: