Merge remote branch 'origin/xorg/maint' into xorg/master
[platal.git] / templates / xnetgrp / membres-edit.tpl
index ca37807..92a3833 100644 (file)
@@ -89,7 +89,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;: