From 57dacdda26b8f5ea8ad63c2dfee38bd49490986c Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 20 Dec 2007 17:00:44 +0000 Subject: [PATCH] Inclusão do parâmetro &temasa que quando especificado inicia o mapa diretamente --- mobile/index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mobile/index.php b/mobile/index.php index 378c568..6f32b0b 100644 --- a/mobile/index.php +++ b/mobile/index.php @@ -64,6 +64,7 @@ require_once("../classesphp/funcoes_gerais.php"); include("../classesphp/classe_menutemas.php"); include("../classesphp/carrega_ext.php"); include("../ms_configura.php"); +if (!isset($temasa)){$temasa = "";} $m = new Menutemas($tmpfname,""); $mapas = $m->pegaListaDeMapas($locmapas); echo "

Escolha um dos mapas:

"; @@ -77,8 +78,8 @@ echo "Procurar lugar

";
- - + +

@@ -92,6 +93,8 @@ if (w > 600){var w = w/2;} if (h > 600){var h = h/2;} document.getElementById('wmobile').value = w; document.getElementById('hmobile').value = h; +if ('' != "") +{document.getElementById('f').submit();} /* Function: ligar -- libgit2 0.21.2