X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=fe25f637ca95e5347f3275adc8d24f0b9b0e1029;hb=d081acb2132aa95d1c70197a6735b7103df103f3;hp=b601010850d08cb0c20b04d08df15dd2aa65036b;hpb=f9bebf66a51f0920e55eb6d2c60c88e2eafbc598;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index b601010..fe25f63 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; @@ -40,20 +40,15 @@ {/literal} -

{$asso.nom} : gestion des membres

+

{$asso->nom} : gestion des membres

[Retour à l'annuaire]

- Édition du profil de {if "`$user.prenom` `$user.nom`"|trim}{$user.prenom} {$user.nom}{else}{$user.email}{/if} - {if $user.origine eq 'X'} - (X{$user.promo}) - {icon name=user_suit title="fiche"} - {/if} - {icon name=delete title="Suppression du compte"} - {icon name=email title="mail"} + Édition du profil de {profile user=$user groupperms=false sex=false promo=true} + {icon name=email title="mail"}

@@ -64,48 +59,56 @@ Permissions : - + + - {if $user.origine neq X} + {if !$user->profile()} Type d'utilisateur : - profile()} disabled="disabled"{/if}> + + - + type eq "virtual"}style="display: none"{/if}> - Prénom : + Nom affiché : - + profile()} disabled="disabled"{/if} /> - Nom : + Nom complet : - + profile()} disabled="disabled"{/if} /> - + + + Nom annuaire : + + + profile()} disabled="disabled"{/if} /> + + + type eq "virtual"}style="display: none"{/if}> Sexe : - profile()} disabled="disabled"{/if}> + + @@ -114,7 +117,7 @@ Email : - + profile()} disabled="disabled"{/if} /> {/if} @@ -123,12 +126,12 @@ Commentaire : -
- Poste, origine, ... (accessible à toutes les personnes autorisées à consulter l'annuaire) +
+ Poste, origine… (accessible à toutes les personnes autorisées à consulter l'annuaire) - {if $user.origine neq X} - + {if $user->type eq 'xnet'} + @@ -177,14 +180,14 @@ Alias - {foreach from=$alias item=a} + {foreach from=$alias key=address item=sub} - - + + - {$a.alias} + {$address} {foreachelse}