Commit 756cedfce15b36327c00b769521b49b3a2ebf0fa
1 parent
3a6c5938
Exists in
master
and in
7 other branches
Conclusão da nova página de abertura
Showing
8 changed files
with
701 additions
and
600 deletions
Show diff stats
exemplos/index.html
| ... | ... | @@ -273,6 +273,9 @@ body, td { |
| 273 | 273 | <h2>Interface Google Maps</h2> |
| 274 | 274 | <fieldset> |
| 275 | 275 | <p> |
| 276 | + <a href="../interface/googlemaps_noite.phtml" target="_blank">Aplicação de estilo diferente</a> | |
| 277 | + </p> | |
| 278 | + <p> | |
| 276 | 279 | <a href="gm1.php?&temasa=_lbiomashp,_llocali&layers=_lbiomashp&mapext=-76,-39,-29,9" target="_blank">Sem nenhum componente adicional, apenas um botão "legenda" com a árvore de camadas</a> |
| 277 | 280 | </p> |
| 278 | 281 | <p> | ... | ... |
init/body.php
| ... | ... | @@ -1,18 +0,0 @@ |
| 1 | -<?php | |
| 2 | -echo " | |
| 3 | - <!-- Bootstrap core JavaScript | |
| 4 | - ================================================== --> | |
| 5 | - <!-- Placed at the end of the document so the pages load faster --> | |
| 6 | - <script src='" . ONDEI3GEO . "/pacotes/jquery/dist/jquery.min.js'></script> | |
| 7 | - <script src='" . ONDEI3GEO . "/pacotes/bootstrap/js/bootstrap.min.js'></script> | |
| 8 | - <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | |
| 9 | - <script src='" . ONDEI3GEO . "/pacotes/bootstrap/js/ie10-viewport-bug-workaround.js'></script> | |
| 10 | - <script> | |
| 11 | - $(document).ready(function () { | |
| 12 | - $('[data-toggle=\'offcanvas\']').click(function () { | |
| 13 | - $('.row-offcanvas').toggleClass('active') | |
| 14 | - }); | |
| 15 | - }); | |
| 16 | - </script> | |
| 17 | -"; | |
| 18 | -?> | |
| 19 | 0 | \ No newline at end of file |
init/dicionario.js
| ... | ... | @@ -72,66 +72,122 @@ g_traducao_init = |
| 72 | 72 | } |
| 73 | 73 | ], |
| 74 | 74 | "6a" : [ |
| 75 | - { | |
| 76 | - pt : "Baseado na API do GoogleMaps, esse mapa incorpora as funcionalidades desse popular software, incluindo as camadas de fundo com imagens e cartografia básica.", | |
| 77 | - en : "", | |
| 78 | - es : "" | |
| 79 | - } | |
| 80 | - ], | |
| 75 | + { | |
| 76 | + pt : "Baseado na API do GoogleMaps, esse mapa incorpora as funcionalidades desse popular software, incluindo as camadas de fundo com imagens e cartografia básica.", | |
| 77 | + en : "", | |
| 78 | + es : "" | |
| 79 | + } | |
| 80 | + ], | |
| 81 | 81 | 7 : [ |
| 82 | 82 | { |
| 83 | - pt : "Mapa com interface Google Earth (depreciado)", | |
| 84 | - en : "Map with Google Earth interface (deprecated)", | |
| 85 | - es : "Mapa con interfaz Google Earth (depreciado)" | |
| 83 | + pt : "Google Earth (depreciado)", | |
| 84 | + en : "Google Earth interface (deprecated)", | |
| 85 | + es : "Google Earth (depreciado)" | |
| 86 | + } | |
| 87 | + ], | |
| 88 | + "7a" : [ | |
| 89 | + { | |
| 90 | + pt : "Com o plugin do GE, esse mapa permite visualizar camadas sobrepostas ao relevo terrestre visto na forma de um globo com navegação em 3d.", | |
| 91 | + en : "", | |
| 92 | + es : "" | |
| 86 | 93 | } |
| 87 | 94 | ], |
| 88 | 95 | 8 : [ |
| 89 | 96 | { |
| 90 | - pt : "Cartogramas (METAESTAT)", | |
| 91 | - en : "Cartogram (METAESTAT)", | |
| 92 | - es : "Cartogramas (METAESTAT)" | |
| 97 | + pt : "Cartogramas", | |
| 98 | + en : "Cartogram", | |
| 99 | + es : "Cartogramas" | |
| 100 | + } | |
| 101 | + ], | |
| 102 | + "8a" : [ | |
| 103 | + { | |
| 104 | + pt : "Com o módulo METAESTAT, um sistema de cadastramento de variáveis estatísticas, construa cartogramas com funções de agregação geográfica, temporal e diferentes classificações.", | |
| 105 | + en : "", | |
| 106 | + es : "" | |
| 93 | 107 | } |
| 94 | 108 | ], |
| 95 | 109 | 9 : [ |
| 96 | 110 | { |
| 97 | - pt : "Editor de regiões (METAESTAT)", | |
| 98 | - en : "Region editor (METAESTAT)", | |
| 99 | - es : "Editor de regiones (METAESTAT)" | |
| 111 | + pt : "Editor de regiões", | |
| 112 | + en : "Region editor", | |
| 113 | + es : "Editor de regiones" | |
| 114 | + } | |
| 115 | + ], | |
| 116 | + "9a" : [ | |
| 117 | + { | |
| 118 | + pt : "Utilize esse editor vetorial para criar ou modificar as localidades ou regiões geográficas utilizadas nos cartogramas estatísticos.", | |
| 119 | + en : "", | |
| 120 | + es : "" | |
| 100 | 121 | } |
| 101 | 122 | ], |
| 102 | 123 | 10 : [ |
| 103 | 124 | { |
| 104 | - pt : "Download de dados geo", | |
| 105 | - en : "Data geo download", | |
| 106 | - es : "Download de datos geo" | |
| 125 | + pt : "Download de dados", | |
| 126 | + en : "Data download", | |
| 127 | + es : "Download de datos" | |
| 128 | + } | |
| 129 | + ], | |
| 130 | + "10a" : [ | |
| 131 | + { | |
| 132 | + pt : "Veja quais dados são públicos e podem ser obtidos por meio de download em diferentes formatos.", | |
| 133 | + en : "", | |
| 134 | + es : "" | |
| 107 | 135 | } |
| 108 | 136 | ], |
| 109 | 137 | 11 : [ |
| 110 | 138 | { |
| 111 | - pt : "Serviços OGC (WMS e WFS)", | |
| 112 | - en : "OGC (WMS and WFS) services ", | |
| 113 | - es : "Servicios OGC (WMS y WFS)" | |
| 139 | + pt : "Serviços OGC", | |
| 140 | + en : "OGC services ", | |
| 141 | + es : "Servicios OGC" | |
| 142 | + } | |
| 143 | + ], | |
| 144 | + "11a" : [ | |
| 145 | + { | |
| 146 | + pt : "Dados públicos podem ser acessados por meio dos padrões OGC mais comuns, como WMS e WFS. Veja aqui a lista e os links dos serviços", | |
| 147 | + en : "", | |
| 148 | + es : "" | |
| 114 | 149 | } |
| 115 | 150 | ], |
| 116 | 151 | 12 : [ |
| 117 | 152 | { |
| 118 | - pt : "Catálogo de temas no formato KML", | |
| 153 | + pt : "Catálogo KML", | |
| 119 | 154 | en : "Catalog of kml themes", |
| 120 | - es : "Catálogo de temas en formato KML" | |
| 155 | + es : "Catálogo KML" | |
| 156 | + } | |
| 157 | + ], | |
| 158 | + "12a" : [ | |
| 159 | + { | |
| 160 | + pt : "O catálogo de temas pode ser visto também no Google Earth. Basta adicioná-lo como um link de rede.", | |
| 161 | + en : "", | |
| 162 | + es : "" | |
| 121 | 163 | } |
| 122 | 164 | ], |
| 123 | 165 | 13 : [ |
| 124 | 166 | { |
| 125 | - pt : "Gerador de links permanentes", | |
| 126 | - en : "Permanent link creator", | |
| 127 | - es : "Generador de links permanentes" | |
| 167 | + pt : "Links permanentes", | |
| 168 | + en : "Permanent link ", | |
| 169 | + es : "Links permanentes" | |
| 170 | + } | |
| 171 | + ], | |
| 172 | + "13a" : [ | |
| 173 | + { | |
| 174 | + pt : "Com esse utilitário você pode criar links para abrir o i3Geo. Escolha as camadas, a abrangência geográfica, a interface e outros parâmetros.", | |
| 175 | + en : "", | |
| 176 | + es : "" | |
| 128 | 177 | } |
| 129 | 178 | ], |
| 130 | 179 | 14 : [ |
| 131 | 180 | { |
| 132 | - pt : "Exemplos de customização da interface de mapas", | |
| 133 | - en : "Examples of Map inteface customization", | |
| 134 | - es : "Ejemplos de personalización de la interfaz de mapas" | |
| 181 | + pt : "Exemplos de customização", | |
| 182 | + en : "Examples of customization", | |
| 183 | + es : "Ejemplos de personalización" | |
| 184 | + } | |
| 185 | + ], | |
| 186 | + "14a" : [ | |
| 187 | + { | |
| 188 | + pt : "As interfaces dos mapas podem ser modificadas de diferentes maneiras. Os exemplos mostram como fazer as mais comuns.", | |
| 189 | + en : "", | |
| 190 | + es : "" | |
| 135 | 191 | } |
| 136 | 192 | ], |
| 137 | 193 | 15 : [ |
| ... | ... | @@ -143,9 +199,16 @@ g_traducao_init = |
| 143 | 199 | ], |
| 144 | 200 | 16 : [ |
| 145 | 201 | { |
| 146 | - pt : "Registro de bugs", | |
| 147 | - en : "Bug record", | |
| 148 | - es : "Registro de bugs" | |
| 202 | + pt : "Bugs", | |
| 203 | + en : "Bug", | |
| 204 | + es : "Bugs" | |
| 205 | + } | |
| 206 | + ], | |
| 207 | + "16a" : [ | |
| 208 | + { | |
| 209 | + pt : "Nessa plataforma de registro de bugs você pode informar problemas e interagir com os desenvolvedores.", | |
| 210 | + en : "", | |
| 211 | + es : "" | |
| 149 | 212 | } |
| 150 | 213 | ], |
| 151 | 214 | 17 : [ |
| ... | ... | @@ -155,6 +218,13 @@ g_traducao_init = |
| 155 | 218 | es : "Guía de migración" |
| 156 | 219 | } |
| 157 | 220 | ], |
| 221 | + "17a" : [ | |
| 222 | + { | |
| 223 | + pt : "Ao fazer a atualização entre versões do i3Geo, verifique as mudanças que podem afetar o funcionamento dos mapas antigos.", | |
| 224 | + en : "", | |
| 225 | + es : "" | |
| 226 | + } | |
| 227 | + ], | |
| 158 | 228 | 18 : [ |
| 159 | 229 | { |
| 160 | 230 | pt : "Integre mapas com", |
| ... | ... | @@ -162,6 +232,13 @@ g_traducao_init = |
| 162 | 232 | es : "Integrar mapas con" |
| 163 | 233 | } |
| 164 | 234 | ], |
| 235 | + "18a" : [ | |
| 236 | + { | |
| 237 | + pt : "Crie mapas interativos com funções básicas, defina os botões e outras características com uma URL parametrizada.", | |
| 238 | + en : "", | |
| 239 | + es : "" | |
| 240 | + } | |
| 241 | + ], | |
| 165 | 242 | 19 : [ |
| 166 | 243 | { |
| 167 | 244 | pt : "ATENÇÃO!!! Essa instalação está vulnerável: edite o arquivo i3geo/ms_configura.php e altere o login e senha definidos na variável $i3geomaster.<br>Ao acessar o i3Geo em um servidor que não seja o localhost os mapas ficarão bloqueados até que essa edição seja feita.", |
| ... | ... | @@ -183,13 +260,6 @@ g_traducao_init = |
| 183 | 260 | es : "Manual de administración" |
| 184 | 261 | } |
| 185 | 262 | ], |
| 186 | - 22 : [ | |
| 187 | - { | |
| 188 | - pt : "Google Maps com aplicação de estilo", | |
| 189 | - en : "Google Maps with style application", | |
| 190 | - es : "Google Maps con aplicación de estilo" | |
| 191 | - } | |
| 192 | - ], | |
| 193 | 263 | 23 : [ |
| 194 | 264 | { |
| 195 | 265 | pt : "i3Geo + <a href='http://wiki.openstreetmap.org' >OSM <i class='fa fa-external-link' aria-hidden='true'></i></a>", |
| ... | ... | @@ -211,11 +281,25 @@ g_traducao_init = |
| 211 | 281 | es : "Documentación de la API" |
| 212 | 282 | } |
| 213 | 283 | ], |
| 284 | + "24a" : [ | |
| 285 | + { | |
| 286 | + pt : "Descrição das funções javascript que podem ser modificadas ou utilizadas para criar interfaces para os seus mapas.", | |
| 287 | + en : "", | |
| 288 | + es : "" | |
| 289 | + } | |
| 290 | + ], | |
| 214 | 291 | 25 : [ |
| 215 | 292 | { |
| 216 | - pt : "SAIKU - análise tabular", | |
| 217 | - en : "SAIKU - tabular analysis", | |
| 218 | - es : "SAIKU - análisis tabular" | |
| 293 | + pt : "i3Geo + <a href='http://community.meteorite.bi/' >SAIKU <i class='fa fa-external-link' aria-hidden='true'></i></a>", | |
| 294 | + en : "", | |
| 295 | + es : "" | |
| 296 | + } | |
| 297 | + ], | |
| 298 | + "25a" : [ | |
| 299 | + { | |
| 300 | + pt : "Ferramenta OLAP que permite cruzar dados tabulares definidos por meio do módulo METAESTAT.", | |
| 301 | + en : "", | |
| 302 | + es : "" | |
| 219 | 303 | } |
| 220 | 304 | ], |
| 221 | 305 | 26 : [ |
| ... | ... | @@ -234,9 +318,16 @@ g_traducao_init = |
| 234 | 318 | ], |
| 235 | 319 | 28 : [ |
| 236 | 320 | { |
| 237 | - pt : "Curso de i3Geo em Gvsig-training", | |
| 238 | - en : "i3Geo course at Gvsig-training", | |
| 239 | - es : "Curso de i3Geo en Gvsig-training" | |
| 321 | + pt : "Curso em Gvsig-training", | |
| 322 | + en : "Course at Gvsig-training", | |
| 323 | + es : "Curso en Gvsig-training" | |
| 324 | + } | |
| 325 | + ], | |
| 326 | + "28a" : [ | |
| 327 | + { | |
| 328 | + pt : "Curso gratuito sobre o sistema de administração hospedado na plataforma de treinamento da Associação gvSIG.", | |
| 329 | + en : "", | |
| 330 | + es : "" | |
| 240 | 331 | } |
| 241 | 332 | ], |
| 242 | 333 | 29 : [ |
| ... | ... | @@ -253,6 +344,13 @@ g_traducao_init = |
| 253 | 344 | es : "Wiki, instalación, GitLab" |
| 254 | 345 | } |
| 255 | 346 | ], |
| 347 | + "30a" : [ | |
| 348 | + { | |
| 349 | + pt : "Repositório de código Git. Informações sobre como instalar o i3Geo, como manter o código atualizado.", | |
| 350 | + en : "", | |
| 351 | + es : "" | |
| 352 | + } | |
| 353 | + ], | |
| 256 | 354 | 31 : [ |
| 257 | 355 | { |
| 258 | 356 | pt : "Comunidade, download", |
| ... | ... | @@ -260,6 +358,13 @@ g_traducao_init = |
| 260 | 358 | es : "Comunidad, download" |
| 261 | 359 | } |
| 262 | 360 | ], |
| 361 | + "31a" : [ | |
| 362 | + { | |
| 363 | + pt : "Página da comunidade de usuários no Portal do Software pÚblico Brasileiro.", | |
| 364 | + en : "", | |
| 365 | + es : "" | |
| 366 | + } | |
| 367 | + ], | |
| 263 | 368 | 32 : [ |
| 264 | 369 | { |
| 265 | 370 | pt : "Lista", |
| ... | ... | @@ -267,6 +372,13 @@ g_traducao_init = |
| 267 | 372 | es : "Lista" |
| 268 | 373 | } |
| 269 | 374 | ], |
| 375 | + "32a" : [ | |
| 376 | + { | |
| 377 | + pt : "Lista de e-mails da comunidade i3Geo mantida pela <a href='http://www.osgeo.org/' target='_blank' >OSGEO <i class='fa fa-external-link fa-1g' aria-hidden='true'></i></a>. Tire dúvidas com outros usuários e divulgue assuntos de interesse.", | |
| 378 | + en : "", | |
| 379 | + es : "" | |
| 380 | + } | |
| 381 | + ], | |
| 270 | 382 | 33 : [ |
| 271 | 383 | { |
| 272 | 384 | pt : "Utilitários", |
| ... | ... | @@ -274,6 +386,13 @@ g_traducao_init = |
| 274 | 386 | es : "Utilitarios" |
| 275 | 387 | } |
| 276 | 388 | ], |
| 389 | + "33a" : [ | |
| 390 | + { | |
| 391 | + pt : "Links para aplicativos que podem auxiliar em algumas tarefas de construção de mapas.", | |
| 392 | + en : "", | |
| 393 | + es : "" | |
| 394 | + } | |
| 395 | + ], | |
| 277 | 396 | 34 : [ |
| 278 | 397 | { |
| 279 | 398 | pt : "Lista de mapas", |
| ... | ... | @@ -281,6 +400,13 @@ g_traducao_init = |
| 281 | 400 | es : "Lista de mapas" |
| 282 | 401 | } |
| 283 | 402 | ], |
| 403 | + "34a" : [ | |
| 404 | + { | |
| 405 | + pt : "Aqui são mostrados os mapas que foram salvos e que podem ser abertos como links individuais. Usuários casdatrados podem salvar mapas.", | |
| 406 | + en : "", | |
| 407 | + es : "" | |
| 408 | + } | |
| 409 | + ], | |
| 284 | 410 | 35 : [ |
| 285 | 411 | { |
| 286 | 412 | pt : "Bem vindo à página principal do i3Geo. Aqui você encontrará os links de acesso aos mapas, documentação, sistema de administração e outros aplicativos. Colabore com o aprimoramento do i3Geo participando da comunidade de usuários!", | ... | ... |
init/head.php
| 1 | 1 | <?php |
| 2 | -//utilizado para o cabecalho das paginas que nao sao mapas | |
| 2 | +//utilizado para o cabecalho das paginas que nao sao mapas e que usam bootstrap com material design | |
| 3 | 3 | echo " |
| 4 | 4 | <meta charset='utf-8'> |
| 5 | 5 | <meta http-equiv='X-UA-Compatible' content='IE=edge'> |
| ... | ... | @@ -34,5 +34,9 @@ echo " |
| 34 | 34 | <script src='https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js'></script> |
| 35 | 35 | <script src='https://oss.maxcdn.com/respond/1.4.2/respond.min.js'></script> |
| 36 | 36 | <![endif]--> |
| 37 | + <script src='" . ONDEI3GEO . "/pacotes/jquery/dist/jquery.min.js'></script> | |
| 38 | + <script src='" . ONDEI3GEO . "/pacotes/bootstrap/js/bootstrap.min.js'></script> | |
| 39 | + <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | |
| 40 | + <script src='" . ONDEI3GEO . "/pacotes/bootstrap/js/ie10-viewport-bug-workaround.js'></script> | |
| 37 | 41 | "; |
| 38 | 42 | ?> |
| 39 | 43 | \ No newline at end of file | ... | ... |
init/index.js
| 1 | 1 | botoesIni = [ |
| 2 | 2 | { |
| 3 | 3 | "img":"openlayers.png", |
| 4 | - "href":"../<?php echo $customDir; ?>/black_ol.htm", | |
| 4 | + "href": customDir + "/black_ol.htm", | |
| 5 | 5 | "titulo":$trad(4,g_traducao_init), |
| 6 | 6 | "subtitulo": $trad("4a",g_traducao_init), |
| 7 | 7 | "fa": "map-o", |
| 8 | - "_target": "_blank" | |
| 8 | + "target": "_blank" | |
| 9 | 9 | },{ |
| 10 | 10 | "img":"osm.png", |
| 11 | - "href":"../<?php echo $customDir; ?>/black_osm.htm", | |
| 11 | + "href": customDir + "/black_osm.htm", | |
| 12 | 12 | "titulo":$trad(23,g_traducao_init), |
| 13 | 13 | "subtitulo": $trad("23a",g_traducao_init), |
| 14 | 14 | "fa": "map-o", |
| 15 | - "_target": "_blank" | |
| 15 | + "target": "_blank" | |
| 16 | 16 | },{ |
| 17 | 17 | "img":"googlemaps.png", |
| 18 | - "href":"../<?php echo $customDir; ?>/black_gm.phtml", | |
| 18 | + "href": customDir + "/black_gm.phtml", | |
| 19 | 19 | "titulo":$trad(6,g_traducao_init), |
| 20 | 20 | "subtitulo": $trad("6a",g_traducao_init), |
| 21 | 21 | "fa": "map-o", |
| 22 | - "_target": "_blank" | |
| 22 | + "target": "_blank" | |
| 23 | 23 | },{ |
| 24 | 24 | "img":"mashup.png", |
| 25 | 25 | "href":"../mashups", |
| 26 | 26 | "titulo":$trad(18,g_traducao_init) + "<br><a href='../mashups/osm.php?temas=&largura=800&altura=500' target=_blank >OSM</a>" + " - <a href='../mashups/openlayers.php?temas=&largura=800&altura=500' target=_blank >OpenLayers</a>", |
| 27 | - "subtitulo": "", | |
| 27 | + "subtitulo": $trad("18a",g_traducao_init), | |
| 28 | 28 | "fa": "map-o", |
| 29 | - "_target": "_self" | |
| 30 | -},{ | |
| 31 | - "img":"googlemaps_noite.png", | |
| 32 | - "href":"../<?php echo $customDir; ?>/googlemaps_noite.phtml", | |
| 33 | - "titulo":$trad(22,g_traducao_init), | |
| 34 | - "subtitulo": "", | |
| 35 | - "fa": "map-o", | |
| 36 | - "_target": "_blank" | |
| 29 | + "target": "_self" | |
| 37 | 30 | },{ |
| 38 | 31 | "img":"googleearth.png", |
| 39 | - "href":"../<?php echo $customDir; ?>/googleearth.phtml", | |
| 32 | + "href": customDir + "/googleearth.phtml", | |
| 40 | 33 | "titulo":$trad(7,g_traducao_init), |
| 41 | - "subtitulo": "", | |
| 34 | + "subtitulo": $trad("7a",g_traducao_init), | |
| 42 | 35 | "fa": "map-o", |
| 43 | - "_target": "_blank" | |
| 36 | + "target": "_blank" | |
| 44 | 37 | },{ |
| 45 | 38 | "img":"cartogramas.png", |
| 46 | - "href":"../<?php echo $customDir; ?>/black_carto_ol.htm", | |
| 39 | + "href": customDir + "/black_carto_ol.htm", | |
| 47 | 40 | "titulo":$trad(8,g_traducao_init), |
| 48 | - "subtitulo": "", | |
| 41 | + "subtitulo": $trad("8a",g_traducao_init), | |
| 49 | 42 | "fa": "map-o", |
| 50 | - "_target": "_blank" | |
| 43 | + "target": "_blank" | |
| 51 | 44 | },{ |
| 52 | 45 | "img":"editor.png", |
| 53 | 46 | "href":"../ferramentas/metaestat/editorlimites.php", |
| 54 | 47 | "titulo":$trad(9,g_traducao_init), |
| 55 | - "subtitulo": "", | |
| 48 | + "subtitulo": $trad("9a",g_traducao_init), | |
| 56 | 49 | "fa": "map-o", |
| 57 | - "_target": "_blank" | |
| 50 | + "target": "_blank" | |
| 58 | 51 | },{ |
| 59 | 52 | "img":"window-duplicate.png", |
| 60 | 53 | "href":"../ferramentas/salvamapa/lista.htm", |
| 61 | 54 | "titulo":$trad(34,g_traducao_init), |
| 62 | - "subtitulo": "", | |
| 63 | - "fa": "list", | |
| 64 | - "_target": "_self" | |
| 55 | + "subtitulo": $trad("34a",g_traducao_init), | |
| 56 | + "fa": "map-o", | |
| 57 | + "target": "_self" | |
| 65 | 58 | },{ |
| 66 | 59 | "img":"svn-update.png", |
| 67 | 60 | "href":"../datadownload.htm", |
| 68 | 61 | "titulo":$trad(10,g_traducao_init), |
| 69 | - "subtitulo": "", | |
| 62 | + "subtitulo": $trad("10a",g_traducao_init), | |
| 70 | 63 | "fa": "download", |
| 71 | - "_target": "_self" | |
| 64 | + "target": "_self" | |
| 72 | 65 | },{ |
| 73 | 66 | "img":"ogc_logo.jpg", |
| 74 | 67 | "href":"../ogc.htm", |
| 75 | 68 | "titulo":$trad(11,g_traducao_init), |
| 76 | - "subtitulo": "", | |
| 69 | + "subtitulo": $trad("11a",g_traducao_init), | |
| 77 | 70 | "fa": "download", |
| 78 | - "_target": "_self" | |
| 71 | + "target": "_self" | |
| 79 | 72 | },{ |
| 80 | 73 | "img":"application-vnd-google-earth-kml.png", |
| 81 | 74 | "href":"../kml.php", |
| 82 | 75 | "titulo":$trad(12,g_traducao_init), |
| 83 | - "subtitulo": "", | |
| 76 | + "subtitulo": $trad("12a",g_traducao_init), | |
| 84 | 77 | "fa": "download", |
| 85 | - "_target": "_self" | |
| 78 | + "target": "_self" | |
| 86 | 79 | },{ |
| 87 | 80 | "img":"../imagens/saiku_free_small.png", |
| 88 | 81 | "href":"../ferramentas/saiku/esquemaxml.php?locaplic="+window.location.href.replace("/init/index.php",""), |
| 89 | 82 | "titulo":$trad(25,g_traducao_init), |
| 90 | - "subtitulo": " <a style='cursor:pointer;' target=_blank src='https://medium.com/innovative-business-intelligence/so-people-who-land-on-our-community-download-page-will-notice-a-subtle-difference-when-they-click-1b61aca316c5' >"+$trad(29,g_traducao_init)+"</a>", | |
| 83 | + "subtitulo": $trad("25a",g_traducao_init), | |
| 91 | 84 | "fa": "bar-chart", |
| 92 | - "_target": "_self" | |
| 85 | + "target": "_self" | |
| 93 | 86 | },{ |
| 94 | 87 | "img":"insert-link.png", |
| 95 | 88 | "href":"../geradordelinks.htm", |
| 96 | 89 | "titulo":$trad(13,g_traducao_init), |
| 97 | - "subtitulo": "", | |
| 98 | - "fa": "link", | |
| 99 | - "_target": "_self" | |
| 90 | + "subtitulo": $trad("13a",g_traducao_init), | |
| 91 | + "fa": "map-o", | |
| 92 | + "target": "_self" | |
| 100 | 93 | },{ |
| 101 | 94 | "img":"openlayersdebug.png", |
| 102 | - "href":"../<?php echo $customDir; ?>/openlayersdebug.htm", | |
| 95 | + "href": customDir + "/openlayersdebug.htm", | |
| 103 | 96 | "titulo":$trad(5,g_traducao_init), |
| 104 | 97 | "subtitulo": $trad("5a",g_traducao_init), |
| 105 | - "fa": "map-o", | |
| 106 | - "_target": "_blank" | |
| 98 | + "fa": "cogs", | |
| 99 | + "target": "_blank" | |
| 107 | 100 | },{ |
| 108 | 101 | "img":"certificate-server.png", |
| 109 | 102 | "href":"../testainstal.php", |
| 110 | 103 | "titulo":$trad(2,g_traducao_init), |
| 111 | 104 | "subtitulo": $trad("2a",g_traducao_init), |
| 112 | - "fa": "check", | |
| 113 | - "_target": "_self" | |
| 105 | + "fa": "cogs", | |
| 106 | + "target": "_self" | |
| 114 | 107 | },{ |
| 115 | 108 | "img":"applications-development-web.png", |
| 116 | 109 | "href":"../admin", |
| 117 | 110 | "titulo":$trad(3,g_traducao_init), |
| 118 | 111 | "subtitulo": $trad("3a",g_traducao_init), |
| 119 | 112 | "fa": "cogs", |
| 120 | - "_target": "_self" | |
| 113 | + "target": "_self" | |
| 121 | 114 | },{ |
| 122 | 115 | "img":"folder-image.png", |
| 123 | 116 | "href":"../exemplos", |
| 124 | 117 | "titulo":$trad(14,g_traducao_init), |
| 125 | - "subtitulo": "", | |
| 126 | - "fa": "graduation-cap", | |
| 127 | - "_target": "_self" | |
| 118 | + "subtitulo": $trad("14a",g_traducao_init), | |
| 119 | + "fa": "cogs", | |
| 120 | + "target": "_self" | |
| 128 | 121 | },{ |
| 129 | 122 | "img":"applications-development.png", |
| 130 | 123 | "href":"../pacotes/utils/index.php", |
| 131 | 124 | "titulo":$trad(33,g_traducao_init), |
| 132 | - "subtitulo": "", | |
| 125 | + "subtitulo": $trad("33a",g_traducao_init), | |
| 133 | 126 | "fa": "wrench", |
| 134 | - "_target": "_self" | |
| 127 | + "target": "_self" | |
| 135 | 128 | },{ |
| 136 | 129 | "img":"guiamigracao.png", |
| 137 | 130 | "href":"../guia_de_migracao.txt", |
| 138 | 131 | "titulo":$trad(17,g_traducao_init), |
| 139 | - "subtitulo": "", | |
| 140 | - "fa": "book", | |
| 141 | - "_target": "_self" | |
| 132 | + "subtitulo": $trad("17a",g_traducao_init), | |
| 133 | + "fa": "cogs", | |
| 134 | + "target": "_self" | |
| 142 | 135 | },{ |
| 143 | 136 | "img":"docapi.png", |
| 144 | 137 | "href":"../documentacao", |
| 145 | 138 | "titulo":$trad(24,g_traducao_init), |
| 146 | - "subtitulo": "", | |
| 139 | + "subtitulo": $trad("24a",g_traducao_init), | |
| 147 | 140 | "fa": "book", |
| 148 | - "_target": "_self" | |
| 141 | + "target": "_self" | |
| 149 | 142 | },{ |
| 150 | 143 | "img":"gvsigtraining.png", |
| 151 | 144 | "href":"http://moodle.gvsig-training.com/course/view.php?id=11", |
| 152 | 145 | "titulo":$trad(28,g_traducao_init), |
| 153 | - "subtitulo": "", | |
| 146 | + "subtitulo": $trad("28a",g_traducao_init), | |
| 154 | 147 | "fa": "book", |
| 155 | - "_target": "_self" | |
| 148 | + "target": "_self" | |
| 156 | 149 | },{ |
| 157 | 150 | "img":"tools-report-bug.png", |
| 158 | 151 | "href":"https://softwarepublico.gov.br/gitlab/i3geo/i3geo/issues", |
| 159 | 152 | "titulo":$trad(16,g_traducao_init), |
| 160 | - "subtitulo": "", | |
| 161 | - "fa": "bug", | |
| 162 | - "_target": "_self" | |
| 153 | + "subtitulo": $trad("16a",g_traducao_init), | |
| 154 | + "fa": "group", | |
| 155 | + "target": "_self" | |
| 163 | 156 | },{ |
| 164 | 157 | "img":"../imagens/apple-touch-icon.png", |
| 165 | 158 | "href":"https://softwarepublico.gov.br/gitlab/groups/i3geo", |
| 166 | 159 | "titulo":$trad(30,g_traducao_init), |
| 167 | - "subtitulo": "", | |
| 160 | + "subtitulo": $trad("30a",g_traducao_init), | |
| 168 | 161 | "fa": "group", |
| 169 | - "_target": "_self" | |
| 162 | + "target": "_self" | |
| 170 | 163 | },{ |
| 171 | 164 | "img":"logo_psp.png", |
| 172 | 165 | "href":"https://portal.softwarepublico.gov.br/social/i3geo/", |
| 173 | 166 | "titulo":$trad(31,g_traducao_init), |
| 174 | - "subtitulo": "", | |
| 167 | + "subtitulo": $trad("31a",g_traducao_init), | |
| 175 | 168 | "fa": "group", |
| 176 | - "_target": "_self" | |
| 169 | + "target": "_self" | |
| 177 | 170 | },{ |
| 178 | 171 | "img":"mailman.jpg", |
| 179 | 172 | "href":"http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo", |
| 180 | 173 | "titulo":$trad(32,g_traducao_init), |
| 181 | - "subtitulo": "", | |
| 182 | - "fa": "envelope", | |
| 183 | - "_target": "_self" | |
| 174 | + "subtitulo": $trad("32a",g_traducao_init), | |
| 175 | + "fa": "group", | |
| 176 | + "target": "_self" | |
| 184 | 177 | } |
| 185 | 178 | ]; |
| 186 | 179 | function mostraBotoes(){ |
| ... | ... | @@ -212,7 +205,6 @@ function mostraBotoesBT(men){ |
| 212 | 205 | $("#menuTpl").html(html); |
| 213 | 206 | // |
| 214 | 207 | $i("mensagemLogin").innerHTML = men; |
| 215 | - //$i("jumbotron").innerHTML = "<img src='../imagens/i3Geo_bigTransp.png' style='float:left;width:80px;margin:5px;' /><p>"+$trad(35,g_traducao_init)+"</p>"; | |
| 216 | 208 | html = Mustache.to_html( |
| 217 | 209 | $("#jumbotron").html(), |
| 218 | 210 | { | ... | ... |
init/index.php
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Pagina inicial do i3Geo | |
| 4 | - * Voce pode utilizar o parametro customDir para indicar a pasta onde | |
| 5 | - * as interfaces de mapa estao. Nesse caso, os links utilizarao esse parametro | |
| 6 | - * Exemplo: localhost/i3geo/init/index.php?customDir=minhaPasta | |
| 7 | - * | |
| 8 | - * minhaPasta deve estar dentor da pasta i3geo. | |
| 9 | - * | |
| 10 | - * Se dentro da pasta $customDir existir um arquivo chamado index.php sera feito o include | |
| 11 | - * na pagina. | |
| 12 | - */ | |
| 13 | -/** | |
| 14 | - * Cria as pastas temporarias que o i3Geo precisa, caso nao existam | |
| 15 | - */ | |
| 16 | -include(dirname(__FILE__)."/../ms_configura.php"); | |
| 17 | -if(!empty($_GET["customDir"])){ | |
| 18 | - $customDir = strip_tags($_GET["customDir"]); | |
| 19 | -} | |
| 20 | -else if(empty($customDir)){ | |
| 21 | - $customDir = "interface"; | |
| 22 | -} | |
| 23 | -if(!file_exists($dir_tmp)){ | |
| 24 | - @mkdir ($dir_tmp,0777); | |
| 25 | -} | |
| 26 | -if(file_exists($dir_tmp)){ | |
| 27 | - @mkdir($dir_tmp."/comum",0777); | |
| 28 | - @mkdir($dir_tmp."/saiku-datasources",0777); | |
| 29 | - chmod($dir_tmp."/saiku-datasources",0777); | |
| 30 | - @mkdir($dir_tmp."/cache",0777); | |
| 31 | - chmod($dir_tmp."/cache",0777); | |
| 32 | - @mkdir($dir_tmp."/cache/googlemaps",0777); | |
| 33 | - chmod($dir_tmp."/cache/googlemaps",0777); | |
| 34 | -} | |
| 35 | -if(file_exists($locaplic."/".$customDir."/index.php")){ | |
| 36 | - include($locaplic."/".$customDir."/index.php"); | |
| 37 | -} | |
| 38 | -error_reporting(0); | |
| 39 | -?> | |
| 40 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| 41 | -<html> | |
| 42 | -<head> | |
| 43 | -<title>i3Geo</title> | |
| 44 | -<meta name="url" content="http://www.softwarepublico.gov.br" /> | |
| 45 | -<meta name="description" content="i3Geo" /> | |
| 46 | -<meta name="keywords" content="i3geo mapa geoprocessamento" /> | |
| 47 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | |
| 48 | -<meta name="viewport" content="width=device-width, initial-scale=1"> | |
| 49 | -<?php | |
| 50 | -$cache_expire = 1; | |
| 51 | -header("Pragma: public"); | |
| 52 | -header("Cache-Control: max-age=".$cache_expire); | |
| 53 | -header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$cache_expire) . ' GMT'); | |
| 54 | -?> | |
| 55 | -<script> | |
| 56 | -i3GEOF = []; | |
| 57 | -men = ""; | |
| 58 | -<?php | |
| 59 | -include("dicionario.js"); | |
| 60 | -include("../classesjs/compactados/dicionario_compacto.js"); | |
| 61 | -include("../classesjs/compactados/classe_util_compacto.js"); | |
| 62 | -include("../classesjs/compactados/classe_idioma_compacto.js"); | |
| 63 | -include("../versao.php"); | |
| 64 | -include("index.js"); | |
| 65 | -if($i3geomaster[0]["usuario"] == "admin" && $i3geomaster[0]["senha"] == "admin" ){ | |
| 66 | - echo "men = $"."trad(19,g_traducao_init);"; | |
| 67 | -} | |
| 68 | -?> | |
| 69 | -</script> | |
| 70 | - | |
| 71 | -<style> | |
| 72 | -body { | |
| 73 | - padding-top: 0px; | |
| 74 | - COLOR: #2F4632; | |
| 75 | - text-align: center; | |
| 76 | - font-size: 0.6cm; | |
| 77 | - font-family: Verdana, Arial, Helvetica, sans-serif; | |
| 78 | - background-color: rgb(250, 250, 250); | |
| 79 | - margin: auto; | |
| 80 | -} | |
| 81 | - | |
| 82 | -.r { | |
| 83 | - border: 1px solid #F0F0F0; | |
| 84 | - border-radius: 5px 5px 5px 5px; | |
| 85 | - box-shadow: 1px 1px 1px 1px lightgray; | |
| 86 | - float: left; | |
| 87 | - height: 150px; | |
| 88 | - margin: 0px 25px 20px auto; | |
| 89 | - padding: 5px; | |
| 90 | - width: 200px; | |
| 91 | - background: white; | |
| 92 | - vertical-align: middle; | |
| 93 | - font-size: 0.4cm; | |
| 94 | - position: relative; | |
| 95 | - display: block; | |
| 96 | - text-align: center; | |
| 97 | - z-index: 2; | |
| 98 | -} | |
| 99 | - | |
| 100 | -.ri { | |
| 101 | - left: 50%; | |
| 102 | - position: absolute; | |
| 103 | - top: 50%; | |
| 104 | - transform: translate(-50%, -50%); | |
| 105 | - width: 100%; | |
| 106 | -} | |
| 107 | - | |
| 108 | -table { | |
| 109 | - width: 100%; | |
| 110 | -} | |
| 111 | - | |
| 112 | -td { | |
| 113 | - font-size: 0.4cm; | |
| 114 | - text-align: center; | |
| 115 | - height: 150px; | |
| 116 | -} | |
| 117 | - | |
| 118 | -h1 { | |
| 119 | - font-size: 0.6cm; | |
| 120 | - text-align: left; | |
| 121 | - margin: 25px; | |
| 122 | -} | |
| 123 | - | |
| 124 | -#brasil { | |
| 125 | - background-image: url("../imagens/sprite.png"); | |
| 126 | - background-position: 0 -600px; | |
| 127 | - background-repeat: no-repeat; | |
| 128 | - cursor: pointer; | |
| 129 | - height: 10px; | |
| 130 | - width: 20px; | |
| 131 | -} | |
| 132 | - | |
| 133 | -#uk { | |
| 134 | - background-image: url("../imagens/sprite.png"); | |
| 135 | - background-position: 0 -625px; | |
| 136 | - background-repeat: no-repeat; | |
| 137 | - cursor: pointer; | |
| 138 | - height: 10px; | |
| 139 | - width: 20px; | |
| 140 | -} | |
| 141 | - | |
| 142 | -#espanhol { | |
| 143 | - background-image: url("../imagens/sprite.png"); | |
| 144 | - background-position: 0 -1400px; | |
| 145 | - background-repeat: no-repeat; | |
| 146 | - cursor: pointer; | |
| 147 | - height: 10px; | |
| 148 | - width: 20px; | |
| 149 | -} | |
| 150 | - | |
| 151 | -#bandeiras img { | |
| 152 | - margin-left: 7px; | |
| 153 | -} | |
| 154 | - | |
| 155 | -#bandeiras { | |
| 156 | - width: 100px; | |
| 157 | - text-align: left; | |
| 158 | - position: absolute; | |
| 159 | - left: 0.2cm; | |
| 160 | - z-index: 10; | |
| 161 | -} | |
| 162 | - | |
| 163 | -a { | |
| 164 | - margin: 0px auto; | |
| 165 | - text-decoration: none; | |
| 166 | - font-size: 14px; | |
| 167 | - color: #26298D; | |
| 168 | - outline: doted; | |
| 169 | -} | |
| 170 | - | |
| 171 | -A:hover { | |
| 172 | - color: #4142ff; | |
| 173 | -} | |
| 174 | - | |
| 175 | -.borda { | |
| 176 | - background-color: #4682b4; | |
| 177 | - padding: 5px 0px 5px 0px; | |
| 178 | - text-align: left; | |
| 179 | - width: 100%; | |
| 180 | -} | |
| 181 | -</style> | |
| 182 | -</head> | |
| 183 | -<body class=" yui-skin-sam " style="background-color: rgb(250, 250, 250);"> | |
| 184 | - <div class="borda"> | |
| 185 | - <div id="bandeiras"></div> | |
| 186 | - <div style="text-align: center"> | |
| 187 | - <a href="http://www.softwarepublico.gov.br" target="_blank" style="color: white;"> | |
| 188 | - <b><?php echo $mensagemInicia;?> </b> | |
| 189 | - </a> | |
| 190 | - </div> | |
| 191 | - </div> | |
| 192 | - | |
| 193 | - <div id="conteudo" style="position: relative; top: -10px; margin: auto; max-width: 1000px; left: 10px;"> | |
| 194 | - <div style="margin-top: 5px;"> | |
| 195 | - <div id="mensagemLogin" style="font-size: 14px; color: red; margin-top: 20px; text-align: left;"></div> | |
| 196 | - <br> | |
| 197 | - <div id="botoes" style="width: 100%;"></div> | |
| 198 | - <script>mostraBotoes();</script> | |
| 199 | - <div class="r"> | |
| 200 | - <div class="ri"> | |
| 201 | - <script type='text/javascript' src='https://www.openhub.net/p/i3geo/widgets/project_users?format=js&style=blue'></script> | |
| 202 | - </div> | |
| 203 | - </div> | |
| 204 | - </div> | |
| 205 | - <div style="float: left;"> | |
| 206 | - <div class="r" style="width: 230px; height: 380px;"> | |
| 207 | - <div class="ri"> | |
| 208 | - <a class="twitter-timeline" href="https://twitter.com/i3geo" data-widget-id="288061915689787392" width="220" height="350">Tweets @i3Geo</a> | |
| 209 | - <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
| 210 | - </div> | |
| 211 | - </div> | |
| 212 | - <div class="r" style="width: 230px; height: 380px;"> | |
| 213 | - <div class="ri"> | |
| 214 | - <a class="twitter-timeline" href="https://twitter.com/hashtag/i3geo" data-widget-id="643417277208133633">i3geo Tweets</a> | |
| 215 | - <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
| 216 | - </div> | |
| 217 | - </div> | |
| 218 | - <div class="r" style="width: 345px; height: 220px;"> | |
| 219 | - <div class="ri"> | |
| 220 | - <script type="text/javascript" src="http://www.openhub.net/p/150688/widgets/project_basic_stats.js"></script> | |
| 221 | - </div> | |
| 222 | - </div> | |
| 223 | - </div> | |
| 224 | - </div> | |
| 225 | -</body> | |
| 226 | -</html> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Pagina inicial do i3Geo | |
| 4 | + * Voce pode utilizar o parametro customDir para indicar a pasta onde | |
| 5 | + * as interfaces de mapa estao. Nesse caso, os links utilizarao esse parametro | |
| 6 | + * Exemplo: localhost/i3geo/init/index.php?customDir=minhaPasta | |
| 7 | + * | |
| 8 | + * minhaPasta deve estar dentor da pasta i3geo. | |
| 9 | + * | |
| 10 | + * Se dentro da pasta $customDir existir um arquivo chamado index.php sera feito o include | |
| 11 | + * na pagina. | |
| 12 | + */ | |
| 13 | +/** | |
| 14 | + * Cria as pastas temporarias que o i3Geo precisa, caso nao existam | |
| 15 | + */ | |
| 16 | +define (ONDEI3GEO,".."); | |
| 17 | +include (dirname ( __FILE__ ) . "/../ms_configura.php"); | |
| 18 | +if (! empty ( $_GET ["customDir"] )) { | |
| 19 | + $customDir = strip_tags ( $_GET ["customDir"] ); | |
| 20 | +} else if (empty ( $customDir )) { | |
| 21 | + $customDir = "interface"; | |
| 22 | +} | |
| 23 | +if (! file_exists ( $dir_tmp )) { | |
| 24 | + @mkdir ( $dir_tmp, 0777 ); | |
| 25 | +} | |
| 26 | +if (file_exists ( $dir_tmp )) { | |
| 27 | + @mkdir ( $dir_tmp . "/comum", 0777 ); | |
| 28 | + @mkdir ( $dir_tmp . "/saiku-datasources", 0777 ); | |
| 29 | + chmod ( $dir_tmp . "/saiku-datasources", 0777 ); | |
| 30 | + @mkdir ( $dir_tmp . "/cache", 0777 ); | |
| 31 | + chmod ( $dir_tmp . "/cache", 0777 ); | |
| 32 | + @mkdir ( $dir_tmp . "/cache/googlemaps", 0777 ); | |
| 33 | + chmod ( $dir_tmp . "/cache/googlemaps", 0777 ); | |
| 34 | +} | |
| 35 | +error_reporting ( 0 ); | |
| 36 | +?> | |
| 37 | +<!DOCTYPE html> | |
| 38 | +<html lang="pt-br"> | |
| 39 | +<head> | |
| 40 | + <?php include "head.php"; ?> | |
| 41 | +<style> | |
| 42 | +#brasil { | |
| 43 | + background-image: url("../imagens/sprite.png"); | |
| 44 | + background-position: 0 -600px; | |
| 45 | + background-repeat: no-repeat; | |
| 46 | + cursor: pointer; | |
| 47 | + height: 13px; | |
| 48 | + width: 22px; | |
| 49 | +} | |
| 50 | + | |
| 51 | +#uk { | |
| 52 | + background-image: url("../imagens/sprite.png"); | |
| 53 | + background-position: 0 -625px; | |
| 54 | + background-repeat: no-repeat; | |
| 55 | + cursor: pointer; | |
| 56 | + height: 13px; | |
| 57 | + width: 22px; | |
| 58 | +} | |
| 59 | + | |
| 60 | +#espanhol { | |
| 61 | + background-image: url("../imagens/sprite.png"); | |
| 62 | + background-position: 0 -1400px; | |
| 63 | + background-repeat: no-repeat; | |
| 64 | + cursor: pointer; | |
| 65 | + height: 13px; | |
| 66 | + width: 22px; | |
| 67 | +} | |
| 68 | + | |
| 69 | +#bandeiras img { | |
| 70 | + margin-left: 7px; | |
| 71 | +} | |
| 72 | + | |
| 73 | +#bandeiras { | |
| 74 | + width: 100px; | |
| 75 | + text-align: left; | |
| 76 | +} | |
| 77 | + | |
| 78 | +hr { | |
| 79 | + border-color: #fff -moz-use-text-color -moz-use-text-color; | |
| 80 | +} | |
| 81 | +</style> | |
| 82 | +<script src='../classesjs/compactados/dicionario_compacto.js'></script> | |
| 83 | +<script src='../classesjs/compactados/classe_util_compacto.js'></script> | |
| 84 | +<script src='../classesjs/compactados/classe_idioma_compacto.js'></script> | |
| 85 | +<script src='../classesjs/compactados/mustache.js'></script> | |
| 86 | +<script src='dicionario.js'></script> | |
| 87 | +</head> | |
| 88 | +<body style="background-color: #eeeeee; padding-top: 90px;" id="topo"> | |
| 89 | + <nav class="navbar navbar-fixed-top navbar-inverse"> | |
| 90 | + <div class="container-fluid"> | |
| 91 | + <div class="navbar-header"> | |
| 92 | + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | |
| 93 | + <span class="sr-only"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> | |
| 94 | + </button> | |
| 95 | + <a class="navbar-brand" href="#"><?php echo $mensagemInicia;?></a> | |
| 96 | + </div> | |
| 97 | + <div id="navbar" class="collapse navbar-collapse"> | |
| 98 | + <ul class="nav navbar-nav"> | |
| 99 | + <li><a href="#"><div class="fa" id="bandeiras"></div></a></li> | |
| 100 | + </ul> | |
| 101 | + <!-- template para permitir a traducao --> | |
| 102 | + <div id="menuTpl" class="hidden"> | |
| 103 | + <ul class="nav navbar-nav"> | |
| 104 | + <li><a href="#topo" onclick="$('.cartao').hide();$('.map-o').fadeIn(600);">{{{mapas}}}</a></li> | |
| 105 | + </ul> | |
| 106 | + <ul class="nav navbar-nav"> | |
| 107 | + <li><a href="#topo" onclick="$('.cartao').hide();$('.download').fadeIn(600);">Download</a></li> | |
| 108 | + </ul> | |
| 109 | + <ul class="nav navbar-nav"> | |
| 110 | + <li><a href="#topo" onclick="$('.cartao').hide();$('.cogs').fadeIn(600);">{{{admin}}}</a></li> | |
| 111 | + </ul> | |
| 112 | + <ul class="nav navbar-nav"> | |
| 113 | + <li><a href="#topo" onclick="$('.cartao').hide();$('.book').fadeIn(600);">{{{docs}}}</a></li> | |
| 114 | + </ul> | |
| 115 | + <ul class="nav navbar-nav"> | |
| 116 | + <li><a href="#topo" onclick="$('.cartao').hide();$('.group').fadeIn(600);">{{{comunidade}}}</a></li> | |
| 117 | + </ul> | |
| 118 | + <ul class="nav navbar-nav pull-right"> | |
| 119 | + <li><a href="#topo" onclick="$('.cartao').fadeIn(600);"><i class="fa fa-home fa-2x"></i></i></a></li> | |
| 120 | + </ul> | |
| 121 | + </div> | |
| 122 | + </div> | |
| 123 | + </div> | |
| 124 | + </nav> | |
| 125 | + <div class="container-fluid hidden"> | |
| 126 | + <div class="row"> | |
| 127 | + <div class="col-xs-12" id="mensagemLogin"></div> | |
| 128 | + <div class="col-xs-12"> | |
| 129 | + <div class="jumbotron" id="jumbotron"> | |
| 130 | + <!-- Template pare mensagem do i3Geo --> | |
| 131 | + <ul class="list-inline"> | |
| 132 | + <li> | |
| 133 | + <img class="pull-left" src='../imagens/i3Geo_bigTransp.png' style='width:80px;margin:5px;' /> | |
| 134 | + <img class="pull-right" src='../pacotes/qrcode/php/qr_img.php?host={{{host}}}&d={{{href}}}' style='width:80px;margin:5px;' /> | |
| 135 | + <p>{{{jumbotron}}}</p> | |
| 136 | + </li> | |
| 137 | + </ul> | |
| 138 | + </div> | |
| 139 | + </div> | |
| 140 | + </div> | |
| 141 | + </div> | |
| 142 | + <div class="container"> | |
| 143 | + <div class="row center-block"> | |
| 144 | + <!-- Template para criacao dos quadros ver index.js --> | |
| 145 | + <div id="botoesTpl" class="hidden"> | |
| 146 | + <div class="cartao {{{fa}}} col-xs-12 center-block" style="width: 260px; min-width: 260px; max-width: 260px;"> | |
| 147 | + <div class="panel panel-default"> | |
| 148 | + <div class="panel-body" style="height: 250px;"> | |
| 149 | + <div class="thumbnail" style="height: 90px;"> | |
| 150 | + <img class="img-rounded" style="height: 100%; width: 100%" src="imagens/{{{img}}}" /> | |
| 151 | + </div> | |
| 152 | + <h4>{{{titulo}}}</h4> | |
| 153 | + <div style="overflow: auto; height: 200px;"> | |
| 154 | + <h5>{{{subtitulo}}}</h5> | |
| 155 | + </div> | |
| 156 | + </div> | |
| 157 | + <div class="panel-footer text-right" style="border: 0px; background-color: white;"> | |
| 158 | + <p> | |
| 159 | + <a class="btn btn-primary btn-raised" href="{{{href}}}" role="button" target="{{{target}}}"> {{{abrir}}} <i class="fa fa-{{{fa}}}" aria-hidden="true"></i> | |
| 160 | + </a> | |
| 161 | + </p> | |
| 162 | + </div> | |
| 163 | + </div> | |
| 164 | + </div> | |
| 165 | + </div> | |
| 166 | + <div class="center-block col-xs-12 hidden" id="tt" style="width: 260px; min-width: 260px; max-width: 260px;"> | |
| 167 | + <div class="panel panel-default"> | |
| 168 | + <div class="panel-body"> | |
| 169 | + <a class="twitter-timeline" href="https://twitter.com/i3geo" data-widget-id="288061915689787392" height="300">Tweets @i3Geo</a> | |
| 170 | + </div> | |
| 171 | + </div> | |
| 172 | + </div> | |
| 173 | + <div class="center-block col-xs-12 hidden" style="width: 260px; min-width: 260px; max-width: 260px;"> | |
| 174 | + <div class="panel panel-default"> | |
| 175 | + <div class="panel-body"> | |
| 176 | + <a class="twitter-timeline" href="https://twitter.com/hashtag/i3geo" data-widget-id="643417277208133633" height="300">i3geo Tweets</a> | |
| 177 | + </div> | |
| 178 | + </div> | |
| 179 | + </div> | |
| 180 | + </div> | |
| 181 | + <div class="row"> | |
| 182 | + <div class="col-xs-12 text-center"> | |
| 183 | + <script type="text/javascript" src="http://www.openhub.net/p/150688/widgets/project_basic_stats.js"></script> | |
| 184 | + </div> | |
| 185 | + </div> | |
| 186 | + | |
| 187 | + <hr /> | |
| 188 | + | |
| 189 | + <footer> | |
| 190 | + <div class="row text-center hidden"> | |
| 191 | + <div class="col-xs-6 center-block" | |
| 192 | + | |
| 193 | + <a rel="license" href="http://creativecommons.org/licenses/GPL/2.0/legalcode.pt" target="_blank"><img alt="Licença Creative Commons" style="border-width: 0" src="https://i.creativecommons.org/l/GPL/2.0/88x62.png" /></a><br />O i3Geo está licenciado com uma Licença <a | |
| 194 | + rel="license" href="http://creativecommons.org/licenses/GPL/2.0/legalcode.pt" target="_blank">Creative Commons - Licença Pública Geral GNU ("GNU General Public License")</a> | |
| 195 | + </div> | |
| 196 | + <div class="col-xs-6 center-block"> | |
| 197 | + <script type='text/javascript' src='https://www.openhub.net/p/i3geo/widgets/project_users?format=js&style=blue'></script> | |
| 198 | + </div> | |
| 199 | + </div> | |
| 200 | + </footer> | |
| 201 | + </div> | |
| 202 | + <script> | |
| 203 | + //utilizado em ms_configura.php para customizar o local da pasta de inicializacao | |
| 204 | + var customDir = "../<?php echo $customDir; ?>"; | |
| 205 | + </script> | |
| 206 | + <script src='index.js'></script> | |
| 207 | + <script> | |
| 208 | + $(document).ready(function(){ | |
| 209 | + <?php | |
| 210 | + if ($i3geomaster [0] ["usuario"] == "admin" && $i3geomaster [0] ["senha"] == "admin") { | |
| 211 | + echo "var men = '<div class=\'alert alert-danger\' >' + $" . "trad(19,g_traducao_init) + '</div>';"; | |
| 212 | + } else { | |
| 213 | + echo "var men = '';"; | |
| 214 | + } | |
| 215 | + ?> | |
| 216 | + mostraBotoesBT(men); | |
| 217 | + $('.hidden').removeClass('hidden'); | |
| 218 | + //carrega o TT | |
| 219 | + window.twttr = (function(d, s, id) { | |
| 220 | + var js, fjs = d.getElementsByTagName(s)[0], | |
| 221 | + t = window.twttr || {}; | |
| 222 | + if (d.getElementById(id)) return t; | |
| 223 | + js = d.createElement(s); | |
| 224 | + js.id = id; | |
| 225 | + js.src = "https://platform.twitter.com/widgets.js"; | |
| 226 | + fjs.parentNode.insertBefore(js, fjs); | |
| 227 | + | |
| 228 | + t._e = []; | |
| 229 | + t.ready = function(f) { | |
| 230 | + t._e.push(f); | |
| 231 | + }; | |
| 232 | + | |
| 233 | + return t; | |
| 234 | + }(document, "script", "twitter-wjs")); | |
| 235 | + }); | |
| 236 | + </script> | |
| 237 | +</body> | |
| 238 | +</html> | ... | ... |
| ... | ... | @@ -0,0 +1,226 @@ |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Pagina inicial do i3Geo | |
| 4 | + * Voce pode utilizar o parametro customDir para indicar a pasta onde | |
| 5 | + * as interfaces de mapa estao. Nesse caso, os links utilizarao esse parametro | |
| 6 | + * Exemplo: localhost/i3geo/init/index.php?customDir=minhaPasta | |
| 7 | + * | |
| 8 | + * minhaPasta deve estar dentor da pasta i3geo. | |
| 9 | + * | |
| 10 | + * Se dentro da pasta $customDir existir um arquivo chamado index.php sera feito o include | |
| 11 | + * na pagina. | |
| 12 | + */ | |
| 13 | +/** | |
| 14 | + * Cria as pastas temporarias que o i3Geo precisa, caso nao existam | |
| 15 | + */ | |
| 16 | +include(dirname(__FILE__)."/../ms_configura.php"); | |
| 17 | +if(!empty($_GET["customDir"])){ | |
| 18 | + $customDir = strip_tags($_GET["customDir"]); | |
| 19 | +} | |
| 20 | +else if(empty($customDir)){ | |
| 21 | + $customDir = "interface"; | |
| 22 | +} | |
| 23 | +if(!file_exists($dir_tmp)){ | |
| 24 | + @mkdir ($dir_tmp,0777); | |
| 25 | +} | |
| 26 | +if(file_exists($dir_tmp)){ | |
| 27 | + @mkdir($dir_tmp."/comum",0777); | |
| 28 | + @mkdir($dir_tmp."/saiku-datasources",0777); | |
| 29 | + chmod($dir_tmp."/saiku-datasources",0777); | |
| 30 | + @mkdir($dir_tmp."/cache",0777); | |
| 31 | + chmod($dir_tmp."/cache",0777); | |
| 32 | + @mkdir($dir_tmp."/cache/googlemaps",0777); | |
| 33 | + chmod($dir_tmp."/cache/googlemaps",0777); | |
| 34 | +} | |
| 35 | +if(file_exists($locaplic."/".$customDir."/index.php")){ | |
| 36 | + include($locaplic."/".$customDir."/index.php"); | |
| 37 | +} | |
| 38 | +error_reporting(0); | |
| 39 | +?> | |
| 40 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| 41 | +<html> | |
| 42 | +<head> | |
| 43 | +<title>i3Geo</title> | |
| 44 | +<meta name="url" content="http://www.softwarepublico.gov.br" /> | |
| 45 | +<meta name="description" content="i3Geo" /> | |
| 46 | +<meta name="keywords" content="i3geo mapa geoprocessamento" /> | |
| 47 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | |
| 48 | +<meta name="viewport" content="width=device-width, initial-scale=1"> | |
| 49 | +<?php | |
| 50 | +$cache_expire = 1; | |
| 51 | +header("Pragma: public"); | |
| 52 | +header("Cache-Control: max-age=".$cache_expire); | |
| 53 | +header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$cache_expire) . ' GMT'); | |
| 54 | +?> | |
| 55 | +<script> | |
| 56 | +i3GEOF = []; | |
| 57 | +men = ""; | |
| 58 | +<?php | |
| 59 | +include("dicionario.js"); | |
| 60 | +include("../classesjs/compactados/dicionario_compacto.js"); | |
| 61 | +include("../classesjs/compactados/classe_util_compacto.js"); | |
| 62 | +include("../classesjs/compactados/classe_idioma_compacto.js"); | |
| 63 | +include("../versao.php"); | |
| 64 | +include("index.js"); | |
| 65 | +if($i3geomaster[0]["usuario"] == "admin" && $i3geomaster[0]["senha"] == "admin" ){ | |
| 66 | + echo "men = $"."trad(19,g_traducao_init);"; | |
| 67 | +} | |
| 68 | +?> | |
| 69 | +</script> | |
| 70 | + | |
| 71 | +<style> | |
| 72 | +body { | |
| 73 | + padding-top: 0px; | |
| 74 | + COLOR: #2F4632; | |
| 75 | + text-align: center; | |
| 76 | + font-size: 0.6cm; | |
| 77 | + font-family: Verdana, Arial, Helvetica, sans-serif; | |
| 78 | + background-color: rgb(250, 250, 250); | |
| 79 | + margin: auto; | |
| 80 | +} | |
| 81 | + | |
| 82 | +.r { | |
| 83 | + border: 1px solid #F0F0F0; | |
| 84 | + border-radius: 5px 5px 5px 5px; | |
| 85 | + box-shadow: 1px 1px 1px 1px lightgray; | |
| 86 | + float: left; | |
| 87 | + height: 150px; | |
| 88 | + margin: 0px 25px 20px auto; | |
| 89 | + padding: 5px; | |
| 90 | + width: 200px; | |
| 91 | + background: white; | |
| 92 | + vertical-align: middle; | |
| 93 | + font-size: 0.4cm; | |
| 94 | + position: relative; | |
| 95 | + display: block; | |
| 96 | + text-align: center; | |
| 97 | + z-index: 2; | |
| 98 | +} | |
| 99 | + | |
| 100 | +.ri { | |
| 101 | + left: 50%; | |
| 102 | + position: absolute; | |
| 103 | + top: 50%; | |
| 104 | + transform: translate(-50%, -50%); | |
| 105 | + width: 100%; | |
| 106 | +} | |
| 107 | + | |
| 108 | +table { | |
| 109 | + width: 100%; | |
| 110 | +} | |
| 111 | + | |
| 112 | +td { | |
| 113 | + font-size: 0.4cm; | |
| 114 | + text-align: center; | |
| 115 | + height: 150px; | |
| 116 | +} | |
| 117 | + | |
| 118 | +h1 { | |
| 119 | + font-size: 0.6cm; | |
| 120 | + text-align: left; | |
| 121 | + margin: 25px; | |
| 122 | +} | |
| 123 | + | |
| 124 | +#brasil { | |
| 125 | + background-image: url("../imagens/sprite.png"); | |
| 126 | + background-position: 0 -600px; | |
| 127 | + background-repeat: no-repeat; | |
| 128 | + cursor: pointer; | |
| 129 | + height: 10px; | |
| 130 | + width: 20px; | |
| 131 | +} | |
| 132 | + | |
| 133 | +#uk { | |
| 134 | + background-image: url("../imagens/sprite.png"); | |
| 135 | + background-position: 0 -625px; | |
| 136 | + background-repeat: no-repeat; | |
| 137 | + cursor: pointer; | |
| 138 | + height: 10px; | |
| 139 | + width: 20px; | |
| 140 | +} | |
| 141 | + | |
| 142 | +#espanhol { | |
| 143 | + background-image: url("../imagens/sprite.png"); | |
| 144 | + background-position: 0 -1400px; | |
| 145 | + background-repeat: no-repeat; | |
| 146 | + cursor: pointer; | |
| 147 | + height: 10px; | |
| 148 | + width: 20px; | |
| 149 | +} | |
| 150 | + | |
| 151 | +#bandeiras img { | |
| 152 | + margin-left: 7px; | |
| 153 | +} | |
| 154 | + | |
| 155 | +#bandeiras { | |
| 156 | + width: 100px; | |
| 157 | + text-align: left; | |
| 158 | + position: absolute; | |
| 159 | + left: 0.2cm; | |
| 160 | + z-index: 10; | |
| 161 | +} | |
| 162 | + | |
| 163 | +a { | |
| 164 | + margin: 0px auto; | |
| 165 | + text-decoration: none; | |
| 166 | + font-size: 14px; | |
| 167 | + color: #26298D; | |
| 168 | + outline: doted; | |
| 169 | +} | |
| 170 | + | |
| 171 | +A:hover { | |
| 172 | + color: #4142ff; | |
| 173 | +} | |
| 174 | + | |
| 175 | +.borda { | |
| 176 | + background-color: #4682b4; | |
| 177 | + padding: 5px 0px 5px 0px; | |
| 178 | + text-align: left; | |
| 179 | + width: 100%; | |
| 180 | +} | |
| 181 | +</style> | |
| 182 | +</head> | |
| 183 | +<body class=" yui-skin-sam " style="background-color: rgb(250, 250, 250);"> | |
| 184 | + <div class="borda"> | |
| 185 | + <div id="bandeiras"></div> | |
| 186 | + <div style="text-align: center"> | |
| 187 | + <a href="http://www.softwarepublico.gov.br" target="_blank" style="color: white;"> | |
| 188 | + <b><?php echo $mensagemInicia;?> </b> | |
| 189 | + </a> | |
| 190 | + </div> | |
| 191 | + </div> | |
| 192 | + | |
| 193 | + <div id="conteudo" style="position: relative; top: -10px; margin: auto; max-width: 1000px; left: 10px;"> | |
| 194 | + <div style="margin-top: 5px;"> | |
| 195 | + <div id="mensagemLogin" style="font-size: 14px; color: red; margin-top: 20px; text-align: left;"></div> | |
| 196 | + <br> | |
| 197 | + <div id="botoes" style="width: 100%;"></div> | |
| 198 | + <script>mostraBotoes();</script> | |
| 199 | + <div class="r"> | |
| 200 | + <div class="ri"> | |
| 201 | + <script type='text/javascript' src='https://www.openhub.net/p/i3geo/widgets/project_users?format=js&style=blue'></script> | |
| 202 | + </div> | |
| 203 | + </div> | |
| 204 | + </div> | |
| 205 | + <div style="float: left;"> | |
| 206 | + <div class="r" style="width: 230px; height: 380px;"> | |
| 207 | + <div class="ri"> | |
| 208 | + <a class="twitter-timeline" href="https://twitter.com/i3geo" data-widget-id="288061915689787392" width="220" height="350">Tweets @i3Geo</a> | |
| 209 | + <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
| 210 | + </div> | |
| 211 | + </div> | |
| 212 | + <div class="r" style="width: 230px; height: 380px;"> | |
| 213 | + <div class="ri"> | |
| 214 | + <a class="twitter-timeline" href="https://twitter.com/hashtag/i3geo" data-widget-id="643417277208133633">i3geo Tweets</a> | |
| 215 | + <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
| 216 | + </div> | |
| 217 | + </div> | |
| 218 | + <div class="r" style="width: 345px; height: 220px;"> | |
| 219 | + <div class="ri"> | |
| 220 | + <script type="text/javascript" src="http://www.openhub.net/p/150688/widgets/project_basic_stats.js"></script> | |
| 221 | + </div> | |
| 222 | + </div> | |
| 223 | + </div> | |
| 224 | + </div> | |
| 225 | +</body> | |
| 226 | +</html> | ... | ... |
init/nindex.php
| ... | ... | @@ -1,244 +0,0 @@ |
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Pagina inicial do i3Geo | |
| 4 | - * Voce pode utilizar o parametro customDir para indicar a pasta onde | |
| 5 | - * as interfaces de mapa estao. Nesse caso, os links utilizarao esse parametro | |
| 6 | - * Exemplo: localhost/i3geo/init/index.php?customDir=minhaPasta | |
| 7 | - * | |
| 8 | - * minhaPasta deve estar dentor da pasta i3geo. | |
| 9 | - * | |
| 10 | - * Se dentro da pasta $customDir existir um arquivo chamado index.php sera feito o include | |
| 11 | - * na pagina. | |
| 12 | - */ | |
| 13 | -/** | |
| 14 | - * Cria as pastas temporarias que o i3Geo precisa, caso nao existam | |
| 15 | - */ | |
| 16 | -include (dirname ( __FILE__ ) . "/../ms_configura.php"); | |
| 17 | -if (! empty ( $_GET ["customDir"] )) { | |
| 18 | - $customDir = strip_tags ( $_GET ["customDir"] ); | |
| 19 | -} else if (empty ( $customDir )) { | |
| 20 | - $customDir = "interface"; | |
| 21 | -} | |
| 22 | -if (! file_exists ( $dir_tmp )) { | |
| 23 | - @mkdir ( $dir_tmp, 0777 ); | |
| 24 | -} | |
| 25 | -if (file_exists ( $dir_tmp )) { | |
| 26 | - @mkdir ( $dir_tmp . "/comum", 0777 ); | |
| 27 | - @mkdir ( $dir_tmp . "/saiku-datasources", 0777 ); | |
| 28 | - chmod ( $dir_tmp . "/saiku-datasources", 0777 ); | |
| 29 | - @mkdir ( $dir_tmp . "/cache", 0777 ); | |
| 30 | - chmod ( $dir_tmp . "/cache", 0777 ); | |
| 31 | - @mkdir ( $dir_tmp . "/cache/googlemaps", 0777 ); | |
| 32 | - chmod ( $dir_tmp . "/cache/googlemaps", 0777 ); | |
| 33 | -} | |
| 34 | -if (file_exists ( $locaplic . "/" . $customDir . "/index.php" )) { | |
| 35 | - include ($locaplic . "/" . $customDir . "/index.php"); | |
| 36 | -} | |
| 37 | -error_reporting ( 0 ); | |
| 38 | -define ( "ONDEI3GEO", ".." ); | |
| 39 | -?> | |
| 40 | -<!DOCTYPE html> | |
| 41 | -<html lang="pt-br"> | |
| 42 | -<head> | |
| 43 | - <?php include "head.php"; ?> | |
| 44 | -<style> | |
| 45 | -#brasil { | |
| 46 | - background-image: url("../imagens/sprite.png"); | |
| 47 | - background-position: 0 -600px; | |
| 48 | - background-repeat: no-repeat; | |
| 49 | - cursor: pointer; | |
| 50 | - height: 13px; | |
| 51 | - width: 22px; | |
| 52 | -} | |
| 53 | - | |
| 54 | -#uk { | |
| 55 | - background-image: url("../imagens/sprite.png"); | |
| 56 | - background-position: 0 -625px; | |
| 57 | - background-repeat: no-repeat; | |
| 58 | - cursor: pointer; | |
| 59 | - height: 13px; | |
| 60 | - width: 22px; | |
| 61 | -} | |
| 62 | - | |
| 63 | -#espanhol { | |
| 64 | - background-image: url("../imagens/sprite.png"); | |
| 65 | - background-position: 0 -1400px; | |
| 66 | - background-repeat: no-repeat; | |
| 67 | - cursor: pointer; | |
| 68 | - height: 13px; | |
| 69 | - width: 22px; | |
| 70 | -} | |
| 71 | - | |
| 72 | -#bandeiras img { | |
| 73 | - margin-left: 7px; | |
| 74 | -} | |
| 75 | - | |
| 76 | -#bandeiras { | |
| 77 | - width: 100px; | |
| 78 | - text-align: left; | |
| 79 | -} | |
| 80 | -</style> | |
| 81 | -<script src='../classesjs/compactados/dicionario_compacto.js'></script> | |
| 82 | -<script src='../classesjs/compactados/classe_util_compacto.js'></script> | |
| 83 | -<script src='../classesjs/compactados/classe_idioma_compacto.js'></script> | |
| 84 | -<script src='../classesjs/compactados/mustache.js'></script> | |
| 85 | -<script src='dicionario.js'></script> | |
| 86 | -</head> | |
| 87 | - | |
| 88 | -<body style="background-color: #eeeeee; padding-top: 90px;"> | |
| 89 | - | |
| 90 | - <nav class="navbar navbar-fixed-top navbar-inverse"> | |
| 91 | - <div class="container-fluid"> | |
| 92 | - <div class="navbar-header"> | |
| 93 | - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | |
| 94 | - <span class="sr-only"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> | |
| 95 | - </button> | |
| 96 | - <a class="navbar-brand" href="#"><?php echo $mensagemInicia;?></a> | |
| 97 | - </div> | |
| 98 | - <div id="navbar" class="collapse navbar-collapse"> | |
| 99 | - <ul class="nav navbar-nav"> | |
| 100 | - <li><a href="#"><div class="fa" id="bandeiras"></div></a></li> | |
| 101 | - </ul> | |
| 102 | - <!-- template para permitir a traducao --> | |
| 103 | - <div id="menuTpl" class="hidden"> | |
| 104 | - <ul class="nav navbar-nav"> | |
| 105 | - <li><a href="#map-o">{{{mapas}}}</a></li> | |
| 106 | - </ul> | |
| 107 | - <ul class="nav navbar-nav"> | |
| 108 | - <li><a href="#download">Download</a></li> | |
| 109 | - </ul> | |
| 110 | - <ul class="nav navbar-nav"> | |
| 111 | - <li><a href="#check">{{{admin}}}</a></li> | |
| 112 | - </ul> | |
| 113 | - <ul class="nav navbar-nav"> | |
| 114 | - <li><a href="#book">{{{docs}}}</a></li> | |
| 115 | - </ul> | |
| 116 | - <ul class="nav navbar-nav"> | |
| 117 | - <li><a href="#group">{{{comunidade}}}</a></li> | |
| 118 | - </ul> | |
| 119 | - <ul class="nav navbar-nav pull-right"> | |
| 120 | - <li><a href="#"><i class="fa fa-home fa-2x"></i></i></a></li> | |
| 121 | - </ul> | |
| 122 | - </div> | |
| 123 | - </div> | |
| 124 | - </div> | |
| 125 | - </nav> | |
| 126 | - <div class="container-fluid hidden"> | |
| 127 | - <div class="row"> | |
| 128 | - <div class="col-xs-12" id="mensagemLogin"></div> | |
| 129 | - <div class="col-xs-12"> | |
| 130 | - <div class="jumbotron" id="jumbotron"> | |
| 131 | - <!-- Template pare mensagem do i3Geo --> | |
| 132 | - <ul class="list-inline"> | |
| 133 | - <li> | |
| 134 | - <img class="pull-left" src='../imagens/i3Geo_bigTransp.png' style='width:80px;margin:5px;' /> | |
| 135 | - <img class="pull-right" src='../pacotes/qrcode/php/qr_img.php?host={{{host}}}&d={{{href}}}' style='width:80px;margin:5px;' /> | |
| 136 | - <p>{{{jumbotron}}}</p> | |
| 137 | - </li> | |
| 138 | - </ul> | |
| 139 | - </div> | |
| 140 | - </div> | |
| 141 | - </div> | |
| 142 | - </div> | |
| 143 | - <div class="container"> | |
| 144 | - <div class="row center-block"> | |
| 145 | - <!-- Template para criacao dos quadros ver index.js --> | |
| 146 | - <div id="botoesTpl" class="hidden"> | |
| 147 | - <div id="{{{fa}}}" class="col-xs-12 center-block" style="width: 260px; min-width: 260px; max-width: 260px;"> | |
| 148 | - <div class="panel panel-default"> | |
| 149 | - <div class="panel-body" style="height: 250px;"> | |
| 150 | - <div class="thumbnail" style="height: 90px;"> | |
| 151 | - <img class="img-rounded" style="height: 100%; width: 100%" src="imagens/{{{img}}}" /> | |
| 152 | - </div> | |
| 153 | - <h4>{{{titulo}}}</h4> | |
| 154 | - <div style="overflow: auto; height: 200px;"> | |
| 155 | - <h5>{{{subtitulo}}}</h5> | |
| 156 | - </div> | |
| 157 | - </div> | |
| 158 | - <div class="panel-footer text-right" style="border: 0px; background-color: white;"> | |
| 159 | - <p> | |
| 160 | - <a class="btn btn-primary btn-raised" href="{{{href}}}" role="button" target="{{{target}}}"> {{{abrir}}} <i class="fa fa-{{{fa}}}" aria-hidden="true"></i> | |
| 161 | - </a> | |
| 162 | - </p> | |
| 163 | - </div> | |
| 164 | - </div> | |
| 165 | - </div> | |
| 166 | - </div> | |
| 167 | - <div class="center-block col-xs-12 hidden" id="tt" style="width: 260px; min-width: 260px; max-width: 260px;"> | |
| 168 | - <div class="panel panel-default"> | |
| 169 | - <div class="panel-body"> | |
| 170 | - <a class="twitter-timeline" href="https://twitter.com/i3geo" data-widget-id="288061915689787392" height="300">Tweets @i3Geo</a> | |
| 171 | - </div> | |
| 172 | - </div> | |
| 173 | - </div> | |
| 174 | - <div class="center-block col-xs-12 hidden" style="width: 260px; min-width: 260px; max-width: 260px;"> | |
| 175 | - <div class="panel panel-default"> | |
| 176 | - <div class="panel-body"> | |
| 177 | - <a class="twitter-timeline" href="https://twitter.com/hashtag/i3geo" data-widget-id="643417277208133633" height="300">i3geo Tweets</a> | |
| 178 | - </div> | |
| 179 | - </div> | |
| 180 | - </div> | |
| 181 | - </div> | |
| 182 | - <div class="row"> | |
| 183 | - <div class="col-xs-12 text-center"> | |
| 184 | - <script type="text/javascript" src="http://www.openhub.net/p/150688/widgets/project_basic_stats.js"></script> | |
| 185 | - </div> | |
| 186 | - </div> | |
| 187 | - | |
| 188 | - <hr /> | |
| 189 | - | |
| 190 | - <footer> | |
| 191 | - <div class="row text-center hidden"> | |
| 192 | - <div class="col-xs-6 center-block" | |
| 193 | - | |
| 194 | - <a rel="license" href="http://creativecommons.org/licenses/GPL/2.0/legalcode.pt" target="_blank"><img alt="Licença Creative Commons" style="border-width: 0" src="https://i.creativecommons.org/l/GPL/2.0/88x62.png" /></a><br />O i3Geo está licenciado com uma Licença <a | |
| 195 | - rel="license" href="http://creativecommons.org/licenses/GPL/2.0/legalcode.pt" target="_blank">Creative Commons - Licença Pública Geral GNU ("GNU General Public License")</a> | |
| 196 | - </div> | |
| 197 | - <div class="col-xs-6 center-block"> | |
| 198 | - <script type='text/javascript' src='https://www.openhub.net/p/i3geo/widgets/project_users?format=js&style=blue'></script> | |
| 199 | - </div> | |
| 200 | - </div> | |
| 201 | - </footer> | |
| 202 | - | |
| 203 | - </div> | |
| 204 | - | |
| 205 | - <?php | |
| 206 | - echo "<script>"; | |
| 207 | - include "index.js"; | |
| 208 | - echo "</script>"; | |
| 209 | - include "body.php"; | |
| 210 | - ?> | |
| 211 | - <script> | |
| 212 | - $(document).ready(function(){ | |
| 213 | - var template = '<div class="col-xs-12" style="width:260px;min-width:260px;max-width:260px;"><div class="panel panel-default"><div class="panel-body" style="height: 250px;"><div class="thumbnail" style="height:90px;"><img class="img-rounded" style="height: 100%; width: 100%" src="imagens/{{{img}}}" /></div><h4>{{{titulo}}}</h4><div style="overflow:auto;height:200px;"><p>{{{subtitulo}}}</p></div></div><div class="panel-footer text-right" style="border:0px;background-color:white;"><p><a class="btn btn-primary btn-raised" href="{{{href}}}" role="button" target="_blank" >Abrir <i class="fa fa-{{{fa}}}" aria-hidden="true" ></i></a></p></div></div></div>'; | |
| 214 | - | |
| 215 | - <?php | |
| 216 | - if ($i3geomaster [0] ["usuario"] == "admin" && $i3geomaster [0] ["senha"] == "admin") { | |
| 217 | - echo "var men = '<div class=\'alert alert-danger\' >' + $" . "trad(19,g_traducao_init) + '</div>';"; | |
| 218 | - } else { | |
| 219 | - echo "var men = '';"; | |
| 220 | - } | |
| 221 | - ?> | |
| 222 | - mostraBotoesBT(men); | |
| 223 | - $('.hidden').removeClass('hidden'); | |
| 224 | - //carrega o TT | |
| 225 | - window.twttr = (function(d, s, id) { | |
| 226 | - var js, fjs = d.getElementsByTagName(s)[0], | |
| 227 | - t = window.twttr || {}; | |
| 228 | - if (d.getElementById(id)) return t; | |
| 229 | - js = d.createElement(s); | |
| 230 | - js.id = id; | |
| 231 | - js.src = "https://platform.twitter.com/widgets.js"; | |
| 232 | - fjs.parentNode.insertBefore(js, fjs); | |
| 233 | - | |
| 234 | - t._e = []; | |
| 235 | - t.ready = function(f) { | |
| 236 | - t._e.push(f); | |
| 237 | - }; | |
| 238 | - | |
| 239 | - return t; | |
| 240 | - }(document, "script", "twitter-wjs")); | |
| 241 | - }); | |
| 242 | - </script> | |
| 243 | -</body> | |
| 244 | -</html> |