From e32238c5b1174e707e7013f6333530997408afba Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Tue, 24 Nov 2009 01:14:12 +0000 Subject: [PATCH] #262 --- ferramentas/inseretxt/exemplo.htm | 14 ++++++++++++++ ferramentas/inseretxt/index.htm | 162 ------------------------------------------------------------------------------------------------------------------------------------------------------------------ ferramentas/inseretxt/index.js.php | 70 ++-------------------------------------------------------------------- ferramentas/uploaddbf/index.js.php | 46 +--------------------------------------------- 4 files changed, 17 insertions(+), 275 deletions(-) create mode 100644 ferramentas/inseretxt/exemplo.htm delete mode 100644 ferramentas/inseretxt/index.htm diff --git a/ferramentas/inseretxt/exemplo.htm b/ferramentas/inseretxt/exemplo.htm new file mode 100644 index 0000000..a8fc9c9 --- /dev/null +++ b/ferramentas/inseretxt/exemplo.htm @@ -0,0 +1,14 @@ + + + + + + + + + \ No newline at end of file diff --git a/ferramentas/inseretxt/index.htm b/ferramentas/inseretxt/index.htm deleted file mode 100644 index 64dd485..0000000 --- a/ferramentas/inseretxt/index.htm +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - -
- -
-
-
-
- -
-
- Digite o texto e clique no mapa no ponto de inclusão. - Para definir os parâmetros de fonte, tamanho, etc, utilize a guia de - propriedades. -
-
-
-
- Escolha o tema: -
-

- Escolha o item: -
-

-
-
Após escolher o tema e o item da tabela de atributos, clique no mapa no lugar desejado para incluir o texto.
-
- - - -
-
- Aguarde... -
- - - - - - - \ No newline at end of file diff --git a/ferramentas/inseretxt/index.js.php b/ferramentas/inseretxt/index.js.php index db8584e..1c3b433 100644 --- a/ferramentas/inseretxt/index.js.php +++ b/ferramentas/inseretxt/index.js.php @@ -1,6 +1,5 @@ /*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ - /* About: Licença @@ -265,7 +264,6 @@ i3GEOF.inseretxt = { i3GEOF.inseretxt.aguarde = $i("i3GEOF.inseretxt_imagemCabecalho").style; $i("i3GEOF.inseretxt_corpo").style.backgroundColor = "white"; i3GEOF.inseretxt.inicia(divid); - if(i3GEO.eventos.MOUSECLIQUE.toString().search("i3GEOF.inseretxt.cria()") < 0) {i3GEO.eventos.MOUSECLIQUE.push("i3GEOF.inseretxt.cria()");} temp = function(){ @@ -357,7 +355,7 @@ i3GEOF.inseretxt = { } } else{ - var temp = function(retorno){ + temp = function(retorno){ i3GEOF.inseretxt.insere(retorno.data); }; tema = $i("i3GEOinseretxtComboTemas").value; @@ -396,68 +394,4 @@ i3GEOF.inseretxt = { cp.call(p,"inserefeature",monta); } }; - -/* -parametrosURL() -aguarde("block") -ativaGuias("") -mostraGuia("guia1") -comboi = "" -mensagemAjuda("men2",$i("men2").innerHTML); -$i("guia1").onclick = function() -{mostraGuia("guia1");$i("tipoInsere").value = "digitando"} -$i("guia2").onclick = function() -{ - mostraGuia("guia2"); - $i("tipoInsere").value = "clicando" - comboTemasLigados("temasLigados",function(retorno) - { - $i("temasi").innerHTML = retorno.dados - aguarde("none") - if ($i("temasLigados")) - { - $i("temasLigados").onchange = function() - { - aguarde("block") - var tema = $i("temasLigados").value - $i("men1").style.display = "block" - var cp = new cpaint(); - //cp.set_debug(2) - cp.set_response_type("JSON"); - cp.call(g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=listaitens&tema="+tema,"listaItens",listaItens); - } - } - },"temasi"); -} -$i("guia3").onclick = function() -{mostraGuia("guia3")} -$i("guia4").onclick = function() -{mostraGuia("guia4")} -$i("guia5").onclick = function() -{mostraGuia("guia5")} -mensagemAjuda("men1",$i("men1").innerHTML) -comboTrueType(function(retorno) -{ - $i("listaf").innerHTML = retorno.dados - aguarde("none") -},"listaf") -function listaItens() -{ - comboitens( - "itemsel", - $i("temasLigados").value, - function(retorno) - { - if (retorno.tipo == "dados") - {$i("listai").innerHTML = retorno.dados} - else - {document.body.innerHTML = retorno.dados} - aguarde("none"); - } - ,"listai" - ) -} - -function corj(obj) -{window.parent.i3GEO.util.abreCor("wdocai",obj)} -*/ \ No newline at end of file + \ No newline at end of file diff --git a/ferramentas/uploaddbf/index.js.php b/ferramentas/uploaddbf/index.js.php index ca3ab81..eb96c8d 100644 --- a/ferramentas/uploaddbf/index.js.php +++ b/ferramentas/uploaddbf/index.js.php @@ -133,48 +133,4 @@ i3GEOF.uploaddbf = { $i("i3GEOuploaddbff").submit(); } }; - -/* -parametrosURL() -if($i("temas")){ - aguarde("block") - comboTemasLigados("tema",function(retorno) - { - $i("temas").innerHTML = retorno.dados - aguarde("none") - $i("tema").onchange = function() - { - $i("itens").innerHTML = ""; - comboitens("item",$i("tema").value,function(retorno) - { - $i("itens").innerHTML = retorno.dados - },"itens","item") - if ($i("temas").value == "") - alert("Selecione um tema"); - } - },"temas","tema") -} -YAHOO.example.init = function () -{ - function onPushButtonsMarkupReady() - { - new YAHOO.widget.Button("botao1"); - } - YAHOO.util.Event.onContentReady("botao1", onPushButtonsMarkupReady); -}() -function submete() -{ - $i("f").submit() -} -if($i("listaepsg")) -{ - radioepsg - ( - function(retorno) - { - $i("listaepsg").innerHTML = retorno.dados - }, - "listaepsg" - ) -} -*/ \ No newline at end of file + \ No newline at end of file -- libgit2 0.21.2