From 3a40419f2ed26acab2b8d0ff080f7ef6112a971e Mon Sep 17 00:00:00 2001
From: Edmar Moretti
Date: Fri, 10 May 2013 03:30:46 +0000
Subject: [PATCH] Novos templates para o sistema METAESTAT
---
admin/admin.db | Bin 197632 -> 0 bytes
ferramentas/metaestat/index.js | 8 +++++---
ferramentas/metaestat/templates/lib/configbasicoi3geo.js | 23 ++++++++++++-----------
ferramentas/metaestat/templates/lib/default.css | 22 ++++++++++++++++++++++
ferramentas/metaestat/templates/semguias_lateral.php | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ferramentas/metaestat/templates/simples_fixa.php | 193 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ferramentas/metaestat/templates/simples_lateral.php | 4 ++--
ferramentas/metaestat/templates/simples_movel.php | 229 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
interface/openlayers.htm | 209 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------------------------
9 files changed, 723 insertions(+), 140 deletions(-)
create mode 100644 ferramentas/metaestat/templates/lib/default.css
create mode 100755 ferramentas/metaestat/templates/semguias_lateral.php
create mode 100644 ferramentas/metaestat/templates/simples_fixa.php
create mode 100644 ferramentas/metaestat/templates/simples_movel.php
diff --git a/admin/admin.db b/admin/admin.db
index dcaea21..6620332 100644
Binary files a/admin/admin.db and b/admin/admin.db differ
diff --git a/ferramentas/metaestat/index.js b/ferramentas/metaestat/index.js
index ec64fb3..12dad0c 100644
--- a/ferramentas/metaestat/index.js
+++ b/ferramentas/metaestat/index.js
@@ -2001,8 +2001,10 @@ i3GEOF.metaestat = {
ins = '',
i;
for(i=0;i'+dados[i].titulo+'
';
- ins += '';
+ ins += '';
+ ins += '
'+dados[i].titulo+'
';
+ ins += '
';
+ ins += '
';
}
$i(onde).innerHTML = ins;
for(i=0;i";
for(i=0;i"+dados[i].titulo+"";
+ ins += "";
}
ins += "";
ins += "
";
diff --git a/ferramentas/metaestat/templates/lib/configbasicoi3geo.js b/ferramentas/metaestat/templates/lib/configbasicoi3geo.js
index dcc7651..25aec99 100644
--- a/ferramentas/metaestat/templates/lib/configbasicoi3geo.js
+++ b/ferramentas/metaestat/templates/lib/configbasicoi3geo.js
@@ -14,7 +14,7 @@ i3GEO.eventos.MOUSECLIQUEPERM = [i3GEO.configura.funcaoTip];
i3GEO.Interface.openlayers.GADGETS = {
PanZoomBar:true,
PanZoom:false,
- LayerSwitcher:true,
+ LayerSwitcher:false,
ScaleLine:true,
OverviewMap:false
};
@@ -33,6 +33,7 @@ i3GEO.arvoreDeTemas.TIPOBOTAO = "radio";
i3GEO.arvoreDeTemas.OPCOESADICIONAIS.comentarios = false;
i3GEO.arvoreDeCamadas.VERIFICAABRANGENCIATEMAS = false;
i3GEO.arvoreDeCamadas.MOSTRALISTAKML = false;
+i3GEO.arvoreDeCamadas.finaliza = "i3GEO.arvoreDeCamadas.ARVORE.collapseAll()";
i3GEO.mapa.AUTORESIZE = true;
OpenLayers.ImgPath = "../../../pacotes/openlayers/img/";
//
@@ -58,16 +59,16 @@ OpenLayers.ImgPath = "../../../pacotes/openlayers/img/";
{isBaseLayer:true,visibility:false}
);
var tms = new OpenLayers.Layer.TMS(
- "OSGEO",
- "http://tilecache.osgeo.org/wms-c/Basic.py/",
- {
- layername: "basic",
- type: "png",
- // set if different than the bottom left of map.maxExtent
- tileOrigin: new OpenLayers.LonLat(-180,-90),
- isBaseLayer:true,
- visibility:false
- }
+ "OSGEO",
+ "http://tilecache.osgeo.org/wms-c/Basic.py/",
+ {
+ layername: "basic",
+ type: "png",
+ // set if different than the bottom left of map.maxExtent
+ tileOrigin: new OpenLayers.LonLat(-180,-90),
+ isBaseLayer:true,
+ visibility:false
+ }
);
i3GEO.Interface.openlayers.LAYERSADICIONAIS = [oce,ims,wsm,tms];
})();
diff --git a/ferramentas/metaestat/templates/lib/default.css b/ferramentas/metaestat/templates/lib/default.css
new file mode 100644
index 0000000..db81def
--- /dev/null
+++ b/ferramentas/metaestat/templates/lib/default.css
@@ -0,0 +1,22 @@
+#i3geoCartoParametros_corpo {
+ background: none repeat scroll 0 0 white;
+ border: 1px solid lightgray;
+ border-radius: 10px 10px 10px 10px;
+ padding: 15px;
+ box-shadow: 0 2px 10px 0 #888888;
+}
+
+.divGrupo {
+ margin-top: 5px;
+}
+
+.tituloGrupo {
+ font-size: 12px;
+ line-height: 15px;
+ margin-bottom: 9px;
+ text-align: left;
+}
+
+.divComboMedidas {
+
+}
\ No newline at end of file
diff --git a/ferramentas/metaestat/templates/semguias_lateral.php b/ferramentas/metaestat/templates/semguias_lateral.php
new file mode 100755
index 0000000..f5f164d
--- /dev/null
+++ b/ferramentas/metaestat/templates/semguias_lateral.php
@@ -0,0 +1,175 @@
+string(1) "1"
+["titulo"]=>string(5) "teste"
+["template"]=>string(0) ""
+["logoesquerdo"]=>string(15) "escavadeira.png"
+["logodireito"]=>string(0) ""
+["publicado"]=>string(0) ""
+}
+*/
+/*
+* Utilize .php?id=
+* Onde id é o identificador do mapa cadastrado no METAESTAT
+*/
+
+include("lib/dadosmapa.php");
+$dadosmapa = dadosmapa("../../../");
+?>
+
+
+
+
+
+Cartogramas
+
+
+
+
+
+
+ " height="70">
+ |
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+ i3Geo - Software livre para criação de mapas interativos e geoprocessamentoBaseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro |
+
+
+  |
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ferramentas/metaestat/templates/simples_fixa.php b/ferramentas/metaestat/templates/simples_fixa.php
new file mode 100644
index 0000000..ee642a5
--- /dev/null
+++ b/ferramentas/metaestat/templates/simples_fixa.php
@@ -0,0 +1,193 @@
+string(1) "1"
+["titulo"]=>string(5) "teste"
+["template"]=>string(0) ""
+["logoesquerdo"]=>string(15) "escavadeira.png"
+["logodireito"]=>string(0) ""
+["publicado"]=>string(0) ""
+}
+*/
+/*
+ * Utilize .php?id=
+* Onde id é o identificador do mapa cadastrado no METAESTAT
+*/
+
+include("lib/dadosmapa.php");
+$dadosmapa = dadosmapa("../../../");
+?>
+
+
+
+
+
+Cartogramas
+
+
+
+
+
+ " height="70">
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+ Aguarde...
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+
+ i3Geo
+ - Software livre para criação de mapas interativos e
+ geoprocessamento
+ Baseado
+ no Mapserver, é licenciado sob GPL e integra o Portal do Software
+ Público Brasileiro |
+
+
+  |
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ferramentas/metaestat/templates/simples_lateral.php b/ferramentas/metaestat/templates/simples_lateral.php
index a3422b1..0dd4a9b 100644
--- a/ferramentas/metaestat/templates/simples_lateral.php
+++ b/ferramentas/metaestat/templates/simples_lateral.php
@@ -100,7 +100,6 @@ $dadosmapa = dadosmapa("../../../");
-
@@ -152,8 +151,9 @@ $dadosmapa = dadosmapa("../../../");
+
+
+
+
+
+
+
+