Commit 670de9b128894e74bf3998a1081a13c2be9c8f84

Authored by Edmar Moretti
1 parent 980f7cde

--no commit message

Showing 1 changed file with 0 additions and 67 deletions   Show diff stats
classesphp/wmswfs.php
... ... @@ -378,73 +378,6 @@ function pegaTag($layer)
378 378 }
379 379 }
380 380 return $resultado;
381   -
382   - /*
383   - $tval = "";
384   - foreach ($layers as $layer)
385   - {
386   - $noslayer = $layer->childNodes;
387   - for ($i = 0; $i < $noslayer->length; $i++)
388   - {
389   - $tnome = $noslayer->item($i)->tagName;
390   - $tvalor = $noslayer->item($i)->nodeValue;
391   -
392   -
393   - if ($tnome == "Layer")
394   - {
395   - $retorna[] = "<hr>";
396   - $sublayers = $noslayer->item($i)->childNodes;
397   - for ($j = 0; $j < $sublayers->length; $j++)
398   - {
399   - $tnome = $sublayers->item($j)->tagName;
400   - $tvalor = $sublayers->item($j)->nodeValue;
401   -
402   - if ($tnome != "Style")
403   - {
404   - $ns = "";
405   - if ($tnome == "Name")
406   - {$retorna[] = "<br><b>Nome: </b>".$tvalor;$tval = $tvalor;}
407   - if ($tnome == "Title")
408   - {
409   - $retorna[] = "<br><span style=color:red ><b>Titulo: </b>".$tvalor."</span><br>";
410   - $nomecamada = $tvalor;
411   - }
412   - if ($tnome == "Abstract")
413   - {$retorna[] = "<b>Resumo: </b>".$tvalor."<br><br>Estilos:<br><br>";}
414   - }
415   - else
416   - {
417   - $estilos = $sublayers->item($j)->childNodes;
418   - for ($k = 0; $k < $estilos->length; $k++)
419   - {
420   - $nomeestilo = "";
421   - $tituloestilo = "";
422   - if ($estilos->item($k)->tagName == "Name")
423   - {$nomeestilo = $estilos->item($k)->nodeValue;}
424   - if ($estilos->item($k)->tagName == "Title")
425   - {
426   - $tituloestilo = $estilos->item($k)->nodeValue;
427   - $nomecamada = $tituloestilo;
428   - }
429   - $tituloestilo = $estilos->item($k + 2)->nodeValue;
430   - if ($nomeestilo != "")
431   - {
432   - $retorna[] = "<input style='cursor:pointer' type=radio NAME='checks' onClick='seltema(\"estilo\",\"" . $tval . "\",\"\",\"" . $nomeestilo . "\",\"".$nomecamada."\",\"".$suporta."\")' value='" . $nomeestilo . "'/>" . $nomeestilo." <i>".$tituloestilo."</i><br>";
433   - }
434   - }
435   - }
436   - }
437   - if ($nums == 0)
438   - {
439   - if ($tituloestilo == "")
440   - {$tituloestilo = "default";}
441   - $retorna[] = "<input style='cursor:pointer' type=radio NAME='checks' onClick='seltema(\"tema\",\"" . $tval . "\",\"\",\"" . $tituloestilo . "\",\"".$nomecamada."\",\"".$suporta."\")' value='" . $tval . "'/>" . $nomeestilo." ".$tituloestilo."<br>";
442   - }
443   - }
444   - }
445   - }
446   - */
447   -
448 381 }
449 382  
450 383  
... ...