source: branches/2.2/security/security-cfg.php @ 3377

Revision 3377, 3.2 KB checked in by rafaelraymundo, 13 years ago (diff)

Ticket #1310 - Traduções para msgs emitidas com uso do certificado digital.

Line 
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" >';
10    echo  '<h2  style="color: #000066">' . lang('Parameters into') . ' ' . $path1 . ':</h2>';
11    echo '<table border="0" witdh="80%">';
12    echo '<tr >';
13    echo '<td valign="top"><b>' . lang('Path BASE') . ':</b><br/></td>';
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']);
20    echo '<td valign="top"><b>' . lang('Folder to temporary files to digital certificate validation') . ':</b><br/></td>';
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']);
27    echo '<td valign="top"><b>' . lang('File with Certificate Authority(CAs) chains') . ':</b><br/></td>';
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']);
34    echo '<td valign="top"><b>' . lang('Folder with CRLs') . ':<br>
35           ' . lang('Empty to disable revogation test') . '.</b></td>';
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']);
42    echo '<td valign="top"><b>' . lang('Point to file with URLs of CRLs') . ':</b></td>';
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']);
49    echo '<td valign="top"><b>' . lang('File to execution log of get CRLs') . ':</b></td>';
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>';
55    echo '<td valign="top"><b>' . lang('Maximum length of file log(bytes)') . ':</b></td>';
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>';
61    echo '<td valign="top"><b>' . lang('Maximum number of files log to retain') . ':</b></td>';
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/>';
68    echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a>';
69    echo '<div>';
70?>
Note: See TracBrowser for help on using the repository browser.