diff --git a/ferramentas/opcoes_fundo/index.js b/ferramentas/opcoes_fundo/index.js
index 799443f..5498548 100644
--- a/ferramentas/opcoes_fundo/index.js
+++ b/ferramentas/opcoes_fundo/index.js
@@ -1,39 +1,3 @@
-
-/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */
-
-/*
-Title: Cor do fundo do mapa
-
-Veja:
-
-
-
-Arquivo:
-
-i3geo/ferramentas/opcoes_fundo/index.js.php
-
-Licenca:
-
-GPL2
-
-i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet
-
-Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil
-Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com
-
-Este programa é software livre; você pode redistribuí-lo
-e/ou modificá-lo sob os termos da Licença Pública Geral
-GNU conforme publicada pela Free Software Foundation;
-
-Este programa é distribuído na expectativa de que seja útil,
-porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita
-de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.
-Consulte a Licença Pública Geral do GNU para mais detalhes.
-Você deve ter recebido uma cópia da Licença Pública Geral do
-GNU junto com este programa; se não, escreva para a
-Free Software Foundation, Inc., no endereço
-59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.
-*/
if(typeof(i3GEOF) === 'undefined'){
var i3GEOF = {};
}
@@ -47,12 +11,6 @@ i3GEOF.opcoesFundo = {
Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela.
*/
aguarde: "",
- /*
- Para efeitos de compatibilidade antes da versão 4.7 que não tinha dicionário
- */
- criaJanelaFlutuante: function(){
- i3GEOF.opcoesFundo.iniciaDicionario();
- },
/**
* Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php
*/
@@ -62,31 +20,11 @@ i3GEOF.opcoesFundo = {
*/
mustacheHash : function() {
var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.opcoesFundo.dicionario);
- dicionario["Fundocor"] = $inputText('','','i3GEOopcoesFundocor','',12,'');
dicionario["locaplic"] = i3GEO.configura.locaplic;
dicionario["asp"] = '"';
return dicionario;
},
/*
- Function: iniciaDicionario
-
- Carrega o dicionário e chama a função que inicia a ferramenta
-
- O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script
- */
- iniciaDicionario: function(){
- if(typeof(i3GEOF.opcoesFundo.dicionario) === 'undefined'){
- i3GEO.util.scriptTag(
- i3GEO.configura.locaplic+"/ferramentas/opcoes_fundo/dicionario.js",
- "i3GEOF.opcoesFundo.iniciaJanelaFlutuante()",
- "i3GEOF.opcoesFundo.dicionario_script"
- );
- }
- else{
- i3GEOF.opcoesFundo.iniciaJanelaFlutuante();
- }
- },
- /*
Function: inicia
Inicia a ferramenta. É chamado por criaJanelaFlutuante
@@ -99,10 +37,12 @@ i3GEOF.opcoesFundo = {
try{
i3GEOF.opcoesFundo.aguarde.visibility = "visible";
$i(iddiv).innerHTML += i3GEOF.opcoesFundo.html();
- new YAHOO.widget.Button(
+ var b = new YAHOO.widget.Button(
"i3GEOopcoesFundobotao1",
{onclick:{fn: i3GEOF.opcoesFundo.executa}}
);
+ b.addClass("rodar150");
+ i3GEO.util.aplicaAquarela("i3GEOF.opcoesFundo_corpo");
var p = i3GEO.configura.locaplic+"/ferramentas/opcoes_fundo/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=pegacorfundo",
cp = new cpaint(),
retorno = function(retorno){
diff --git a/ferramentas/opcoes_fundo/template_mst.html b/ferramentas/opcoes_fundo/template_mst.html
index 341e0ae..33c6283 100644
--- a/ferramentas/opcoes_fundo/template_mst.html
+++ b/ferramentas/opcoes_fundo/template_mst.html
@@ -1,5 +1,6 @@
-{{{Fundocor}}}
-
+
+
+
-
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/ferramentas/opcoes_legenda/index.js b/ferramentas/opcoes_legenda/index.js
index 057f1f5..10516f8 100644
--- a/ferramentas/opcoes_legenda/index.js
+++ b/ferramentas/opcoes_legenda/index.js
@@ -1,41 +1,3 @@
-
-/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */
-
-/*
-Title: Legenda gráfica do mapa
-
-Edita a legenda que é mostrada no corpo do mapa, controlando o tamanho, posição, fontes, etc.
-
-Veja:
-
-
-
-Arquivo:
-
-i3geo/ferramentas/opcoes_legenda/index.js.php
-
-Licenca:
-
-GPL2
-
-i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet
-
-Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil
-Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com
-
-Este programa é software livre; você pode redistribuí-lo
-e/ou modificá-lo sob os termos da Licença Pública Geral
-GNU conforme publicada pela Free Software Foundation;
-
-Este programa é distribuído na expectativa de que seja útil,
-porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita
-de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.
-Consulte a Licença Pública Geral do GNU para mais detalhes.
-Você deve ter recebido uma cópia da Licença Pública Geral do
-GNU junto com este programa; se não, escreva para a
-Free Software Foundation, Inc., no endereço
-59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.
-*/
if(typeof(i3GEOF) === 'undefined'){
var i3GEOF = {};
}
@@ -50,12 +12,6 @@ i3GEOF.opcoesLegenda = {
Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela.
*/
aguarde: "",
- /*
- Para efeitos de compatibilidade antes da versão 4.7 que não tinha dicionário
- */
- criaJanelaFlutuante: function(){
- i3GEOF.opcoesLegenda.iniciaDicionario();
- },
/**
* Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php
*/
@@ -68,36 +24,10 @@ i3GEOF.opcoesLegenda = {
dicionario["sim"] = $trad("x14");
dicionario["nao"] = $trad("x15");
dicionario["locaplic"] = i3GEO.configura.locaplic;
- dicionario["imagecolor"] = $inputText('','','i3GEOopcoesLegendaimagecolor','',12,'');
dicionario["asp"] = '"';
- dicionario["outlinecolor"] = $inputText('','','i3GEOopcoesLegendaoutlinecolor','',12,'');
- dicionario["keyspacingy"] = $inputText('','','i3GEOopcoesLegendakeyspacingy','',4,'');
- dicionario["keyspacingx"] = $inputText('','','i3GEOopcoesLegendakeyspacingx','',4,'');
- dicionario["keysizey"] = $inputText('','','i3GEOopcoesLegendakeysizey','',4,'');
- dicionario["keysizex"] = $inputText('','','i3GEOopcoesLegendakeysizex','',4,'');
- dicionario["labelsize"] = $inputText('','','i3GEOopcoesLegendalabelsize','',4,'');
return dicionario;
},
/*
- Function: iniciaDicionario
-
- Carrega o dicionário e chama a função que inicia a ferramenta
-
- O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script
- */
- iniciaDicionario: function(){
- if(typeof(i3GEOF.opcoesLegenda.dicionario) === 'undefined'){
- i3GEO.util.scriptTag(
- i3GEO.configura.locaplic+"/ferramentas/opcoes_legenda/dicionario.js",
- "i3GEOF.opcoesLegenda.iniciaJanelaFlutuante()",
- "i3GEOF.opcoesLegenda.dicionario_script"
- );
- }
- else{
- i3GEOF.opcoesLegenda.iniciaJanelaFlutuante();
- }
- },
- /*
Function: inicia
Inicia a ferramenta. É chamado por criaJanelaFlutuante
@@ -109,16 +39,19 @@ i3GEOF.opcoesLegenda = {
inicia: function(iddiv){
try{
$i(iddiv).innerHTML = i3GEOF.opcoesLegenda.html();
- new YAHOO.widget.Button(
+ var b = new YAHOO.widget.Button(
"i3GEOopcoesLegendabotao1",
{onclick:{fn: i3GEOF.opcoesLegenda.executa}}
);
- new YAHOO.widget.Button(
+ b.addClass("rodar");
+ b = new YAHOO.widget.Button(
"i3GEOopcoesLegendabotao2",
{onclick:{fn: i3GEOF.opcoesLegenda.testa}}
);
+ b.addClass("rodar");
i3GEO.util.comboFontes("i3GEOopcoesLegendafonte","i3GEOopcoesLegendafontef");
i3GEOF.opcoesLegenda.parametrosAtuais();
+ i3GEO.util.aplicaAquarela("i3GEOF.opcoesLegenda_corpo");
}
catch(erro){if(typeof(console) !== 'undefined'){console.error(erro);}}
if(i3GEO.Interface.ATUAL !== "padrao")
diff --git a/ferramentas/opcoes_legenda/template_mst.html b/ferramentas/opcoes_legenda/template_mst.html
index 5f01726..846a098 100644
--- a/ferramentas/opcoes_legenda/template_mst.html
+++ b/ferramentas/opcoes_legenda/template_mst.html
@@ -1,109 +1,68 @@
-
-
-
{{{incluiNoMapa}}}:
-
-
-
-
-
-
-
-
-
-
{{{corFundo}}}:
-
- {{{imagecolor}}}
-
-
-
-
-
-
-
-
-
{{{contornoSimbolos}}}:
-
- {{{outlinecolor}}}
-
-
-
-
-
-
-
-
-
{{{posicao}}}:
-
-
-
-
-
-
-
-
-
-
{{{espacamentoY}}}:
-
{{{keyspacingy}}}
-
-
-
-
-
-
-
-
{{{espacamentoX}}}:
-
{{{keyspacingx}}}
-
-
-
-
-
-
-
{{{tamanhoSimboloY}}}:
-
{{{keysizey}}}
-
-
-
-
-
-
-
-
{{{tamanhoSimboloX}}}:
-
{{{keysizex}}}
-
-
-
-
-
-
-
-
{{{tamanhoTexto}}}:
-
{{{labelsize}}}
-
-
-
-
-
-
-
-
{{{fonte}}}
-
aguarde...
-
-
+
{{{incluiNoMapa}}}:
+
+
+
+
+
{{{corFundo}}}:
+
+
+
+
+
{{{contornoSimbolos}}}:
+
+
+
+
+
{{{posicao}}}:
+
+
+
+
+
{{{espacamentoY}}}:
+
+
+
+
+
{{{espacamentoX}}}:
+
+
+
+
+
{{{tamanhoSimboloY}}}:
+
+
+
+
+
{{{tamanhoSimboloX}}}:
+
+
+
+
+
{{{tamanhoTexto}}}:
+
+
+
+
+
{{{fonte}}}:
+
+
+
+
+
diff --git a/ferramentas/opcoes_querymap/index.js b/ferramentas/opcoes_querymap/index.js
index 4f56ab4..b6ebdd1 100644
--- a/ferramentas/opcoes_querymap/index.js
+++ b/ferramentas/opcoes_querymap/index.js
@@ -1,41 +1,3 @@
-
-/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */
-
-/*
-Title: Cor da seleção
-
-Altera a cor que destaca os elementos selecionados.
-
-Veja:
-
-
-
-Arquivo:
-
-i3geo/ferramentas/opcoes_querymap/index.js.php
-
-Licenca:
-
-GPL2
-
-i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet
-
-Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil
-Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com
-
-Este programa é software livre; você pode redistribuí-lo
-e/ou modificá-lo sob os termos da Licença Pública Geral
-GNU conforme publicada pela Free Software Foundation;
-
-Este programa é distribuído na expectativa de que seja útil,
-porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita
-de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.
-Consulte a Licença Pública Geral do GNU para mais detalhes.
-Você deve ter recebido uma cópia da Licença Pública Geral do
-GNU junto com este programa; se não, escreva para a
-Free Software Foundation, Inc., no endereço
-59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.
-*/
if(typeof(i3GEOF) === 'undefined'){
var i3GEOF = {};
}
@@ -49,12 +11,6 @@ i3GEOF.opcoesQuery = {
Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela.
*/
aguarde: "",
- /*
- Para efeitos de compatibilidade antes da versão 4.7 que não tinha dicionário
- */
- criaJanelaFlutuante: function(){
- i3GEOF.opcoesQuery.iniciaDicionario();
- },
/**
* Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php
*/
@@ -65,30 +21,9 @@ i3GEOF.opcoesQuery = {
mustacheHash : function() {
var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.opcoesQuery.dicionario);
dicionario["locaplic"] = i3GEO.configura.locaplic;
- dicionario["asp"] = '"';
- dicionario["Querycor"] = $inputText("","","i3GEOopcoesQuerycor","",12,"");
return dicionario;
},
/*
- Function: iniciaDicionario
-
- Carrega o dicionário e chama a função que inicia a ferramenta
-
- O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script
- */
- iniciaDicionario: function(){
- if(typeof(i3GEOF.opcoesQuery.dicionario) === 'undefined'){
- i3GEO.util.scriptTag(
- i3GEO.configura.locaplic+"/ferramentas/opcoes_querymap/dicionario.js",
- "i3GEOF.opcoesQuery.iniciaJanelaFlutuante()",
- "i3GEOF.opcoesQuery.dicionario_script"
- );
- }
- else{
- i3GEOF.opcoesQuery.iniciaJanelaFlutuante();
- }
- },
- /*
Function: inicia
Inicia a ferramenta. É chamado por criaJanelaFlutuante
@@ -101,10 +36,12 @@ i3GEOF.opcoesQuery = {
try{
i3GEOF.opcoesQuery.aguarde.visibility = "visible";
$i(iddiv).innerHTML += i3GEOF.opcoesQuery.html();
- new YAHOO.widget.Button(
+ var b = new YAHOO.widget.Button(
"i3GEOopcoesQuerybotao1",
{onclick:{fn: i3GEOF.opcoesQuery.executa}}
);
+ b.addClass("rodar150");
+ i3GEO.util.aplicaAquarela("i3GEOF.opcoesQuery");
var p = i3GEO.configura.locaplic+"/ferramentas/opcoes_querymap/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=pegaquerymapcor",
cp = new cpaint(),
retorno = function(retorno){
diff --git a/ferramentas/opcoes_querymap/template_mst.html b/ferramentas/opcoes_querymap/template_mst.html
index 47fbe96..0d26fe3 100644
--- a/ferramentas/opcoes_querymap/template_mst.html
+++ b/ferramentas/opcoes_querymap/template_mst.html
@@ -1,9 +1,6 @@
-{{{Querycor}}}
-
-
+
+
+
-
\ No newline at end of file
+
\ No newline at end of file
--
libgit2 0.21.2