X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=596f8acf4b29e7abfd5f26612bfc4426fdae81ec;hb=173c80d7c9cd5fff543d86af380de6de028358eb;hp=4760885e078026a074d36c7ab1dff50ea952c50a;hpb=353f2d2b11c4e3c6c0bc3553813368b6f42fa9c6;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index 4760885..596f8ac 100644 --- a/templates/xnetgrp/membres-edit.tpl +++ b/templates/xnetgrp/membres-edit.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,7 +24,7 @@ {literal} function showInformations(box) { - var state = (box.value == 'ext') ? '' : 'none'; + var state = (box.value != 'virtual') ? '' : 'none'; document.getElementById('prenom').style.display = state; document.getElementById('sexe').style.display = state; document.getElementById('make_X').style.display = state; @@ -59,37 +59,46 @@ Permissions : - + + + {if !$user->profile()} Type d'utilisateur : - + + type eq "virtual"}style="display: none"{/if}> - Prénom : + Nom affiché : - + - Nom : + Nom complet : - + + + + + + Nom annuaire : + + + type eq "virtual"}style="display: none"{/if}> @@ -97,12 +106,14 @@ Sexe : - + + + {/if} + {if !$user->profile() || !$user->perms} Email : @@ -111,6 +122,7 @@ + {/if} Commentaire : @@ -120,7 +132,7 @@ Poste, origine… (accessible à toutes les personnes autorisées à consulter l'annuaire) - {if $user->type eq 'ext'} + {if $user->type eq 'xnet'} @@ -190,7 +202,7 @@   - +