Commit f256f7d9d5e9ae4c22910f966b08dff4abba28aa

Authored by Edmar Moretti
1 parent 57dacdda

--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 65 include("../classesphp/carrega_ext.php");
66 66 include("../ms_configura.php");
67 67 if (!isset($temasa)){$temasa = "";}
  68 +if (!isset($layers)){$layers = $temasa;}
68 69 $m = new Menutemas($tmpfname,"");
69 70 $mapas = $m->pegaListaDeMapas($locmapas);
70 71 echo "<h1>Escolha um dos mapas:</h1>";
... ... @@ -79,7 +80,7 @@ echo &quot;&lt;input type=radio onclick=&#39;localizar()&#39; /&gt;Procurar lugar&lt;br&gt;&lt;br&gt;&quot;;
79 80 <input id='wmobile' type=hidden name='wmobile' value='' />
80 81 <input id='hmobile' type=hidden name='hmobile' value='' />
81 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 84 <input type='hidden' id='tipo' name='tipo' value='inicia' />
84 85 </form>
85 86 <hr>
... ...