Commit 86ca2176244425aaf8156394f70c284b76e67195
1 parent
2cd73711
Exists in
master
and in
1 other branch
Gerente "trunk" atualizado
- melhorias na internacionalização "admin" - correção em consultas de históricos de acessos/atividades git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@356 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing
10 changed files
with
216 additions
and
231 deletions
Show diff stats
admin/config_gerais.php
@@ -40,7 +40,7 @@ function valida_notificacao_hardware() | @@ -40,7 +40,7 @@ function valida_notificacao_hardware() | ||
40 | (document.forma.listaHardwareSelecionados.length == 0 && | 40 | (document.forma.listaHardwareSelecionados.length == 0 && |
41 | document.forma.te_notificar_mudanca_hardware.value != '')) | 41 | document.forma.te_notificar_mudanca_hardware.value != '')) |
42 | { | 42 | { |
43 | - alert("ATENÇÃO: Verifique os campos para notificação de alteração de hardware"); | 43 | + alert("<?=$oTranslator->_('ATENCAO: Verifique os campos para notificacao de alteracao de hardware');?>"); |
44 | if (document.forma.listaHardwareSelecionados.length == 0) | 44 | if (document.forma.listaHardwareSelecionados.length == 0) |
45 | document.forma.listaHardwareSelecionados.focus() | 45 | document.forma.listaHardwareSelecionados.focus() |
46 | else | 46 | else |
@@ -218,9 +218,9 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -218,9 +218,9 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
218 | </p></td> | 218 | </p></td> |
219 | </tr> | 219 | </tr> |
220 | <tr> | 220 | <tr> |
221 | - <td class="ajuda">Atenção: informe os e-mails separados por | ||
222 | - vírgulas (","). <br> | ||
223 | - Exemplo: fulano.tal@previdencia.gov.br, luis.almeida@xyz.com</td> | 221 | + <td class="ajuda"><?=$oTranslator->_('Atencao: informe os emails separados por virgulas');?> (",") |
222 | + <br> | ||
223 | + <?=$oTranslator->_('Exemplo');?>: fulano.tal@previdencia.gov.br, luis.almeida@xyz.com</td> | ||
224 | </tr> | 224 | </tr> |
225 | <tr> | 225 | <tr> |
226 | <td> </td> | 226 | <td> </td> |
@@ -228,8 +228,9 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -228,8 +228,9 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
228 | <tr> | 228 | <tr> |
229 | <td><table width="100%" border="0" cellpadding="0" cellspacing="1"> | 229 | <td><table width="100%" border="0" cellpadding="0" cellspacing="1"> |
230 | <tr> | 230 | <tr> |
231 | - <td class="label">Realizar notificação caso haja alterações | ||
232 | - nas seguintes configurações de hardware: </td> | 231 | + <td class="label"> |
232 | + <?=$oTranslator->_('Realizar notificacao caso haja alteracoes nas seguintes configuracoes de hardware');?>: | ||
233 | + </td> | ||
233 | </tr> | 234 | </tr> |
234 | <tr> | 235 | <tr> |
235 | <td height="1" bgcolor="#333333"></td> | 236 | <td height="1" bgcolor="#333333"></td> |
@@ -238,11 +239,11 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -238,11 +239,11 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
238 | <td height="1" class="label"><table border="0" cellpadding="0" cellspacing="0"> | 239 | <td height="1" class="label"><table border="0" cellpadding="0" cellspacing="0"> |
239 | <tr> | 240 | <tr> |
240 | <td> </td> | 241 | <td> </td> |
241 | - <td class="label"><div align="left">Disponíveis:</div></td> | 242 | + <td class="label"><div align="left"><?=$oTranslator->_('Disponiveis');?>:</div></td> |
242 | <td> </td> | 243 | <td> </td> |
243 | <td width="40"> </td> | 244 | <td width="40"> </td> |
244 | <td nowrap> </td> | 245 | <td nowrap> </td> |
245 | - <td nowrap class="label"><p>Selecionadas:</p></td> | 246 | + <td nowrap class="label"><p><?=$oTranslator->_('Selecionadas');?>:</p></td> |
246 | <td nowrap> </td> | 247 | <td nowrap> </td> |
247 | </tr> | 248 | </tr> |
248 | <tr> | 249 | <tr> |
@@ -253,20 +254,19 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -253,20 +254,19 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
253 | $query = "SELECT nm_campo_tab_hardware, te_desc_hardware | 254 | $query = "SELECT nm_campo_tab_hardware, te_desc_hardware |
254 | FROM descricao_hardware | 255 | FROM descricao_hardware |
255 | WHERE ".$frm_id_local." IN (te_locais_notificacao_ativada)"; | 256 | WHERE ".$frm_id_local." IN (te_locais_notificacao_ativada)"; |
256 | - $result_hardwares_ja_selecionados = mysql_query($query) or die('5-Ocorreu um erro durante a consulta à tabela descricao_hardware (1) ou sua sessão expirou!'); | 257 | + $result_hardwares_ja_selecionados = mysql_query($query) or die('5-'.$oTranslator->_('kciq_msg select on table fail', array('descricao_hardware'))."! ".$oTranslator->_('kciq_msg session fail',false,true)); |
257 | 258 | ||
258 | /* Agora monto os itens do combo de hardwares selecionadas. */ | 259 | /* Agora monto os itens do combo de hardwares selecionadas. */ |
259 | while($campos_hardwares_selecionados = mysql_fetch_array($result_hardwares_ja_selecionados)) | 260 | while($campos_hardwares_selecionados = mysql_fetch_array($result_hardwares_ja_selecionados)) |
260 | { | 261 | { |
261 | $itens_combo_hardwares_selecionados = $itens_combo_hardwares_selecionados . '<option value="' . $campos_hardwares_selecionados['nm_campo_tab_hardware']. '">' . $campos_hardwares_selecionados['te_desc_hardware'] . '</option>'; | 262 | $itens_combo_hardwares_selecionados = $itens_combo_hardwares_selecionados . '<option value="' . $campos_hardwares_selecionados['nm_campo_tab_hardware']. '">' . $campos_hardwares_selecionados['te_desc_hardware'] . '</option>'; |
262 | -// $not_in_ja_selecionados = $not_in_ja_selecionados . "'" . $campos_hardwares_selecionados['nm_campo_tab_hardware'] . "',"; | ||
263 | } | 263 | } |
264 | 264 | ||
265 | /* Consulto as hardwares que não foram previamente selecionadas. */ | 265 | /* Consulto as hardwares que não foram previamente selecionadas. */ |
266 | $query = "SELECT nm_campo_tab_hardware, te_desc_hardware | 266 | $query = "SELECT nm_campo_tab_hardware, te_desc_hardware |
267 | FROM descricao_hardware | 267 | FROM descricao_hardware |
268 | WHERE ".$frm_id_local." NOT IN (te_locais_notificacao_ativada)"; | 268 | WHERE ".$frm_id_local." NOT IN (te_locais_notificacao_ativada)"; |
269 | - $result_hardwares_nao_selecionados = mysql_query($query) or die('6-Ocorreu um erro durante a consulta à tabela descricao_hardware (2) ou sua sessão expirou!'); | 269 | + $result_hardwares_nao_selecionados = mysql_query($query) or die('6-'.$oTranslator->_('kciq_msg select on table fail', array('descricao_hardware'))."! ".$oTranslator->_('kciq_msg session fail',false,true)); |
270 | /* Agora monto os itens do combo de hardwares NÃO selecionadas. */ | 270 | /* Agora monto os itens do combo de hardwares NÃO selecionadas. */ |
271 | while($campos_hardwares_nao_selecionados=mysql_fetch_array($result_hardwares_nao_selecionados)) | 271 | while($campos_hardwares_nao_selecionados=mysql_fetch_array($result_hardwares_nao_selecionados)) |
272 | { | 272 | { |
@@ -291,8 +291,8 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -291,8 +291,8 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
291 | </table></td> | 291 | </table></td> |
292 | </tr> | 292 | </tr> |
293 | <tr> | 293 | <tr> |
294 | - <td height="1" class="ajuda"> (Dica: use SHIFT ou | ||
295 | - CTRL para selecionar múltiplos itens)</td> | 294 | + <td height="1" class="ajuda"> |
295 | + (<?=$oTranslator->_('Dica: use SHIFT ou CTRL para selecionar multiplos itens');?>)</td> | ||
296 | </tr> | 296 | </tr> |
297 | </table></td> | 297 | </table></td> |
298 | </tr> | 298 | </tr> |
@@ -300,7 +300,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -300,7 +300,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
300 | <td> </td> | 300 | <td> </td> |
301 | </tr> | 301 | </tr> |
302 | <tr> | 302 | <tr> |
303 | - <td class="label">Exibir Gráficos na Página Principal e Detalhes:</td> | 303 | + <td class="label"><?=$oTranslator->_('Exibir Graficos na Pagina Principal e Detalhes');?>:</td> |
304 | </tr> | 304 | </tr> |
305 | <tr> | 305 | <tr> |
306 | <td height="1" bgcolor="#333333"></td> | 306 | <td height="1" bgcolor="#333333"></td> |
@@ -309,11 +309,11 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -309,11 +309,11 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
309 | <td height="1" class="label"><table border="0" cellpadding="0" cellspacing="0"> | 309 | <td height="1" class="label"><table border="0" cellpadding="0" cellspacing="0"> |
310 | <tr> | 310 | <tr> |
311 | <td> </td> | 311 | <td> </td> |
312 | - <td class="label"><div align="left">Disponíveis:</div></td> | 312 | + <td class="label"><div align="left"><?=$oTranslator->_('Disponiveis');?>:</div></td> |
313 | <td> </td> | 313 | <td> </td> |
314 | <td width="40"> </td> | 314 | <td width="40"> </td> |
315 | <td nowrap> </td> | 315 | <td nowrap> </td> |
316 | - <td nowrap class="label"><p>Selecionados:</p></td> | 316 | + <td nowrap class="label"><p><?=$oTranslator->_('Selecionadas');?>:</p></td> |
317 | <td nowrap> </td> | 317 | <td nowrap> </td> |
318 | </tr> | 318 | </tr> |
319 | <tr> | 319 | <tr> |
@@ -328,13 +328,13 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -328,13 +328,13 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
328 | ?> | 328 | ?> |
329 | <select multiple size="10" name="list3[]" id="listaExibeGraficosDisponiveis" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > | 329 | <select multiple size="10" name="list3[]" id="listaExibeGraficosDisponiveis" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > |
330 | <? if (substr_count($te_exibe_graficos,'[so]')==0) | 330 | <? if (substr_count($te_exibe_graficos,'[so]')==0) |
331 | - echo '<option value="[so]">Totais de Computadores por Sistemas Operacionais</option>'; | 331 | + echo '<option value="[so]">'.$oTranslator->_('Totais de Computadores por Sistemas Operacionais').'</option>'; |
332 | if (substr_count($te_exibe_graficos,'[acessos]')==0) | 332 | if (substr_count($te_exibe_graficos,'[acessos]')==0) |
333 | - echo '<option value="[acessos]">Últimos Acessos dos Agentes do Local</option>'; | 333 | + echo '<option value="[acessos]">'.$oTranslator->_('Ultimos Acessos dos Agentes do Local').'</option>'; |
334 | if (substr_count($te_exibe_graficos,'[acessos_locais]')==0) | 334 | if (substr_count($te_exibe_graficos,'[acessos_locais]')==0) |
335 | - echo '<option value="[acessos_locais]">Últimos Acessos dos Agentes por Local na Data</option>'; | 335 | + echo '<option value="[acessos_locais]">'.$oTranslator->_('Ultimos Acessos dos Agentes por Local na Data').'</option>'; |
336 | if (substr_count($te_exibe_graficos,'[locais]')==0) | 336 | if (substr_count($te_exibe_graficos,'[locais]')==0) |
337 | - echo '<option value="[locais]">Totais de Computadores Monitorados por Local</option>'; | 337 | + echo '<option value="[locais]">'.$oTranslator->_('Totais de Computadores Monitorados por Local').'</option>'; |
338 | ?> | 338 | ?> |
339 | </select> | 339 | </select> |
340 | </div></td> | 340 | </div></td> |
@@ -348,13 +348,13 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -348,13 +348,13 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
348 | <td> </td> | 348 | <td> </td> |
349 | <td><select multiple size="10" name="list4[]" id="listaExibeGraficosSelecionados" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);"> | 349 | <td><select multiple size="10" name="list4[]" id="listaExibeGraficosSelecionados" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);"> |
350 | <? if (substr_count($te_exibe_graficos,'[so]')>0) | 350 | <? if (substr_count($te_exibe_graficos,'[so]')>0) |
351 | - echo '<option value="[so]">Totais de Computadores por Sistemas Operacionais</option>'; | 351 | + echo '<option value="[so]">'.$oTranslator->_('Totais de Computadores por Sistemas Operacionais').'</option>'; |
352 | if (substr_count($te_exibe_graficos,'[acessos]')>0) | 352 | if (substr_count($te_exibe_graficos,'[acessos]')>0) |
353 | - echo '<option value="[acessos]">Últimos Acessos dos Agentes do Local</option>'; | 353 | + echo '<option value="[acessos]">'.$oTranslator->_('Ultimos Acessos dos Agentes do Local').'</option>'; |
354 | if (substr_count($te_exibe_graficos,'[acessos_locais]')>0) | 354 | if (substr_count($te_exibe_graficos,'[acessos_locais]')>0) |
355 | - echo '<option value="[acessos_locais]">Últimos Acessos dos Agentes por Local na Data</option>'; | 355 | + echo '<option value="[acessos_locais]">'.$oTranslator->_('Ultimos Acessos dos Agentes por Local na Data').'</option>'; |
356 | if (substr_count($te_exibe_graficos,'[locais]')>0) | 356 | if (substr_count($te_exibe_graficos,'[locais]')>0) |
357 | - echo '<option value="[locais]">Totais de Computadores Monitorados por Local</option>'; | 357 | + echo '<option value="[locais]">'.$oTranslator->_('Totais de Computadores Monitorados por Local').'</option>'; |
358 | ?> | 358 | ?> |
359 | 359 | ||
360 | </select></td> | 360 | </select></td> |
@@ -369,7 +369,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -369,7 +369,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
369 | <td> </td> | 369 | <td> </td> |
370 | </tr> | 370 | </tr> |
371 | <tr> | 371 | <tr> |
372 | - <td class="label">Servidor de Aplicação padrão:</td> | 372 | + <td class="label"><?=$oTranslator->_('Servidor de Aplicacao padrao');?>:</td> |
373 | </tr> | 373 | </tr> |
374 | <tr> | 374 | <tr> |
375 | <td height="1" bgcolor="#333333"></td> | 375 | <td height="1" bgcolor="#333333"></td> |
@@ -377,13 +377,13 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -377,13 +377,13 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
377 | <tr> | 377 | <tr> |
378 | <td><p><strong> | 378 | <td><p><strong> |
379 | <select name="frm_te_serv_cacic_padrao" id="frm_te_serv_cacic_padrao" onChange="SetaServidorBancoDadosPadrao();" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > | 379 | <select name="frm_te_serv_cacic_padrao" id="frm_te_serv_cacic_padrao" onChange="SetaServidorBancoDadosPadrao();" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > |
380 | - <option value="0">===> Selecione <===</option> | 380 | + <option value="0"><?=$oTranslator->_('Selecione');?></option> |
381 | <? | 381 | <? |
382 | $query_configuracoes_padrao = "SELECT Distinct te_serv_cacic_padrao, | 382 | $query_configuracoes_padrao = "SELECT Distinct te_serv_cacic_padrao, |
383 | te_serv_updates_padrao | 383 | te_serv_updates_padrao |
384 | FROM configuracoes_padrao"; | 384 | FROM configuracoes_padrao"; |
385 | 385 | ||
386 | - $result_configuracoes_padrao = mysql_query($query_configuracoes_padrao) or die('7-Ocorreu um erro durante a consulta à tabela de configurações ou sua sessão expirou!'); | 386 | + $result_configuracoes_padrao = mysql_query($query_configuracoes_padrao) or die('7-'.$oTranslator->_('kciq_msg select on table fail', array('configuracoes_padrao'))."! ".$oTranslator->_('kciq_msg session fail',false,true)); |
387 | 387 | ||
388 | $v_achei = 0; | 388 | $v_achei = 0; |
389 | while ($row_configuracoes_padrao=mysql_fetch_array($result_configuracoes_padrao)) | 389 | while ($row_configuracoes_padrao=mysql_fetch_array($result_configuracoes_padrao)) |
@@ -407,7 +407,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -407,7 +407,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
407 | <td> </td> | 407 | <td> </td> |
408 | </tr> | 408 | </tr> |
409 | <tr> | 409 | <tr> |
410 | - <td class="label">Servidor de Updates padrão:</td> | 410 | + <td class="label"><?=$oTranslator->_('Servidor de Updates padrao');?>:</td> |
411 | </tr> | 411 | </tr> |
412 | <tr> | 412 | <tr> |
413 | <td height="1" bgcolor="#333333"></td> | 413 | <td height="1" bgcolor="#333333"></td> |
@@ -415,7 +415,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -415,7 +415,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
415 | <tr> | 415 | <tr> |
416 | <td><p> | 416 | <td><p> |
417 | <select name="frm_te_serv_updates_padrao" id="frm_te_serv_updates_padrao" onChange="SetaServidorUpdatesPadrao();" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > | 417 | <select name="frm_te_serv_updates_padrao" id="frm_te_serv_updates_padrao" onChange="SetaServidorUpdatesPadrao();" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > |
418 | - <option value="0">===> Selecione <===</option> | 418 | + <option value="0"><?=$oTranslator->_('Selecione');?></option> |
419 | <? | 419 | <? |
420 | mysql_data_seek($result_configuracoes_padrao,0); | 420 | mysql_data_seek($result_configuracoes_padrao,0); |
421 | while ($row_configuracoes_padrao=mysql_fetch_array($result_configuracoes_padrao)) | 421 | while ($row_configuracoes_padrao=mysql_fetch_array($result_configuracoes_padrao)) |
@@ -436,7 +436,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | @@ -436,7 +436,7 @@ if ($_SESSION['cs_nivel_administracao'] == 1 || $_SESSION['cs_nivel_administraca | ||
436 | </tr> | 436 | </tr> |
437 | <tr> | 437 | <tr> |
438 | <td><div align="center"> | 438 | <td><div align="center"> |
439 | - <input name="submit" type="submit" value=" Gravar Informações " onClick="SelectAll(this.form.elements['list2[]']),SelectAll(this.form.elements['list4[]'])" <? echo ($_SESSION['cs_nivel_administracao']<>1&&$_SESSION['cs_nivel_administracao']<>3?'disabled':'')?>> | 439 | + <input name="submit" type="submit" value="<?=$oTranslator->_('Gravar informacoes');?>" onClick="SelectAll(this.form.elements['list2[]']),SelectAll(this.form.elements['list4[]'])" <? echo ($_SESSION['cs_nivel_administracao']<>1&&$_SESSION['cs_nivel_administracao']<>3?'disabled':'')?>> |
440 | </div></td> | 440 | </div></td> |
441 | </tr> | 441 | </tr> |
442 | </table> | 442 | </table> |
admin/exclui_informacoes_computadores.php
@@ -18,7 +18,7 @@ session_start(); | @@ -18,7 +18,7 @@ session_start(); | ||
18 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! | 18 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! |
19 | */ | 19 | */ |
20 | if(!isset($_SESSION['id_usuario'])) | 20 | if(!isset($_SESSION['id_usuario'])) |
21 | - die('Acesso negado!'); | 21 | + die('Acesso negado (Access denied)!'); |
22 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! | 22 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
23 | } | 23 | } |
24 | 24 | ||
@@ -80,14 +80,14 @@ if ($_POST['submit_cond']) | @@ -80,14 +80,14 @@ if ($_POST['submit_cond']) | ||
80 | $where . ' | 80 | $where . ' |
81 | ORDER by a.te_nome_computador'; | 81 | ORDER by a.te_nome_computador'; |
82 | conecta_bd_cacic(); | 82 | conecta_bd_cacic(); |
83 | - $result = mysql_query($Query_Pesquisa) or die('Erro no select ou sua sessão expirou!'); | 83 | + $result = mysql_query($Query_Pesquisa) or die($oTranslator->_('kciq_msg select on table fail', array('computadores/so/redes/locais'))."! ".$oTranslator->_('kciq_msg session fail',false,true)."!"); |
84 | 84 | ||
85 | ?> | 85 | ?> |
86 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 86 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
87 | <html> | 87 | <html> |
88 | <head> | 88 | <head> |
89 | <link rel="stylesheet" type="text/css" href="../include/cacic.css"> | 89 | <link rel="stylesheet" type="text/css" href="../include/cacic.css"> |
90 | - <title>Excluir Computadores</title> | 90 | + <title><?=$oTranslator->_('Excluir Computadores');?></title> |
91 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 91 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
92 | <link href="../include/cacic.css" rel="stylesheet" type="text/css"> | 92 | <link href="../include/cacic.css" rel="stylesheet" type="text/css"> |
93 | <SCRIPT> | 93 | <SCRIPT> |
@@ -127,54 +127,40 @@ if ($_POST['submit_cond']) | @@ -127,54 +127,40 @@ if ($_POST['submit_cond']) | ||
127 | <table width="95%" border="0" align="center"> | 127 | <table width="95%" border="0" align="center"> |
128 | <tr> | 128 | <tr> |
129 | 129 | ||
130 | - <td class="cabecalho">Excluir Computadores</td> | 130 | + <td class="cabecalho"><?=$oTranslator->_('Excluir Computadores');?></td> |
131 | </tr> | 131 | </tr> |
132 | <tr> | 132 | <tr> |
133 | 133 | ||
134 | - <td class="descricao">Esta opção permite a seleção | ||
135 | - final para exclusão dos computadores selecionados na pesquisa.</td> | 134 | + <td class="descricao"><?=$oTranslator->_('Esta opcao permite a selecao final para exclusao dos computadores selecionados na pesquisa');?>.</td> |
136 | </tr> | 135 | </tr> |
137 | </table> | 136 | </table> |
138 | <br><br> | 137 | <br><br> |
139 | <table width="90%" align="center"><tr> | 138 | <table width="90%" align="center"><tr> |
140 | <td><div align="center"> | 139 | <td><div align="center"> |
141 | - <input name="submit_exc" type="submit" value=" Excluir Computadores Selecionados" onClick="return Confirma('Confirma EXCLUSÃO?');" <? echo ($_SESSION['cs_nivel_administracao']<>1&&$_SESSION['cs_nivel_administracao']<>3?'disabled':'')?>> | 140 | + <input name="submit_exc" type="submit" value="<?=$oTranslator->_('Excluir computadores selecionados');?>" onClick="return Confirma('<?=$oTranslator->_('Confirma exclusao');?>');" <? echo ($_SESSION['cs_nivel_administracao']<>1&&$_SESSION['cs_nivel_administracao']<>3?'disabled':'')?>> |
142 | | 141 | |
143 | - <input name="submit_nova" type="submit" value=" Nova Seleção "> | 142 | + <input name="submit_nova" type="submit" value="<?=$oTranslator->_('Selecionar novamente');?>"> |
144 | </div></td> | 143 | </div></td> |
145 | </tr></table> | 144 | </tr></table> |
146 | <br><br> | 145 | <br><br> |
147 | <table border="0" align="center" cellpadding="0" cellspacing="0"> | 146 | <table border="0" align="center" cellpadding="0" cellspacing="0"> |
148 | <tr> | 147 | <tr> |
149 | - <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> | 148 | + <td> <table border="1" cellpadding="1" cellspacing="0" align="center"> |
150 | <tr> | 149 | <tr> |
151 | <td height="1" bgcolor="#333333" colspan="23"></td> | 150 | <td height="1" bgcolor="#333333" colspan="23"></td> |
152 | </tr> | 151 | </tr> |
153 | 152 | ||
154 | <tr bgcolor="#E1E1E1"> | 153 | <tr bgcolor="#E1E1E1"> |
155 | - <td align="center" nowrap> </td> | ||
156 | - <td align="center" nowrap> </td> | ||
157 | - <td align="center" nowrap> </td> | ||
158 | - <td align="center" nowrap><img src="../imgs/exclui_computador.gif" width="23" height="23"></td> | ||
159 | - <td nowrap><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
160 | - <td align="center" nowrap class="cabecalho_tabela"><div align="left">Nome da Máquina</div></td> | ||
161 | - <td nowrap><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
162 | - <td align="center" nowrap class="cabecalho_tabela"><div align="left">Local</div></td> | ||
163 | - <td nowrap ><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
164 | - <td nowrap class="cabecalho_tabela"><div align="center">IP</div></td> | ||
165 | - <td nowrap ><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
166 | - <td nowrap class="cabecalho_tabela"><div align="center">Endereço MAC</div></td> | ||
167 | - <td nowrap ><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
168 | - <td nowrap class="cabecalho_tabela"><div align="center">S.O.</div></td> | ||
169 | - <td nowrap ><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
170 | - <td nowrap class="cabecalho_tabela"><div align="center">Cacic2</div></td> | ||
171 | - <td nowrap ><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
172 | - <td nowrap class="cabecalho_tabela">GerCols</td> | ||
173 | - <td nowrap ><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
174 | - <td nowrap class="cabecalho_tabela"><div align="center">Últ. Acesso</div></td> | ||
175 | - <td nowrap ><img src="../imgs/tree_vertline.gif" width="10" height="18"></td> | ||
176 | - <td nowrap class="cabecalho_tabela"><div align="center">Inclusão</div></td> | ||
177 | - <td nowrap > </td> | 154 | + <td align="center" colspan="2" nowrap><img src="../imgs/exclui_computador.gif" width="23" height="23"></td> |
155 | + <td align="center" nowrap class="cabecalho_tabela"><div align="left"><?=$oTranslator->_('Nome da maquina');?></div></td> | ||
156 | + <td align="center" nowrap class="cabecalho_tabela"><div align="left"><?=$oTranslator->_('Local');?></div></td> | ||
157 | + <td nowrap class="cabecalho_tabela"><div align="center"><?=$oTranslator->_('Endereco IP');?></div></td> | ||
158 | + <td nowrap class="cabecalho_tabela"><div align="center"><?=$oTranslator->_('Endereco MAC');?></div></td> | ||
159 | + <td nowrap class="cabecalho_tabela"><div align="center"><?=$oTranslator->_('Sistema operacional');?></div></td> | ||
160 | + <td nowrap class="cabecalho_tabela"><div align="center"><?=$oTranslator->_('Cacic2');?></div></td> | ||
161 | + <td nowrap class="cabecalho_tabela"><?=$oTranslator->_('GerCols');?></td> | ||
162 | + <td nowrap class="cabecalho_tabela"><div align="center"><?=$oTranslator->_('Ultimo acesso');?></div></td> | ||
163 | + <td nowrap class="cabecalho_tabela"><div align="center"><?=$oTranslator->_('Inclusao');?></div></td> | ||
178 | </tr> | 164 | </tr> |
179 | <tr> | 165 | <tr> |
180 | <td height="1" bgcolor="#333333" colspan="23"></td> | 166 | <td height="1" bgcolor="#333333" colspan="23"></td> |
@@ -187,29 +173,17 @@ if ($_POST['submit_cond']) | @@ -187,29 +173,17 @@ if ($_POST['submit_cond']) | ||
187 | { | 173 | { |
188 | ?> | 174 | ?> |
189 | <tr <? if ($Cor) echo 'bgcolor="#E1E1E1"'; ?>> | 175 | <tr <? if ($Cor) echo 'bgcolor="#E1E1E1"'; ?>> |
190 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
191 | <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><? echo $NumRegistro; ?></div></td> | 176 | <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><? echo $NumRegistro; ?></div></td> |
192 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
193 | <td nowrap class="dado_peq_sem_fundo_normal"><input type="checkbox" name="chk_<? echo $row['te_node_address'].'#'. $row['id_so']; ?>" value="1" checked onClick="Verifica_Check_Exclui();"></td> | 177 | <td nowrap class="dado_peq_sem_fundo_normal"><input type="checkbox" name="chk_<? echo $row['te_node_address'].'#'. $row['id_so']; ?>" value="1" checked onClick="Verifica_Check_Exclui();"></td> |
194 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
195 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_nome_computador']; ?></a></div></td> | ||
196 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
197 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['sg_local']; ?></a></div></td> | ||
198 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
199 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_ip']; ?></a></div></td> | ||
200 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
201 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_node_address'];?></a></div></td> | ||
202 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
203 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="center"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['sg_so']; ?></a></div></td> | ||
204 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
205 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_versao_cacic']; ?></a></div></td> | ||
206 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
207 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_versao_gercols']; ?></a></div></td> | ||
208 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
209 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="right"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo date("d/m/y H:i", strtotime( $row['dt_hr_ult_acesso'] )); ?></a></div></td> | ||
210 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | ||
211 | - <td nowrap class="dado_peq_sem_fundo_normal"><div align="right"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo date("d/m/y H:i", strtotime( $row['dt_hr_inclusao'] )); ?></a></div></td> | ||
212 | - <td nowrap class="dado_peq_sem_fundo_normal"> </td> | 178 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_nome_computador']; ?></a> </div></td> |
179 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['sg_local']; ?></a> </div></td> | ||
180 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_ip']; ?></a> </div></td> | ||
181 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_node_address'];?></a> </div></td> | ||
182 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="center"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['sg_so']; ?></a> </div></td> | ||
183 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_versao_cacic']; ?></a> </div></td> | ||
184 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="left"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo $row['te_versao_gercols']; ?></a> </div></td> | ||
185 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="right"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo date("d/m/y H:i", strtotime( $row['dt_hr_ult_acesso'] )); ?></a> </div></td> | ||
186 | + <td nowrap class="dado_peq_sem_fundo_normal"><div align="right"><a href="../relatorios/computador/computador.php?te_node_address=<? echo $row['te_node_address'];?>&id_so=<? echo $row['id_so'];?>" target="_blank"><? echo date("d/m/y H:i", strtotime( $row['dt_hr_inclusao'] )); ?></a> </div></td> | ||
213 | </tr> | 187 | </tr> |
214 | <? | 188 | <? |
215 | $Cor=!$Cor; | 189 | $Cor=!$Cor; |
@@ -218,8 +192,7 @@ if ($_POST['submit_cond']) | @@ -218,8 +192,7 @@ if ($_POST['submit_cond']) | ||
218 | if ($NumRegistro == 1) | 192 | if ($NumRegistro == 1) |
219 | { | 193 | { |
220 | ?> | 194 | ?> |
221 | - <td colspan="20" align="center" class="label_vermelho">NÃO FORAM ENCONTRADOS | ||
222 | - REGISTROS!</TD> | 195 | + <td colspan="20" align="center" class="label_vermelho"><?=$oTranslator->_('Nao foram encontrados registros');?></TD> |
223 | <script language="JavaScript"> | 196 | <script language="JavaScript"> |
224 | for (i=0;i<window.document.forms.length;i++) | 197 | for (i=0;i<window.document.forms.length;i++) |
225 | { | 198 | { |
@@ -245,9 +218,9 @@ if ($_POST['submit_cond']) | @@ -245,9 +218,9 @@ if ($_POST['submit_cond']) | ||
245 | <br><br> | 218 | <br><br> |
246 | <table width="90%" align="center"><tr> | 219 | <table width="90%" align="center"><tr> |
247 | <td><div align="center"> | 220 | <td><div align="center"> |
248 | - <input name="submit_exc" type="submit" value=" Excluir Computadores Selecionados" <? if ($NumRegistro == 1) echo 'disabled'; ?> onClick="return Confirma('Confirma EXCLUSÃO?');" <? echo ($_SESSION['cs_nivel_administracao']<>1&&$_SESSION['cs_nivel_administracao']<>3?'disabled':'')?>> | 221 | + <input name="submit_exc" type="submit" value="<?=$oTranslator->_('Excluir computadores selecionados');?>" <? if ($NumRegistro == 1) echo 'disabled'; ?> onClick="return Confirma('<?=$oTranslator->_('Confirma exclusao');?>');" <? echo ($_SESSION['cs_nivel_administracao']<>1&&$_SESSION['cs_nivel_administracao']<>3?'disabled':'')?>> |
249 | | 222 | |
250 | - <input name="submit_nova" type="submit" value=" Nova Seleção "> | 223 | + <input name="submit_nova" type="submit" value="<?=$oTranslator->_('Selecionar novamente');?>"> |
251 | </div></td> | 224 | </div></td> |
252 | </tr></table> | 225 | </tr></table> |
253 | <p><p><p> | 226 | <p><p><p> |
@@ -285,7 +258,7 @@ else | @@ -285,7 +258,7 @@ else | ||
285 | <html> | 258 | <html> |
286 | <head> | 259 | <head> |
287 | <link rel="stylesheet" type="text/css" href="../include/cacic.css"> | 260 | <link rel="stylesheet" type="text/css" href="../include/cacic.css"> |
288 | - <title>Excluir Computadores</title> | 261 | + <title><?=$oTranslator->_('Excluir Computadores');?></title> |
289 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 262 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
290 | 263 | ||
291 | <link href="../include/cacic.css" rel="stylesheet" type="text/css"> | 264 | <link href="../include/cacic.css" rel="stylesheet" type="text/css"> |
@@ -372,7 +345,7 @@ else | @@ -372,7 +345,7 @@ else | ||
372 | 345 | ||
373 | if (v_conteudo == '') | 346 | if (v_conteudo == '') |
374 | { | 347 | { |
375 | - alert('É necessário informar ao menos uma condição para pesquisa!'); | 348 | + alert('<?=$oTranslator->_('Eh necessario informar ao menos uma condicao para pesquisa');?>!'); |
376 | return false; | 349 | return false; |
377 | } | 350 | } |
378 | 351 | ||
@@ -387,20 +360,17 @@ else | @@ -387,20 +360,17 @@ else | ||
387 | <table width="90%" align="center" border="0" cellpadding="0" cellspacing="0"> | 360 | <table width="90%" align="center" border="0" cellpadding="0" cellspacing="0"> |
388 | <tr> | 361 | <tr> |
389 | 362 | ||
390 | - <td class="cabecalho">Excluir Computadores</td> | 363 | + <td class="cabecalho"><?=$oTranslator->_('Excluir Computadores');?></td> |
391 | </tr> | 364 | </tr> |
392 | <tr> | 365 | <tr> |
393 | 366 | ||
394 | - <td class="descricao">Esta opção permite a exclusão | ||
395 | - parametrizada das informações armazenadas na base sobre | ||
396 | - as estações monitoradas. Deve-se tomar muito cuidado com | ||
397 | - a abrangência da condição a ser formulada.</td> | 367 | + <td class="descricao"><?=$oTranslator->_('kciq_msg Excluir Computadores advise');?></td> |
398 | </tr> | 368 | </tr> |
399 | </table> | 369 | </table> |
400 | <br><br> | 370 | <br><br> |
401 | <table width="90%" align="center" border="0" cellpadding="0" cellspacing="0"><tr> | 371 | <table width="90%" align="center" border="0" cellpadding="0" cellspacing="0"><tr> |
402 | <td colspan="3"><div align="center"> | 372 | <td colspan="3"><div align="center"> |
403 | - <input name="submit_cond" type="submit" value=" Selecionar Computadores para Exclusão " onClick="return Valida_Form_Pesquisa('frm_te_valor_condicao_');"> | 373 | + <input name="submit_cond" type="submit" value="<?=$oTranslator->_('Selecionar computadores para exclusao');?>" onClick="return Valida_Form_Pesquisa('frm_te_valor_condicao_');"> |
404 | </div></td> | 374 | </div></td> |
405 | </tr></table> | 375 | </tr></table> |
406 | 376 | ||
@@ -410,9 +380,9 @@ else | @@ -410,9 +380,9 @@ else | ||
410 | <td colspan="3" height="1" bgcolor="#333333"></td> | 380 | <td colspan="3" height="1" bgcolor="#333333"></td> |
411 | </tr> | 381 | </tr> |
412 | <tr bgcolor="#CCCCCC"> | 382 | <tr bgcolor="#CCCCCC"> |
413 | - <td class="destaque">Campo</font></strong></td> | ||
414 | - <td class="destaque">Condição</font></strong></td> | ||
415 | - <td class="destaque">Valor para Pesquisa</font></strong></td> | 383 | + <td class="destaque"><?=$oTranslator->_('Campo');?></font></strong></td> |
384 | + <td class="destaque"><?=$oTranslator->_('Condicao');?></font></strong></td> | ||
385 | + <td class="destaque"><?=$oTranslator->_('Valor para pesquisa');?></font></strong></td> | ||
416 | </tr> | 386 | </tr> |
417 | <tr> | 387 | <tr> |
418 | <td colspan="3" height="1" bgcolor="#333333"></td> | 388 | <td colspan="3" height="1" bgcolor="#333333"></td> |
@@ -461,24 +431,24 @@ else | @@ -461,24 +431,24 @@ else | ||
461 | { | 431 | { |
462 | $v_operacao = "(TO_DAYS(NOW())-TO_DAYS(a.".$v_arr_campo[1].")"; | 432 | $v_operacao = "(TO_DAYS(NOW())-TO_DAYS(a.".$v_arr_campo[1].")"; |
463 | ?> | 433 | ?> |
464 | - <option value="<? echo $v_operacao . ' = frm_te_valor_condicao)'; ?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">IGUAL A</option> | ||
465 | - <option value="<? echo $v_operacao . ' -MAIOR- frm_te_valor_condicao)'; ?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">MAIOR QUE </option> | ||
466 | - <option value="<? echo $v_operacao . ' -MENOR- frm_te_valor_condicao)'; ?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">MENOR QUE</option> | 434 | + <option value="<? echo $v_operacao . ' = frm_te_valor_condicao)'; ?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('Igual a');?></option> |
435 | + <option value="<? echo $v_operacao . ' -MAIOR- frm_te_valor_condicao)'; ?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('MAIOR QUE');?> </option> | ||
436 | + <option value="<? echo $v_operacao . ' -MENOR- frm_te_valor_condicao)'; ?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('MENOR QUE');?></option> | ||
467 | <? | 437 | <? |
468 | } | 438 | } |
469 | else | 439 | else |
470 | { | 440 | { |
471 | ?> | 441 | ?> |
472 | - <option value="<? echo 'a.' .$v_arr_campo[1]." = 'frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">IGUAL A</option> | ||
473 | - <option value="<? echo 'a.' .$v_arr_campo[1]." <> 'frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">DIFERENTE DE</option> | ||
474 | - <option value="<? echo 'a.' .$v_arr_campo[1]." -MAIOR- 'frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">MAIOR QUE</option> | ||
475 | - <option value="<? echo 'a.' .$v_arr_campo[1]." -MENOR- 'frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">MENOR QUE</option> | ||
476 | - <option value="<? echo 'a.' .$v_arr_campo[1]." like '%frm_te_valor_condicao%'";?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">CONTENHA</option> | ||
477 | - <option value="<? echo "'%frm_te_valor_condicao%' not like (a.".$v_arr_campo[1].") ";?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">NÃO CONTENHA</option> | ||
478 | - <option value="<? echo 'a.' .$v_arr_campo[1]." like 'frm_te_valor_condicao%'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">INICIE COM</option> | ||
479 | - <option value="<? echo 'a.' .$v_arr_campo[1]." like '%frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');">TERMINE COM</option> | ||
480 | - <option value="<? echo 'TRIM(a.'.$v_arr_campo[1].") = '' and " ;?>" onClick="Preenche_Condicao_VAZIO('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');" >SEJA VAZIO</option> | ||
481 | - <option value="<? echo 'a.'.$v_arr_campo[1]." IS NULL " ;?>" onClick="Preenche_Condicao_NULO('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');" >SEJA NULO</option> | 442 | + <option value="<? echo 'a.' .$v_arr_campo[1]." = 'frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('IGUAL A');?></option> |
443 | + <option value="<? echo 'a.' .$v_arr_campo[1]." <> 'frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('DIFERENTE DE');?></option> | ||
444 | + <option value="<? echo 'a.' .$v_arr_campo[1]." -MAIOR- 'frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('MAIOR QUE');?></option> | ||
445 | + <option value="<? echo 'a.' .$v_arr_campo[1]." -MENOR- 'frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('MENOR QUE');?></option> | ||
446 | + <option value="<? echo 'a.' .$v_arr_campo[1]." like '%frm_te_valor_condicao%'";?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('CONTENHA');?></option> | ||
447 | + <option value="<? echo "'%frm_te_valor_condicao%' not like (a.".$v_arr_campo[1].") ";?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('NAO CONTENHA');?></option> | ||
448 | + <option value="<? echo 'a.' .$v_arr_campo[1]." like 'frm_te_valor_condicao%'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('INICIE COM');?></option> | ||
449 | + <option value="<? echo 'a.' .$v_arr_campo[1]." like '%frm_te_valor_condicao'" ;?>" onClick="Verifica_Condicoes_Seta_Campo('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');"><?=$oTranslator->_('TERMINE COM');?></option> | ||
450 | + <option value="<? echo 'TRIM(a.'.$v_arr_campo[1].") = '' and " ;?>" onClick="Preenche_Condicao_VAZIO('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');" ><?=$oTranslator->_('SEJA VAZIO');?></option> | ||
451 | + <option value="<? echo 'a.'.$v_arr_campo[1]." IS NULL " ;?>" onClick="Preenche_Condicao_NULO('<? echo "frm_te_valor_condicao_". $v_arr_campo[1]; ?>');" ><?=$oTranslator->_('SEJA NULO');?></option> | ||
482 | <? | 452 | <? |
483 | } | 453 | } |
484 | ?> | 454 | ?> |
@@ -498,7 +468,7 @@ else | @@ -498,7 +468,7 @@ else | ||
498 | <br><br> | 468 | <br><br> |
499 | <table width="90%" align="center" border="0" cellpadding="0" cellspacing="0"><tr> | 469 | <table width="90%" align="center" border="0" cellpadding="0" cellspacing="0"><tr> |
500 | <td colspan="3"><div align="center"> | 470 | <td colspan="3"><div align="center"> |
501 | - <input name="submit_cond" type="submit" value=" Selecionar Computadores para Exclusão " onClick="return Valida_Form_Pesquisa('frm_te_valor_condicao_');"> | 471 | + <input name="submit_cond" type="submit" value="<?=$oTranslator->_('Selecionar computadores para exclusao');?>" onClick="return Valida_Form_Pesquisa('frm_te_valor_condicao_');"> |
502 | </div></td> | 472 | </div></td> |
503 | </tr></table> | 473 | </tr></table> |
504 | 474 |
admin/forca_coleta_estacao.php
@@ -19,7 +19,7 @@ session_start(); | @@ -19,7 +19,7 @@ session_start(); | ||
19 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! | 19 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! |
20 | */ | 20 | */ |
21 | if(!isset($_SESSION['id_usuario'])) | 21 | if(!isset($_SESSION['id_usuario'])) |
22 | - die('Acesso negado!'); | 22 | + die('Acesso negado (Access denied)!'); |
23 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! | 23 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
24 | } | 24 | } |
25 | 25 | ||
@@ -29,7 +29,7 @@ require_once('../include/library.php'); | @@ -29,7 +29,7 @@ require_once('../include/library.php'); | ||
29 | <html> | 29 | <html> |
30 | <head> | 30 | <head> |
31 | <link rel="stylesheet" type="text/css" href="../../include/cacic.css"> | 31 | <link rel="stylesheet" type="text/css" href="../../include/cacic.css"> |
32 | -<title>Coleta Forçada por Computador</title> | 32 | +<title><?=$oTranslator->_('Coleta induzida por Computador');?></title> |
33 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 33 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
34 | <? // O require abaixo será usado pelo inc_opcoes_administrativas/coleta_forcada.php - Não remova! - A.A.P. 23/09/2004 | 34 | <? // O require abaixo será usado pelo inc_opcoes_administrativas/coleta_forcada.php - Não remova! - A.A.P. 23/09/2004 |
35 | require_once('../include/opcoes_avancadas_combos.js'); ?> | 35 | require_once('../include/opcoes_avancadas_combos.js'); ?> |
@@ -41,10 +41,10 @@ require_once('../include/opcoes_avancadas_combos.js'); ?> | @@ -41,10 +41,10 @@ require_once('../include/opcoes_avancadas_combos.js'); ?> | ||
41 | <form action="forca_coleta_estacao_set.php" method="post" ENCTYPE="multipart/form-data" name="forma"> | 41 | <form action="forca_coleta_estacao_set.php" method="post" ENCTYPE="multipart/form-data" name="forma"> |
42 | <table width="90%" border="0" align="center"> | 42 | <table width="90%" border="0" align="center"> |
43 | <tr> | 43 | <tr> |
44 | - <td class="cabecalho">Coleta Forçada no Computador <u><em><? echo $_GET['te_nome_computador']; ?></em></u></td> | 44 | + <td class="cabecalho"><?=$oTranslator->_('Coleta induzida por Computador');?> <u><em><? echo $_GET['te_nome_computador']; ?></em></u></td> |
45 | </tr> | 45 | </tr> |
46 | <tr> | 46 | <tr> |
47 | - <td class="descricao">Esta página permite forçar coletas em determinado computador.</td> | 47 | + <td class="descricao"><?=$oTranslator->_('Esta pagina permite induzir coletas em determinado computador');?></td> |
48 | </tr> | 48 | </tr> |
49 | 49 | ||
50 | <br> | 50 | <br> |
@@ -62,7 +62,7 @@ require_once('../include/opcoes_avancadas_combos.js'); ?> | @@ -62,7 +62,7 @@ require_once('../include/opcoes_avancadas_combos.js'); ?> | ||
62 | </tr> | 62 | </tr> |
63 | <tr> | 63 | <tr> |
64 | <td><div align="center"> | 64 | <td><div align="center"> |
65 | - <input name="submit" type="submit" value="Força Coletas"> | 65 | + <input name="submit" type="submit" value="<?=$oTranslator->_('Induzir coletas');?>"> |
66 | </div></td> | 66 | </div></td> |
67 | </tr> | 67 | </tr> |
68 | </table> | 68 | </table> |
admin/forca_coleta_estacao_set.php
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | */ | 15 | */ |
16 | 16 | ||
17 | require_once('../include/library.php'); | 17 | require_once('../include/library.php'); |
18 | -// Comentado temporariamente - AntiSpy(); | 18 | + |
19 | $acoes_computador = ''; | 19 | $acoes_computador = ''; |
20 | foreach($HTTP_POST_VARS as $i => $v) | 20 | foreach($HTTP_POST_VARS as $i => $v) |
21 | { | 21 | { |
@@ -36,7 +36,7 @@ if ($acoes_computador) | @@ -36,7 +36,7 @@ if ($acoes_computador) | ||
36 | Where te_node_address="'.trim($_POST['te_node_address']).'" AND | 36 | Where te_node_address="'.trim($_POST['te_node_address']).'" AND |
37 | id_so="'.trim($_POST['id_so']).'"'; | 37 | id_so="'.trim($_POST['id_so']).'"'; |
38 | conecta_bd_cacic(); | 38 | conecta_bd_cacic(); |
39 | - $result_computador = mysql_query($query_computador) or die('Ocorreu um erro durante a atualização de computadores ou sua sessão expirou!'); | 39 | + $result_computador = mysql_query($query_computador) or die($oTranslator->_('Ocorreu um erro durante a atualizacao da tabela %1 ou sua sessao expirou', array('configuracoes_locais'))); |
40 | GravaLog('UPD',$_SERVER['SCRIPT_NAME'],'computadores'); | 40 | GravaLog('UPD',$_SERVER['SCRIPT_NAME'],'computadores'); |
41 | } | 41 | } |
42 | header ("Location: ../include/operacao_ok.php?chamador=../index.php&tempo=1"); | 42 | header ("Location: ../include/operacao_ok.php?chamador=../index.php&tempo=1"); |
admin/inconsistencias.php
@@ -4,7 +4,7 @@ session_start(); | @@ -4,7 +4,7 @@ session_start(); | ||
4 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! | 4 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! |
5 | */ | 5 | */ |
6 | if(!isset($_SESSION['id_usuario'])) | 6 | if(!isset($_SESSION['id_usuario'])) |
7 | - die('Acesso negado!'); | 7 | + die('Acesso negado (Access denied)!'); |
8 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! | 8 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
9 | } | 9 | } |
10 | 10 | ||
@@ -15,7 +15,7 @@ require_once('../include/library.php'); | @@ -15,7 +15,7 @@ require_once('../include/library.php'); | ||
15 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 15 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
16 | <html> | 16 | <html> |
17 | <head> | 17 | <head> |
18 | -<title>Relatório de Softwares Inventariados por Máquinas</title> | 18 | +<title><?=$oTranslator->_('Relatorio de Softwares Inventariados por Maquinas');?></title> |
19 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 19 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
20 | <script language="JavaScript" type="text/JavaScript"> | 20 | <script language="JavaScript" type="text/JavaScript"> |
21 | <!-- | 21 | <!-- |
@@ -34,15 +34,20 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 | @@ -34,15 +34,20 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 | ||
34 | <td bgcolor="#FFFFFF"> </td> | 34 | <td bgcolor="#FFFFFF"> </td> |
35 | </tr> | 35 | </tr> |
36 | <tr bgcolor="#E1E1E1"> | 36 | <tr bgcolor="#E1E1E1"> |
37 | - <td nowrap bgcolor="#FFFFFF"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>CACIC | ||
38 | - - Relatório de Cadastros Inconsistentes</strong></font></td> | 37 | + <td nowrap bgcolor="#FFFFFF"> |
38 | + <font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"> | ||
39 | + <strong> | ||
40 | + CACIC - <?=$oTranslator->_('Relatorio de Cadastros Inconsistentes');?> | ||
41 | + </strong> | ||
42 | + </font> | ||
43 | + </td> | ||
39 | </tr> | 44 | </tr> |
40 | <tr> | 45 | <tr> |
41 | <td height="1" bgcolor="#333333"></td> | 46 | <td height="1" bgcolor="#333333"></td> |
42 | </tr> | 47 | </tr> |
43 | <tr> | 48 | <tr> |
44 | - <td><p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Gerado | ||
45 | - em <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | 49 | + <td><p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> |
50 | + <?=$oTranslator->_('Gerado em');?> <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | ||
46 | </tr> | 51 | </tr> |
47 | </table> | 52 | </table> |
48 | <br> | 53 | <br> |
@@ -64,7 +69,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -64,7 +69,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
64 | GROUP BY nr_patrimonio, nm_computador) as temp | 69 | GROUP BY nr_patrimonio, nm_computador) as temp |
65 | GROUP BY nr_patrimonio HAVING count(*) > 1"; | 70 | GROUP BY nr_patrimonio HAVING count(*) > 1"; |
66 | 71 | ||
67 | - $result = mysql_query($query) or die('Ocorreu um erro ao acessar a tabela softwares_estacao ou sua sessão expirou!'); | 72 | + $result = mysql_query($query) or die($oTranslator->_('kciq_msg select on table fail', array('softwares_estacao'))."! ".$oTranslator->_('kciq_msg session fail',false,true)); |
68 | 73 | ||
69 | $query2 = "SELECT nm_computador | 74 | $query2 = "SELECT nm_computador |
70 | FROM (SELECT nr_patrimonio, nm_computador, count(*) | 75 | FROM (SELECT nr_patrimonio, nm_computador, count(*) |
@@ -73,7 +78,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -73,7 +78,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
73 | GROUP BY nr_patrimonio, nm_computador) as temp | 78 | GROUP BY nr_patrimonio, nm_computador) as temp |
74 | GROUP BY nm_computador HAVING count(*) > 1"; | 79 | GROUP BY nm_computador HAVING count(*) > 1"; |
75 | 80 | ||
76 | - $result2 = mysql_query($query2) or die('Ocorreu um erro ao acessar a tabela softwares_estacao ou sua sessão expirou!'); | 81 | + $result2 = mysql_query($query2) or die($oTranslator->_('kciq_msg select on table fail', array('softwares_estacao'))."! ".$oTranslator->_('kciq_msg session fail',false,true)); |
77 | 82 | ||
78 | $queryEmBranco = "SELECT DISTINCT nr_patrimonio | 83 | $queryEmBranco = "SELECT DISTINCT nr_patrimonio |
79 | FROM softwares_estacao | 84 | FROM softwares_estacao |
@@ -82,7 +87,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -82,7 +87,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
82 | ORDER BY nr_patrimonio | 87 | ORDER BY nr_patrimonio |
83 | LIMIT 500"; | 88 | LIMIT 500"; |
84 | 89 | ||
85 | - $resultEmBranco = mysql_query($queryEmBranco) or die('Ocorreu um erro ao acessar a tabela softwares_estacao ou sua sessão expirou!'); | 90 | + $resultEmBranco = mysql_query($queryEmBranco) or die($oTranslator->_('kciq_msg select on table fail', array('softwares_estacao'))."! ".$oTranslator->_('kciq_msg session fail',false,true)); |
86 | 91 | ||
87 | ?> | 92 | ?> |
88 | <table border="0" align="center" cellpadding="0" cellspacing="1"> | 93 | <table border="0" align="center" cellpadding="0" cellspacing="1"> |
@@ -98,7 +103,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -98,7 +103,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
98 | <td align="center" nowrap> </td> | 103 | <td align="center" nowrap> </td> |
99 | <td align="center" nowrap><div align="left"><strong></strong></div></td> | 104 | <td align="center" nowrap><div align="left"><strong></strong></div></td> |
100 | <td align="center" nowrap> </td> | 105 | <td align="center" nowrap> </td> |
101 | - <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Patrimônio</font></strong></div></td> | 106 | + <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Patrimonio');?></font></strong></div></td> |
102 | <td nowrap > </td> | 107 | <td nowrap > </td> |
103 | </tr> | 108 | </tr> |
104 | <? | 109 | <? |
@@ -156,11 +161,12 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -156,11 +161,12 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
156 | <td height="10"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></td> | 161 | <td height="10"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></td> |
157 | </tr> | 162 | </tr> |
158 | </table> | 163 | </table> |
159 | -<p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Relatório | ||
160 | - gerado pelo <strong>CACIC</strong> - Configurador Automático e Coletor | ||
161 | - de Informações Computacionais</font><br> | ||
162 | - <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Software desenvolvido | ||
163 | - pela Dataprev - Escritório do Espírito Santo</font></p> | ||
164 | - | 164 | +<p align="center"> |
165 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | ||
166 | + <?=$oTranslator->_('Gerado por');?> | ||
167 | + <strong>CACIC</strong> - Configurador Automático e Coletor de Informações Computacionais | ||
168 | + </font><br> | ||
169 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | ||
170 | + Software desenvolvido pela Dataprev - Escritório do Espírito Santo</font></p> | ||
165 | </body> | 171 | </body> |
166 | </html> | 172 | </html> |
admin/inconsistenciasII.php
@@ -4,7 +4,7 @@ session_start(); | @@ -4,7 +4,7 @@ session_start(); | ||
4 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! | 4 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! |
5 | */ | 5 | */ |
6 | if(!isset($_SESSION['id_usuario'])) | 6 | if(!isset($_SESSION['id_usuario'])) |
7 | - die('Acesso negado!'); | 7 | + die('Acesso negado (Access denied)!'); |
8 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! | 8 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
9 | } | 9 | } |
10 | 10 | ||
@@ -15,7 +15,7 @@ require_once('../include/library.php'); | @@ -15,7 +15,7 @@ require_once('../include/library.php'); | ||
15 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 15 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
16 | <html> | 16 | <html> |
17 | <head> | 17 | <head> |
18 | -<title>Relatório de Softwares Inventariados por Máquinas</title> | 18 | +<title><?=$oTranslator->_('Relatorio de softwares inventariados por maquinas');?></title> |
19 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 19 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
20 | <script language="JavaScript" type="text/JavaScript"> | 20 | <script language="JavaScript" type="text/JavaScript"> |
21 | <!-- | 21 | <!-- |
@@ -34,15 +34,15 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 | @@ -34,15 +34,15 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 | ||
34 | <td bgcolor="#FFFFFF"> </td> | 34 | <td bgcolor="#FFFFFF"> </td> |
35 | </tr> | 35 | </tr> |
36 | <tr bgcolor="#E1E1E1"> | 36 | <tr bgcolor="#E1E1E1"> |
37 | - <td nowrap bgcolor="#FFFFFF"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>CACIC | ||
38 | - - Relatório de Cadastros Inconsistentes II</strong></font></td> | 37 | + <td nowrap bgcolor="#FFFFFF"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong> |
38 | + CACIC - <?=$oTranslator->_('Relatorio de cadastros inconsistentes II');?></strong></font></td> | ||
39 | </tr> | 39 | </tr> |
40 | <tr> | 40 | <tr> |
41 | <td height="1" bgcolor="#333333"></td> | 41 | <td height="1" bgcolor="#333333"></td> |
42 | </tr> | 42 | </tr> |
43 | <tr> | 43 | <tr> |
44 | - <td><p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Gerado | ||
45 | - em <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | 44 | + <td><p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> |
45 | + <?=$oTranslator->_('Gerado em');?> <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | ||
46 | </tr> | 46 | </tr> |
47 | </table> | 47 | </table> |
48 | <br> | 48 | <br> |
@@ -66,7 +66,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -66,7 +66,7 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
66 | (dt_desinstalacao IS NULL) | 66 | (dt_desinstalacao IS NULL) |
67 | ORDER BY nm_computador"; | 67 | ORDER BY nm_computador"; |
68 | 68 | ||
69 | - $result = mysql_query($query) or die('Ocorreu um erro ao acessar a tabela softwares_estacao ou sua sessão expirou!'); | 69 | + $result = mysql_query($query) or die($oTranslator->_('kciq_msg select on table fail', array('softwares_estacao'))."! ".$oTranslator->_('kciq_msg session fail',false,true)); |
70 | 70 | ||
71 | ?> | 71 | ?> |
72 | <table border="0" align="center" cellpadding="0" cellspacing="1"> | 72 | <table border="0" align="center" cellpadding="0" cellspacing="1"> |
@@ -82,9 +82,9 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -82,9 +82,9 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
82 | <td align="center" nowrap> </td> | 82 | <td align="center" nowrap> </td> |
83 | <td align="center" nowrap><div align="left"><strong></strong></div></td> | 83 | <td align="center" nowrap><div align="left"><strong></strong></div></td> |
84 | <td align="center" nowrap> </td> | 84 | <td align="center" nowrap> </td> |
85 | - <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Patrimônio</font></strong></div></td> | 85 | + <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Patrimonio');?></font></strong></div></td> |
86 | <td align="center" nowrap> </td> | 86 | <td align="center" nowrap> </td> |
87 | - <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Nome de Rede</font></strong></div></td> | 87 | + <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Nome de rede');?></font></strong></div></td> |
88 | <td nowrap > </td> | 88 | <td nowrap > </td> |
89 | </tr> | 89 | </tr> |
90 | <? | 90 | <? |
@@ -117,11 +117,13 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -117,11 +117,13 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
117 | <td height="10"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></td> | 117 | <td height="10"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></td> |
118 | </tr> | 118 | </tr> |
119 | </table> | 119 | </table> |
120 | -<p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Relatório | ||
121 | - gerado pelo <strong>CACIC</strong> - Configurador Automático e Coletor | ||
122 | - de Informações Computacionais</font><br> | ||
123 | - <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Software desenvolvido | ||
124 | - pela Dataprev - Escritório do Espírito Santo</font></p> | ||
125 | - | 120 | +<p align="center"> |
121 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | ||
122 | + <?=$oTranslator->_('Gerado por');?> | ||
123 | + <strong>CACIC</strong> - Configurador Automático e Coletor de Informações Computacionais | ||
124 | + </font><br> | ||
125 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | ||
126 | + Software desenvolvido pela Dataprev - Escritório do Espírito Santo | ||
127 | + </font></p> | ||
126 | </body> | 128 | </body> |
127 | </html> | 129 | </html> |
admin/limpa_historico_software.php
@@ -4,7 +4,7 @@ session_start(); | @@ -4,7 +4,7 @@ session_start(); | ||
4 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! | 4 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! |
5 | */ | 5 | */ |
6 | if(!isset($_SESSION['id_usuario'])) | 6 | if(!isset($_SESSION['id_usuario'])) |
7 | - die('Acesso negado!'); | 7 | + die('Acesso negado (Access denied)!'); |
8 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! | 8 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
9 | } | 9 | } |
10 | 10 | ||
@@ -19,15 +19,15 @@ $linha = '<tr bgcolor="#e7e7e7"> | @@ -19,15 +19,15 @@ $linha = '<tr bgcolor="#e7e7e7"> | ||
19 | ?> | 19 | ?> |
20 | 20 | ||
21 | <? if ($_SESSION["nm_grupo_usuarios"] <> "adm1") | 21 | <? if ($_SESSION["nm_grupo_usuarios"] <> "adm1") |
22 | - die("<h1><font color='red'>Acesso não autorizado!</font></h1> | ||
23 | - <h3>Sua tentativa foi registrada no log!</h3> | ||
24 | - <b>Nome:</b> " . $_SESSION["nm_usuario"] ); | 22 | + die("<h1><font color='red'>".$oTranslator->_('Acesso nao autorizado')."</font></h1> |
23 | + <h3>".$oTranslator->_('Sua tentativa foi registrada no log')."</h3> | ||
24 | + <b>".$oTranslator->_('Nome').":</b> " . $_SESSION["nm_usuario"] ); | ||
25 | ?> | 25 | ?> |
26 | 26 | ||
27 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 27 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
28 | <html> | 28 | <html> |
29 | <head> | 29 | <head> |
30 | -<title>ADMIN - Limpa Histórico Software</title> | 30 | +<title><?=$oTranslator->_('ADMIN - Excluir historico de software');?></title> |
31 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 31 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
32 | <script language="JavaScript" type="text/JavaScript"> | 32 | <script language="JavaScript" type="text/JavaScript"> |
33 | <!-- | 33 | <!-- |
@@ -46,15 +46,20 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 | @@ -46,15 +46,20 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 | ||
46 | <td bgcolor="#FFFFFF"> </td> | 46 | <td bgcolor="#FFFFFF"> </td> |
47 | </tr> | 47 | </tr> |
48 | <tr bgcolor="#E1E1E1"> | 48 | <tr bgcolor="#E1E1E1"> |
49 | - <td nowrap bgcolor="#FFFFFF"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>CACIC | ||
50 | - - Limpa Histórico de Softwares</strong></font></td> | 49 | + <td nowrap bgcolor="#FFFFFF"> |
50 | + <font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"> | ||
51 | + <strong> | ||
52 | + <?=$oTranslator->_('ADMIN - Excluir historico de software');?> | ||
53 | + </strong> | ||
54 | + </font> | ||
55 | + </td> | ||
51 | </tr> | 56 | </tr> |
52 | <tr> | 57 | <tr> |
53 | <td height="1" bgcolor="#333333"></td> | 58 | <td height="1" bgcolor="#333333"></td> |
54 | </tr> | 59 | </tr> |
55 | <tr> | 60 | <tr> |
56 | - <td><p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Gerado | ||
57 | - em <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | 61 | + <td><p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> |
62 | + <?=$oTranslator->_('Gerado em');?> <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | ||
58 | </tr> | 63 | </tr> |
59 | </table> | 64 | </table> |
60 | <br> | 65 | <br> |
@@ -106,7 +111,7 @@ $result_query_Delete = mysql_query($query_Delete); | @@ -106,7 +111,7 @@ $result_query_Delete = mysql_query($query_Delete); | ||
106 | { | 111 | { |
107 | echo '<tr><td colspan="2" align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><B>' . $mensagemErro . '</B></td></tr>'; | 112 | echo '<tr><td colspan="2" align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><B>' . $mensagemErro . '</B></td></tr>'; |
108 | } else { | 113 | } else { |
109 | - echo '<tr><td colspan="2" align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><B>Softwares deletados com sucesso da base de dados.</B></td></tr>'; | 114 | + echo '<tr><td colspan="2" align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><B>'.$oTranslator->_('Historio de softwares excluidos com sucesso da base de dados').'</B></td></tr>'; |
110 | } | 115 | } |
111 | 116 | ||
112 | ?> | 117 | ?> |
@@ -116,11 +121,14 @@ $result_query_Delete = mysql_query($query_Delete); | @@ -116,11 +121,14 @@ $result_query_Delete = mysql_query($query_Delete); | ||
116 | 121 | ||
117 | </tr> | 122 | </tr> |
118 | </table> | 123 | </table> |
119 | -<p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Relatório | ||
120 | - gerado pelo <strong>CACIC</strong> - Configurador Automático e Coletor | ||
121 | - de Informações Computacionais</font><br> | ||
122 | - <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Software desenvolvido | ||
123 | - pela Dataprev - Escritório do Espírito Santo</font></p> | ||
124 | - | 124 | +<p align="center"> |
125 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | ||
126 | + <?=$oTranslator->_('Gerado por');?> | ||
127 | + <strong>CACIC</strong> | ||
128 | + - Configurador Automático e Coletor de Informações Computacionais | ||
129 | + </font><br> | ||
130 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | ||
131 | + Software desenvolvido pela Dataprev - Escritório do Espírito Santo | ||
132 | + </font></p> | ||
125 | </body> | 133 | </body> |
126 | </html> | 134 | </html> |
admin/log_acessos.php
@@ -18,7 +18,7 @@ session_start(); | @@ -18,7 +18,7 @@ session_start(); | ||
18 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! | 18 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! |
19 | */ | 19 | */ |
20 | if(!isset($_SESSION['id_usuario'])) | 20 | if(!isset($_SESSION['id_usuario'])) |
21 | - die('Acesso negado!'); | 21 | + die('Acesso negado (Access denied)!'); |
22 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! | 22 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
23 | } | 23 | } |
24 | 24 | ||
@@ -67,7 +67,7 @@ else | @@ -67,7 +67,7 @@ else | ||
67 | <html> | 67 | <html> |
68 | <head> | 68 | <head> |
69 | <link rel="stylesheet" type="text/css" href="../include/cacic.css"> | 69 | <link rel="stylesheet" type="text/css" href="../include/cacic.css"> |
70 | -<title>Log de Atividades</title> | 70 | +<title><?=$oTranslator->_('Log de Acessos');?></title> |
71 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 71 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
72 | <? | 72 | <? |
73 | // JavaScripts para fazer a selecao entre os listbox, movendo itens entre eles. | 73 | // JavaScripts para fazer a selecao entre os listbox, movendo itens entre eles. |
@@ -81,21 +81,19 @@ require_once('../include/selecao_listbox.js'); | @@ -81,21 +81,19 @@ require_once('../include/selecao_listbox.js'); | ||
81 | <form name="form1" method="post" action=""> | 81 | <form name="form1" method="post" action=""> |
82 | <table width="90%" border="0" align="center"> | 82 | <table width="90%" border="0" align="center"> |
83 | <tr> | 83 | <tr> |
84 | - <td class="cabecalho"><div align="left">Log de Acessos</div></td> | 84 | + <td class="cabecalho"><div align="left"><?=$oTranslator->_('Log de Acessos');?></div></td> |
85 | </tr> | 85 | </tr> |
86 | <tr> | 86 | <tr> |
87 | - <td class="descricao">Este módulo permite a visualização | ||
88 | - dos acessos efetuados no sistema. É possível visualizar | ||
89 | - as atividades executadas pelo usuário na data, bastando clicar | ||
90 | - sobre uma de suas informações.</td> | 87 | + <td class="descricao"><?=$oTranslator->_('kciq_msg Log de acessos help');?></td> |
91 | </tr> | 88 | </tr> |
92 | </table> | 89 | </table> |
93 | <p><br></p> | 90 | <p><br></p> |
94 | 91 | ||
95 | <table width="90%" border="0" cellpadding="0" cellspacing="1" align="center"> | 92 | <table width="90%" border="0" cellpadding="0" cellspacing="1" align="center"> |
96 | <tr> | 93 | <tr> |
97 | - <td class="label" colspan="3">Selecione o período em que deverá | ||
98 | - ser realizada a consulta:</td> | 94 | + <td class="label" colspan="3"> |
95 | + <?=$oTranslator->_('Selecione o periodo no qual devera ser realizada a consulta');?>: | ||
96 | + </td> | ||
99 | </tr> | 97 | </tr> |
100 | <tr> | 98 | <tr> |
101 | <td height="1" bgcolor="#333333" colspan="2"></td> | 99 | <td height="1" bgcolor="#333333" colspan="2"></td> |
@@ -113,7 +111,7 @@ require_once('../include/selecao_listbox.js'); | @@ -113,7 +111,7 @@ require_once('../include/selecao_listbox.js'); | ||
113 | } | 111 | } |
114 | calendar1 = new dynCalendar('calendar1', 'calendar1Callback'); | 112 | calendar1 = new dynCalendar('calendar1', 'calendar1Callback'); |
115 | //--> | 113 | //--> |
116 | - </script>*/?> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">a</font> | 114 | + </script>*/?> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('a');?></font> |
117 | <input name="date_input2" type="text" size="10" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" value="<? echo $date_input2;?>"> | 115 | <input name="date_input2" type="text" size="10" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" value="<? echo $date_input2;?>"> |
118 | <? /* | 116 | <? /* |
119 | <script type="text/javascript" language="JavaScript"> | 117 | <script type="text/javascript" language="JavaScript"> |
@@ -125,7 +123,7 @@ require_once('../include/selecao_listbox.js'); | @@ -125,7 +123,7 @@ require_once('../include/selecao_listbox.js'); | ||
125 | calendar2 = new dynCalendar('calendar2', 'calendar2Callback'); | 123 | calendar2 = new dynCalendar('calendar2', 'calendar2Callback'); |
126 | //--> | 124 | //--> |
127 | </script>*/?> </td> | 125 | </script>*/?> </td> |
128 | - <td align="left" class="descricao"> (formato: dd/mm/aaaa)</td> | 126 | + <td align="left" class="descricao">(<?=$oTranslator->_('Formato da data');?>: dd/mm/aaaa)</td> |
129 | <td rowspan="2" align="left" valign="middle" class="descricao"><div align="center"> | 127 | <td rowspan="2" align="left" valign="middle" class="descricao"><div align="center"> |
130 | <input name="consultar" type="submit" value=" Filtrar " onClick="SelectAll(this.form.elements['list12[]'])"> | 128 | <input name="consultar" type="submit" value=" Filtrar " onClick="SelectAll(this.form.elements['list12[]'])"> |
131 | </div></td> | 129 | </div></td> |
@@ -153,8 +151,8 @@ require_once('../include/selecao_listbox.js'); | @@ -153,8 +151,8 @@ require_once('../include/selecao_listbox.js'); | ||
153 | if ($_REQUEST['date_input1']) | 151 | if ($_REQUEST['date_input1']) |
154 | { | 152 | { |
155 | $msg = '<div align="center"> | 153 | $msg = '<div align="center"> |
156 | - <font color="red" size="1" face="Verdana, Arial, Helvetica, sans-serif"> | ||
157 | - Nenhum acesso realizado no período informado.</font><br><br></div>'; | 154 | + <font color="red" size="1" face="Verdana, Arial, Helvetica, sans-serif">'. |
155 | + $oTranslator->_('Nenhum acesso realizado no período informado').'</font><br><br></div>'; | ||
158 | 156 | ||
159 | $where_usuarios = ''; | 157 | $where_usuarios = ''; |
160 | 158 | ||
@@ -182,7 +180,8 @@ require_once('../include/selecao_listbox.js'); | @@ -182,7 +180,8 @@ require_once('../include/selecao_listbox.js'); | ||
182 | a.te_ip_origem, | 180 | a.te_ip_origem, |
183 | a.cs_acao, | 181 | a.cs_acao, |
184 | b.id_usuario, | 182 | b.id_usuario, |
185 | - c.sg_local | 183 | + c.sg_local, |
184 | + b.id_local | ||
186 | FROM log a, | 185 | FROM log a, |
187 | usuarios b, | 186 | usuarios b, |
188 | locais c | 187 | locais c |
@@ -214,11 +213,11 @@ require_once('../include/selecao_listbox.js'); | @@ -214,11 +213,11 @@ require_once('../include/selecao_listbox.js'); | ||
214 | <table width="90%" border="0" cellpadding="2" cellspacing="0" bordercolor="#333333" align="center"> | 213 | <table width="90%" border="0" cellpadding="2" cellspacing="0" bordercolor="#333333" align="center"> |
215 | <tr bgcolor="#E1E1E1"> | 214 | <tr bgcolor="#E1E1E1"> |
216 | <td colspan="3"></td> | 215 | <td colspan="3"></td> |
217 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_acessos.php?OrderBy=1&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">Data</a></div></td> | 216 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_acessos.php?OrderBy=1&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Data');?></a></div></td> |
218 | <td></td> | 217 | <td></td> |
219 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_acessos.php?OrderBy=2&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">Usuário</a></div></td> | 218 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_acessos.php?OrderBy=2&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Usuario');?></a></div></td> |
220 | <td></td> | 219 | <td></td> |
221 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_acessos.php?OrderBy=3&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">IP Origem</a></div></td> | 220 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_acessos.php?OrderBy=3&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Endereco IP origem');?></a></div></td> |
222 | <td></td> | 221 | <td></td> |
223 | </tr> | 222 | </tr> |
224 | <tr> | 223 | <tr> |
@@ -264,11 +263,11 @@ require_once('../include/selecao_listbox.js'); | @@ -264,11 +263,11 @@ require_once('../include/selecao_listbox.js'); | ||
264 | <td nowrap></td> | 263 | <td nowrap></td> |
265 | <td align="left" nowrap class="opcao_tabela"><? echo $NumRegistro; ?></td> | 264 | <td align="left" nowrap class="opcao_tabela"><? echo $NumRegistro; ?></td> |
266 | <td nowrap></td> | 265 | <td nowrap></td> |
267 | - <td nowrap class="opcao_tabela"><a href="log_atividades.php?nm_chamador=Log_de_Acessos&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>&id_usuario=<? echo $row['id_usuario'];?>"><? echo $day.'/'.$month.'/'.$year. ' '. substr($hour,0,5);?></a></td> | 266 | + <td nowrap class="opcao_tabela"><a href="log_atividades.php?nm_chamador=Log_de_Acessos&list12[0]=<? echo $row['id_local'];?>&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>&id_usuario=<? echo $row['id_usuario'];?>"><? echo $day.'/'.$month.'/'.$year. ' '. substr($hour,0,5);?></a></td> |
268 | <td nowrap></td> | 267 | <td nowrap></td> |
269 | - <td nowrap class="opcao_tabela"><a href="log_atividades.php?nm_chamador=Log_de_Acessos&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>&id_usuario=<? echo $row['id_usuario'];?>"><? echo $nm_usuario_acessos;?></a></td> | 268 | + <td nowrap class="opcao_tabela"><a href="log_atividades.php?nm_chamador=Log_de_Acessos&list12[0]=<? echo $row['id_local'];?>&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>&id_usuario=<? echo $row['id_usuario'];?>"><? echo $nm_usuario_acessos;?></a></td> |
270 | <td nowrap></td> | 269 | <td nowrap></td> |
271 | - <td nowrap class="opcao_tabela"><a href="log_atividades.php?nm_chamador=Log_de_Acessos&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>&id_usuario=<? echo $row['id_usuario'];?>"><? echo $row['te_ip_origem'];?></a></td> | 270 | + <td nowrap class="opcao_tabela"><a href="log_atividades.php?nm_chamador=Log_de_Acessos&list12[0]=<? echo $row['id_local'];?>&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>&id_usuario=<? echo $row['id_usuario'];?>"><? echo $row['te_ip_origem'];?></a></td> |
272 | <td nowrap></td> | 271 | <td nowrap></td> |
273 | <? | 272 | <? |
274 | $Cor=!$Cor; | 273 | $Cor=!$Cor; |
admin/log_atividades.php
@@ -18,7 +18,7 @@ session_start(); | @@ -18,7 +18,7 @@ session_start(); | ||
18 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! | 18 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! |
19 | */ | 19 | */ |
20 | if(!isset($_SESSION['id_usuario'])) | 20 | if(!isset($_SESSION['id_usuario'])) |
21 | - die('Acesso negado!'); | 21 | + die('Acesso negado (Access denied)!'); |
22 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! | 22 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
23 | } | 23 | } |
24 | 24 | ||
@@ -62,7 +62,7 @@ else | @@ -62,7 +62,7 @@ else | ||
62 | <html> | 62 | <html> |
63 | <head> | 63 | <head> |
64 | <link rel="stylesheet" type="text/css" href="../include/cacic.css"> | 64 | <link rel="stylesheet" type="text/css" href="../include/cacic.css"> |
65 | -<title>Log de Atividades</title> | 65 | +<title><?=$oTranslator->_('Log de Atividades');?></title> |
66 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 66 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
67 | <? | 67 | <? |
68 | // JavaScripts para fazer a selecao entre os listbox, movendo itens entre eles. | 68 | // JavaScripts para fazer a selecao entre os listbox, movendo itens entre eles. |
@@ -82,21 +82,17 @@ require_once('../include/selecao_listbox.js'); | @@ -82,21 +82,17 @@ require_once('../include/selecao_listbox.js'); | ||
82 | <form name="form1" method="post" action=""> | 82 | <form name="form1" method="post" action=""> |
83 | <table width="90%" border="0" align="center"> | 83 | <table width="90%" border="0" align="center"> |
84 | <tr> | 84 | <tr> |
85 | - <td class="cabecalho"><div align="left">Log de Atividades</div></td> | 85 | + <td class="cabecalho"><div align="left"><?=$oTranslator->_('Log de Atividades');?></div></td> |
86 | </tr> | 86 | </tr> |
87 | <tr> | 87 | <tr> |
88 | - <td class="descricao">Este módulo permite a visualização | ||
89 | - das atividades realizados com o uso das operações de INSERT/UPDATE/DELETE | ||
90 | - ocorridas no Sistema CACIC. A ordenação das colunas poderá | ||
91 | - ser definida clicando-se em seus nomes.</td> | 88 | + <td class="descricao"><?=$oTranslator->_('kciq_msg Log de atividades help');?></td> |
92 | </tr> | 89 | </tr> |
93 | </table> | 90 | </table> |
94 | <p><br></p> | 91 | <p><br></p> |
95 | 92 | ||
96 | <table width="90%" border="0" cellpadding="0" cellspacing="1" align="center"> | 93 | <table width="90%" border="0" cellpadding="0" cellspacing="1" align="center"> |
97 | <tr> | 94 | <tr> |
98 | - <td class="label" colspan="3">Selecione o período em que deverá | ||
99 | - ser realizada a consulta:</td> | 95 | + <td class="label" colspan="3"><?=$oTranslator->_('Selecione o periodo no qual devera ser realizada a consulta');?>:</td> |
100 | </tr> | 96 | </tr> |
101 | <tr> | 97 | <tr> |
102 | <td height="1" bgcolor="#333333" colspan="2"></td> | 98 | <td height="1" bgcolor="#333333" colspan="2"></td> |
@@ -125,7 +121,7 @@ require_once('../include/selecao_listbox.js'); | @@ -125,7 +121,7 @@ require_once('../include/selecao_listbox.js'); | ||
125 | calendar2 = new dynCalendar('calendar2', 'calendar2Callback'); | 121 | calendar2 = new dynCalendar('calendar2', 'calendar2Callback'); |
126 | //--> | 122 | //--> |
127 | </script>*/?> </td> | 123 | </script>*/?> </td> |
128 | - <td align="left" class="descricao"> (formato: dd/mm/aaaa)</td> | 124 | + <td align="left" class="descricao">(<?=$oTranslator->_('Formato da data');?>: dd/mm/aaaa)</td> |
129 | <td rowspan="4" align="left" valign="middle" class="descricao"><div align="center"> | 125 | <td rowspan="4" align="left" valign="middle" class="descricao"><div align="center"> |
130 | <input name="consultar" type="submit" value=" Filtrar " onClick="SelectAll(this.form.elements['list12[]'])"> | 126 | <input name="consultar" type="submit" value=" Filtrar " onClick="SelectAll(this.form.elements['list12[]'])"> |
131 | </div></td> | 127 | </div></td> |
@@ -154,8 +150,8 @@ require_once('../include/selecao_listbox.js'); | @@ -154,8 +150,8 @@ require_once('../include/selecao_listbox.js'); | ||
154 | if ($_REQUEST['date_input1']) | 150 | if ($_REQUEST['date_input1']) |
155 | { | 151 | { |
156 | $msg = '<div align="center"> | 152 | $msg = '<div align="center"> |
157 | - <font color="red" size="1" face="Verdana, Arial, Helvetica, sans-serif"> | ||
158 | - Nenhuma ação realizada no período informado.</font><br><br></div>'; | 153 | + <font color="red" size="1" face="Verdana, Arial, Helvetica, sans-serif">'. |
154 | + $oTranslator->_('Nenhuma atividade realizada no período informado').'.</font><br><br></div>'; | ||
159 | 155 | ||
160 | $where = ($_REQUEST['nm_chamador']<>''?' AND b.id_usuario = '.$_REQUEST['id_usuario']:''); | 156 | $where = ($_REQUEST['nm_chamador']<>''?' AND b.id_usuario = '.$_REQUEST['id_usuario']:''); |
161 | 157 | ||
@@ -171,11 +167,12 @@ require_once('../include/selecao_listbox.js'); | @@ -171,11 +167,12 @@ require_once('../include/selecao_listbox.js'); | ||
171 | else | 167 | else |
172 | { | 168 | { |
173 | $itens_locais = ''; | 169 | $itens_locais = ''; |
174 | - for ($i =0; $i < count($_POST['list12']);$i++) | 170 | + $list12 = $_REQUEST['list12']; |
171 | + for ($i =0; $i < count($list12);$i++) | ||
175 | { | 172 | { |
176 | if ($itens_locais) | 173 | if ($itens_locais) |
177 | $itens_locais .= ','; | 174 | $itens_locais .= ','; |
178 | - $itens_locais .= $_POST['list12'][$i]; | 175 | + $itens_locais .= $list12[$i]; |
179 | } | 176 | } |
180 | $where_usuarios = ' AND b.id_local IN ('.$itens_locais.')'; | 177 | $where_usuarios = ' AND b.id_local IN ('.$itens_locais.')'; |
181 | } | 178 | } |
@@ -208,7 +205,7 @@ require_once('../include/selecao_listbox.js'); | @@ -208,7 +205,7 @@ require_once('../include/selecao_listbox.js'); | ||
208 | <p></p> | 205 | <p></p> |
209 | <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1"> | 206 | <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1"> |
210 | <tr> | 207 | <tr> |
211 | - <td height="10" colspan="3" bgcolor="#CCCCCC" class="destaque"><div align="center" class="style2">RESULTADO DA CONSULTA </div></td> | 208 | + <td height="10" colspan="3" bgcolor="#CCCCCC" class="destaque"><div align="center" class="style2"><?=$oTranslator->_('Resultado da consulta');?></div></td> |
212 | </tr> | 209 | </tr> |
213 | <tr> | 210 | <tr> |
214 | <td height="10" colspan="3"></td> | 211 | <td height="10" colspan="3"></td> |
@@ -221,17 +218,17 @@ require_once('../include/selecao_listbox.js'); | @@ -221,17 +218,17 @@ require_once('../include/selecao_listbox.js'); | ||
221 | <table width="90%" border="0" cellpadding="2" cellspacing="0" bordercolor="#333333" align="center"> | 218 | <table width="90%" border="0" cellpadding="2" cellspacing="0" bordercolor="#333333" align="center"> |
222 | <tr bgcolor="#E1E1E1"> | 219 | <tr bgcolor="#E1E1E1"> |
223 | <td colspan="3"></td> | 220 | <td colspan="3"></td> |
224 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=1&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">Data</a></div></td> | 221 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=1&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Data');?></a></div></td> |
225 | <td></td> | 222 | <td></td> |
226 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=2&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">Op.</a></div></td> | 223 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=2&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Operacao');?></a></div></td> |
227 | <td></td> | 224 | <td></td> |
228 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=3&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">Tabela</a></div></td> | 225 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=3&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Tabela');?></a></div></td> |
229 | <td></td> | 226 | <td></td> |
230 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=4&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">Script (.php)</a></div></td> | 227 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=4&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Programa');?> (.php)</a></div></td> |
231 | <td></td> | 228 | <td></td> |
232 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=5&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">Usuário</a></div></td> | 229 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=5&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Usuario');?></a></div></td> |
233 | <td></td> | 230 | <td></td> |
234 | - <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=6&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>">IP Origem</a></div></td> | 231 | + <td nowrap class="cabecalho_tabela"><div align="left"><a href="log_atividades.php?OrderBy=6&date_input1=<? echo $date_input1;?>&date_input2=<? echo $date_input2;?>"><?=$oTranslator->_('Endereco IP origem');?></a></div></td> |
235 | <td></td> | 232 | <td></td> |
236 | </tr> | 233 | </tr> |
237 | <tr> | 234 | <tr> |
@@ -312,16 +309,16 @@ require_once('../include/selecao_listbox.js'); | @@ -312,16 +309,16 @@ require_once('../include/selecao_listbox.js'); | ||
312 | </table> | 309 | </table> |
313 | <table width="293" border="0" align="center" cellpadding="0" cellspacing="1"> | 310 | <table width="293" border="0" align="center" cellpadding="0" cellspacing="1"> |
314 | <tr> | 311 | <tr> |
315 | - <td colspan="3"><div align="center"><font color="#004080" size="4">Resumo | ||
316 | - das Operações</font></div></td> | 312 | + <td colspan="3"><div align="center"><font color="#004080" size="4"> |
313 | + <?=$oTranslator->_('Resumo das Operacoes');?></font></div></td> | ||
317 | </tr> | 314 | </tr> |
318 | <tr> | 315 | <tr> |
319 | <td height="1" colspan="3" bgcolor="#333333"></td> | 316 | <td height="1" colspan="3" bgcolor="#333333"></td> |
320 | </tr> | 317 | </tr> |
321 | <tr bgcolor="#CCCCCC"> | 318 | <tr bgcolor="#CCCCCC"> |
322 | - <td><div align="left"><font size="2"><strong>Operação</strong></font></div></td> | ||
323 | - <td><div align="right"><font size="2"><strong>Quant.</strong></font></div></td> | ||
324 | - <td><div align="right"><font size="2"><strong>%</strong></font></div></td> | 319 | + <td><div align="left"><font size="2"><strong><?=$oTranslator->_('Operacao');?></strong></font></div></td> |
320 | + <td><div align="right"><font size="2"><strong><?=$oTranslator->_('Quantidade');?></strong></font></div></td> | ||
321 | + <td><div align="right"><font size="2"><strong><?=$oTranslator->_('Percentual');?></strong></font></div></td> | ||
325 | </tr> | 322 | </tr> |
326 | <tr> | 323 | <tr> |
327 | <td height="1" colspan="3" bgcolor="#333333"></td> | 324 | <td height="1" colspan="3" bgcolor="#333333"></td> |
@@ -350,8 +347,8 @@ require_once('../include/selecao_listbox.js'); | @@ -350,8 +347,8 @@ require_once('../include/selecao_listbox.js'); | ||
350 | <tr> | 347 | <tr> |
351 | <td height="1" colspan="3" bgcolor="#333333"></td> | 348 | <td height="1" colspan="3" bgcolor="#333333"></td> |
352 | </tr> | 349 | </tr> |
353 | - <tr> | ||
354 | - <td nowrap> </td> | 350 | + <tr bgcolor="#CCCCCC"> |
351 | + <td nowrap class="opcao_tabela_destaque"><?=$oTranslator->_('Total');?></td> | ||
355 | <td align="right"><? echo $total_key;?></td> | 352 | <td align="right"><? echo $total_key;?></td> |
356 | <td> </td> | 353 | <td> </td> |
357 | </tr> | 354 | </tr> |
@@ -365,9 +362,9 @@ require_once('../include/selecao_listbox.js'); | @@ -365,9 +362,9 @@ require_once('../include/selecao_listbox.js'); | ||
365 | <td height="1" colspan="3" bgcolor="#333333"></td> | 362 | <td height="1" colspan="3" bgcolor="#333333"></td> |
366 | </tr> | 363 | </tr> |
367 | <tr bgcolor="#CCCCCC"> | 364 | <tr bgcolor="#CCCCCC"> |
368 | - <td><div align="left"><font size="2"><strong>Tabela</strong></font></div></td> | ||
369 | - <td><div align="right"><font size="2"><strong>Quant.</strong></font></div></td> | ||
370 | - <td><div align="right"><font size="2"><strong>%</strong></font></div></td> | 365 | + <td><div align="left"><font size="2"><strong><?=$oTranslator->_('Tabela');?></strong></font></div></td> |
366 | + <td><div align="right"><font size="2"><strong><?=$oTranslator->_('Quantidade');?></strong></font></div></td> | ||
367 | + <td><div align="right"><font size="2"><strong><?=$oTranslator->_('Percentual');?></strong></font></div></td> | ||
371 | </tr> | 368 | </tr> |
372 | <tr> | 369 | <tr> |
373 | <td height="1" colspan="3" bgcolor="#333333"></td> | 370 | <td height="1" colspan="3" bgcolor="#333333"></td> |
@@ -396,8 +393,8 @@ require_once('../include/selecao_listbox.js'); | @@ -396,8 +393,8 @@ require_once('../include/selecao_listbox.js'); | ||
396 | <tr> | 393 | <tr> |
397 | <td height="1" colspan="3" bgcolor="#333333"></td> | 394 | <td height="1" colspan="3" bgcolor="#333333"></td> |
398 | </tr> | 395 | </tr> |
399 | - <tr> | ||
400 | - <td nowrap> </td> | 396 | + <tr bgcolor="#CCCCCC"> |
397 | + <td nowrap class="opcao_tabela_destaque"><?=$oTranslator->_('Total');?></td> | ||
401 | <td align="right"><? echo $total_key;?></td> | 398 | <td align="right"><? echo $total_key;?></td> |
402 | <td> </td> | 399 | <td> </td> |
403 | </tr> | 400 | </tr> |
@@ -411,9 +408,9 @@ require_once('../include/selecao_listbox.js'); | @@ -411,9 +408,9 @@ require_once('../include/selecao_listbox.js'); | ||
411 | <td height="1" colspan="3" bgcolor="#333333"></td> | 408 | <td height="1" colspan="3" bgcolor="#333333"></td> |
412 | </tr> | 409 | </tr> |
413 | <tr bgcolor="#CCCCCC"> | 410 | <tr bgcolor="#CCCCCC"> |
414 | - <td><div align="left"><font size="2"><strong>Script (.php)</strong></font></div></td> | ||
415 | - <td><div align="right"><font size="2"><strong>Quant.</strong></font></div></td> | ||
416 | - <td><div align="right"><font size="2"><strong>%</strong></font></div></td> | 411 | + <td><div align="left"><font size="2"><strong><?=$oTranslator->_('Programa');?> (.php)</strong></font></div></td> |
412 | + <td><div align="right"><font size="2"><strong><?=$oTranslator->_('Quantidade');?></strong></font></div></td> | ||
413 | + <td><div align="right"><font size="2"><strong><?=$oTranslator->_('Percentual');?></strong></font></div></td> | ||
417 | </tr> | 414 | </tr> |
418 | <tr> | 415 | <tr> |
419 | <td height="1" colspan="3" bgcolor="#333333"></td> | 416 | <td height="1" colspan="3" bgcolor="#333333"></td> |
@@ -442,8 +439,8 @@ require_once('../include/selecao_listbox.js'); | @@ -442,8 +439,8 @@ require_once('../include/selecao_listbox.js'); | ||
442 | <tr> | 439 | <tr> |
443 | <td height="1" colspan="3" bgcolor="#333333"></td> | 440 | <td height="1" colspan="3" bgcolor="#333333"></td> |
444 | </tr> | 441 | </tr> |
445 | - <tr> | ||
446 | - <td nowrap> </td> | 442 | + <tr bgcolor="#CCCCCC"> |
443 | + <td nowrap class="opcao_tabela_destaque"><?=$oTranslator->_('Total');?></td> | ||
447 | <td align="right"><? echo $total_key;?></td> | 444 | <td align="right"><? echo $total_key;?></td> |
448 | <td> </td> | 445 | <td> </td> |
449 | </tr> | 446 | </tr> |
@@ -457,9 +454,9 @@ require_once('../include/selecao_listbox.js'); | @@ -457,9 +454,9 @@ require_once('../include/selecao_listbox.js'); | ||
457 | <td height="1" colspan="3" bgcolor="#333333"></td> | 454 | <td height="1" colspan="3" bgcolor="#333333"></td> |
458 | </tr> | 455 | </tr> |
459 | <tr bgcolor="#CCCCCC"> | 456 | <tr bgcolor="#CCCCCC"> |
460 | - <td><div align="left"><font size="2"><strong>Usuário</strong></font></div></td> | ||
461 | - <td><div align="right"><font size="2"><strong>Quant.</strong></font></div></td> | ||
462 | - <td><div align="right"><font size="2"><strong>%</strong></font></div></td> | 457 | + <td><div align="left"><font size="2"><strong><?=$oTranslator->_('Usuario');?></strong></font></div></td> |
458 | + <td><div align="right"><font size="2"><strong><?=$oTranslator->_('Quantidade');?></strong></font></div></td> | ||
459 | + <td><div align="right"><font size="2"><strong><?=$oTranslator->_('Percentual');?></strong></font></div></td> | ||
463 | </tr> | 460 | </tr> |
464 | <tr> | 461 | <tr> |
465 | <td height="1" colspan="3" bgcolor="#333333"></td> | 462 | <td height="1" colspan="3" bgcolor="#333333"></td> |
@@ -489,8 +486,8 @@ require_once('../include/selecao_listbox.js'); | @@ -489,8 +486,8 @@ require_once('../include/selecao_listbox.js'); | ||
489 | <tr> | 486 | <tr> |
490 | <td height="1" colspan="3" bgcolor="#333333"></td> | 487 | <td height="1" colspan="3" bgcolor="#333333"></td> |
491 | </tr> | 488 | </tr> |
492 | - <tr> | ||
493 | - <td nowrap> </td> | 489 | + <tr bgcolor="#CCCCCC"> |
490 | + <td nowrap class="opcao_tabela_destaque"><?=$oTranslator->_('Total');?></td> | ||
494 | <td align="right"><? echo $total_key;?></td> | 491 | <td align="right"><? echo $total_key;?></td> |
495 | <td> </td> | 492 | <td> </td> |
496 | </tr> | 493 | </tr> |
@@ -516,7 +513,7 @@ require_once('../include/selecao_listbox.js'); | @@ -516,7 +513,7 @@ require_once('../include/selecao_listbox.js'); | ||
516 | if ($_REQUEST['nm_chamador']) | 513 | if ($_REQUEST['nm_chamador']) |
517 | { | 514 | { |
518 | ?> | 515 | ?> |
519 | - <input name="Retorna" type="button" value=" Retorna para <? echo str_replace("_"," ",$_REQUEST['nm_chamador']);?> " onClick="history.back()"> | 516 | + <input name="Retorna" type="button" value=" <?=$oTranslator->_('Retorna para');?> <? echo str_replace("_"," ",$_REQUEST['nm_chamador']);?> " onClick="history.back()"> |
520 | <? | 517 | <? |
521 | } | 518 | } |
522 | ?> | 519 | ?> |
language/pt_BR/language.pt_BR.inc.php
@@ -48,6 +48,7 @@ pt_BR kciq_msg email | @@ -48,6 +48,7 @@ pt_BR kciq_msg email | ||
48 | pt_BR kciq_msg admin mgm email help instaladorinfo Endereço eletrônico do Administrador do CACIC para envio de mesagens | 48 | pt_BR kciq_msg admin mgm email help instaladorinfo Endereço eletrônico do Administrador do CACIC para envio de mesagens |
49 | pt_BR language_en-us Geral info en-US English (US) | 49 | pt_BR language_en-us Geral info en-US English (US) |
50 | pt_BR kciq_msg error geral erro Erro | 50 | pt_BR kciq_msg error geral erro Erro |
51 | +pt_BR kciq_msg update on table fail geral erro Erro ao tentar atualizar registros na(s) tabela(s) (%1) | ||
51 | pt_BR kciq_msg delete row on table fail geral erro Erro ao tentar excluir registros na tabela %1 | 52 | pt_BR kciq_msg delete row on table fail geral erro Erro ao tentar excluir registros na tabela %1 |
52 | pt_BR kciq_msg inst check dir perm instaladorinfo Erro ao tentar gravar o arquivo %1. Verifique diretório e permissões! | 53 | pt_BR kciq_msg inst check dir perm instaladorinfo Erro ao tentar gravar o arquivo %1. Verifique diretório e permissões! |
53 | pt_BR kciq_msg insert row on table fail geral erro Erro ao tentar incluir registro(s) na(s) tabela(s) %1 | 54 | pt_BR kciq_msg insert row on table fail geral erro Erro ao tentar incluir registro(s) na(s) tabela(s) %1 |
@@ -59,9 +60,11 @@ pt_BR kciq_msg inst build database error | @@ -59,9 +60,11 @@ pt_BR kciq_msg inst build database error | ||
59 | pt_BR language_es Geral info es Español | 60 | pt_BR language_es Geral info es Español |
60 | pt_BR kciq_msg php_memory_help instaladorinfo Essa diretiva irá afetar o desempenho de execução dos programas em PHP. | 61 | pt_BR kciq_msg php_memory_help instaladorinfo Essa diretiva irá afetar o desempenho de execução dos programas em PHP. |
61 | pt_BR kciq_msg php_flag_on_advise instaladorinfo Essa diretiva é verificada apenas para versão PHP = 5.x.y. | 62 | pt_BR kciq_msg php_flag_on_advise instaladorinfo Essa diretiva é verificada apenas para versão PHP = 5.x.y. |
63 | +pt_BR kciq_msg excluir computadores advise admin info Esta opção permite a exclusão parametrizada das informações armazenadas na base sobre as estações monitoradas. Deve-se tomar muito cuidado com a abrangência da condição a ser formulada. | ||
62 | pt_BR kciq_msg mac address help admin info Esta opção tem por finalidade informar aos agentes coletores de informações de TCP/IP acerca de endereços MAC inválidos, ou seja, os endereços utilizados como padrões em protocolos e/ou dispositivos diferentes de TCP/Ethernet. Os coletores considerarção apenas os endereços MAC diferentes ou que não contenham as informações aqui cadastradas, podendo ser partes de endereços. | 64 | pt_BR kciq_msg mac address help admin info Esta opção tem por finalidade informar aos agentes coletores de informações de TCP/IP acerca de endereços MAC inválidos, ou seja, os endereços utilizados como padrões em protocolos e/ou dispositivos diferentes de TCP/Ethernet. Os coletores considerarção apenas os endereços MAC diferentes ou que não contenham as informações aqui cadastradas, podendo ser partes de endereços. |
63 | pt_BR kciq_msg statistics geral info Estatísticas | 65 | pt_BR kciq_msg statistics geral info Estatísticas |
64 | pt_BR kciq_msg cacic statistics geral info Estatísticas do CACIC | 66 | pt_BR kciq_msg cacic statistics geral info Estatísticas do CACIC |
67 | +pt_BR kciq_msg log de acessos help admin info Este módulo permite a visualização dos acessos efetuados no sistema. É possível visualizar as atividades executadas pelo usuário na data, bastando clicar sobre uma de suas informações. | ||
65 | pt_BR kciq_msg ftp_suporte instaladorinfo FTP | 68 | pt_BR kciq_msg ftp_suporte instaladorinfo FTP |
66 | pt_BR kciq_msg ftp login connect fail geral erro Falha ao logar no servidor FTP | 69 | pt_BR kciq_msg ftp login connect fail geral erro Falha ao logar no servidor FTP |
67 | pt_BR kciq_msg ftp change dir fail geral erro Falha ao tentar alterar diretório FTP | 70 | pt_BR kciq_msg ftp change dir fail geral erro Falha ao tentar alterar diretório FTP |
@@ -230,4 +233,4 @@ pt_BR kciq_msg license pt_read | @@ -230,4 +233,4 @@ pt_BR kciq_msg license pt_read | ||
230 | pt_BR kciq_msg last agents access geral info Últimos acessos dos agentes | 233 | pt_BR kciq_msg last agents access geral info Últimos acessos dos agentes |
231 | pt_BR kciq_msg last agents access on local geral info Últimos acessos dos agentes deste local | 234 | pt_BR kciq_msg last agents access on local geral info Últimos acessos dos agentes deste local |
232 | pt_BR kciq_msg last agents access per local geral info Últimos acessos dos agentes por local nesta data | 235 | pt_BR kciq_msg last agents access per local geral info Últimos acessos dos agentes por local nesta data |
233 | -pt_BR kciq_msg update on table fail geral erro Erro ao tentar atualizar registros na(s) tabela(s) (%1) | 236 | +pt_BR kciq_msg Log de atividades help admin info Este módulo permite a visualização das atividades realizados com o uso das operações de INSERT/UPDATE/DELETE ocorridas no Sistema CACIC. A ordenação das colunas poderá ser definida clicando-se em seus nomes. |