diff --git a/admin/admin.db b/admin/admin.db index 5965dfe..e8e0f3b 100644 Binary files a/admin/admin.db and b/admin/admin.db differ diff --git a/ferramentas/aplicarsld/index.js b/ferramentas/aplicarsld/index.js index 1688329..4a53e50 100644 --- a/ferramentas/aplicarsld/index.js +++ b/ferramentas/aplicarsld/index.js @@ -105,7 +105,7 @@ i3GEOF.aplicarsld = { */ html:function(){ var ins = '
' + - '

Arquivo SLD:

' + + '

Arquivo SLD:

' + '

' + '' + '' + diff --git a/ferramentas/carregamapa/index.js b/ferramentas/carregamapa/index.js index c47217a..7cd4a4a 100644 --- a/ferramentas/carregamapa/index.js +++ b/ferramentas/carregamapa/index.js @@ -84,6 +84,7 @@ i3GEOF.carregaMapa = { inicia: function(iddiv){ try{ $i(iddiv).innerHTML += i3GEOF.carregaMapa.html(); + document.body.scrollTop = document.documentElement.scrollTop = 0; new YAHOO.widget.Button( "i3GEOcarregamapabotao1", {onclick:{fn: i3GEOF.carregaMapa.submete}} @@ -102,17 +103,16 @@ i3GEOF.carregaMapa = { */ html:function(){ var ins = ''; - ins += '

Digite o nome do arquivo .map (não utilize espaço em branco ou caracteres acentuados) ou busque com o navegador de arquivos:'; - ins += '

'; - ins += ''; - ins += '

'; - ins += '

'; - ins += '

'; - ins += ''; - ins += ''; - ins += ''; - ins += '

'; - ins += '
'; + ins += '
' + + '

Arquivo para upload:' + + '

' + + '

' + + '

' + + '


' + + '' + + '' + + '

' + + '
'; return ins; }, /* @@ -144,8 +144,9 @@ i3GEOF.carregaMapa = { Envia o arquivo para o servidor */ submete: function(){ + if(i3GEOF.carregaMapa.aguarde.visibility==="visible") + {return;} i3GEOF.carregaMapa.aguarde.visibility="visible"; - $i("i3GEOcarregamapanomearq").value = $i("i3GEOcarregamapafilemap").value; $i("i3GEOcarregamapaf").submit(); } }; diff --git a/ferramentas/carregamapa/upload.php b/ferramentas/carregamapa/upload.php index d666629..e9e32ec 100644 --- a/ferramentas/carregamapa/upload.php +++ b/ferramentas/carregamapa/upload.php @@ -2,7 +2,6 @@ require_once("../../classesphp/pega_variaveis.php"); require_once("../../classesphp/funcoes_gerais.php"); include_once ("../../classesphp/carrega_ext.php"); -error_reporting(E_ALL); session_name("i3GeoPHP"); if (isset($g_sid)) {session_id($g_sid);} @@ -18,7 +17,6 @@ $postgis_mapa = $_SESSION["postgis_mapa"];

- ' + - '

Arquivo:

' + - '

Ou URL:

' + + '

Arquivo:

' + + '

Ou URL:

' + '

' + '' + '' + diff --git a/ferramentas/upload/index.js b/ferramentas/upload/index.js index 6fc2e88..811de0a 100644 --- a/ferramentas/upload/index.js +++ b/ferramentas/upload/index.js @@ -105,9 +105,9 @@ i3GEOF.upload = { */ html:function(){ var ins = '

' + - '

shp:

' + - '

shx:

' + - '

dbf:

'; + '

shp:

' + + '

shx:

' + + '

dbf:

'; if(i3GEO.parametros.editor === "sim") {ins += '

pasta no servidor onde os dados
serão armazenados (opcional):

';} ins += '

Tipo de geometria: ' + diff --git a/ferramentas/uploaddbf/index.js b/ferramentas/uploaddbf/index.js index b2cb3a0..c14f210 100644 --- a/ferramentas/uploaddbf/index.js +++ b/ferramentas/uploaddbf/index.js @@ -115,7 +115,7 @@ i3GEOF.uploaddbf = { '

nome da coluna x:

' + '

nome da coluna y:

' + - '

arquivo:

' + + '

arquivo:

' + '

Projeção:

' + '
' + '

' + diff --git a/ferramentas/uploadgpx/index.js b/ferramentas/uploadgpx/index.js index 79eaa19..49cc4aa 100644 --- a/ferramentas/uploadgpx/index.js +++ b/ferramentas/uploadgpx/index.js @@ -111,7 +111,7 @@ i3GEOF.uploadgpx = { */ html:function(){ var ins = '' + - '

Arquivo gpx:

' + + '

Arquivo gpx:

' + '

Projeção:

' + '
' + '

' + diff --git a/ferramentas/uploadkml/index.js b/ferramentas/uploadkml/index.js index 72a9659..c592923 100644 --- a/ferramentas/uploadkml/index.js +++ b/ferramentas/uploadkml/index.js @@ -112,7 +112,7 @@ i3GEOF.uploadkml = { html:function(){ var ins = '' + '

Não use arquivos ou nome de layer com espaços em branco ou acentuação

' + - '

Arquivo kml:

' + + '

Arquivo kml:

' + '

Nome do layer KML:

' + '

Projeção:

' + '
' + -- libgit2 0.21.2