Changeset 3304
- Timestamp:
- 09/29/10 15:01:56 (14 years ago)
- Location:
- branches/2.2/setup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/setup/manageheader.php
r1351 r3304 596 596 $setup_tpl->set_var('use_https_0',' checked'); 597 597 $setup_tpl->set_var('div_cert',' style="display:none" '); 598 $setup_tpl->set_var('div_criptox',' style="display:none" '); 598 599 599 600 break; … … 614 615 $setup_tpl->set_var('certificado_0',' checked'); 615 616 $setup_tpl->set_var('div_cripto',' style="display:none" '); 617 $setup_tpl->set_var('div_criptox',' style="display:none" '); 616 618 $setup_tpl->set_var('cripto_options',' style="display:none" '); 617 619 break; 618 620 case '1': 619 621 $setup_tpl->set_var('certificado_1',' checked'); 622 $setup_tpl->set_var('div_criptox',' style="" '); 620 623 break; 621 624 } … … 652 655 default: 653 656 $setup_tpl->set_var('use_assinar_criptografar_0',' checked'); 657 $setup_tpl->set_var('cripto_options',' style="display:none" '); 654 658 break; 655 659 case '1': … … 666 670 $setup_tpl->set_var('num_max_certs_to_cipher','0'); 667 671 } 672 668 673 if($GLOBALS['phpgw_info']['server']['atributoexpiracao']) 669 674 { -
branches/2.2/setup/templates/default/manageheader.tpl
r3295 r3304 26 26 document.getElementById('cripto_0').checked = true; 27 27 } 28 if(xdiv.id == "certificado" || xdiv.id == "criptografia" || xdiv.id == "cripto_options") {29 var xdiv = document.getElementById('cripto _options');28 if(xdiv.id == "certificado" || xdiv.id == "criptografia" ) { 29 var xdiv = document.getElementById('criptografiax'); 30 30 document.getElementById('maxcerttxt').value = 0; 31 document.getElementById('atributoexpiracaotxt').value = '';32 document.getElementById('atributousuarios').value = '';31 //document.getElementById('atributoexpiracaotxt').value = ''; 32 //document.getElementById('atributousuarios').value = ''; 33 33 } 34 34 if(xdiv.id == "badlogin") { … … 43 43 if(xdiv.id == "cripto_options") { 44 44 document.getElementById('maxcerttxt').value = '10'; 45 document.getElementById('atributoexpiracaotxt').value = 'phpgwlastpasswdchange';46 document.getElementById('atributousuarios').value = '';45 //document.getElementById('atributoexpiracaotxt').value = 'phpgwlastpasswdchange'; 46 //document.getElementById('atributousuarios').value = ''; 47 47 } 48 48 if(xdiv.id == "badlogin") { … … 178 178 <INPUT type="radio"{use_https_2} name="setting[use_https]" value="2" onclick="javascript:exibir('certificado')" >Usar HTTPS no Site inteiro.<BR> 179 179 </td></tr> 180 <tr><td colspan="2"> 180 <tr><td colspan="2"> 181 <div id="certificado" {div_cert}> 181 182 <table> 182 183 <tr><td colspan="2"><b>Usar Certificado Digital (para identificar o usuario no processo de login)?</b></td></tr> 183 184 <tr><td colspan="2"> 184 185 <font color='red'>Obs.: Para habilitar este item o uso do HTTPS deve ter sido habilitado.</font><br> 185 <INPUT id="cert_0" type="radio" {certificado_0} name="setting[certificado]" onclick="javascript:ocultar('criptografia ')" value="0" >NÃO Usar Certificado Digital.<BR>186 <div id="certificado" {div_cert}>187 <INPUT id="cert_1" type="radio" {certificado_1} name="setting[certificado]" onclick="javascript:exibir('criptografia ')" value="1">Usar Certificado Digital.</div><BR>186 <INPUT id="cert_0" type="radio" {certificado_0} name="setting[certificado]" onclick="javascript:ocultar('criptografiax')" value="0" >NÃO Usar Certificado Digital.<BR> 187 188 <INPUT id="cert_1" type="radio" {certificado_1} name="setting[certificado]" onclick="javascript:exibir('criptografiax')" value="1">Usar Certificado Digital.<BR> 188 189 </td></tr> 189 190 </table> 190 191 </div> 191 192 192 193 </td></tr> … … 194 195 </fieldset> 195 196 </td></tr> 196 <tr><td colspan="2"> 197 <tr><td colspan="2"><div id="criptografiax" {div_criptox} > 197 198 <fieldset><legend>Criptografia e Assinatura Digital</legend> 198 199 <table> … … 203 204 <tr><td colspan="2"> 204 205 <INPUT id='cripto_0' onclick="javascript:ocultar('cripto_options')" type="radio" {use_assinar_criptografar_0} name="setting[use_assinar_criptografar]" value="0" />NÃO habilitar.<BR> 205 <div id="criptografia" {div_cripto}><INPUT id='cripto_1' onclick="javascript:exibir('cripto_options')" type="radio" {use_assinar_criptografar_1} name="setting[use_assinar_criptografar]" value="1" />Habilitar.</div><BR>206 <div id="criptografia" ><INPUT id='cripto_1' onclick="javascript:exibir('cripto_options')" type="radio" {use_assinar_criptografar_1} name="setting[use_assinar_criptografar]" value="1" />Habilitar.</div><BR> 206 207 </td></tr> 207 208 <tr><td colspan="2"> … … 210 211 <tr><td colspan="2"> 211 212 <b>Numero maximo de destinatarios para uma mensagem cifrada<br><INPUT type="text" maxlength="2" size="3" name="setting[num_max_certs_to_cipher]" id="maxcerttxt" value="{num_max_certs_to_cipher}" onkeypress="return soNumero(this, event);"></td></tr> 213 </table> 214 </div> 215 </td></tr> 216 </table> 217 </fieldset></div> 218 </td></tr> 219 <tr><td colspan="2"> 220 <fieldset><legend> Contrôle da senha</legend> 221 <table> 212 222 <tr><td nowrap> 213 223 <b>Nome do atributo , no ldap, para controle de expiracao da senhas</b> 214 </td></tr> 224 </td></tr> 215 225 <tr><td> 216 226 <INPUT type="text" maxlength="50" size="40" name="setting[atributoexpiracao]" id="atributoexpiracaotxt" value="{atributoexpiracao}" > … … 218 228 <tr><td nowrap> 219 229 <b>Classe ldap utilizada para identificar os usuarios</b> 220 </td></tr> 230 </td></tr> 221 231 <tr><td> 222 232 <INPUT type="text" maxlength="50" size="40" name="setting[atributousuarios]" id="atributousuarios" value="{atributousuarios}" > 223 233 </td></tr> 224 </table> 225 </div></td></tr> 226 </table> 227 </fieldset> 228 </td></tr> 234 </table> 235 </fieldset> 236 </td></tr> 229 237 <tr><td colspan="2"> 230 238 <fieldset><legend> Anti-Robo</legend>
Note: See TracChangeset
for help on using the changeset viewer.