Commit 0e757fb7fac77a67accd30b5b2a485f5e5640a44

Authored by Leandro Arndt
Committed by Leandro Arndt
1 parent 14549dad
Exists in master

Número de dígitos da matrícula divergia da restrição do Banco de Dados.

Showing 1 changed file with 12 additions and 12 deletions   Show diff stats
restrito/sis_usuario/cadastro.php
1 <?php 1 <?php
2 /********************************************************************************** 2 /**********************************************************************************
3 - Sistema e-SIC Livre: sistema de acesso a informação baseado na lei de acesso. 3 + Sistema e-SIC Livre: sistema de acesso a informação baseado na lei de acesso.
4 4
5 Copyright (C) 2014 Prefeitura Municipal do Natal 5 Copyright (C) 2014 Prefeitura Municipal do Natal
6 6
7 - Este programa é software livre; você pode redistribuí-lo e/ou  
8 - modificá-lo sob os termos da Licença GPL2. 7 + Este programa é software livre; você pode redistribuí-lo e/ou
  8 + modificá-lo sob os termos da Licença GPL2.
9 ***********************************************************************************/ 9 ***********************************************************************************/
10 10
11 include_once "manutencao.php"; 11 include_once "manutencao.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="6" size="10" title="Informe os 6 digitos da matricula" onkeyup="soNumero(this);" /> 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);" />
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>
@@ -108,7 +108,7 @@ @@ -108,7 +108,7 @@
108 <td> 108 <td>
109 <input type="text" id="login" name="chave" value="<?php echo $chave;?>" /> 109 <input type="text" id="login" name="chave" value="<?php echo $chave;?>" />
110 <?php 110 <?php
111 - if(!empty($idusuario)) echo "<font color='red'>(Só informar se for alterar)</font>"; 111 + if(!empty($idusuario)) echo "<font color='red'>(Só informar se for alterar)</font>";
112 ?> 112 ?>
113 113
114 </td> 114 </td>
@@ -141,7 +141,7 @@ @@ -141,7 +141,7 @@
141 <tr> 141 <tr>
142 <td valign="top" align="center"> 142 <td valign="top" align="center">
143 Perfis<br> 143 Perfis<br>
144 - <select name="gruposdisponiveis" id="gruposdisponiveis" title="Dê um duplo clique para selecionar todos" ondblclick="selecionatudo(this.id);" multiple="multiple" style="height: 300px; width: 300px; font-size:10"> 144 + <select name="gruposdisponiveis" id="gruposdisponiveis" title="Dê um duplo clique para selecionar todos" ondblclick="selecionatudo(this.id);" multiple="multiple" style="height: 300px; width: 300px; font-size:10">
145 <?php 145 <?php
146 $sql="select nome, descricao from sis_grupo g order by nome"; 146 $sql="select nome, descricao from sis_grupo g order by nome";
147 147
@@ -163,8 +163,8 @@ @@ -163,8 +163,8 @@
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>  
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"> 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">
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";
170 170
@@ -189,7 +189,7 @@ @@ -189,7 +189,7 @@
189 <tr> 189 <tr>
190 <td valign="top" align="center"> 190 <td valign="top" align="center">
191 SIC's<br> 191 SIC's<br>
192 - <select name="sics" id="sics" multiple="multiple" title="Dê um duplo clique para selecionar todos" ondblclick="selecionatudo(this.id);" style="height: 300px; width: 300px; font-size:10"> 192 + <select name="sics" id="sics" multiple="multiple" title="Dê um duplo clique para selecionar todos" ondblclick="selecionatudo(this.id);" style="height: 300px; width: 300px; font-size:10">
193 <?php 193 <?php
194 $sql="select nome, sigla, idsecretaria from sis_secretaria order by sigla"; 194 $sql="select nome, sigla, idsecretaria from sis_secretaria order by sigla";
195 $rs = execQuery($sql); 195 $rs = execQuery($sql);
@@ -210,8 +210,8 @@ @@ -210,8 +210,8 @@
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>  
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"> 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">
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";
217 $rs = execQuery($sql); 217 $rs = execQuery($sql);