Commit f7a338234013d715f94a665166ff6c953848a75c
1 parent
03835f57
Exists in
master
and in
7 other branches
Ajustes no layout da ferramenta de upload de símbolos e no menu do sistema de administração
Showing
3 changed files
with
7 additions
and
11 deletions
Show diff stats
admin/menu.html
@@ -135,12 +135,12 @@ | @@ -135,12 +135,12 @@ | ||
135 | type: "html", | 135 | type: "html", |
136 | children:[ | 136 | children:[ |
137 | { | 137 | { |
138 | - html: "<a href='html/subirshapefile.html' target='principal'>Shape file</a>", | 138 | + html: "<a href='html/subirshapefile.html' target='principal'>Upload de arquivo Shape file</a>", |
139 | type: "html", | 139 | type: "html", |
140 | enableHighlight: false, | 140 | enableHighlight: false, |
141 | 141 | ||
142 | },{ | 142 | },{ |
143 | - html: "<a href='html/estat_editor.html' target='principal'>Gerenciador de tabelas de dados estatísticos (upload de SHP e CSV)</a>", | 143 | + html: "<a href='html/estat_editor.html' target='principal'>Gerenciador de banco de dados (upload/inserção de SHP e CSV)</a>", |
144 | type: "html", | 144 | type: "html", |
145 | enableHighlight: false, | 145 | enableHighlight: false, |
146 | 146 | ||
@@ -301,11 +301,6 @@ | @@ -301,11 +301,6 @@ | ||
301 | enableHighlight: false, | 301 | enableHighlight: false, |
302 | 302 | ||
303 | },{ | 303 | },{ |
304 | - html: "<a href='php/upgradebanco46_47.php' target='principal'>Upgrade do Banco de administração - Adiciona as tabelas e colunas necessárias à versão atual do i3Geo e que não existiam nas versões anteriores à 4.7. Apenas usuários cadastrados em ms_configura na variável $i3geomaster podem realizar essa operação</a>", | ||
305 | - type: "html", | ||
306 | - enableHighlight: false, | ||
307 | - | ||
308 | - },{ | ||
309 | html: "<a href='php/sqlite.php' target='principal'>Descrição do banco padrão (SQLITE)</a>", | 304 | html: "<a href='php/sqlite.php' target='principal'>Descrição do banco padrão (SQLITE)</a>", |
310 | type: "html", | 305 | type: "html", |
311 | enableHighlight: false, | 306 | enableHighlight: false, |
ferramentas/uploadsimbolo/dicionario.js
1 | //+$trad(1,i3GEOF.uploadsimbolo.dicionario)+ | 1 | //+$trad(1,i3GEOF.uploadsimbolo.dicionario)+ |
2 | i3GEOF.uploadsimbolo.dicionario = { | 2 | i3GEOF.uploadsimbolo.dicionario = { |
3 | 'pastaArmazenamento' : [ { | 3 | 'pastaArmazenamento' : [ { |
4 | - pt : "pasta no servidor onde os dados<br>serão armazenados (opcional)", | 4 | + pt : "Pasta no servidor onde os dados serão armazenados (opcional - deixe em branco para usar a pasta i3geo/symbols/images). A pasta deve ter permissões adequadas para permitir o upload, consulte o administrador do sistema caso ocorra algum problema", |
5 | en : "", | 5 | en : "", |
6 | es : "" | 6 | es : "" |
7 | } ], | 7 | } ], |
@@ -15,8 +15,8 @@ i3GEOF.uploadsimbolo.dicionario = { | @@ -15,8 +15,8 @@ i3GEOF.uploadsimbolo.dicionario = { | ||
15 | en : "", | 15 | en : "", |
16 | es : "" | 16 | es : "" |
17 | } ], | 17 | } ], |
18 | - 10 : [ { | ||
19 | - pt : "", | 18 | + "escolha" : [ { |
19 | + pt : "Selecione o arquivo PNG ou JPG", | ||
20 | en : "", | 20 | en : "", |
21 | es : "" | 21 | es : "" |
22 | } ] | 22 | } ] |
ferramentas/uploadsimbolo/index.js
@@ -32,6 +32,7 @@ Free Software Foundation, Inc., no endere&ccedil;o | @@ -32,6 +32,7 @@ Free Software Foundation, Inc., no endere&ccedil;o | ||
32 | if(typeof(i3GEOF) === 'undefined'){ | 32 | if(typeof(i3GEOF) === 'undefined'){ |
33 | var i3GEOF = {}; | 33 | var i3GEOF = {}; |
34 | } | 34 | } |
35 | +//TODO incluir icone de upload no botao de enviar | ||
35 | /* | 36 | /* |
36 | Classe: i3GEOF.uploadsimbolo | 37 | Classe: i3GEOF.uploadsimbolo |
37 | */ | 38 | */ |
@@ -98,7 +99,7 @@ i3GEOF.uploadsimbolo = { | @@ -98,7 +99,7 @@ i3GEOF.uploadsimbolo = { | ||
98 | */ | 99 | */ |
99 | html:function(){ | 100 | html:function(){ |
100 | var ins = '<form id=i3GEOuploadsimbolof target="i3GEOuploadsimboloiframe" action="'+i3GEO.configura.locaplic+'/ferramentas/uploadsimbolo/upload.php" method="post" ENCTYPE="multipart/form-data">' + | 101 | var ins = '<form id=i3GEOuploadsimbolof target="i3GEOuploadsimboloiframe" action="'+i3GEO.configura.locaplic+'/ferramentas/uploadsimbolo/upload.php" method="post" ENCTYPE="multipart/form-data">' + |
101 | - '<p class="paragrafo" >PNG/JPG: <br><input type="file" size=22 name="i3GEOuploadsimboloarq" style="top:0px;left:0px;cursor:pointer;"></p>'; | 102 | + '<p class="paragrafo" >'+$trad('escolha',i3GEOF.uploadsimbolo.dicionario)+': <br><br><input type="file" size=42 name="i3GEOuploadsimboloarq" style="top:0px;left:0px;cursor:pointer;"></p>'; |
102 | if(i3GEO.parametros.editor === "sim"){ | 103 | if(i3GEO.parametros.editor === "sim"){ |
103 | ins += '<p class="paragrafo" >'+$trad('pastaArmazenamento',i3GEOF.uploadsimbolo.dicionario)+':</p><div class="i3geoForm i3geoFormIconeEdita" ><input class=digitar type="text" name="dirDestino" id="dirDestino" ></div>'; | 104 | ins += '<p class="paragrafo" >'+$trad('pastaArmazenamento',i3GEOF.uploadsimbolo.dicionario)+':</p><div class="i3geoForm i3geoFormIconeEdita" ><input class=digitar type="text" name="dirDestino" id="dirDestino" ></div>'; |
104 | //ins += "<img onclick='i3GEOF.uploadsimbolo.selNavegador(\"dirDestino\")' src='"+limg+"' style='cursor:pointer;position :relative;top:2px'/></p>"; | 105 | //ins += "<img onclick='i3GEOF.uploadsimbolo.selNavegador(\"dirDestino\")' src='"+limg+"' style='cursor:pointer;position :relative;top:2px'/></p>"; |