Commit 34a3c67e0b328e5219e4afd8d67a7259e04c7e0e
1 parent
f4a18133
Exists in
master
Removido botões de cadastro rápido de turmas
portabilis/ieducar#83
Showing
1 changed file
with
3 additions
and
24 deletions
Show diff stats
ieducar/intranet/educar_turma_cad.php
| ... | ... | @@ -243,20 +243,10 @@ class indice extends clsCadastro |
| 243 | 243 | if ($bloqueia){ |
| 244 | 244 | $this->campoOculto('serie_param',$this->serie_param = $this->ref_ref_cod_serie); |
| 245 | 245 | $this->campoOculto('escola_param',$this->escola_param = $this->ref_cod_escola); |
| 246 | - } | |
| 247 | - $script = "javascript:showExpansivelIframe(520, 550, 'educar_serie_cad_pop.php?ref_ref_cod_serie=sim');"; | |
| 248 | - | |
| 249 | - if ($this->ref_cod_instituicao && $this->ref_cod_escola && $this->ref_cod_curso) { | |
| 250 | - $script = sprintf("<img id='img_colecao' style='display: \'\'' src='imagens/banco_imagens/escreve.gif' style='cursor:hand; cursor:pointer;' border='0' onclick='%s'>", | |
| 251 | - $script); | |
| 252 | - } | |
| 253 | - else { | |
| 254 | - $script = sprintf("<img id='img_colecao' style='display: none;' src='imagens/banco_imagens/escreve.gif' style='cursor:hand; cursor:pointer;' border='0' onclick='%s'>", | |
| 255 | - $script); | |
| 256 | - } | |
| 246 | + } | |
| 257 | 247 | |
| 258 | 248 | $this->campoLista('ref_ref_cod_serie', 'Série', $opcoes_serie, $this->ref_ref_cod_serie, |
| 259 | - '', FALSE, '', $script, $bloqueia); | |
| 249 | + '', FALSE, '', NULL, $bloqueia); | |
| 260 | 250 | |
| 261 | 251 | // o campo ano somente é exibido para turmas novas ou cadastradas após inclusão deste campo. |
| 262 | 252 | if ($anoVisivel){ |
| ... | ... | @@ -320,19 +310,8 @@ class indice extends clsCadastro |
| 320 | 310 | } |
| 321 | 311 | } |
| 322 | 312 | |
| 323 | - $script = "javascript:showExpansivelIframe(520, 170, 'educar_turma_tipo_cad_pop.php');"; | |
| 324 | - | |
| 325 | - if ($this->ref_cod_instituicao && $this->ref_cod_escola && $this->ref_cod_curso) { | |
| 326 | - $script = sprintf("<img id='img_turma' style='display: \'\'' src='imagens/banco_imagens/escreve.gif' style='cursor:hand; cursor:pointer;' border='0' onclick='%s'>", | |
| 327 | - $script); | |
| 328 | - } | |
| 329 | - else { | |
| 330 | - $script = sprintf("<img id='img_turma' style='display: none;' src='imagens/banco_imagens/escreve.gif' style='cursor:hand; cursor:pointer;' border='0' onclick='%s'>", | |
| 331 | - $script); | |
| 332 | - } | |
| 333 | - | |
| 334 | 313 | $this->campoLista('ref_cod_turma_tipo', 'Tipo de Turma', $opcoes, |
| 335 | - $this->ref_cod_turma_tipo, '', FALSE, '', $script); | |
| 314 | + $this->ref_cod_turma_tipo, '', FALSE, '', NULL); | |
| 336 | 315 | |
| 337 | 316 | $this->campoTexto('nm_turma', 'Turma', $this->nm_turma, 30, 255, TRUE); |
| 338 | 317 | ... | ... |