Commit f256f7d9d5e9ae4c22910f966b08dff4abba28aa
1 parent
57dacdda
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
mobile/index.php
| @@ -65,6 +65,7 @@ include("../classesphp/classe_menutemas.php"); | @@ -65,6 +65,7 @@ include("../classesphp/classe_menutemas.php"); | ||
| 65 | include("../classesphp/carrega_ext.php"); | 65 | include("../classesphp/carrega_ext.php"); |
| 66 | include("../ms_configura.php"); | 66 | include("../ms_configura.php"); |
| 67 | if (!isset($temasa)){$temasa = "";} | 67 | if (!isset($temasa)){$temasa = "";} |
| 68 | +if (!isset($layers)){$layers = $temasa;} | ||
| 68 | $m = new Menutemas($tmpfname,""); | 69 | $m = new Menutemas($tmpfname,""); |
| 69 | $mapas = $m->pegaListaDeMapas($locmapas); | 70 | $mapas = $m->pegaListaDeMapas($locmapas); |
| 70 | echo "<h1>Escolha um dos mapas:</h1>"; | 71 | echo "<h1>Escolha um dos mapas:</h1>"; |
| @@ -79,7 +80,7 @@ echo "<input type=radio onclick='localizar()' />Procurar lugar<br><br>"; | @@ -79,7 +80,7 @@ echo "<input type=radio onclick='localizar()' />Procurar lugar<br><br>"; | ||
| 79 | <input id='wmobile' type=hidden name='wmobile' value='' /> | 80 | <input id='wmobile' type=hidden name='wmobile' value='' /> |
| 80 | <input id='hmobile' type=hidden name='hmobile' value='' /> | 81 | <input id='hmobile' type=hidden name='hmobile' value='' /> |
| 81 | <input type='hidden' id='temasa' name='temasa' value='<?php echo $temasa;?>' /> | 82 | <input type='hidden' id='temasa' name='temasa' value='<?php echo $temasa;?>' /> |
| 82 | -<input type='hidden' id='layers' name='layers' value='<?php echo $temasa;?>' /> | 83 | +<input type='hidden' id='layers' name='layers' value='<?php echo $layers;?>' /> |
| 83 | <input type='hidden' id='tipo' name='tipo' value='inicia' /> | 84 | <input type='hidden' id='tipo' name='tipo' value='inicia' /> |
| 84 | </form> | 85 | </form> |
| 85 | <hr> | 86 | <hr> |