From 86509020b7d126e73d91e3c5374669000e919bc0 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Tue, 3 May 2016 19:02:56 -0300 Subject: [PATCH] Inclusão do qrcode na página principal --- init/index.js | 11 ++++++++++- init/nindex.php | 39 ++++++++++++++++++++++++--------------- 2 files changed, 34 insertions(+), 16 deletions(-) diff --git a/init/index.js b/init/index.js index 8c08a7c..8ce760d 100755 --- a/init/index.js +++ b/init/index.js @@ -212,7 +212,16 @@ function mostraBotoesBT(men){ $("#menuTpl").html(html); // $i("mensagemLogin").innerHTML = men; - $i("jumbotron").innerHTML = "

"+$trad(35,g_traducao_init)+"

"; + //$i("jumbotron").innerHTML = "

"+$trad(35,g_traducao_init)+"

"; + html = Mustache.to_html( + $("#jumbotron").html(), + { + "jumbotron" : $trad(35,g_traducao_init), + "host" : location.host, + "href" : location.href + } + ); + $("#jumbotron").html(html); i3GEO.configura = {"locaplic" : ".."}; i3GEO.idioma.IDSELETOR = "bandeiras"; i3GEO.idioma.mostraSeletor(); diff --git a/init/nindex.php b/init/nindex.php index 91aa968..faf24dd 100755 --- a/init/nindex.php +++ b/init/nindex.php @@ -123,18 +123,27 @@ define ( "ONDEI3GEO", ".." ); -
+
-