From 670de9b128894e74bf3998a1081a13c2be9c8f84 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Wed, 30 Apr 2008 18:58:05 +0000 Subject: [PATCH] --- classesphp/wmswfs.php | 67 ------------------------------------------------------------------- 1 file changed, 0 insertions(+), 67 deletions(-) diff --git a/classesphp/wmswfs.php b/classesphp/wmswfs.php index 947212e..5b4c565 100644 --- a/classesphp/wmswfs.php +++ b/classesphp/wmswfs.php @@ -378,73 +378,6 @@ function pegaTag($layer) } } return $resultado; - - /* - $tval = ""; - foreach ($layers as $layer) - { - $noslayer = $layer->childNodes; - for ($i = 0; $i < $noslayer->length; $i++) - { - $tnome = $noslayer->item($i)->tagName; - $tvalor = $noslayer->item($i)->nodeValue; - - - if ($tnome == "Layer") - { - $retorna[] = "
"; - $sublayers = $noslayer->item($i)->childNodes; - for ($j = 0; $j < $sublayers->length; $j++) - { - $tnome = $sublayers->item($j)->tagName; - $tvalor = $sublayers->item($j)->nodeValue; - - if ($tnome != "Style") - { - $ns = ""; - if ($tnome == "Name") - {$retorna[] = "
Nome: ".$tvalor;$tval = $tvalor;} - if ($tnome == "Title") - { - $retorna[] = "
Titulo: ".$tvalor."
"; - $nomecamada = $tvalor; - } - if ($tnome == "Abstract") - {$retorna[] = "Resumo: ".$tvalor."

Estilos:

";} - } - else - { - $estilos = $sublayers->item($j)->childNodes; - for ($k = 0; $k < $estilos->length; $k++) - { - $nomeestilo = ""; - $tituloestilo = ""; - if ($estilos->item($k)->tagName == "Name") - {$nomeestilo = $estilos->item($k)->nodeValue;} - if ($estilos->item($k)->tagName == "Title") - { - $tituloestilo = $estilos->item($k)->nodeValue; - $nomecamada = $tituloestilo; - } - $tituloestilo = $estilos->item($k + 2)->nodeValue; - if ($nomeestilo != "") - { - $retorna[] = "" . $nomeestilo." ".$tituloestilo."
"; - } - } - } - } - if ($nums == 0) - { - if ($tituloestilo == "") - {$tituloestilo = "default";} - $retorna[] = "" . $nomeestilo." ".$tituloestilo."
"; - } - } - } - } - */ - } -- libgit2 0.21.2