Commit 5a4ceb2950b150b2aae0225dff4ae5e0edfee485

Authored by Edmar Moretti
1 parent ef1107fc

Inclusao de validacao em ms_configura para garantir o include apenas por program…

…as dentro da pasta onde estiver instalado o i3Geo
admin/admin.db
No preview for this file type
js/arvoredecamadas.js
... ... @@ -809,6 +809,28 @@ i3GEO.arvoreDeCamadas =
809 809 id : "",
810 810 status : true,
811 811 flag : true
  812 + },
  813 + "tabelaAtrib" : {
  814 + tipo : "tema",
  815 + icone : "imagens/oxygen/16x16/configure-shortcuts.png",
  816 + classe : "arvCamFerramentas",
  817 + funcao : "i3GEO.tema.dialogo.tabela",
  818 + title : $trad("tabela"),
  819 + dica : $trad("t30"),
  820 + id : "",
  821 + status : true,
  822 + flag : true
  823 + },
  824 + "editorLegenda" : {
  825 + tipo : "tema",
  826 + icone : "imagens/oxygen/16x16/configure-shortcuts.png",
  827 + classe : "arvCamFerramentas",
  828 + funcao : "i3GEO.tema.dialogo.editaLegenda",
  829 + title : $trad("t33"),
  830 + dica : "",
  831 + id : "",
  832 + status : true,
  833 + flag : true
812 834 }
813 835 },
814 836 /**
... ...
js/dicionario.js
... ... @@ -2757,5 +2757,12 @@ var g_traducao =
2757 2757 en : "",
2758 2758 es : ""
2759 2759 }
  2760 + ],
  2761 + "tabela" : [
  2762 + {
  2763 + pt : "Tabela",
  2764 + en : "",
  2765 + es : ""
  2766 + }
2760 2767 ]
2761 2768 };
2762 2769 \ No newline at end of file
... ...
ms_configura.php
1 1 <?php
  2 +//verifica se o pai esta na mesma pasta
  3 +if(!stristr(dirname($_SERVER['SCRIPT_FILENAME']),"/".basename(dirname(__FILE__)))){
  4 + exit;
  5 +}
2 6 /*
3 7 Title: Vari&aacute;veis de inicializa&ccedil;&atilde;o ms_configura.php
4 8  
... ...