Commit 21fe9d208b028dd6e6e53eac97649c00f5229ad7
1 parent
225078de
Exists in
master
and in
7 other branches
Remoção da ferramenta depreciada atalhosmapa
Showing
67 changed files
with
0 additions
and
178 deletions
Show diff stats
ferramentas/atalhosmapa/dependencias.php
| ... | ... | @@ -1,34 +0,0 @@ |
| 1 | -<?php | |
| 2 | -include(dirname(__FILE__)."/../blacklist.php"); | |
| 3 | -verificaBlFerramentas(basename(dirname(__FILE__))); | |
| 4 | - | |
| 5 | - | |
| 6 | -/** | |
| 7 | - * Carrega os programas javascript necessarios para a ferramenta | |
| 8 | - * Esse programa e usado na tag <script> ou com a funcao scripttag do i3Geo | |
| 9 | - * Alem de carregar os scripts, carrega tambem o template no formato MUSTACHE, definindo a variavel | |
| 10 | - * javascript i3GEOF.atalhosmapa.MUSTACHE | |
| 11 | - * O template e substituido pelos valores definidos em index.js no momento da inicializacao da ferramenta | |
| 12 | - */ | |
| 13 | -if(extension_loaded('zlib')){ | |
| 14 | - ob_start('ob_gzhandler'); | |
| 15 | -} | |
| 16 | -header("Content-type: text/javascript"); | |
| 17 | -include("index.js"); | |
| 18 | -include("dicionario.js"); | |
| 19 | -echo "\n"; | |
| 20 | -/** | |
| 21 | - * Inclui o template mustache do HTML usado para criar o conteudo da janela | |
| 22 | - */ | |
| 23 | -echo 'i3GEOF.atalhosmapa.MUSTACHE = "'; | |
| 24 | -$texto = file_get_contents("template_mst.html"); | |
| 25 | -$texto = str_replace("\n", "", $texto); | |
| 26 | -$texto = str_replace("\r", "", $texto); | |
| 27 | -$texto = str_replace("\t", "", $texto); | |
| 28 | -$texto = str_replace('"', "'", $texto); | |
| 29 | -echo $texto; | |
| 30 | -echo '";'; | |
| 31 | -if(extension_loaded('zlib')){ | |
| 32 | - ob_end_flush(); | |
| 33 | -} | |
| 34 | -?> |
ferramentas/atalhosmapa/dicionario.js
ferramentas/atalhosmapa/exec.php
| ... | ... | @@ -1 +0,0 @@ |
| 1 | - |
ferramentas/atalhosmapa/index.js
| ... | ... | @@ -1,81 +0,0 @@ |
| 1 | -if (typeof (i3GEOF) === 'undefined') { | |
| 2 | - var i3GEOF = {}; | |
| 3 | -} | |
| 4 | -/* | |
| 5 | - * Classe: i3GEOF.atalhosmapa | |
| 6 | - */ | |
| 7 | -i3GEOF.atalhosmapa = | |
| 8 | -{ | |
| 9 | - /* | |
| 10 | - * Function: inicia | |
| 11 | - * | |
| 12 | - * Inicia a ferramenta. É chamado por criaJanelaFlutuante | |
| 13 | - * | |
| 14 | - * Parametro: | |
| 15 | - * | |
| 16 | - * iddiv {String} - id do div que receberá o conteudo HTML da ferramenta | |
| 17 | - */ | |
| 18 | - inicia : function(iddiv) { | |
| 19 | - //pega os itens do menu suspenso e que contem a lista de aplicativos | |
| 20 | - var s = "", b, m, n, i, t = [], ins = "<div style='margin-left: 5px'>"; | |
| 21 | - m = i3GEO.configura.oMenuDataOriginal.submenus.ferramentas; | |
| 22 | - n = m.length; | |
| 23 | - for(i=0;i<n;i++){ | |
| 24 | - if(m[i] && m[i].submenu && m[i].submenu.id === "mapa"){ | |
| 25 | - t = m[i].submenu.itemdata[0]; | |
| 26 | - } | |
| 27 | - } | |
| 28 | - n = t.length; | |
| 29 | - for(i=0;i<n;i++){ | |
| 30 | - ins += "<p class='paragrafo'><input id='atalhosmapa" + i + "' type='button' value='" + t[i].text.split("</span>")[1] + "' /></p>"; | |
| 31 | - } | |
| 32 | - $i(iddiv).innerHTML = ins + "</div>"; | |
| 33 | - for(i=0;i<n;i++){ | |
| 34 | - eval("s = "+t[i].url.split("javascript:")[1].replace("()","") + ";"); | |
| 35 | - b = new YAHOO.widget.Button("atalhosmapa" + i, { | |
| 36 | - onclick : { | |
| 37 | - fn : s | |
| 38 | - } | |
| 39 | - }); | |
| 40 | - b.addClass("abrir"); | |
| 41 | - } | |
| 42 | - | |
| 43 | - }, | |
| 44 | - /* | |
| 45 | - * Function: criaJanelaFlutuante | |
| 46 | - * | |
| 47 | - * Cria a janela flutuante para controle da ferramenta. | |
| 48 | - */ | |
| 49 | - iniciaJanelaFlutuante : function() { | |
| 50 | - var minimiza, cabecalho, janela, divid, titulo; | |
| 51 | - | |
| 52 | - cabecalho = function() { | |
| 53 | - }; | |
| 54 | - minimiza = function() { | |
| 55 | - i3GEO.janela.minimiza(id); | |
| 56 | - }; | |
| 57 | - // cria a janela flutuante | |
| 58 | - titulo = " "; | |
| 59 | - janela = | |
| 60 | - i3GEO.janela.cria( | |
| 61 | - "280px", | |
| 62 | - "300px", | |
| 63 | - "", | |
| 64 | - "", | |
| 65 | - "", | |
| 66 | - titulo, | |
| 67 | - "i3GEOF.atalhosmapa", | |
| 68 | - false, | |
| 69 | - "hd", | |
| 70 | - cabecalho, | |
| 71 | - minimiza, | |
| 72 | - "", | |
| 73 | - true, | |
| 74 | - i3GEO.configura.locaplic + "/imagens/oxygen/16x16/games-config-custom.png" | |
| 75 | - ); | |
| 76 | - divid = janela[2].id; | |
| 77 | - janela[2].style.backgroundColor = "white"; | |
| 78 | - janela[0].bringToTop(); | |
| 79 | - i3GEOF.atalhosmapa.inicia(divid); | |
| 80 | - } | |
| 81 | -}; | |
| 82 | 0 | \ No newline at end of file |
ferramentas/atalhosmapa/template_mst.html
ferramentas/buscafotos/index.js
| ... | ... | @@ -95,11 +95,6 @@ i3GEOF.buscaFotos = { |
| 95 | 95 | $i("i3GEObuscafotosguia1").onclick = function() { |
| 96 | 96 | i3GEO.guias.mostraGuiaFerramenta("i3GEObuscafotosguia1", "i3GEObuscafotosguia"); |
| 97 | 97 | }; |
| 98 | - | |
| 99 | - | |
| 100 | - new YAHOO.widget.Button("i3GEObuscafotosbotao1",{onclick:{fn: function(){ | |
| 101 | - i3GEOF.buscaFotos.busca("1"); | |
| 102 | - }}}); | |
| 103 | 98 | i3GEOF.buscaFotos.ativaFoco(); |
| 104 | 99 | i3GEO.eventos.NAVEGAMAPA.push("i3GEOF.buscaFotos.busca('1')"); |
| 105 | 100 | if(busca){ | ... | ... |
ferramentas/conectargeojson/index.js
| ... | ... | @@ -91,11 +91,6 @@ i3GEOF.conectargeojson = { |
| 91 | 91 | $i("i3GEOconectargeojsonCombo").innerHTML = combo; |
| 92 | 92 | }; |
| 93 | 93 | i3GEO.php.listaRSSwsARRAY(monta,"GEOJSON"); |
| 94 | - b = new YAHOO.widget.Button( | |
| 95 | - "i3GEOconectargeojsonbotao1", | |
| 96 | - {onclick:{fn: i3GEOF.conectargeojson.adiciona}} | |
| 97 | - ); | |
| 98 | - b.addClass("rodar"); | |
| 99 | 94 | }, |
| 100 | 95 | /* |
| 101 | 96 | Function: html | ... | ... |
ferramentas/distanciaptpt/index.js
| ... | ... | @@ -155,11 +155,6 @@ i3GEOF.distanciaptpt = { |
| 155 | 155 | }, |
| 156 | 156 | t3: function(){ |
| 157 | 157 | i3GEO.util.proximoAnterior("i3GEOF.distanciaptpt.t2()","","","i3GEOF.distanciaptpt.t3","i3GEOdistanciaptptresultado",true,"i3GEOF.distanciaptpt_rodape"); |
| 158 | - var b = new YAHOO.widget.Button( | |
| 159 | - "i3GEOdistanciaptptbotao1", | |
| 160 | - {onclick:{fn: i3GEOF.distanciaptpt.calcula}} | |
| 161 | - ); | |
| 162 | - b.addClass("rodar"); | |
| 163 | 158 | }, |
| 164 | 159 | /* |
| 165 | 160 | Function: calcula | ... | ... |
ferramentas/gradecoord/index.js
| ... | ... | @@ -45,11 +45,6 @@ i3GEOF.gradeCoord = { |
| 45 | 45 | } |
| 46 | 46 | $i(iddiv).innerHTML += i3GEOF.gradeCoord.html(); |
| 47 | 47 | i3GEO.util.comboFontes("i3GEOgradeCoordfonte","i3GEOgradeCoordfontef","form-control"); |
| 48 | - var b = new YAHOO.widget.Button( | |
| 49 | - "i3GEOgradeCoordbotao1", | |
| 50 | - {onclick:{fn: i3GEOF.gradeCoord.executa}} | |
| 51 | - ); | |
| 52 | - b.addClass("rodar"); | |
| 53 | 48 | i3GEO.util.aplicaAquarela("i3GEOF.gradeCoord_corpo"); |
| 54 | 49 | }, |
| 55 | 50 | /* | ... | ... |
ferramentas/inserexy2/index.js
| ... | ... | @@ -103,21 +103,6 @@ i3GEOF.inserexy = { |
| 103 | 103 | i3GEO.guias.mostraGuiaFerramenta("i3GEOinserexyguia6","i3GEOinserexyguia"); |
| 104 | 104 | }; |
| 105 | 105 | |
| 106 | - b = new YAHOO.widget.Button( | |
| 107 | - "i3GEOinserexybotao3", | |
| 108 | - {onclick:{fn: i3GEOF.inserexy.wkt}} | |
| 109 | - ); | |
| 110 | - b.addClass("rodar"); | |
| 111 | - b = new YAHOO.widget.Button( | |
| 112 | - "i3GEOinserexybotao4", | |
| 113 | - {onclick:{fn: i3GEOF.inserexy.criaPol}} | |
| 114 | - ); | |
| 115 | - b.addClass("rodar"); | |
| 116 | - b = new YAHOO.widget.Button( | |
| 117 | - "i3GEOinserexybotao5", | |
| 118 | - {onclick:{fn: i3GEOF.inserexy.criaLin}} | |
| 119 | - ); | |
| 120 | - b.addClass("rodar"); | |
| 121 | 106 | i3GEOF.inserexy.ativaFoco(); |
| 122 | 107 | i3GEOF.inserexy.montaComboLocal(); |
| 123 | 108 | i3GEO.util.radioEpsg( | ... | ... |
ferramentas/opcoes_autoredesenha/index.js
| ... | ... | @@ -78,16 +78,6 @@ i3GEOF.opcoesTempo = { |
| 78 | 78 | } |
| 79 | 79 | try{ |
| 80 | 80 | $i(iddiv).innerHTML += i3GEOF.opcoesTempo.html(); |
| 81 | - var b = new YAHOO.widget.Button( | |
| 82 | - "i3GEOopcoesTempobotao1", | |
| 83 | - {onclick:{fn: i3GEOF.opcoesTempo.executa}} | |
| 84 | - ); | |
| 85 | - b.addClass("rodar100"); | |
| 86 | - b = new YAHOO.widget.Button( | |
| 87 | - "i3GEOopcoesTempobotao2", | |
| 88 | - {onclick:{fn: i3GEO.navega.autoRedesenho.desativa}} | |
| 89 | - ); | |
| 90 | - b.addClass("rodar100"); | |
| 91 | 81 | } |
| 92 | 82 | catch(erro){i3GEO.janela.tempoMsg(erro);} |
| 93 | 83 | }, | ... | ... |
js/mapa.js
| ... | ... | @@ -423,19 +423,6 @@ i3GEO.mapa = |
| 423 | 423 | "i3GEOF.mascara.iniciaJanelaFlutuante()"); |
| 424 | 424 | }, |
| 425 | 425 | /** |
| 426 | - * Function: ferramentas | |
| 427 | - * | |
| 428 | - * Abre a janela de diálogo com as ferramentas que atuam sobre o mapa | |
| 429 | - */ | |
| 430 | - ferramentas : function() { | |
| 431 | - i3GEO.util.dialogoFerramenta( | |
| 432 | - "i3GEO.arvoreDeCamadas.dialogo.ferramentas()", | |
| 433 | - "atalhosmapa", | |
| 434 | - "atalhosmapa", | |
| 435 | - "dependencias.php", | |
| 436 | - "i3GEOF.atalhosmapa.iniciaJanelaFlutuante()"); | |
| 437 | - }, | |
| 438 | - /** | |
| 439 | 426 | * Function: html2canvas |
| 440 | 427 | * |
| 441 | 428 | * Abre uma janela com a conversão de um objeto HTML em PNG | ... | ... |
pacotes/yui290/build/container/container_compacto.js
100755 → 100644
pacotes/yui290/build/container/container_core_compacto.js
100755 → 100644
pacotes/yui290/build/utilities/utilities_compacto.js
100755 → 100644