diff --git a/init/index.js b/init/index.js
index 6ea3c1a..10a60a7 100755
--- a/init/index.js
+++ b/init/index.js
@@ -1,133 +1,133 @@
botoesIni = [
{
"img":"openlayers.png",
- "href": location.href.replace("index.php","") + customDir + "/black_ol.htm",
+ "href": location.href.replace("init/index.php","") + customDir + "/black_ol.htm",
"titulo":$trad(4,g_traducao_init),
"subtitulo": $trad("4a",g_traducao_init),
"fa": "map-o",
"target": "_blank"
},{
"img":"osm.png",
- "href": location.href.replace("index.php","") + customDir + "/black_osm.htm",
+ "href": location.href.replace("init/index.php","") + customDir + "/black_osm.htm",
"titulo":$trad(23,g_traducao_init),
"subtitulo": $trad("23a",g_traducao_init),
"fa": "map-o",
"target": "_blank"
},{
"img":"googlemaps.png",
- "href": location.href.replace("index.php","") + customDir + "/black_gm.phtml",
+ "href": location.href.replace("init/index.php","") + customDir + "/black_gm.phtml",
"titulo":$trad(6,g_traducao_init),
"subtitulo": $trad("6a",g_traducao_init),
"fa": "map-o",
"target": "_blank"
},{
"img":"mashup.png",
- "href": location.href.replace("index.php","") + "../mashups",
+ "href": "../mashups",
"titulo":$trad(18,g_traducao_init) + "
OSM" + " - OpenLayers",
"subtitulo": $trad("18a",g_traducao_init),
"fa": "map-o",
"target": "_self"
},{
"img":"googleearth.png",
- "href": location.href.replace("index.php","") + customDir + "/googleearth.phtml",
+ "href": location.href.replace("init/index.php","") + customDir + "/googleearth.phtml",
"titulo":$trad(7,g_traducao_init),
"subtitulo": $trad("7a",g_traducao_init),
"fa": "map-o",
"target": "_blank"
},{
"img":"cartogramas.png",
- "href": location.href.replace("index.php","") + customDir + "/black_carto_ol.htm",
+ "href": location.href.replace("init/index.php","") + customDir + "/black_carto_ol.htm",
"titulo":$trad(8,g_traducao_init),
"subtitulo": $trad("8a",g_traducao_init),
"fa": "map-o",
"target": "_blank"
},{
"img":"editor.png",
- "href": location.href.replace("index.php","") + "../ferramentas/metaestat/editorlimites.php",
+ "href": "../ferramentas/metaestat/editorlimites.php",
"titulo":$trad(9,g_traducao_init),
"subtitulo": $trad("9a",g_traducao_init),
"fa": "map-o",
"target": "_blank"
},{
"img":"window-duplicate.png",
- "href": location.href.replace("index.php","") + "../mapas/index.php",
+ "href": "../mapas/index.php",
"titulo":$trad(34,g_traducao_init),
"subtitulo": $trad("34a",g_traducao_init),
"fa": "map-o",
"target": "_self"
},{
"img":"ogc_logo.png",
- "href": location.href.replace("index.php","") + "../ogc/index.php",
+ "href": "../ogc/index.php",
"titulo":$trad(11,g_traducao_init),
"subtitulo": $trad("11a",g_traducao_init),
"fa": "download",
"target": "_self"
},{
"img":"application-vnd-google-earth-kml.png",
- "href": location.href.replace("index.php","") + "../kml.php",
+ "href": "../kml.php",
"titulo":$trad(12,g_traducao_init),
"subtitulo": $trad("12a",g_traducao_init),
"fa": "download",
"target": "_self"
},{
"img":"../imagens/saiku_free_small.png",
- "href": location.href.replace("index.php","") + "../ferramentas/saiku/esquemaxml.php?locaplic="+window.location.href.replace("/init/index.php",""),
+ "href": "../ferramentas/saiku/esquemaxml.php?locaplic="+window.location.href.replace("/init/index.php",""),
"titulo":$trad(25,g_traducao_init),
"subtitulo": $trad("25a",g_traducao_init),
"fa": "bar-chart",
"target": "_self"
},{
"img":"insert-link.png",
- "href": location.href.replace("index.php","") + "../permlinks/index.php",
+ "href": "../permlinks/index.php",
"titulo":$trad(13,g_traducao_init),
"subtitulo": $trad("13a",g_traducao_init),
"fa": "map-o",
"target": "_self"
},{
"img":"openlayersdebug.png",
- "href": location.href.replace("index.php","") + customDir + "/openlayersdebug.htm",
+ "href": location.href.replace("init/index.php","") + customDir + "/openlayersdebug.htm",
"titulo":$trad(5,g_traducao_init),
"subtitulo": $trad("5a",g_traducao_init),
"fa": "cogs",
"target": "_blank"
},{
"img":"certificate-server.png",
- "href": location.href.replace("index.php","") + "../testainstal/index.php",
+ "href": "../testainstal/index.php",
"titulo":$trad(2,g_traducao_init),
"subtitulo": $trad("2a",g_traducao_init),
"fa": "cogs",
"target": "_self"
},{
"img":"applications-development-web.png",
- "href": location.href.replace("index.php","") + "../admin",
+ "href": "../admin",
"titulo":$trad(3,g_traducao_init),
"subtitulo": $trad("3a",g_traducao_init),
"fa": "cogs",
"target": "_self"
},{
"img":"folder-image.png",
- "href": location.href.replace("index.php","") + "../exemplos/index.php",
+ "href": "../exemplos/index.php",
"titulo":$trad(14,g_traducao_init),
"subtitulo": $trad("14a",g_traducao_init),
"fa": "cogs",
"target": "_self"
},{
"img":"applications-development.png",
- "href": location.href.replace("index.php","") + "../utilitarios/index.php",
+ "href": "../utilitarios/index.php",
"titulo":$trad(33,g_traducao_init),
"subtitulo": $trad("33a",g_traducao_init),
"fa": "wrench",
"target": "_self"
},{
"img":"guiamigracao.png",
- "href": location.href.replace("index.php","") + "../guia_de_migracao.txt",
+ "href": "../guia_de_migracao.txt",
"titulo":$trad(17,g_traducao_init),
"subtitulo": $trad("17a",g_traducao_init),
"fa": "cogs",
"target": "_self"
},{
"img":"docapi.png",
- "href": location.href.replace("index.php","") + "../documentacao",
+ "href": "../documentacao",
"titulo":$trad(24,g_traducao_init),
"subtitulo": $trad("24a",g_traducao_init),
"fa": "book",
@@ -178,6 +178,7 @@ function mostraBotoes(){
//i3GEO.barraDeBotoes.ATIVA = false;
var ins = [],i,n = botoesIni.length,texto;
for(i=0;i
'+botoesIni[i].titulo+'';
if(botoesIni[i].subtitulo){
//texto += botoesIni[i].subtitulo;
diff --git a/init/index.php b/init/index.php
index f6b6510..f28d751 100755
--- a/init/index.php
+++ b/init/index.php
@@ -183,7 +183,7 @@ include "head.php";
--
libgit2 0.21.2