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 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 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 11 include_once "manutencao.php";
... ... @@ -79,9 +79,9 @@
79 79 <input type="hidden" name="idusuario" value="<?php echo $idusuario;?>">
80 80 <table class="lista">
81 81 <tr>
82   - <td>Matrícula:</td>
  82 + <td>Matrícula:</td>
83 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 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 86 </td>
87 87 </tr>
... ... @@ -108,7 +108,7 @@
108 108 <td>
109 109 <input type="text" id="login" name="chave" value="<?php echo $chave;?>" />
110 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 114 </td>
... ... @@ -141,7 +141,7 @@
141 141 <tr>
142 142 <td valign="top" align="center">
143 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 145 <?php
146 146 $sql="select nome, descricao from sis_grupo g order by nome";
147 147  
... ... @@ -163,8 +163,8 @@
163 163 </center>
164 164 </td>
165 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 168 <?php
169 169 $sql="select nome, descricao from sis_grupo g order by nome";
170 170  
... ... @@ -189,7 +189,7 @@
189 189 <tr>
190 190 <td valign="top" align="center">
191 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 193 <?php
194 194 $sql="select nome, sigla, idsecretaria from sis_secretaria order by sigla";
195 195 $rs = execQuery($sql);
... ... @@ -210,8 +210,8 @@
210 210 </center>
211 211 </td>
212 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 215 <?php
216 216 $sql="select nome, sigla, idsecretaria from sis_secretaria order by sigla";
217 217 $rs = execQuery($sql);
... ...