X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=1b506c6137c8dc84aad7a6d8a4e9cb5fbd45f94b;hb=01f78cbb9740f7278fb0eee65d2758cb39fc85f7;hp=044f8217f50985780fcb905de04b30afd2c739ee;hpb=c12cc82e1d97b51e19b294942ea9450a34d929cd;p=platal.git
diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl
index 044f821..1b506c6 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,38 @@
Permissions :
- |
+ {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} />
|
type eq "virtual"}style="display: none"{/if}>
@@ -97,9 +98,9 @@
Sexe :
-
-
-
+ profile()} disabled="disabled"{/if}>
+
+
|
@@ -108,19 +109,20 @@
Email :
-
+ profile()} disabled="disabled"{/if} />
|
+ {/if}
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->type eq 'ext'}
+ {if $user->type eq 'xnet'}
|