X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=24edb37f59224670dbfe653726bfaf9d7afc276b;hb=3c74642259203c7f11e21ef0a75497660170c4ec;hp=044f8217f50985780fcb905de04b30afd2c739ee;hpb=5b516e6be17378ace0e375b9da14a46051bf0f4e;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index 044f821..24edb37 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 @@