From 2728ae7eab19d286b08b312cbb85a5a59a28763e Mon Sep 17 00:00:00 2001 From: Murilo Caixeta Date: Fri, 24 Oct 2014 16:49:57 +0000 Subject: [PATCH] Implementação do Mustache --- ferramentas/preferencias/dependencias.php | 30 ------------------------------ ferramentas/preferencias/template_mst.html | 64 ---------------------------------------------------------------- 2 files changed, 0 insertions(+), 94 deletions(-) delete mode 100755 ferramentas/preferencias/dependencias.php delete mode 100644 ferramentas/preferencias/template_mst.html diff --git a/ferramentas/preferencias/dependencias.php b/ferramentas/preferencias/dependencias.php deleted file mode 100755 index 953a269..0000000 --- a/ferramentas/preferencias/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.preferencias.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.preferencias.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 diff --git a/ferramentas/preferencias/template_mst.html b/ferramentas/preferencias/template_mst.html deleted file mode 100644 index 10c307c..0000000 --- a/ferramentas/preferencias/template_mst.html +++ /dev/null @@ -1,64 +0,0 @@ -
- -
-
- - - - - \ No newline at end of file -- libgit2 0.21.2