X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=acad6986c268f9b5732e0421fa95e74eb40eb204;hb=d49b4a9a031549236efab82b88b58c8cf3c1ed6c;hp=4760885e078026a074d36c7ab1dff50ea952c50a;hpb=5660032ac785d410f90e3f5b0d6948dc90b0cfea;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index 4760885..acad698 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-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,10 +24,11 @@ {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; + document.getElementById('password').style.display = state; } function showXInput(box) @@ -54,55 +55,93 @@
{xsrf_token_field} + {if hasPerm('admin')} + + + + + {/if} - + - type eq "virtual"}style="display: none"{/if}> + {if $user->type eq 'virtual' || ($user->type eq 'xnet' && !$user->perms)} + - + + + + + + + + + + + {if $user->type neq "virtual"} + + + + + + + {/if} type eq "virtual"}style="display: none"{/if}> + {if !$user->perms} + {/if} + {/if} - {if $user->type eq 'ext'} + {if $asso->has_nl} + + + + + {/if} + {if $user->type eq 'xnet'} {/if} + {if $user->type eq 'xnet' && $suggest} + + + + {/if} + {if $user->type eq 'xnet' && $pending_xnet_account} + + + + {/if}
+ Identifiant unique : + + {$user->hruid} + {icon name="user_edit" title="Administer"} +
Permissions : - + +
- Type d'utilisateur : + Poste : - + + {foreach from=$positions item=position} + + {/foreach}
- Prénom : + Type d'utilisateur : - +
- Nom : + Nom complet :{$user->fullName()}
Nom annuaire :{$user->directoryName()}
Nom : +
Prénom : - +
Nom affiché : + +
Sexe : - + +
Email : @@ -111,6 +150,8 @@
Commentaire : @@ -120,12 +161,24 @@ Poste, origine… (accessible à toutes les personnes autorisées à consulter l'annuaire)
+ Newsletter : + + +  -  + +
- +
+ +
+ +

Abonnement aux listes

@@ -187,10 +264,10 @@

- +   -
+