Commit b2b09eddc696b6706417e02401c92dad86a9022d
1 parent
af322416
Exists in
master
and in
7 other branches
Modificada a rotina de criação de um novo mapfile para indicar como default o va…
…lor SIM para o metadata convcaracter
Showing
6 changed files
with
5 additions
and
5 deletions
Show diff stats
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 | 139 | $dados [] = ' STATUS DEFAULT'; |
140 | 140 | $dados [] = ' METADATA'; |
141 | 141 | $dados [] = ' TEMA "' . $titulolegenda . '"'; |
142 | + $dados [] = ' convcaracter "SIM"'; | |
142 | 143 | $dados [] = ' CLASSE "SIM"'; |
143 | 144 | $tipoa_tema = ""; |
144 | 145 | if (! empty ( $metaestat ) && $metaestat == "SIM") { | ... | ... |
admin1/upload/arquivo/index.php
... | ... | @@ -144,7 +144,7 @@ $comboPastas .= "</select>"; |
144 | 144 | </div> |
145 | 145 | </div> |
146 | 146 | <?php |
147 | -if (empty ( $_SESSION ["i3geoUploadDataWL"] )) { | |
147 | +if (empty ( $_SESSION ["i3geoUploadDataWL"] ) || (is_array($_SESSION ["i3geoUploadDataWL"]) && count($_SESSION ["i3geoUploadDataWL"]) == 0)) { | |
148 | 148 | echo "<script>iniciaMenuPrincipal();i3GEOadmin.core.mostraErro('Nenhuma pasta cadastrada para upload nas configurações do i3Geo (ms_configura)');</script>"; |
149 | 149 | exit (); |
150 | 150 | } | ... | ... |
classesphp/classe_atributos.php
classesphp/mapa_controle.php
... | ... | @@ -2127,9 +2127,9 @@ switch (strtoupper($funcao)) |
2127 | 2127 | } |
2128 | 2128 | } |
2129 | 2129 | } |
2130 | - | |
2131 | 2130 | $retorno = $m->listaRegistros($itemtema,$tipo,$unico,$inicio,$fim,$tipolista,$dadosDaClasse); |
2132 | 2131 | $retorno["legenda"] = $legenda; |
2132 | + | |
2133 | 2133 | break; |
2134 | 2134 | /* |
2135 | 2135 | Valor: LISTAUNICA | ... | ... |
ms_configura.php
... | ... | @@ -132,7 +132,7 @@ $logTransacoes = false; |
132 | 132 | Tipo: |
133 | 133 | {array} |
134 | 134 | */ |
135 | -$i3geoEsquemasWL = array("public","i3geo_metaestat"); | |
135 | +$i3geoEsquemasWL = array(); | |
136 | 136 | /* |
137 | 137 | Variale: $i3geoUploadDataWL |
138 | 138 | |
... | ... | @@ -160,7 +160,7 @@ $i3geoEsquemasWL = array("public","i3geo_metaestat"); |
160 | 160 | Tipo: |
161 | 161 | {array} |
162 | 162 | */ |
163 | -$i3geoUploadDataWL = array("public","i3geo_metaestat"); | |
163 | +$i3geoUploadDataWL = array(); | |
164 | 164 | |
165 | 165 | //TODO documentar moodle |
166 | 166 | /* | ... | ... |