Commit 6947565d4497e3ade9ea3933a8bc27e3c77843df
1 parent
56ca887e
Exists in
2.9
and in
8 other branches
Atualiza forma de gerar breadcrumbs 16/x
Showing
10 changed files
with
56 additions
and
95 deletions
Show diff stats
ieducar/intranet/educar_modulo_det.php
@@ -40,7 +40,7 @@ class indice extends clsDetalhe | @@ -40,7 +40,7 @@ class indice extends clsDetalhe | ||
40 | function Gerar() | 40 | function Gerar() |
41 | { | 41 | { |
42 | $this->titulo = "Etapa - Detalhe"; | 42 | $this->titulo = "Etapa - Detalhe"; |
43 | - | 43 | + |
44 | $this->cod_modulo=$_GET["cod_modulo"]; | 44 | $this->cod_modulo=$_GET["cod_modulo"]; |
45 | 45 | ||
46 | $tmp_obj = new clsPmieducarModulo($this->cod_modulo); | 46 | $tmp_obj = new clsPmieducarModulo($this->cod_modulo); |
@@ -125,13 +125,9 @@ class indice extends clsDetalhe | @@ -125,13 +125,9 @@ class indice extends clsDetalhe | ||
125 | $this->url_cancelar = "educar_modulo_lst.php"; | 125 | $this->url_cancelar = "educar_modulo_lst.php"; |
126 | $this->largura = "100%"; | 126 | $this->largura = "100%"; |
127 | 127 | ||
128 | - $localizacao = new LocalizacaoSistema(); | ||
129 | - $localizacao->entradaCaminhos(array( | ||
130 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
131 | - "educar_index.php" => "Escola", | ||
132 | - "" => "Detalhe da etapa" | ||
133 | - )); | ||
134 | - $this->enviaLocalizacao($localizacao->montar()); | 128 | + $this->breadcrumb('Detalhe da etapa', [ |
129 | + url('intranet/educar_index.php') => 'Escola', | ||
130 | + ]); | ||
135 | } | 131 | } |
136 | } | 132 | } |
137 | 133 |
ieducar/intranet/educar_modulo_lst.php
@@ -150,15 +150,9 @@ class indice extends clsListagem | @@ -150,15 +150,9 @@ class indice extends clsListagem | ||
150 | 150 | ||
151 | $this->largura = "100%"; | 151 | $this->largura = "100%"; |
152 | 152 | ||
153 | - $localizacao = new LocalizacaoSistema(); | ||
154 | - $localizacao->entradaCaminhos( | ||
155 | - array( | ||
156 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
157 | - "educar_index.php" => "Escola", | ||
158 | - "" => "Listagem de etapas" | ||
159 | - ) | ||
160 | - ); | ||
161 | - $this->enviaLocalizacao($localizacao->montar()); | 153 | + $this->breadcrumb('Listagem de etapas', [ |
154 | + url('intranet/educar_index.php') => 'Escola', | ||
155 | + ]); | ||
162 | } | 156 | } |
163 | } | 157 | } |
164 | 158 |
ieducar/intranet/educar_motivo_afastamento_cad.php
@@ -64,7 +64,7 @@ class indice extends clsCadastro | @@ -64,7 +64,7 @@ class indice extends clsCadastro | ||
64 | function Inicializar() | 64 | function Inicializar() |
65 | { | 65 | { |
66 | $retorno = "Novo"; | 66 | $retorno = "Novo"; |
67 | - | 67 | + |
68 | 68 | ||
69 | $this->cod_motivo_afastamento = $_GET["cod_motivo_afastamento"]; | 69 | $this->cod_motivo_afastamento = $_GET["cod_motivo_afastamento"]; |
70 | 70 | ||
@@ -99,14 +99,11 @@ class indice extends clsCadastro | @@ -99,14 +99,11 @@ class indice extends clsCadastro | ||
99 | $this->url_cancelar = ($retorno == "Editar") ? "educar_motivo_afastamento_det.php?cod_motivo_afastamento={$registro["cod_motivo_afastamento"]}" : "educar_motivo_afastamento_lst.php"; | 99 | $this->url_cancelar = ($retorno == "Editar") ? "educar_motivo_afastamento_det.php?cod_motivo_afastamento={$registro["cod_motivo_afastamento"]}" : "educar_motivo_afastamento_lst.php"; |
100 | $this->nome_url_cancelar = "Cancelar"; | 100 | $this->nome_url_cancelar = "Cancelar"; |
101 | 101 | ||
102 | - $nomeMenu = $retorno == "Editar" ? $retorno : "Cadastrar"; | ||
103 | - $localizacao = new LocalizacaoSistema(); | ||
104 | - $localizacao->entradaCaminhos( array( | ||
105 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
106 | - "educar_servidores_index.php" => "Servidores", | ||
107 | - "" => "{$nomeMenu} motivo de afastamento" | ||
108 | - )); | ||
109 | - $this->enviaLocalizacao($localizacao->montar()); | 102 | + $nomeMenu = $retorno == "Editar" ? $retorno : "Cadastrar"; |
103 | + | ||
104 | + $this->breadcrumb($nomeMenu . ' motivo de afastamento', [ | ||
105 | + url('intranet/educar_servidores_index.php') => 'Servidores', | ||
106 | + ]); | ||
110 | 107 | ||
111 | return $retorno; | 108 | return $retorno; |
112 | } | 109 | } |
@@ -128,7 +125,7 @@ class indice extends clsCadastro | @@ -128,7 +125,7 @@ class indice extends clsCadastro | ||
128 | 125 | ||
129 | function Novo() | 126 | function Novo() |
130 | { | 127 | { |
131 | - | 128 | + |
132 | 129 | ||
133 | $obj_permissoes = new clsPermissoes(); | 130 | $obj_permissoes = new clsPermissoes(); |
134 | $obj_permissoes->permissao_cadastra( 633, $this->pessoa_logada, 7, "educar_motivo_afastamento_lst.php" ); | 131 | $obj_permissoes->permissao_cadastra( 633, $this->pessoa_logada, 7, "educar_motivo_afastamento_lst.php" ); |
@@ -186,7 +183,7 @@ class indice extends clsCadastro | @@ -186,7 +183,7 @@ class indice extends clsCadastro | ||
186 | 183 | ||
187 | function Excluir() | 184 | function Excluir() |
188 | { | 185 | { |
189 | - | 186 | + |
190 | 187 | ||
191 | $obj_permissoes = new clsPermissoes(); | 188 | $obj_permissoes = new clsPermissoes(); |
192 | $obj_permissoes->permissao_excluir( 633, $this->pessoa_logada, 7, "educar_motivo_afastamento_lst.php" ); | 189 | $obj_permissoes->permissao_excluir( 633, $this->pessoa_logada, 7, "educar_motivo_afastamento_lst.php" ); |
ieducar/intranet/educar_motivo_afastamento_det.php
@@ -69,7 +69,7 @@ class indice extends clsDetalhe | @@ -69,7 +69,7 @@ class indice extends clsDetalhe | ||
69 | function Gerar() | 69 | function Gerar() |
70 | { | 70 | { |
71 | $this->titulo = "Motivo Afastamento - Detalhe"; | 71 | $this->titulo = "Motivo Afastamento - Detalhe"; |
72 | - | 72 | + |
73 | 73 | ||
74 | $this->cod_motivo_afastamento=$_GET["cod_motivo_afastamento"]; | 74 | $this->cod_motivo_afastamento=$_GET["cod_motivo_afastamento"]; |
75 | 75 | ||
@@ -140,13 +140,9 @@ class indice extends clsDetalhe | @@ -140,13 +140,9 @@ class indice extends clsDetalhe | ||
140 | $this->url_cancelar = "educar_motivo_afastamento_lst.php"; | 140 | $this->url_cancelar = "educar_motivo_afastamento_lst.php"; |
141 | $this->largura = "100%"; | 141 | $this->largura = "100%"; |
142 | 142 | ||
143 | - $localizacao = new LocalizacaoSistema(); | ||
144 | - $localizacao->entradaCaminhos( array( | ||
145 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
146 | - "educar_servidores_index.php" => "Servidores", | ||
147 | - "" => "Detalhe do motivo de afastamento" | ||
148 | - )); | ||
149 | - $this->enviaLocalizacao($localizacao->montar()); | 143 | + $this->breadcrumb('Detalhe do motivo de afastamento', [ |
144 | + url('intranet/educar_servidores_index.php') => 'Servidores', | ||
145 | + ]); | ||
150 | } | 146 | } |
151 | } | 147 | } |
152 | 148 |
ieducar/intranet/educar_motivo_afastamento_lst.php
@@ -89,7 +89,7 @@ class indice extends clsListagem | @@ -89,7 +89,7 @@ class indice extends clsListagem | ||
89 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto | 89 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto |
90 | $this->$var = ( $val === "" ) ? null: $val; | 90 | $this->$var = ( $val === "" ) ? null: $val; |
91 | 91 | ||
92 | - | 92 | + |
93 | 93 | ||
94 | $lista_busca = array( | 94 | $lista_busca = array( |
95 | "Motivo de Afastamento" | 95 | "Motivo de Afastamento" |
@@ -170,13 +170,9 @@ class indice extends clsListagem | @@ -170,13 +170,9 @@ class indice extends clsListagem | ||
170 | 170 | ||
171 | $this->largura = "100%"; | 171 | $this->largura = "100%"; |
172 | 172 | ||
173 | - $localizacao = new LocalizacaoSistema(); | ||
174 | - $localizacao->entradaCaminhos( array( | ||
175 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
176 | - "educar_servidores_index.php" => "Servidores", | ||
177 | - "" => "Motivos de afastamento do servidor" | ||
178 | - )); | ||
179 | - $this->enviaLocalizacao($localizacao->montar()); | 173 | + $this->breadcrumb('Motivos de afastamento do servidor', [ |
174 | + url('intranet/educar_servidores_index.php') => 'Servidores', | ||
175 | + ]); | ||
180 | } | 176 | } |
181 | } | 177 | } |
182 | // cria uma extensao da classe base | 178 | // cria uma extensao da classe base |
ieducar/intranet/educar_motivo_baixa_cad.php
@@ -62,7 +62,7 @@ class indice extends clsCadastro | @@ -62,7 +62,7 @@ class indice extends clsCadastro | ||
62 | function Inicializar() | 62 | function Inicializar() |
63 | { | 63 | { |
64 | $retorno = "Novo"; | 64 | $retorno = "Novo"; |
65 | - | 65 | + |
66 | 66 | ||
67 | $this->cod_motivo_baixa=$_GET["cod_motivo_baixa"]; | 67 | $this->cod_motivo_baixa=$_GET["cod_motivo_baixa"]; |
68 | 68 | ||
@@ -90,14 +90,11 @@ class indice extends clsCadastro | @@ -90,14 +90,11 @@ class indice extends clsCadastro | ||
90 | $this->url_cancelar = ($retorno == "Editar") ? "educar_motivo_baixa_det.php?cod_motivo_baixa={$registro["cod_motivo_baixa"]}" : "educar_motivo_baixa_lst.php"; | 90 | $this->url_cancelar = ($retorno == "Editar") ? "educar_motivo_baixa_det.php?cod_motivo_baixa={$registro["cod_motivo_baixa"]}" : "educar_motivo_baixa_lst.php"; |
91 | $this->nome_url_cancelar = "Cancelar"; | 91 | $this->nome_url_cancelar = "Cancelar"; |
92 | 92 | ||
93 | - $nomeMenu = $retorno == "Editar" ? $retorno : "Cadastrar"; | ||
94 | - $localizacao = new LocalizacaoSistema(); | ||
95 | - $localizacao->entradaCaminhos( array( | ||
96 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
97 | - "educar_biblioteca_index.php" => "Biblioteca", | ||
98 | - "" => "{$nomeMenu} motivo de baixa" | ||
99 | - )); | ||
100 | - $this->enviaLocalizacao($localizacao->montar()); | 93 | + $nomeMenu = $retorno == "Editar" ? $retorno : "Cadastrar"; |
94 | + | ||
95 | + $this->breadcrumb($nomeMenu . ' motivo de baixa', [ | ||
96 | + url('intranet/educar_biblioteca_index.php') => 'Biblioteca', | ||
97 | + ]); | ||
101 | 98 | ||
102 | return $retorno; | 99 | return $retorno; |
103 | } | 100 | } |
@@ -117,7 +114,7 @@ class indice extends clsCadastro | @@ -117,7 +114,7 @@ class indice extends clsCadastro | ||
117 | 114 | ||
118 | function Novo() | 115 | function Novo() |
119 | { | 116 | { |
120 | - | 117 | + |
121 | 118 | ||
122 | $obj_permissoes = new clsPermissoes(); | 119 | $obj_permissoes = new clsPermissoes(); |
123 | $obj_permissoes->permissao_cadastra( 600, $this->pessoa_logada, 11, "educar_motivo_baixa_lst.php" ); | 120 | $obj_permissoes->permissao_cadastra( 600, $this->pessoa_logada, 11, "educar_motivo_baixa_lst.php" ); |
@@ -142,7 +139,7 @@ class indice extends clsCadastro | @@ -142,7 +139,7 @@ class indice extends clsCadastro | ||
142 | 139 | ||
143 | function Editar() | 140 | function Editar() |
144 | { | 141 | { |
145 | - | 142 | + |
146 | 143 | ||
147 | $obj_permissoes = new clsPermissoes(); | 144 | $obj_permissoes = new clsPermissoes(); |
148 | $obj_permissoes->permissao_cadastra( 600, $this->pessoa_logada, 11, "educar_motivo_baixa_lst.php" ); | 145 | $obj_permissoes->permissao_cadastra( 600, $this->pessoa_logada, 11, "educar_motivo_baixa_lst.php" ); |
@@ -167,7 +164,7 @@ class indice extends clsCadastro | @@ -167,7 +164,7 @@ class indice extends clsCadastro | ||
167 | 164 | ||
168 | function Excluir() | 165 | function Excluir() |
169 | { | 166 | { |
170 | - | 167 | + |
171 | 168 | ||
172 | $obj_permissoes = new clsPermissoes(); | 169 | $obj_permissoes = new clsPermissoes(); |
173 | $obj_permissoes->permissao_excluir( 600, $this->pessoa_logada, 11, "educar_motivo_baixa_lst.php" ); | 170 | $obj_permissoes->permissao_excluir( 600, $this->pessoa_logada, 11, "educar_motivo_baixa_lst.php" ); |
ieducar/intranet/educar_motivo_baixa_det.php
@@ -60,7 +60,7 @@ class indice extends clsDetalhe | @@ -60,7 +60,7 @@ class indice extends clsDetalhe | ||
60 | function Gerar() | 60 | function Gerar() |
61 | { | 61 | { |
62 | $this->titulo = "Motivo Baixa - Detalhe"; | 62 | $this->titulo = "Motivo Baixa - Detalhe"; |
63 | - | 63 | + |
64 | 64 | ||
65 | $this->cod_motivo_baixa=$_GET["cod_motivo_baixa"]; | 65 | $this->cod_motivo_baixa=$_GET["cod_motivo_baixa"]; |
66 | 66 | ||
@@ -91,13 +91,9 @@ class indice extends clsDetalhe | @@ -91,13 +91,9 @@ class indice extends clsDetalhe | ||
91 | $this->url_cancelar = "educar_motivo_baixa_lst.php"; | 91 | $this->url_cancelar = "educar_motivo_baixa_lst.php"; |
92 | $this->largura = "100%"; | 92 | $this->largura = "100%"; |
93 | 93 | ||
94 | - $localizacao = new LocalizacaoSistema(); | ||
95 | - $localizacao->entradaCaminhos( array( | ||
96 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
97 | - "educar_biblioteca_index.php" => "Biblioteca", | ||
98 | - "" => "Detalhe do motivo de baixa" | ||
99 | - )); | ||
100 | - $this->enviaLocalizacao($localizacao->montar()); | 94 | + $this->breadcrumb('Detalhe do motivo de baixa', [ |
95 | + url('intranet/educar_biblioteca_index.php') => 'Biblioteca', | ||
96 | + ]); | ||
101 | } | 97 | } |
102 | } | 98 | } |
103 | 99 |
ieducar/intranet/educar_motivo_baixa_lst.php
@@ -86,19 +86,19 @@ class indice extends clsListagem | @@ -86,19 +86,19 @@ class indice extends clsListagem | ||
86 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto | 86 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto |
87 | $this->$var = ( $val === "" ) ? null: $val; | 87 | $this->$var = ( $val === "" ) ? null: $val; |
88 | 88 | ||
89 | - | 89 | + |
90 | 90 | ||
91 | $this->addCabecalhos( array( | 91 | $this->addCabecalhos( array( |
92 | "Motivo Baixa", | 92 | "Motivo Baixa", |
93 | "Biblioteca" | 93 | "Biblioteca" |
94 | ) ); | 94 | ) ); |
95 | 95 | ||
96 | - | 96 | + |
97 | $get_escola = true; | 97 | $get_escola = true; |
98 | $get_biblioteca = true; | 98 | $get_biblioteca = true; |
99 | $get_cabecalho = "lista_busca"; | 99 | $get_cabecalho = "lista_busca"; |
100 | include("include/pmieducar/educar_campo_lista.php"); | 100 | include("include/pmieducar/educar_campo_lista.php"); |
101 | - | 101 | + |
102 | // outros Filtros | 102 | // outros Filtros |
103 | $this->campoTexto( "nm_motivo_baixa", "Motivo Baixa", $this->nm_motivo_baixa, 30, 255, false ); | 103 | $this->campoTexto( "nm_motivo_baixa", "Motivo Baixa", $this->nm_motivo_baixa, 30, 255, false ); |
104 | 104 | ||
@@ -111,7 +111,7 @@ class indice extends clsListagem | @@ -111,7 +111,7 @@ class indice extends clsListagem | ||
111 | $obj_bib_user = new clsPmieducarBibliotecaUsuario(); | 111 | $obj_bib_user = new clsPmieducarBibliotecaUsuario(); |
112 | $this->ref_cod_biblioteca = $obj_bib_user->listaBibliotecas($this->pessoa_logada); | 112 | $this->ref_cod_biblioteca = $obj_bib_user->listaBibliotecas($this->pessoa_logada); |
113 | } | 113 | } |
114 | - | 114 | + |
115 | $obj_motivo_baixa = new clsPmieducarMotivoBaixa(); | 115 | $obj_motivo_baixa = new clsPmieducarMotivoBaixa(); |
116 | $obj_motivo_baixa->setOrderby( "nm_motivo_baixa ASC" ); | 116 | $obj_motivo_baixa->setOrderby( "nm_motivo_baixa ASC" ); |
117 | $obj_motivo_baixa->setLimite( $this->limite, $this->offset ); | 117 | $obj_motivo_baixa->setLimite( $this->limite, $this->offset ); |
@@ -156,13 +156,9 @@ class indice extends clsListagem | @@ -156,13 +156,9 @@ class indice extends clsListagem | ||
156 | 156 | ||
157 | $this->largura = "100%"; | 157 | $this->largura = "100%"; |
158 | 158 | ||
159 | - $localizacao = new LocalizacaoSistema(); | ||
160 | - $localizacao->entradaCaminhos( array( | ||
161 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
162 | - "educar_biblioteca_index.php" => "Biblioteca", | ||
163 | - "" => "Listagem de motivos de baixa" | ||
164 | - )); | ||
165 | - $this->enviaLocalizacao($localizacao->montar()); | 159 | + $this->breadcrumb('Listagem de motivos de baixa', [ |
160 | + url('intranet/educar_biblioteca_index.php') => 'Biblioteca', | ||
161 | + ]); | ||
166 | } | 162 | } |
167 | } | 163 | } |
168 | // cria uma extensao da classe base | 164 | // cria uma extensao da classe base |
ieducar/intranet/educar_motivo_suspensao_cad.php
@@ -62,7 +62,7 @@ class indice extends clsCadastro | @@ -62,7 +62,7 @@ class indice extends clsCadastro | ||
62 | function Inicializar() | 62 | function Inicializar() |
63 | { | 63 | { |
64 | $retorno = "Novo"; | 64 | $retorno = "Novo"; |
65 | - | 65 | + |
66 | 66 | ||
67 | $this->cod_motivo_suspensao=$_GET["cod_motivo_suspensao"]; | 67 | $this->cod_motivo_suspensao=$_GET["cod_motivo_suspensao"]; |
68 | 68 | ||
@@ -89,14 +89,11 @@ class indice extends clsCadastro | @@ -89,14 +89,11 @@ class indice extends clsCadastro | ||
89 | $this->url_cancelar = ($retorno == "Editar") ? "educar_motivo_suspensao_det.php?cod_motivo_suspensao={$registro["cod_motivo_suspensao"]}" : "educar_motivo_suspensao_lst.php"; | 89 | $this->url_cancelar = ($retorno == "Editar") ? "educar_motivo_suspensao_det.php?cod_motivo_suspensao={$registro["cod_motivo_suspensao"]}" : "educar_motivo_suspensao_lst.php"; |
90 | $this->nome_url_cancelar = "Cancelar"; | 90 | $this->nome_url_cancelar = "Cancelar"; |
91 | 91 | ||
92 | - $nomeMenu = $retorno == "Editar" ? $retorno : "Cadastrar"; | ||
93 | - $localizacao = new LocalizacaoSistema(); | ||
94 | - $localizacao->entradaCaminhos( array( | ||
95 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
96 | - "educar_biblioteca_index.php" => "Biblioteca", | ||
97 | - "" => "{$nomeMenu} motivo de suspensão" | ||
98 | - )); | ||
99 | - $this->enviaLocalizacao($localizacao->montar()); | 92 | + $nomeMenu = $retorno == "Editar" ? $retorno : "Cadastrar"; |
93 | + | ||
94 | + $this->breadcrumb($nomeMenu . ' motivo de suspensão', [ | ||
95 | + url('intranet/educar_biblioteca_index.php') => 'Biblioteca', | ||
96 | + ]); | ||
100 | 97 | ||
101 | return $retorno; | 98 | return $retorno; |
102 | } | 99 | } |
@@ -116,7 +113,7 @@ class indice extends clsCadastro | @@ -116,7 +113,7 @@ class indice extends clsCadastro | ||
116 | 113 | ||
117 | function Novo() | 114 | function Novo() |
118 | { | 115 | { |
119 | - | 116 | + |
120 | 117 | ||
121 | $obj_permissoes = new clsPermissoes(); | 118 | $obj_permissoes = new clsPermissoes(); |
122 | $obj_permissoes->permissao_cadastra( 607, $this->pessoa_logada, 11, "educar_motivo_suspensao_lst.php" ); | 119 | $obj_permissoes->permissao_cadastra( 607, $this->pessoa_logada, 11, "educar_motivo_suspensao_lst.php" ); |
@@ -141,7 +138,7 @@ class indice extends clsCadastro | @@ -141,7 +138,7 @@ class indice extends clsCadastro | ||
141 | 138 | ||
142 | function Editar() | 139 | function Editar() |
143 | { | 140 | { |
144 | - | 141 | + |
145 | 142 | ||
146 | $obj_permissoes = new clsPermissoes(); | 143 | $obj_permissoes = new clsPermissoes(); |
147 | $obj_permissoes->permissao_cadastra( 607, $this->pessoa_logada, 11, "educar_motivo_suspensao_lst.php" ); | 144 | $obj_permissoes->permissao_cadastra( 607, $this->pessoa_logada, 11, "educar_motivo_suspensao_lst.php" ); |
@@ -166,7 +163,7 @@ class indice extends clsCadastro | @@ -166,7 +163,7 @@ class indice extends clsCadastro | ||
166 | 163 | ||
167 | function Excluir() | 164 | function Excluir() |
168 | { | 165 | { |
169 | - | 166 | + |
170 | 167 | ||
171 | $obj_permissoes = new clsPermissoes(); | 168 | $obj_permissoes = new clsPermissoes(); |
172 | $obj_permissoes->permissao_excluir( 607, $this->pessoa_logada, 11, "educar_motivo_suspensao_lst.php" ); | 169 | $obj_permissoes->permissao_excluir( 607, $this->pessoa_logada, 11, "educar_motivo_suspensao_lst.php" ); |
ieducar/intranet/educar_motivo_suspensao_det.php
@@ -60,7 +60,7 @@ class indice extends clsDetalhe | @@ -60,7 +60,7 @@ class indice extends clsDetalhe | ||
60 | function Gerar() | 60 | function Gerar() |
61 | { | 61 | { |
62 | $this->titulo = "Motivo Suspensão - Detalhe"; | 62 | $this->titulo = "Motivo Suspensão - Detalhe"; |
63 | - | 63 | + |
64 | 64 | ||
65 | $this->cod_motivo_suspensao=$_GET["cod_motivo_suspensao"]; | 65 | $this->cod_motivo_suspensao=$_GET["cod_motivo_suspensao"]; |
66 | 66 | ||
@@ -91,13 +91,9 @@ class indice extends clsDetalhe | @@ -91,13 +91,9 @@ class indice extends clsDetalhe | ||
91 | $this->url_cancelar = "educar_motivo_suspensao_lst.php"; | 91 | $this->url_cancelar = "educar_motivo_suspensao_lst.php"; |
92 | $this->largura = "100%"; | 92 | $this->largura = "100%"; |
93 | 93 | ||
94 | - $localizacao = new LocalizacaoSistema(); | ||
95 | - $localizacao->entradaCaminhos( array( | ||
96 | - $_SERVER['SERVER_NAME']."/intranet" => "Início", | ||
97 | - "educar_biblioteca_index.php" => "Biblioteca", | ||
98 | - "" => "Detalhe do motivo de suspensão" | ||
99 | - )); | ||
100 | - $this->enviaLocalizacao($localizacao->montar()); | 94 | + $this->breadcrumb('Detalhe do motivo de suspensão', [ |
95 | + url('intranet/educar_biblioteca_index.php') => 'Biblioteca', | ||
96 | + ]); | ||
101 | } | 97 | } |
102 | } | 98 | } |
103 | 99 |