Commit 5d33d1535333587739e2d779d7fc6108625a968c
1 parent
ce0903a3
Exists in
master
and in
1 other branch
Atualização do "trunk"
- atualizado mapa mental da pesquisa - melhorias no instalador para teste do servidor/serviço FTP git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@325 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing
6 changed files
with
202 additions
and
15 deletions
Show diff stats
instalador/classes/install.ado.php
... | ... | @@ -14,6 +14,102 @@ |
14 | 14 | // direct access is denied |
15 | 15 | defined( 'CACIC' ) or die( 'Acesso restrito (Restricted access)!' ); |
16 | 16 | |
17 | +class Ftp { | |
18 | + var $conn; | |
19 | + var $server = 'localhost'; | |
20 | + var $port = '21'; | |
21 | + var $timeout = 20; // tempo em segundos | |
22 | + var $user; | |
23 | + var $user_pass; | |
24 | + var $subdir = "/"; | |
25 | + | |
26 | + var $error = ""; | |
27 | + var $message = ""; | |
28 | + | |
29 | + function Ftp($_server="",$_port="",$_user="",$_user_pass="",$_subdir="", $_timeout = 0) { | |
30 | + if(!empty($_server)) $this->server = $_server; | |
31 | + if(!empty($_port)) $this->port = $_port; | |
32 | + if(!empty($_timeout)) $this->timeout = $_timeout; | |
33 | + if(!empty($_subdir)) $this->subdir = $_subdir; | |
34 | + $this->user = $_user; | |
35 | + $this->user_pass = $_user_pass; | |
36 | + $this->conecta(); | |
37 | + } | |
38 | + | |
39 | + function conecta($_server="",$_port="", $_timeout = 05) { | |
40 | + $this->error = false; | |
41 | + if(!empty($_server)) $this->server = $_server; | |
42 | + if(!empty($_port)) $this->port = $_port; | |
43 | + if(!empty($_timeout)) $this->timeout = $_timeout; | |
44 | + // Cria a conexão | |
45 | + $this->conn = ftp_connect($this->server, $this->port, $this->timeout); | |
46 | + // confere a conexão | |
47 | + if ((!$this->conn)) { | |
48 | + $this->error = true; | |
49 | + $this->message = "Conexão ao servidor (".$this->server.":".$this->port.") FTP falhou!"; | |
50 | + } | |
51 | + return !$this->error; | |
52 | + } | |
53 | + | |
54 | + function login($_user="",$_user_pass="") { | |
55 | + $this->error = false; | |
56 | + if(!empty($_user)) $this->user = $_user; | |
57 | + if(!empty($_user_pass)) $this->user_pass = $_user_pass; | |
58 | + // login com o nome de usuário e senha | |
59 | + $_result = ftp_login($this->conn, $this->user, $this->user_pass); | |
60 | + // confere a conexão | |
61 | + if ((!$_result)) { | |
62 | + $this->error = true; | |
63 | + $this->message = "Login no FTP falhou! Verifique usuário ou senha."; | |
64 | + } | |
65 | + return !$this->error; | |
66 | + } | |
67 | + | |
68 | + function upload($_arquivo,$_subdir="") { | |
69 | + $this->error = false; | |
70 | + if(!empty($_subdir)) $this->subdir = $_subdir; | |
71 | + // upload de arquivo | |
72 | + $_result = ftp_put($this->conn, $this->subdir, $_arquivo, FTP_BINARY); | |
73 | + // verifica o upload do arquivo | |
74 | + if (!$_result) { | |
75 | + $this->error = true; | |
76 | + $this->message = "Upload de arquivo ($_arquivo) no FTP falhou!"; | |
77 | + } | |
78 | + return !$this->error; | |
79 | + } | |
80 | + | |
81 | + function changeDir($_subdir="/") { | |
82 | + $this->error = false; | |
83 | + if(!empty($_subdir)) $this->subdir = $_subdir; | |
84 | + // upload de arquivo | |
85 | + $_result = ftp_chdir($this->conn, $this->subdir); | |
86 | + // verifica o a mudança de diretório | |
87 | + if (!$_result) { | |
88 | + $this->error = true; | |
89 | + $this->message = "Mudança de diretório (".$this->subdir.") no FTP falhou!"; | |
90 | + } | |
91 | + return !$this->error; | |
92 | + } | |
93 | + | |
94 | + function close() { | |
95 | + // fecha a conexão FTP | |
96 | + return ftp_close($this->conn); | |
97 | + } | |
98 | + | |
99 | + function isError() { | |
100 | + return $this->error; | |
101 | + } | |
102 | + | |
103 | + function getMessage() { | |
104 | + return $this->message; | |
105 | + } | |
106 | + | |
107 | +} | |
108 | + | |
109 | +class Mysql { | |
110 | + | |
111 | +} | |
112 | + | |
17 | 113 | class ADO { |
18 | 114 | |
19 | 115 | var $db_server; | ... | ... |
instalador/classes/install.ajax.php
... | ... | @@ -70,6 +70,7 @@ class InstallAjax { |
70 | 70 | |
71 | 71 | $task = $_POST['task']; |
72 | 72 | switch (strtolower($task)) { |
73 | + case 'testconnftp' : InstallAjax::checkFtpServer($_SESSION['cacic_config']); break; | |
73 | 74 | case 'testconn' : InstallAjax::checkDBConnection($_SESSION['cacic_config']); break; |
74 | 75 | case 'showcfgfile' : InstallAjax::showCFGFile($_SESSION['cacic_config']); break; |
75 | 76 | case 'savecfgfile' : InstallAjax::saveCFGFile($_SESSION['cacic_config']); break; |
... | ... | @@ -347,7 +348,7 @@ class InstallAjax { |
347 | 348 | if (!$oDB->conecta()) { |
348 | 349 | $msg = '<span class="Erro">'."[".InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
349 | 350 | $msg .= InstallAjax::_('kciq_msg database connect fail').'!</span>'. |
350 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
351 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
351 | 352 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
352 | 353 | $connOk = false; |
353 | 354 | } |
... | ... | @@ -366,6 +367,53 @@ class InstallAjax { |
366 | 367 | return $connOk; |
367 | 368 | } |
368 | 369 | |
370 | + /** | |
371 | + * Verifica conexao com o serviço FTP | |
372 | + */ | |
373 | + function checkFtpServer($cacic_config) { | |
374 | + $_connOk = true; | |
375 | + $_server = $cacic_config['ftp_host']; | |
376 | + $_port = $cacic_config['ftp_port']; | |
377 | + $_user = $cacic_config['ftp_user']; | |
378 | + $_user_pass = $cacic_config['ftp_pass']; | |
379 | + $_subdir = $cacic_config['ftp_subdir']; | |
380 | + $oFtp = new Ftp($_server,$_port,$_user,$_user_pass,$_subdir); | |
381 | + $msg = "[".InstallAjax::_('kciq_msg ok', '',2)."! ] - ".InstallAjax::_('kciq_msg connected ok') . "<span class='OkImg'></span><br>"; | |
382 | + if($oFtp->isError()) { | |
383 | + $msg = '<span class="Erro">'."[".InstallAjax::_('kciq_msg error', '',2)."! ] - "; | |
384 | + $msg .= InstallAjax::_('kciq_msg ftp connect fail').'!</span>'. | |
385 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
386 | + $msg .= '<pre>'.$oFtp->getMessage().'</pre>'; | |
387 | + $_connOk = false; | |
388 | + } | |
389 | + echo $msg; | |
390 | + | |
391 | + if($_connOk ) { | |
392 | + $msg = "[".InstallAjax::_('kciq_msg ok', '',2)."! ] - ".InstallAjax::_('kciq_msg ftp login ok') . "<span class='OkImg'></span><br>"; | |
393 | + if(!$oFtp->login()) { | |
394 | + $msg = '<span class="Erro">'."[".InstallAjax::_('kciq_msg error', '',2)."! ] - "; | |
395 | + $msg .= InstallAjax::_('kciq_msg ftp login connect fail').'!</span>'. | |
396 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
397 | + $msg .= '<pre>'.$oFtp->getMessage().'</pre>'; | |
398 | + $_connOk = false; | |
399 | + } | |
400 | + echo $msg; | |
401 | + if($_connOk ) { | |
402 | + $msg = "[".InstallAjax::_('kciq_msg ok', '',2)."! ] - ".InstallAjax::_('kciq_msg ftp change dir ok') . "<span class='OkImg'></span><br>"; | |
403 | + if(!$oFtp->changeDir($_subdir)) { | |
404 | + $msg = '<span class="Erro">'."[".InstallAjax::_('kciq_msg error', '',2)."! ] - "; | |
405 | + $msg .= InstallAjax::_('kciq_msg ftp change dir fail').'!</span>'. | |
406 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
407 | + $msg .= '<pre>'.$oFtp->getMessage().'</pre>'; | |
408 | + $_connOk = false; | |
409 | + } | |
410 | + echo $msg; | |
411 | + } | |
412 | + } | |
413 | + | |
414 | + return $_connOk; | |
415 | + } | |
416 | + | |
369 | 417 | /* |
370 | 418 | * Verifica conexão com o banco de dados |
371 | 419 | */ |
... | ... | @@ -403,7 +451,7 @@ class InstallAjax { |
403 | 451 | if (!$oDB->conecta()) { |
404 | 452 | $msg = '<span class="Erro">['.InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
405 | 453 | $msg .= InstallAjax::_('kciq_msg database connect fail').'!</span>'. |
406 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
454 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
407 | 455 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
408 | 456 | die($msg); |
409 | 457 | } |
... | ... | @@ -416,7 +464,7 @@ class InstallAjax { |
416 | 464 | if (!$oDB_result) { |
417 | 465 | $msg = '<span class="Erro">['.InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
418 | 466 | $msg .= InstallAjax::_('kciq_msg user insert error',array($cacic_config['db_user'])).'</span>'. |
419 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
467 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
420 | 468 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
421 | 469 | die($msg); |
422 | 470 | } |
... | ... | @@ -433,7 +481,7 @@ class InstallAjax { |
433 | 481 | if (!$oDB->createDB()) { |
434 | 482 | $msg = '<span class="Erro">['.InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
435 | 483 | $msg .= InstallAjax::_('kciq_msg inst build database error',array($cacic_config['db_name'])).'</span>'. |
436 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
484 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
437 | 485 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
438 | 486 | die($msg); |
439 | 487 | } |
... | ... | @@ -450,7 +498,7 @@ class InstallAjax { |
450 | 498 | if (!$oDB->selectDB()) { |
451 | 499 | $msg = '<span class="Erro">['.InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
452 | 500 | $msg .= InstallAjax::_('kciq_msg database not exist',array($cacic_config['db_name'])).'</span>'. |
453 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
501 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
454 | 502 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
455 | 503 | die($msg); |
456 | 504 | } |
... | ... | @@ -468,7 +516,7 @@ class InstallAjax { |
468 | 516 | if (!$oDB_result) { |
469 | 517 | $msg = '<span class="Erro">['.InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
470 | 518 | $msg .= InstallAjax::_('kciq_msg inst database table build').'</span>'. |
471 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
519 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
472 | 520 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
473 | 521 | die($msg); |
474 | 522 | } |
... | ... | @@ -494,7 +542,7 @@ class InstallAjax { |
494 | 542 | if (!$oDB_result) { |
495 | 543 | $msg = '<span class="Erro">['.InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
496 | 544 | $msg .= InstallAjax::_('kciq_msg inst update tables on database', array($cacic_config['db_name'])).'!</span>'. |
497 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
545 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
498 | 546 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
499 | 547 | die($msg); |
500 | 548 | } |
... | ... | @@ -520,7 +568,7 @@ class InstallAjax { |
520 | 568 | if (!$oDB_result) { |
521 | 569 | $msg = '<span class="Erro">['.InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
522 | 570 | $msg .= InstallAjax::_('kciq_msg inst insert basic data',array($cacic_config['db_name'])).'!</span>'. |
523 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
571 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
524 | 572 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
525 | 573 | die($msg); |
526 | 574 | } |
... | ... | @@ -545,7 +593,7 @@ class InstallAjax { |
545 | 593 | if (!$oDB_result) { |
546 | 594 | $msg = '<span class="Erro">['.InstallAjax::_('kciq_msg error', '',2)."! ] - "; |
547 | 595 | $msg .= InstallAjax::_('kciq_msg inst insert demo data').'!</span>'. |
548 | - '<br>'.InstallAjax::_('kciq_msg database server msg').':'; | |
596 | + '<br>'.InstallAjax::_('kciq_msg server msg').':'; | |
549 | 597 | $msg .= '<pre>'.$oDB->getMessage().'</pre>'; |
550 | 598 | die($msg); |
551 | 599 | } | ... | ... |
instalador/classes/install.php
... | ... | @@ -339,6 +339,12 @@ class Install { |
339 | 339 | $this->oTmpl->addVar($template, 'INSTALL_NEW', 'checked'); |
340 | 340 | if($cacic_config['install']['type'] == 'atualizar') |
341 | 341 | $this->oTmpl->addVar($template, 'INSTALL_UPDATE', 'checked'); |
342 | + | |
343 | + $this->oTmpl->addVar($template, 'FTP_HOST', $cacic_config['ftp_host']); | |
344 | + $this->oTmpl->addVar($template, 'FTP_PORT', $cacic_config['ftp_port']); | |
345 | + $this->oTmpl->addVar($template, 'FTP_SUBDIR', $cacic_config['ftp_subdir']); | |
346 | + $this->oTmpl->addVar($template, 'FTP_USER', $cacic_config['ftp_user']); | |
347 | + $this->oTmpl->addVar($template, 'FTP_PASS', $cacic_config['ftp_pass']); | |
342 | 348 | } |
343 | 349 | else { |
344 | 350 | $this->oTmpl->addVar($template, 'CACIC_PATH', CACIC_PATH); |
... | ... | @@ -347,6 +353,12 @@ class Install { |
347 | 353 | $this->oTmpl->addVar($template, 'DB_PORT', "3306"); |
348 | 354 | $this->oTmpl->addVar($template, 'DB_NAME', "cacic"); |
349 | 355 | $this->oTmpl->addVar($template, 'DB_USER', "cacic_db_user"); |
356 | + | |
357 | + $this->oTmpl->addVar($template, 'FTP_HOST', "localhost"); | |
358 | + $this->oTmpl->addVar($template, 'FTP_PORT', "21"); | |
359 | + $this->oTmpl->addVar($template, 'FTP_SUBDIR', "agentes"); | |
360 | + $this->oTmpl->addVar($template, 'FTP_USER', 'ftpcacic'); | |
361 | + $this->oTmpl->addVar($template, 'FTP_PASS', 'ftpcacic'); | |
350 | 362 | } |
351 | 363 | |
352 | 364 | // Dados administrativos | ... | ... |
instalador/classes/install.tmpl.php
... | ... | @@ -45,6 +45,7 @@ Class Template extends patTemplate { |
45 | 45 | $this->readTemplatesFromInput('install_body.tmpl'); |
46 | 46 | $this->readTemplatesFromInput('install_footer.tmpl'); |
47 | 47 | $this->readTemplatesFromInput('install_navbar.tmpl'); |
48 | + $this->readTemplatesFromInput('install_navbarftpverify.tmpl'); | |
48 | 49 | |
49 | 50 | } |
50 | 51 | |
... | ... | @@ -115,6 +116,23 @@ Class Template extends patTemplate { |
115 | 116 | $this->addVar('tmplNavBarFinish', 'KCIQ_FINISH_TITLE', $this->oLang->_('kciq_msg finish title')); |
116 | 117 | $this->addVar('tmplNavBarFinish', 'KCIQ_FINISH', $this->oLang->_('kciq_msg finish')); |
117 | 118 | |
119 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_CONFIGURATIONS', $this->oLang->_('kciq_msg configurations')); | |
120 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_INST_FTPVERIFY', $this->oLang->_('kciq_msg ftp verify')); | |
121 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_PREVIOUS', $this->oLang->_('kciq_msg previous')); | |
122 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_NEXT', $this->oLang->_('kciq_msg next')); | |
123 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_TESTCONN', $this->oLang->_('kciq_msg test conn')); | |
124 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_TESTCONN_HELP', $this->oLang->_('kciq_msg test conn help')); | |
125 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_MSG_SERVER', $this->oLang->_('kciq_msg database host')); | |
126 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_INST_FTP_HOST_HELP', $this->oLang->_('kciq_msg ftp host help')); | |
127 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_MSG_PORT', $this->oLang->_('kciq_msg database port')); | |
128 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_INST_FTP_PORT_HELP', $this->oLang->_('kciq_msg ftp port help')); | |
129 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_INST_FTP_SUBDIR', $this->oLang->_('kciq_msg ftp subdir')); | |
130 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_INST_FTP_SUBDIR_HELP', $this->oLang->_('kciq_msg ftp subdir help')); | |
131 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_MSG_USER', $this->oLang->_('kciq_msg user')); | |
132 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_INST_FTPUSER_HELP', $this->oLang->_('kciq_msg ftp user help')); | |
133 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_MSG_PASS', $this->oLang->_('kciq_msg password')); | |
134 | + $this->addVar('tmplNavBarFtpVerify', 'KCIQ_INST_FTPPASS_HELP', $this->oLang->_('kciq_msg ftp password help')); | |
135 | + | |
118 | 136 | $this->addVar('tmplNavBarConfiguration', 'KCIQ_PREVIOUS', $this->oLang->_('kciq_msg previous')); |
119 | 137 | $this->addVar('tmplNavBarConfiguration', 'KCIQ_NEXT', $this->oLang->_('kciq_msg next')); |
120 | 138 | $this->addVar('tmplNavBarConfiguration', 'KCIQ_TESTCONN_HELP', $this->oLang->_('kciq_msg test conn help')); | ... | ... |
instalador/templates/install_navbar.tmpl
... | ... | @@ -233,7 +233,7 @@ |
233 | 233 | <td colspan=2> |
234 | 234 | <div class="navbar-btn"> |
235 | 235 | <div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'checkinstall' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></div></div> |
236 | - <div class="navbar-btn-left"><div class="proximo"><a onclick="submitForm( installForm, 'adminSetup' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></div></div> | |
236 | + <div class="navbar-btn-left"><div class="proximo"><a onclick="submitForm( installForm, 'FtpVerify' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></div></div> | |
237 | 237 | </div> |
238 | 238 | </td> |
239 | 239 | </tr> |
... | ... | @@ -414,7 +414,7 @@ |
414 | 414 | <tr class="navbar"> |
415 | 415 | <td colspan=2> |
416 | 416 | <div class="navbar-btn"> |
417 | - <div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'Configuration' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></div></div> | |
417 | + <div class="navbar-btn-right"><div class="anterior"><a onclick="submitForm( installForm, 'FtpVerify' );" title="{KCIQ_PREVIOUS}">{KCIQ_PREVIOUS}</a></div></div> | |
418 | 418 | <div class="navbar-btn-left"><div class="proximo"><a onclick="submitForm( installForm, 'Finish' );" title="{KCIQ_NEXT}">{KCIQ_NEXT}</a></div></div> |
419 | 419 | </div> |
420 | 420 | </td> | ... | ... |
language/pt_BR/language.pt_BR.inc.php
... | ... | @@ -22,7 +22,8 @@ pt_BR kciq_msg computadores monitorados hoje |
22 | 22 | pt_BR kciq_msg inst make database permissions instaladorinfo Concedendo permissões ao usuário (%1). |
23 | 23 | pt_BR kciq_msg inst end title instaladorinfo Conclusão da instalação do CACIC |
24 | 24 | pt_BR kciq_msg inst connecting to database server instaladorinfo Conectando ao servidor de banco de dados |
25 | -pt_BR kciq_msg inst database connect ok instaladorinfo Conexão realizado com sucesso! | |
25 | +pt_BR kciq_msg connected ok geral info Conexão realizada com sucesso | |
26 | +pt_BR kciq_msg inst database connect ok instaladorinfo Conexão realizada com sucesso! | |
26 | 27 | pt_BR kciq_msg configurations Geral info Configurações |
27 | 28 | pt_BR kciq_msg admin mgm verify pass help instaladorinfo Confirmar senha do Administrador do CACIC |
28 | 29 | pt_BR kciq_msg verify geral info Confirmação |
... | ... | @@ -56,6 +57,9 @@ pt_BR kciq_msg php_flag_on_advise |
56 | 57 | pt_BR kciq_msg statistics geral info Estatísticas |
57 | 58 | pt_BR kciq_msg cacic statistics geral info Estatísticas do CACIC |
58 | 59 | pt_BR kciq_msg ftp_suporte instaladorinfo FTP |
60 | +pt_BR kciq_msg ftp login connect fail geral erro Falha ao logar no servidor FTP | |
61 | +pt_BR kciq_msg ftp change dir fail geral erro Falha ao tentar alterar diretório FTP | |
62 | +pt_BR kciq_msg ftp connect fail geral erro Falha na conexão FTP | |
59 | 63 | pt_BR kciq_msg finish instaladorinfo Finalizar |
60 | 64 | pt_BR language_fr Geral info fr Francè |
61 | 65 | pt_BR geral Geral TagHeader Geral |
... | ... | @@ -74,8 +78,8 @@ pt_BR kciq_msg inst local insert |
74 | 78 | pt_BR kciq_msg demo help instaladorinfo Inserir dados para demonstração do CACIC. |
75 | 79 | pt_BR kciq_msg instalada geral info Instalada |
76 | 80 | pt_BR instalador geral TagHeader Instalador |
77 | -pt_BR kciq_installertitle instaladorinfo Instalador WEB para o CACIC | |
78 | 81 | pt_BR kciq_msg web_installer instaladorinfo Instalador WEB para o CACIC |
82 | +pt_BR kciq_installertitle instaladorinfo Instalador WEB para o CACIC | |
79 | 83 | pt_BR kciq_msg inst finished and verified instaladorinfo Instalação do CACIC finalizada e veficada! |
80 | 84 | pt_BR kciq_msg advise_title instaladorinfo Instrução PHP/Apache |
81 | 85 | pt_BR kciq_installerintrotitle instaladorinfo Introdução |
... | ... | @@ -88,6 +92,7 @@ pt_BR kciq_msg local not reg |
88 | 92 | pt_BR kciq_msg login Geral info Login |
89 | 93 | pt_BR kciq_msg login already exist geral info Login (%1) já está cadastrado! |
90 | 94 | pt_BR kciq_msg login not exist geral info Login (%1) não existe. |
95 | +pt_BR kciq_msg ftp login ok geral info Login com sucesso no FTP | |
91 | 96 | pt_BR kciq_msg admin mgm user help instaladorinfo Login do Administrador do CACIC |
92 | 97 | pt_BR kciq_msg admin login needed geral info Login do administrador deve ser informado! |
93 | 98 | pt_BR kciq_msg user help instaladorinfo Login do administrador do banco de dados. |
... | ... | @@ -95,10 +100,11 @@ pt_BR kciq_msg logout |
95 | 100 | pt_BR manutenção geral TagHeader Manutenção |
96 | 101 | pt_BR kciq_msg php_memory instaladorinfo Memória para execução de programas PHP |
97 | 102 | pt_BR kciq_msg mensagem Geral info Mensagem |
98 | -pt_BR kciq_msg database server msg geral info Mensagem do servidor | |
103 | +pt_BR kciq_msg server msg geral info Mensagem do servidor | |
99 | 104 | pt_BR kciq_msg showcfgfile instaladorinfo Mostrar <i>config.php</i> |
100 | 105 | pt_BR kciq_msg showcfgfile help instaladorinfo Mostrar o arquivo de configurações para o CACIC. |
101 | 106 | pt_BR kciq_msg js_enable instaladorinfo Necessário ativar <b>JavaScript</b> para usar o Instalador Web |
107 | +pt_BR kciq_msg login needed geral info Necessário haver autenticação | |
102 | 108 | pt_BR kciq_msg name geral info Nome |
103 | 109 | pt_BR kciq_msg admin mgm adminname help instaladorinfo Nome do Administrador do CACIC |
104 | 110 | pt_BR kciq_msg admin name needed geral info Nome do administrador deve ser informado! |
... | ... | @@ -107,7 +113,9 @@ pt_BR kciq_msg inst database name not defined |
107 | 113 | pt_BR kciq_msg database name help instaladorinfo Nome do banco de dados pré-existente. |
108 | 114 | pt_BR kciq_msg local name needed geral info Nome do local deve ser informado! |
109 | 115 | pt_BR kciq_msg database host help instaladorinfo Nome do servidor (ou IP) do banco de dados. |
116 | +pt_BR kciq_msg ftp user help geral ajuda Nome do usuário FTP | |
110 | 117 | pt_BR kciq_msg dbuser help instaladorinfo Nome do usuário para ser usado pelo CACIC para conectar ao banco de dados. |
118 | +pt_BR kciq_msg ftp host help geral help Nome ou IP do servidor FTP | |
111 | 119 | pt_BR kciq_msg new Geral info Nova |
112 | 120 | pt_BR kciq_msg no geral info Não |
113 | 121 | pt_BR kciq_msg database connect fail geral erro Não foi possível conectar ao banco de dados |
... | ... | @@ -138,6 +146,7 @@ pt_BR kciq_menu search |
138 | 146 | pt_BR kciq_msg fix_requiriment_help instaladorinfo Por favor, corrija pendências para continuar processo de instalação! |
139 | 147 | pt_BR kciq_msg license advise instaladorinfo Por favor, leia os termos da licença a seguir. Você deve aceitar os termos desta para continuar a instalação! |
140 | 148 | pt_BR kciq_msg database port instaladorinfo Porta |
149 | +pt_BR kciq_msg ftp port help geral ajuda Porta FTP no servidor | |
141 | 150 | pt_BR kciq_msg database port help instaladorinfo Porta de conexão ao banco de dados. |
142 | 151 | pt_BR kciq_msg inst database server port not defined instaladorerro Porta no servidor de banco de dados deve ser informada! |
143 | 152 | pt_BR language_pt_br Geral info pt_BR Português Brasileiro |
... | ... | @@ -160,6 +169,7 @@ pt_BR kciq_msg inst type not defined |
160 | 169 | pt_BR kciq_msg password Geral info Senha |
161 | 170 | pt_BR kciq_msg admin mgm pass help instaladorinfo Senha do Administrador do CACIC |
162 | 171 | pt_BR kciq_msg password help instaladorinfo Senha do administrador do banco de dados. |
172 | +pt_BR kciq_msg ftp password help geral ajuda Senha do usuário FTP | |
163 | 173 | pt_BR kciq_msg dbpass help instaladorinfo Senha para o usuário do banco de dados. |
164 | 174 | pt_BR kciq_msg password needed geral info Senhas devem ser informadas e confirmadas! |
165 | 175 | pt_BR kciq_msg password not same geral info Senhas não são iguais! |
... | ... | @@ -169,6 +179,8 @@ pt_BR kciq_msg abbr |
169 | 179 | pt_BR kciq_msg admin mgm abbr help instaladorinfo Sigla do local ao qual a aplicação gerente está associada. |
170 | 180 | pt_BR kciq_msg local abbr needed geral info Sigla do local deve ser informada! |
171 | 181 | pt_BR kciq_msg yes geral info Sim |
182 | +pt_BR kciq_msg ftp subdir geral info Subdiretório FTP | |
183 | +pt_BR kciq_msg ftp subdir help geral ajuda Subdiretório FTP no servidor | |
172 | 184 | pt_BR kciq_msg mcrypt_suporte instaladorinfo Suporte a criptografia com MCrypt |
173 | 185 | pt_BR kciq_msg gd_suporte instaladorinfo Suporte a imagens com GD |
174 | 186 | pt_BR kciq_msg mysql_suporte instaladorinfo Suporte ao MySQL versão |
... | ... | @@ -191,6 +203,7 @@ pt_BR kciq_msg inst verify admin |
191 | 203 | pt_BR kciq_msg inst verify database existence instaladorinfo Verificando existência do banco de dados (%1)... |
192 | 204 | pt_BR kciq_msg inst verify local instaladorinfo Verificando local (%1)... |
193 | 205 | pt_BR kciq_msg check geral info Verificar |
206 | +pt_BR kciq_msg ftp verify geral info Verificação de servidor FTP | |
194 | 207 | pt_BR kciq_msg check_notok geral info Verificação não satisfeita |
195 | 208 | pt_BR kciq_msg check_ok geral info Verificação satisfeita |
196 | 209 | pt_BR kciq_msg inst path not executable instaladorinfo Verifique as permissões de leitura e execução do caminho físico informado! |
... | ... | @@ -209,4 +222,4 @@ pt_BR kciq_msg license pt_read |
209 | 222 | pt_BR kciq_msg last agents access geral info Últimos acessos dos agentes |
210 | 223 | pt_BR kciq_msg last agents access on local geral info Últimos acessos dos agentes deste local |
211 | 224 | pt_BR kciq_msg last agents access per local geral info Últimos acessos dos agentes por local nesta data |
212 | -pt_BR kciq_msg login needed geral info Necessário haver autenticação | |
225 | +pt_BR kciq_msg ftp change dir ok geral info Diretório FTP mudado com sucesso | ... | ... |