From 15ed224bf1d0f215141046c1b8bad6b30e1312cd Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Tue, 12 Jan 2010 14:54:49 +0000 Subject: [PATCH] --- ferramentas/opcoes_fundo/exemplo.htm | 13 ------------- ferramentas/opcoes_fundo/index.js.php | 157 ------------------------------------------------------------------------------------------------------------------------------------------------------------- 2 files changed, 0 insertions(+), 170 deletions(-) delete mode 100644 ferramentas/opcoes_fundo/exemplo.htm delete mode 100644 ferramentas/opcoes_fundo/index.js.php diff --git a/ferramentas/opcoes_fundo/exemplo.htm b/ferramentas/opcoes_fundo/exemplo.htm deleted file mode 100644 index 3332ddf..0000000 --- a/ferramentas/opcoes_fundo/exemplo.htm +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/ferramentas/opcoes_fundo/index.js.php b/ferramentas/opcoes_fundo/index.js.php deleted file mode 100644 index 4032aa4..0000000 --- a/ferramentas/opcoes_fundo/index.js.php +++ /dev/null @@ -1,157 +0,0 @@ - -/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ - -/* -About: Licença - -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@mma.gov.br - -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; -tanto a versão 2 da Licença. -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'){ - i3GEOF = []; -} -/* -Class: i3GEOF.editorsql - -Altera as propriedades do fundo do mapa. -*/ -i3GEOF.editorsql = { - /* - Variavel: aguarde - - Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela. - */ - aguarde: "", - /* - Function: inicia - - Inicia a ferramenta. É chamado por criaJanelaFlutuante - - Parametro: - - iddiv {String} - id do div que receberá o conteudo HTML da ferramenta - */ - inicia: function(iddiv){ - try{ - $i(iddiv).innerHTML = i3GEOF.editorsql.html(); - new YAHOO.widget.Button( - "i3GEOeditorsqlbotao1", - {onclick:{fn: i3GEOF.editorsql.altera}} - ); - i3GEOF.editorsql.pega(); - - i3GEO.util.comboItens( - "i3GEOeditorsqlItem", - i3GEO.temaAtivo, - function(retorno){ - $i("i3GEOeditorsqlDivItem").innerHTML = retorno.dados; - $i("i3GEOeditorsqlItem").onchange = function(){ - i3GEO.util.comboValoresItem( - "i3GEOeditorsqlitens", - i3GEO.temaAtivo, - $i("i3GEOeditorsqlItem").value, - function(retorno){ - $i("i3GEOeditorsqlvalores").innerHTML = "

Valores encontrados:

"+retorno.dados+"

"; - }, - "i3GEOeditorsqlvalores" - ); - - }; - }, - "i3GEOeditorsqlDivItem" - ); - - } - catch(erro){alert(erro);} - }, - /* - Function: html - - Gera o código html para apresentação das opções da ferramenta - - Retorno: - - String com o código html - */ - html:function(){ - var ins = "" + - '

' + - '

Veja aqui o manual de funções SQL do Postgis' + - '

Lista de itens existentes na tabela de atributos do tema (escolha um para ver os valores):

' + - '
' + - '
'; - return ins; - }, - /* - Function: criaJanelaFlutuante - - Cria a janela flutuante para controle da ferramenta. - */ - criaJanelaFlutuante: function(){ - var janela,divid,temp,titulo; - //cria a janela flutuante - titulo = "Altera SQL    "; - janela = i3GEO.janela.cria( - "300px", - "260px", - "", - "", - "", - titulo, - "i3GEOF.editorsql", - true, - "hd" - ); - divid = janela[2].id; - $i("i3GEOF.editorsql_corpo").style.backgroundColor = "white"; - $i("i3GEOF.editorsql_corpo").style.textAlign = "left"; - i3GEOF.editorsql.aguarde = $i("i3GEOF.editorsql_imagemCabecalho").style; - i3GEOF.editorsql.inicia(divid); - }, - /* - Function: pega - - Pega o SQL - */ - pega: function(){ - if(i3GEOF.editorsql.aguarde.visibility === "visible") - {return;} - i3GEOF.editorsql.aguarde.visibility = "visible"; - var temp = function(retorno){ - i3GEOF.editorsql.aguarde.visibility = "hidden"; - $i("i3GEOeditorsqlSQL").innerHTML = retorno.data; - }; - i3GEO.php.pegaData(temp,i3GEO.temaAtivo); - }, - /* - Function: altera - - Altera o SQL - */ - altera: function(){ - if(i3GEOF.editorsql.aguarde.visibility === "visible") - {return;} - i3GEOF.editorsql.aguarde.visibility = "visible"; - var temp = function(){ - i3GEOF.editorsql.aguarde.visibility = "hidden"; - i3GEO.atualiza(); - }; - i3GEO.php.alteraData(temp,i3GEO.temaAtivo,$i("i3GEOeditorsqlSQL").value); - } -}; - \ No newline at end of file -- libgit2 0.21.2