[3232] | 1 | <?php |
---|
| 2 | $GLOBALS['phpgw_info'] = array(); |
---|
| 3 | $GLOBALS['phpgw_info']['flags']['currentapp'] = 'admin'; |
---|
| 4 | include('../header.inc.php'); |
---|
| 5 | require_once('classes/CertificadoB.php'); |
---|
| 6 | $path1 = $GLOBALS['BASE'] . '/security/classes/Verifica_Certificado_conf.php'; |
---|
| 7 | $arq = file_get_contents($path1); |
---|
| 8 | echo '<script type="text/javascript" src="certificados.js" ></script>'; |
---|
| 9 | echo '<div style="padding-left:90px" >'; |
---|
[3377] | 10 | echo '<h2 style="color: #000066">' . lang('Parameters into') . ' ' . $path1 . ':</h2>'; |
---|
[3232] | 11 | echo '<table border="0" witdh="80%">'; |
---|
| 12 | echo '<tr >'; |
---|
[3377] | 13 | echo '<td valign="top"><b>' . lang('Path BASE') . ':</b><br/></td>'; |
---|
[3232] | 14 | echo '<td valign="top">'; |
---|
| 15 | echo '<input type="text" name="BASE" value="'. $GLOBALS['BASE'] . '" size="60" READONLY />'; |
---|
| 16 | echo '</td>'; |
---|
| 17 | echo '</tr>'; |
---|
| 18 | echo '<tr>'; |
---|
| 19 | $aux = explode($GLOBALS['BASE'] . '/',$GLOBALS['dirtemp']); |
---|
[3377] | 20 | echo '<td valign="top"><b>' . lang('Folder to temporary files to digital certificate validation') . ':</b><br/></td>'; |
---|
[3232] | 21 | echo '<td valign="top">'; |
---|
| 22 | echo '<input type="text" name="dirtemp" value="'. $aux[1] . '" size="60" READONLY />'; |
---|
| 23 | echo '</td>'; |
---|
| 24 | echo '</tr>'; |
---|
| 25 | echo '<tr >'; |
---|
| 26 | $aux = explode($GLOBALS['BASE'] . '/',$GLOBALS['CAs']); |
---|
[3377] | 27 | echo '<td valign="top"><b>' . lang('File with Certificate Authority(CAs) chains') . ':</b><br/></td>'; |
---|
[3232] | 28 | echo '<td valign="top">'; |
---|
| 29 | echo '<input type="text" name="CAs" value="'. $aux[1] . '" size="60" READONLY />'; |
---|
| 30 | echo '</td>'; |
---|
| 31 | echo '</tr>'; |
---|
| 32 | echo '<tr>'; |
---|
| 33 | $aux = explode($GLOBALS['BASE'] . '/',$GLOBALS['CRLs']); |
---|
[3377] | 34 | echo '<td valign="top"><b>' . lang('Folder with CRLs') . ':<br> |
---|
| 35 | ' . lang('Empty to disable revogation test') . '.</b></td>'; |
---|
[3232] | 36 | echo '<td valign="top">'; |
---|
| 37 | echo '<input type="text" name="CRLs" value="'. $aux[1]. '" size="60" READONLY />'; |
---|
| 38 | echo '</td>'; |
---|
| 39 | echo '</tr>'; |
---|
| 40 | echo '<tr >'; |
---|
| 41 | $aux = explode($GLOBALS['BASE'] . '/',$GLOBALS['arquivos_crls']); |
---|
[3377] | 42 | echo '<td valign="top"><b>' . lang('Point to file with URLs of CRLs') . ':</b></td>'; |
---|
[3232] | 43 | echo '<td valign="top">'; |
---|
| 44 | echo '<input type="text" name="arquivos_crls" value="'. $aux[1] . '" size="60" READONLY />'; |
---|
| 45 | echo '</td>'; |
---|
| 46 | echo '</tr>'; |
---|
| 47 | echo '<tr>'; |
---|
| 48 | $aux = explode($GLOBALS['BASE'] . '/',$GLOBALS['log']); |
---|
[3377] | 49 | echo '<td valign="top"><b>' . lang('File to execution log of get CRLs') . ':</b></td>'; |
---|
[3232] | 50 | echo '<td valign="top">'; |
---|
| 51 | echo '<input type="text" name="log" value="'. $aux[1] . '" size="60" READONLY />'; |
---|
| 52 | echo '</td>'; |
---|
| 53 | echo '</tr>'; |
---|
| 54 | echo '<tr>'; |
---|
[3377] | 55 | echo '<td valign="top"><b>' . lang('Maximum length of file log(bytes)') . ':</b></td>'; |
---|
[3232] | 56 | echo '<td valign="top">'; |
---|
| 57 | echo '<input type="text" name="log" value="'. $GLOBALS['lenMax'] . '" size="60" READONLY />'; |
---|
| 58 | echo '</td>'; |
---|
| 59 | echo '</tr>'; |
---|
| 60 | echo '<tr>'; |
---|
[3377] | 61 | echo '<td valign="top"><b>' . lang('Maximum number of files log to retain') . ':</b></td>'; |
---|
[3232] | 62 | echo '<td valign="top">'; |
---|
| 63 | echo '<input type="text" name="log" value="'. $GLOBALS['bkpNum'] . '" size="60" READONLY />'; |
---|
| 64 | echo '</td>'; |
---|
| 65 | echo '</tr>'; |
---|
| 66 | echo '</table>'; |
---|
| 67 | echo '<br/>'; |
---|
[3377] | 68 | echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a>'; |
---|
[3232] | 69 | echo '<div>'; |
---|
| 70 | ?> |
---|