Skip to content

Commit

Permalink
Mais fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guaycuru committed Nov 29, 2016
1 parent 4e3c4b7 commit 8326c81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
4 changes: 1 addition & 3 deletions views/disciplina.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,4 @@
</div>
</div>

<?php
echo $FIM;
?>
<?= $FIM; ?>
14 changes: 6 additions & 8 deletions views/sala.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

namespace GDE;

if(isset($_GET['cm']))
die("<img src='".CONFIG_URL."web/images/loading.gif' /> Carregando Mapa...");
if(isset($_GET['cm'])) {
require_once('../common/config.inc.php');
die("<img src='" . CONFIG_URL . "web/images/loading.gif' /> Carregando Mapa...");
}

define('TITULO', 'Sala');

Expand All @@ -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) {
Expand Down Expand Up @@ -102,8 +104,6 @@
</tr>
<tr>
<td width="25%"><b>Informa&ccedil;&otilde;es:</b></td>


<td><a href="http://salas.basico.unicamp.br/salas/buscasala.xhtml?busca=<?= $Sala->getNome(true); ?>" target="_blank">Link</a></td>
</tr>
<tr>
Expand Down Expand Up @@ -143,6 +143,4 @@
</div>
</div>
</div>
<?php
echo $FIM;
?>
<?= $FIM; ?>

0 comments on commit 8326c81

Please sign in to comment.