X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=acad6986c268f9b5732e0421fa95e74eb40eb204;hb=821198c7f5394839f6421c54a32ae2a0dca19b3d;hp=e1769ddf056bc4cb25abc8cc2c8cf4fb749fe5d0;hpb=64087a3430249f84d999be01219697c925c5c7f7;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index e1769dd..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) @@ -40,99 +41,144 @@ {/literal} -