Changeset 3377 for branches/2.2/security/security-cas.php
- Timestamp:
- 10/20/10 12:54:49 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/security/security-cas.php
r3232 r3377 11 11 if(!is_dir(dirname($path3))) 12 12 { 13 echo lang('Erro.') . ' ' . lang(' Não foi possível localizar arquivo de configuração no servidor.');13 echo lang('Erro.') . ' ' . lang('Configuration file not found in server.'); 14 14 exit(); 15 15 } … … 53 53 if(count(explode(chr(0x0A),$w)) < 7 ) 54 54 { 55 $msgs_alertas .= lang(' Arquivo') . ' '. $_FILES['file']['name'] . lang('nao pode ser processado. Formato invalido') . '.<br/>';55 $msgs_alertas .= lang('File') . ' '. $_FILES['file']['name'] . lang('not processed. Invalid format') . '.<br/>'; 56 56 } 57 57 } … … 80 80 { 81 81 $conteudo .= chr(0x0D) . chr(0x0A) . $cert; 82 $msgs_alertas .= lang(' Adicionado certificado para') . ' ' . $a->dados['NOME'] . ' .<br/>';82 $msgs_alertas .= lang('Certificate added to') . ' ' . $a->dados['NOME'] . ' .<br/>'; 83 83 } 84 84 } … … 92 92 { 93 93 file_put_contents($path3,$conteudo,FILE_APPEND); 94 $msgs_alertas .= lang(' Arquivo atualizado e salvo') . '.';94 $msgs_alertas .= lang('File updated and save') . '.'; 95 95 } 96 96 else 97 97 { 98 $msgs_alertas .= lang('Fa lhou ao salvar arquivo (CD04). Nao foi concluida a operacao solicitada') . '.<br/>';98 $msgs_alertas .= lang('Failure on save file (CD04). The requested operation is not concluded') . '.<br/>'; 99 99 } 100 100 } 101 101 else 102 102 { 103 $msgs_alertas .= lang('Fa lhou ao salvar arquivo (CD03). Nao foi concluida a operacao solicitada') . '.<br/>';103 $msgs_alertas .= lang('Failure on save file (CD03). The requested operation is not concluded') . '.<br/>'; 104 104 } 105 105 } 106 106 else 107 107 { 108 $msgs_alertas .= lang(' Nao foram localizados certificados de CAs') . '.';108 $msgs_alertas .= lang('ACs certificates not found') . '.'; 109 109 } 110 110 } … … 115 115 echo '<div style="padding-left:90px" >'; 116 116 echo '<form id="frm3" enctype="multipart/form-data" method="post" action="' . $_SERVER["PHP_SELF"] . '">'; 117 echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang(' Voltar') . '"/></a>';117 echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a>'; 118 118 $aux99 = explode('/',$path3); 119 119 $path3 = $aux99[count($aux99)-1]; … … 123 123 echo '</div>'; 124 124 echo '<div id="files"/>'; 125 echo '<h4 style="color: #000066">' . lang(' Selecione um arquivo com certificados de CAs para adionar ao arquivo de Cas em uso') . ':<h5>';125 echo '<h4 style="color: #000066">' . lang('Choose a file with CAs to add') . ':<h5>'; 126 126 echo '<input id="file" type="file" name="file" />'; 127 127 echo ' '; 128 echo '<input type="button" name="adicionar" value="' . lang('Ad icionar') . '" onclick="javascript:Submete_Cas(\'frm3\',\'' . lang('Adicionar conteudo do arquivo selecionado ao arquivo de CAs') . ' ?\')" />';128 echo '<input type="button" name="adicionar" value="' . lang('Add') . '" onclick="javascript:Submete_Cas(\'frm3\',\'' . lang('Add file contents to ACs file') . ' ?\')" />'; 129 129 echo '</div>'; 130 130 echo '</form>'; 131 echo '<h2 id="titulo1" style="color: #000066">' . lang('Certifica dos em') . ' ' . $path3 . ' :</h2>';131 echo '<h2 id="titulo1" style="color: #000066">' . lang('Certificates in') . ' ' . $path3 . ' :</h2>'; 132 132 echo '<div id="xdiv1" style="border: #000000 1px solid; overflow: auto; width: 870px; height: 160px; white-space: pre; padding: 3px; " >'; 133 echo '<br/><font color="#000066"><b> ' . lang(' Carregando...') . '</b></font>';133 echo '<br/><font color="#000066"><b> ' . lang('Loading ...') . '</b></font>'; 134 134 echo '</div>'; 135 135 echo '<br/><pre>'; 136 136 echo '<div id="xdiv2" style="border: #000000 1px solid; overflow: auto; width: 870px; height: 180px; white-space: pre; padding: 3px; " >'; 137 echo '<br/><font color="#000066"><b> ' . lang(' Carregando...') . '</b></font>';137 echo '<br/><font color="#000066"><b> ' . lang('Loading ...') . '</b></font>'; 138 138 echo '</div></pre>'; 139 139 echo '<br/>'; 140 echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang(' Voltar') . '"/></a>';140 echo '<a href="../security/security_admin.php" style="text-decoration:none"><input type="button" value="' . lang('Back') . '"/></a>'; 141 141 echo '<div>'; 142 142 echo '<script type="text/javascript"> Lista_de_Certificados(\'' . $path3 . '\'); </script>';
Note: See TracChangeset
for help on using the changeset viewer.