Commit 9afb75f18b87637e45b733554a137305711d73e3

Authored by Edmar Moretti
1 parent 7134fdec
Exists in master

Ajustes no layout da ferramenta de upload de símbolos e no menu do sistema de administração

admin/menu.html
... ... @@ -131,26 +131,26 @@
131 131  
132 132 }
133 133 ]},{
134   - html: "Enviar arquivo para o servidor",
135   - type: "html",
136   - children:[
137   - {
138   - html: "<a href='html/subirshapefile.html' target='principal'>Shape file</a>",
139   - type: "html",
140   - enableHighlight: false,
141   -
142   - },{
143   - html: "<a href='html/estat_editor.html' target='principal'>Gerenciador de tabelas de dados estat&iacute;sticos (upload de SHP e CSV)</a>",
144   - type: "html",
145   - enableHighlight: false,
146   -
147   - },{
148   - html: "<a href='html/subirsimbolo.html' target='principal'>Upload de imagem para uso como s&iacute;mbolo</a>",
149   - type: "html",
150   - enableHighlight: false,
151   -
152   - }
153   - ]},{
  134 + html: "Enviar arquivo para o servidor",
  135 + type: "html",
  136 + children:[
  137 + {
  138 + html: "<a href='html/subirshapefile.html' target='principal'>Upload de arquivo Shape file</a>",
  139 + type: "html",
  140 + enableHighlight: false,
  141 +
  142 + },{
  143 + html: "<a href='html/estat_editor.html' target='principal'>Gerenciador de banco de dados (upload/inser&ccedil;&atilde;o de SHP e CSV)</a>",
  144 + type: "html",
  145 + enableHighlight: false,
  146 +
  147 + },{
  148 + html: "<a href='html/subirsimbolo.html' target='principal'>Upload de imagem para uso como s&iacute;mbolo</a>",
  149 + type: "html",
  150 + enableHighlight: false,
  151 +
  152 + }
  153 + ]},{
154 154 html: "Editor de mapfiles",
155 155 type: "html",
156 156 children:[
... ...
ferramentas/uploadsimbolo/dicionario.js
1 1 //+$trad(1,i3GEOF.uploadsimbolo.dicionario)+
2 2 i3GEOF.uploadsimbolo.dicionario = {
3 3 'pastaArmazenamento' : [ {
4   - pt : "pasta no servidor onde os dados<br>ser&atilde;o armazenados (opcional)",
  4 + pt : "Pasta no servidor onde os dados ser&atilde;o armazenados (opcional - deixe em branco para usar a pasta i3geo/symbols/images). A pasta deve ter permiss&otilde;es adequadas para permitir o upload, consulte o administrador do sistema caso ocorra algum problema",
5 5 en : "",
6 6 es : ""
7 7 } ],
... ... @@ -15,8 +15,8 @@ i3GEOF.uploadsimbolo.dicionario = {
15 15 en : "",
16 16 es : ""
17 17 } ],
18   - 10 : [ {
19   - pt : "",
  18 + "escolha" : [ {
  19 + pt : "Selecione o arquivo PNG ou JPG",
20 20 en : "",
21 21 es : ""
22 22 } ]
... ...
ferramentas/uploadsimbolo/index.js
... ... @@ -32,6 +32,7 @@ Free Software Foundation, Inc., no endere&amp;ccedil;o
32 32 if(typeof(i3GEOF) === 'undefined'){
33 33 var i3GEOF = {};
34 34 }
  35 +//TODO incluir icone de upload no botao de enviar
35 36 /*
36 37 Classe: i3GEOF.uploadsimbolo
37 38 */
... ... @@ -98,7 +99,7 @@ i3GEOF.uploadsimbolo = {
98 99 */
99 100 html:function(){
100 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 103 if(i3GEO.parametros.editor === "sim"){
103 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 105 //ins += "<img onclick='i3GEOF.uploadsimbolo.selNavegador(\"dirDestino\")' src='"+limg+"' style='cursor:pointer;position :relative;top:2px'/></p>";
... ...