Commit 761aab7df95a311913c855d82c05e4750370a16f
1 parent
ea512bd8
Exists in
master
Localizacao do usuario no sistema: instituicao
Showing
2 changed files
with
14 additions
and
4 deletions
Show diff stats
ieducar/intranet/educar_index.php
@@ -44,10 +44,9 @@ class indice | @@ -44,10 +44,9 @@ class indice | ||
44 | function RenderHTML() | 44 | function RenderHTML() |
45 | { | 45 | { |
46 | return " | 46 | return " |
47 | - <table width='100%' style='height: 100%;'> | ||
48 | - <tr align=center valign='top'><td></td></tr> | ||
49 | - </table> | ||
50 | - "; | 47 | + <table width='100%' style='height: 100%;'> |
48 | + <tr align=center valign='top'><td></td></tr> | ||
49 | + </table>"; | ||
51 | } | 50 | } |
52 | } | 51 | } |
53 | 52 | ||
@@ -55,6 +54,7 @@ class indice | @@ -55,6 +54,7 @@ class indice | ||
55 | $pagina = new clsIndex(); | 54 | $pagina = new clsIndex(); |
56 | 55 | ||
57 | $miolo = new indice(); | 56 | $miolo = new indice(); |
57 | + | ||
58 | $pagina->addForm( $miolo ); | 58 | $pagina->addForm( $miolo ); |
59 | 59 | ||
60 | $pagina->MakeAll(); | 60 | $pagina->MakeAll(); |
ieducar/intranet/educar_instituicao_lst.php
@@ -28,6 +28,7 @@ require_once ("include/clsBase.inc.php"); | @@ -28,6 +28,7 @@ require_once ("include/clsBase.inc.php"); | ||
28 | require_once ("include/clsListagem.inc.php"); | 28 | require_once ("include/clsListagem.inc.php"); |
29 | require_once ("include/clsBanco.inc.php"); | 29 | require_once ("include/clsBanco.inc.php"); |
30 | require_once( "include/pmieducar/geral.inc.php" ); | 30 | require_once( "include/pmieducar/geral.inc.php" ); |
31 | +require_once ("include/localizacaoSistema.php"); | ||
31 | 32 | ||
32 | class clsIndexBase extends clsBase | 33 | class clsIndexBase extends clsBase |
33 | { | 34 | { |
@@ -36,6 +37,7 @@ class clsIndexBase extends clsBase | @@ -36,6 +37,7 @@ class clsIndexBase extends clsBase | ||
36 | { | 37 | { |
37 | $this->SetTitulo( "{$this->_instituicao} i-Educar - Instituicao" ); | 38 | $this->SetTitulo( "{$this->_instituicao} i-Educar - Instituicao" ); |
38 | $this->processoAp = "559"; | 39 | $this->processoAp = "559"; |
40 | + $this->addEstilo( "localizacaoSistema" ); | ||
39 | } | 41 | } |
40 | } | 42 | } |
41 | 43 | ||
@@ -149,6 +151,14 @@ class indice extends clsListagem | @@ -149,6 +151,14 @@ class indice extends clsListagem | ||
149 | $this->nome_acao = "Novo"; | 151 | $this->nome_acao = "Novo"; |
150 | } | 152 | } |
151 | $this->largura = "100%"; | 153 | $this->largura = "100%"; |
154 | + | ||
155 | + $localizacao = new LocalizacaoSistema(); | ||
156 | + $localizacao->entradaCaminhos( array( | ||
157 | + $_SERVER['SERVER_NAME']."/intranet" => "i-Educar", | ||
158 | + "educar_index.php" => "Escola", | ||
159 | + "" => "Cadastro de Instituição" | ||
160 | + )); | ||
161 | + $this->enviaLocalizacao($localizacao->montar()); | ||
152 | } | 162 | } |
153 | } | 163 | } |
154 | // cria uma extensao da classe base | 164 | // cria uma extensao da classe base |