From 8326c81cc2365a2e9a5bee1051e8262884a5aee9 Mon Sep 17 00:00:00 2001 From: Felipe Guaycuru Date: Tue, 29 Nov 2016 15:42:54 -0200 Subject: [PATCH] Mais fixes --- views/disciplina.php | 4 +--- views/sala.php | 14 ++++++-------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/views/disciplina.php b/views/disciplina.php index a9760da..04a8e72 100644 --- a/views/disciplina.php +++ b/views/disciplina.php @@ -230,6 +230,4 @@ - + diff --git a/views/sala.php b/views/sala.php index edb9e7c..75aa4a7 100644 --- a/views/sala.php +++ b/views/sala.php @@ -2,8 +2,10 @@ namespace GDE; -if(isset($_GET['cm'])) - die(" Carregando Mapa..."); +if(isset($_GET['cm'])) { + require_once('../common/config.inc.php'); + die(" Carregando Mapa..."); +} define('TITULO', 'Sala'); @@ -21,7 +23,7 @@ $Unidade = new Instituto(); if($Sala->getID_Predio() != null) { $Predio = Instituto::Por_ID_Unidade($Sala->getID_Predio()); - $link = $Predio->getLinkMapa(); + $link = $Predio->getLink_Mapa(); } if($Sala->getID_Unidade() != null) { @@ -102,8 +104,6 @@ Informações: - - Link @@ -143,6 +143,4 @@ - +