Commit d349028bdcf8640531d3d501f4782ad54f695cf4
1 parent
87248f61
Exists in
master
Igualar a repositório de origem.
Será mantido assim para facilitar novas mesclagens.
Showing
4 changed files
with
11 additions
and
13 deletions
Show diff stats
class/solicitante.class.php
| @@ -464,9 +464,8 @@ class Solicitante { | @@ -464,9 +464,8 @@ class Solicitante { | ||
| 464 | $all_query_ok=true; | 464 | $all_query_ok=true; |
| 465 | 465 | ||
| 466 | if (!$con->query($sql)) | 466 | if (!$con->query($sql)) |
| 467 | - { | ||
| 468 | - error_log($con->error); | ||
| 469 | - $this->erro = "Erro ao inserir Solicitante"; | 467 | + {echo $con->error; |
| 468 | + $this->erro = "Erro ao inserir Solicitante". $con->error; | ||
| 470 | $con->rollback(); | 469 | $con->rollback(); |
| 471 | $all_query_ok = false; | 470 | $all_query_ok = false; |
| 472 | } | 471 | } |
| @@ -495,7 +494,7 @@ class Solicitante { | @@ -495,7 +494,7 @@ class Solicitante { | ||
| 495 | { | 494 | { |
| 496 | //echo $sql; | 495 | //echo $sql; |
| 497 | $con->rollback(); | 496 | $con->rollback(); |
| 498 | - $this->erro = "E-mail de confirmação não pôde ser enviado. Por favor, tente cadastrar-se novamente."; | 497 | + $this->erro = "Ocorreu um erro na inclusao dos dados do Solicitante."; |
| 499 | } | 498 | } |
| 500 | } | 499 | } |
| 501 | 500 |
css/estilo.css
| 1 | -@charset "iso-8859-1"; | ||
| 2 | /* Lei de Acesso*/ | 1 | /* Lei de Acesso*/ |
| 3 | * { | 2 | * { |
| 4 | margin: 0px; | 3 | margin: 0px; |
| 5 | padding: 0px; | 4 | padding: 0px; |
| 6 | } | 5 | } |
| 7 | 6 | ||
| 8 | -/* Estilização geral */ | 7 | +/* Estilização geral */ |
| 9 | body { | 8 | body { |
| 10 | font-family: Verdana, Arial, Helvetica, Sans-serif; | 9 | font-family: Verdana, Arial, Helvetica, Sans-serif; |
| 11 | font-size: 12px; | 10 | font-size: 12px; |
| @@ -139,7 +138,7 @@ h6 { | @@ -139,7 +138,7 @@ h6 { | ||
| 139 | } | 138 | } |
| 140 | 139 | ||
| 141 | 140 | ||
| 142 | -/* Estilização do menu menu */ | 141 | +/* Estilização do menu menu */ |
| 143 | 142 | ||
| 144 | #menu { | 143 | #menu { |
| 145 | width: 980px; | 144 | width: 980px; |
| @@ -388,7 +387,7 @@ input[type='radio']{ | @@ -388,7 +387,7 @@ input[type='radio']{ | ||
| 388 | height: 20px; | 387 | height: 20px; |
| 389 | background-color: #ABCDEF; | 388 | background-color: #ABCDEF; |
| 390 | border: 1px solid #3172DE; | 389 | border: 1px solid #3172DE; |
| 391 | - width: 120px; | 390 | + width: 100px; |
| 392 | } | 391 | } |
| 393 | 392 | ||
| 394 | /*tabela de seleção de registro***********************/ | 393 | /*tabela de seleção de registro***********************/ |
restrito/lda_solicitacao/index.php
| @@ -89,7 +89,7 @@ $rs = execQueryPag($sql); | @@ -89,7 +89,7 @@ $rs = execQueryPag($sql); | ||
| 89 | <legend>Buscar:</legend> | 89 | <legend>Buscar:</legend> |
| 90 | <table align="center" width="200"> | 90 | <table align="center" width="200"> |
| 91 | <tr> | 91 | <tr> |
| 92 | - <td nowrap>Nº do Protocolo:</td> | 92 | + <td nowrap>Nº do Protocolo:</td> |
| 93 | <td><input type="text" name="fltnumprotocolo" value="<?php echo $numprotocolo; ?>" maxlength="50" size="30" /></td> | 93 | <td><input type="text" name="fltnumprotocolo" value="<?php echo $numprotocolo; ?>" maxlength="50" size="30" /></td> |
| 94 | </tr> | 94 | </tr> |
| 95 | <tr> | 95 | <tr> |
restrito/sis_usuario/cadastro.php
| @@ -79,9 +79,9 @@ | @@ -79,9 +79,9 @@ | ||
| 79 | <input type="hidden" name="idusuario" value="<?php echo $idusuario;?>"> | 79 | <input type="hidden" name="idusuario" value="<?php echo $idusuario;?>"> |
| 80 | <table class="lista"> | 80 | <table class="lista"> |
| 81 | <tr> | 81 | <tr> |
| 82 | - <td>Matrícula:</td> | 82 | + <td>Matrícula:</td> |
| 83 | <td> | 83 | <td> |
| 84 | - <input type="text" id="matricula" name="matricula" value="<?php echo $matricula; ?>" maxlength="8" size="10" title="Informe até 8 dígitos de matricula" onkeyup="soNumero(this);" /> | 84 | + <input type="text" id="matricula" name="matricula" value="<?php echo $matricula; ?>" maxlength="6" size="10" title="Informe os 6 digitos da matricula" onkeyup="soNumero(this);" /> |
| 85 | CPF:<input type="text" id="cpf" name="cpfusuario" value="<?php echo $cpfusuario; ?>" maxlength="11" size="12" title="Informe os 11 digitos do CPF" onkeyup="soNumero(this);" /> | 85 | CPF:<input type="text" id="cpf" name="cpfusuario" value="<?php echo $cpfusuario; ?>" maxlength="11" size="12" title="Informe os 11 digitos do CPF" onkeyup="soNumero(this);" /> |
| 86 | </td> | 86 | </td> |
| 87 | </tr> | 87 | </tr> |
| @@ -163,7 +163,7 @@ | @@ -163,7 +163,7 @@ | ||
| 163 | </center> | 163 | </center> |
| 164 | </td> | 164 | </td> |
| 165 | <td valign="top" align="center"> | 165 | <td valign="top" align="center"> |
| 166 | - Perfis do Usuário<br> | 166 | + Perfis do Usuário<br> |
| 167 | <select name="gruposselecionados[]" id="gruposselecionados" title="Dê um duplo clique para selecionar todos" ondblclick="selecionatudo(this.id);" multiple="multiple" style="height: 300px; width: 300px; font-size:10"> | 167 | <select name="gruposselecionados[]" id="gruposselecionados" title="Dê um duplo clique para selecionar todos" ondblclick="selecionatudo(this.id);" multiple="multiple" style="height: 300px; width: 300px; font-size:10"> |
| 168 | <?php | 168 | <?php |
| 169 | $sql="select nome, descricao from sis_grupo g order by nome"; | 169 | $sql="select nome, descricao from sis_grupo g order by nome"; |
| @@ -210,7 +210,7 @@ | @@ -210,7 +210,7 @@ | ||
| 210 | </center> | 210 | </center> |
| 211 | </td> | 211 | </td> |
| 212 | <td valign="top" align="center"> | 212 | <td valign="top" align="center"> |
| 213 | - SIC's Alternativos do Usuário<br> | 213 | + SIC's Alternativos do Usuário<br> |
| 214 | <select name="sicselecionados[]" id="sicselecionados" title="Dê um duplo clique para selecionar todos" ondblclick="selecionatudo(this.id);" multiple="multiple" style="height: 300px; width: 300px; font-size:10"> | 214 | <select name="sicselecionados[]" id="sicselecionados" title="Dê um duplo clique para selecionar todos" ondblclick="selecionatudo(this.id);" multiple="multiple" style="height: 300px; width: 300px; font-size:10"> |
| 215 | <?php | 215 | <?php |
| 216 | $sql="select nome, sigla, idsecretaria from sis_secretaria order by sigla"; | 216 | $sql="select nome, sigla, idsecretaria from sis_secretaria order by sigla"; |