From 34a3c67e0b328e5219e4afd8d67a7259e04c7e0e Mon Sep 17 00:00:00 2001 From: Lucas Schmoeller da Silva Date: Tue, 17 Mar 2015 13:44:05 -0300 Subject: [PATCH] Removido botões de cadastro rápido de turmas --- ieducar/intranet/educar_turma_cad.php | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/ieducar/intranet/educar_turma_cad.php b/ieducar/intranet/educar_turma_cad.php index dd80568..bda67a8 100644 --- a/ieducar/intranet/educar_turma_cad.php +++ b/ieducar/intranet/educar_turma_cad.php @@ -243,20 +243,10 @@ class indice extends clsCadastro if ($bloqueia){ $this->campoOculto('serie_param',$this->serie_param = $this->ref_ref_cod_serie); $this->campoOculto('escola_param',$this->escola_param = $this->ref_cod_escola); - } - $script = "javascript:showExpansivelIframe(520, 550, 'educar_serie_cad_pop.php?ref_ref_cod_serie=sim');"; - - if ($this->ref_cod_instituicao && $this->ref_cod_escola && $this->ref_cod_curso) { - $script = sprintf("", - $script); - } - else { - $script = sprintf("", - $script); - } + } $this->campoLista('ref_ref_cod_serie', 'Série', $opcoes_serie, $this->ref_ref_cod_serie, - '', FALSE, '', $script, $bloqueia); + '', FALSE, '', NULL, $bloqueia); // o campo ano somente é exibido para turmas novas ou cadastradas após inclusão deste campo. if ($anoVisivel){ @@ -320,19 +310,8 @@ class indice extends clsCadastro } } - $script = "javascript:showExpansivelIframe(520, 170, 'educar_turma_tipo_cad_pop.php');"; - - if ($this->ref_cod_instituicao && $this->ref_cod_escola && $this->ref_cod_curso) { - $script = sprintf("", - $script); - } - else { - $script = sprintf("", - $script); - } - $this->campoLista('ref_cod_turma_tipo', 'Tipo de Turma', $opcoes, - $this->ref_cod_turma_tipo, '', FALSE, '', $script); + $this->ref_cod_turma_tipo, '', FALSE, '', NULL); $this->campoTexto('nm_turma', 'Turma', $this->nm_turma, 30, 255, TRUE); -- libgit2 0.21.2