From d8c84405f039adfbbe06846461eb8a7295705b15 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 27 Nov 2008 11:14:33 +0000 Subject: [PATCH] --- ferramentas/navegacaodir/index.htm | 18 ------------------ ferramentas/navegacaodir/index.js | 106 ---------------------------------------------------------------------------------------------------------- 2 files changed, 0 insertions(+), 124 deletions(-) delete mode 100644 ferramentas/navegacaodir/index.htm delete mode 100644 ferramentas/navegacaodir/index.js diff --git a/ferramentas/navegacaodir/index.htm b/ferramentas/navegacaodir/index.htm deleted file mode 100644 index 96683cf..0000000 --- a/ferramentas/navegacaodir/index.htm +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - -
-
arquivos
- - - - - - diff --git a/ferramentas/navegacaodir/index.js b/ferramentas/navegacaodir/index.js deleted file mode 100644 index 1f95354..0000000 --- a/ferramentas/navegacaodir/index.js +++ /dev/null @@ -1,106 +0,0 @@ - -function listaDrives() -{ - var montaListaDrives = function(retorno) - { - var currentIconMode; - YAHOO.example.treeExample = new function(){ - function changeIconMode(){ - var newVal = parseInt(this.value); - if (newVal != currentIconMode) - {currentIconMode = newVal;} - buildTree(); - } - function buildTree(){ - arvore = new YAHOO.widget.TreeView("arvoreL"); - var root = arvore.getRoot(); - var tempNode = new YAHOO.widget.TextNode('', root, false); - tempNode.isLeaf = false; - } - buildTree(); - }(); - var root = arvore.getRoot(); - // - //adiciona na árvore a raiz de cada menu - // - var c = retorno.data[0]; - for (ig=0;ig

" - if ((retorno.data != "erro") && (retorno.data != undefined)) - { - var cor = "rgb(240,240,240)" - for (ig=0;ig"+retorno.data.arquivos[ig]+"
" - if (cor == "rgb(240,240,240)") - {var cor = "white"} - else - {cor = "rgb(240,240,240)"} - } - } - - } - $i("arquivosL").innerHTML = ins; - } - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=listaArquivos&diretorio="+id; - var cp = new cpaint(); - //cp.set_debug(2) - cp.set_response_type("JSON"); - cp.call(p,"listaDrives",montaLista); -} -function incluir(path) -{ - var temp = path.split(".") - if ((temp[1] == "SHP") || (temp[1] == "shp")) - {var f = "adicionaTemaSHP";} - else - {var f = "adicionaTemaIMG";} - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao="+f+"&arq="+path; - var cp = new cpaint(); - //cp.set_debug(2) - cp.set_response_type("JSON"); - cp.call(p,f,window.parent.ajaxredesenha); -} -- libgit2 0.21.2