X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=596f8acf4b29e7abfd5f26612bfc4426fdae81ec;hb=173c80d7c9cd5fff543d86af380de6de028358eb;hp=48fb5f97d82dd29bf059034a3a180d2f307a58e8;hpb=00ca0ad5370df5be4a0272364fb16a4385ffabfe;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index 48fb5f9..596f8ac 100644 --- a/templates/xnetgrp/membres-edit.tpl +++ b/templates/xnetgrp/membres-edit.tpl @@ -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 @@   - +