Commit b2b09eddc696b6706417e02401c92dad86a9022d

Authored by Edmar Moretti
1 parent af322416

Modificada a rotina de criação de um novo mapfile para indicar como default o va…

…lor SIM para o metadata convcaracter
admin/admin.db
No preview for this file type
admin1/catalogo/mapfile/funcoes.php
@@ -139,6 +139,7 @@ function adicionar($locaplic, $titulolegenda, $link_tema, $codigo, $acessopublic @@ -139,6 +139,7 @@ function adicionar($locaplic, $titulolegenda, $link_tema, $codigo, $acessopublic
139 $dados [] = ' STATUS DEFAULT'; 139 $dados [] = ' STATUS DEFAULT';
140 $dados [] = ' METADATA'; 140 $dados [] = ' METADATA';
141 $dados [] = ' TEMA "' . $titulolegenda . '"'; 141 $dados [] = ' TEMA "' . $titulolegenda . '"';
  142 + $dados [] = ' convcaracter "SIM"';
142 $dados [] = ' CLASSE "SIM"'; 143 $dados [] = ' CLASSE "SIM"';
143 $tipoa_tema = ""; 144 $tipoa_tema = "";
144 if (! empty ( $metaestat ) && $metaestat == "SIM") { 145 if (! empty ( $metaestat ) && $metaestat == "SIM") {
admin1/upload/arquivo/index.php
@@ -144,7 +144,7 @@ $comboPastas .= "</select>"; @@ -144,7 +144,7 @@ $comboPastas .= "</select>";
144 </div> 144 </div>
145 </div> 145 </div>
146 <?php 146 <?php
147 -if (empty ( $_SESSION ["i3geoUploadDataWL"] )) { 147 +if (empty ( $_SESSION ["i3geoUploadDataWL"] ) || (is_array($_SESSION ["i3geoUploadDataWL"]) && count($_SESSION ["i3geoUploadDataWL"]) == 0)) {
148 echo "<script>iniciaMenuPrincipal();i3GEOadmin.core.mostraErro('Nenhuma pasta cadastrada para upload nas configura&ccedil;&otilde;es do i3Geo (ms_configura)');</script>"; 148 echo "<script>iniciaMenuPrincipal();i3GEOadmin.core.mostraErro('Nenhuma pasta cadastrada para upload nas configura&ccedil;&otilde;es do i3Geo (ms_configura)');</script>";
149 exit (); 149 exit ();
150 } 150 }
classesphp/classe_atributos.php
@@ -523,7 +523,6 @@ class Atributos @@ -523,7 +523,6 @@ class Atributos
523 $indx = $result->shapeindex; 523 $indx = $result->shapeindex;
524 $shape = $this->layer->getfeature($indx,-1); 524 $shape = $this->layer->getfeature($indx,-1);
525 } 525 }
526 -  
527 foreach ($items as $item){ 526 foreach ($items as $item){
528 $valori = ""; 527 $valori = "";
529 if(@$shape->values[$item]){ 528 if(@$shape->values[$item]){
classesphp/mapa_controle.php
@@ -2127,9 +2127,9 @@ switch (strtoupper($funcao)) @@ -2127,9 +2127,9 @@ switch (strtoupper($funcao))
2127 } 2127 }
2128 } 2128 }
2129 } 2129 }
2130 -  
2131 $retorno = $m->listaRegistros($itemtema,$tipo,$unico,$inicio,$fim,$tipolista,$dadosDaClasse); 2130 $retorno = $m->listaRegistros($itemtema,$tipo,$unico,$inicio,$fim,$tipolista,$dadosDaClasse);
2132 $retorno["legenda"] = $legenda; 2131 $retorno["legenda"] = $legenda;
  2132 +
2133 break; 2133 break;
2134 /* 2134 /*
2135 Valor: LISTAUNICA 2135 Valor: LISTAUNICA
ms_configura.php
@@ -132,7 +132,7 @@ $logTransacoes = false; @@ -132,7 +132,7 @@ $logTransacoes = false;
132 Tipo: 132 Tipo:
133 {array} 133 {array}
134 */ 134 */
135 -$i3geoEsquemasWL = array("public","i3geo_metaestat"); 135 +$i3geoEsquemasWL = array();
136 /* 136 /*
137 Variale: $i3geoUploadDataWL 137 Variale: $i3geoUploadDataWL
138 138
@@ -160,7 +160,7 @@ $i3geoEsquemasWL = array(&quot;public&quot;,&quot;i3geo_metaestat&quot;); @@ -160,7 +160,7 @@ $i3geoEsquemasWL = array(&quot;public&quot;,&quot;i3geo_metaestat&quot;);
160 Tipo: 160 Tipo:
161 {array} 161 {array}
162 */ 162 */
163 -$i3geoUploadDataWL = array("public","i3geo_metaestat"); 163 +$i3geoUploadDataWL = array();
164 164
165 //TODO documentar moodle 165 //TODO documentar moodle
166 /* 166 /*