From b2d3f9b8689618c99e87d5b7362a23b35378697a Mon Sep 17 00:00:00 2001 From: Murilo Caixeta Date: Mon, 27 Oct 2014 12:01:06 +0000 Subject: [PATCH] Implementação do Mustache --- ferramentas/uploadsimbolo/dependencias.php | 30 ------------------------------ 1 file changed, 0 insertions(+), 30 deletions(-) delete mode 100755 ferramentas/uploadsimbolo/dependencias.php diff --git a/ferramentas/uploadsimbolo/dependencias.php b/ferramentas/uploadsimbolo/dependencias.php deleted file mode 100755 index 974d664..0000000 --- a/ferramentas/uploadsimbolo/dependencias.php +++ /dev/null @@ -1,30 +0,0 @@ - ou com a funcao scripttag do i3Geo - * Alem de carregar os scripts, carrega tambem o template no formato MUSTACHE, definindo a variavel - * javascript i3GEOF.uploadsimbolo.MUSTACHE - * O template e substituido pelos valores definidos em index.js no momento da inicializacao da ferramenta - */ -if(extension_loaded('zlib')){ - ob_start('ob_gzhandler'); -} -header("Content-type: text/javascript"); -include("index.js"); -include("dicionario.js"); -echo "\n"; -/** - * Inclui o template mustache do HTML usado para criar o conteudo da janela - */ -echo 'i3GEOF.uploadsimbolo.MUSTACHE = "'; -$texto = file_get_contents("template_mst.html"); -$texto = str_replace("\n", "", $texto); -$texto = str_replace("\r", "", $texto); -$texto = str_replace("\t", "", $texto); -$texto = str_replace('"', "'", $texto); -echo $texto; -echo '";'; -if(extension_loaded('zlib')){ - ob_end_flush(); -} -?> \ No newline at end of file -- libgit2 0.21.2