]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/HTML/Arbol.php
Se modifico el constructor y se agrego una funcion buscarAgente que hace lo que hacia...
[mecon/meconlib.git] / lib / MECON / HTML / Arbol.php
index 0b36067967860eab336237e48c03b5a77e04cfaa..c64b585d3dcd90465e503e34613b305aaacafc3c 100644 (file)
@@ -7,7 +7,7 @@ class HTML_Arbol extends HTML_Table
 {\r
     var $t_interna;\r
     \r
-    function HTML_Arbol($dat, $imagen)\r
+    function HTML_Arbol($dat, $titulo_str)\r
     {\r
         parent::HTML_Table(array ('width'=>'132',\r
                                   'border'   => '0',\r
@@ -19,23 +19,16 @@ class HTML_Arbol extends HTML_Table
                                   'cellspacing'   => '2',\r
                                   'cellpadding'   => '0',\r
                                   'class'   => 'bodytext'));\r
-/*        $this->addRow(array(new HTML_Image($imagen,'',array('width'=>'132',\r
-                                                           'height'=>'26',\r
-                                                           'border'=>'0'))));*/\r
-/*     $titulo = new HTML_Table(array('width'=>'132',\r
+       $titulo = new HTML_Table(array('width'=>'132',\r
                                       'height'=>'26',\r
                                       'border' => '0',\r
                                       'cellspacing' => '0',\r
                                         'cellpadding' => '0',\r
                                         'align'=>'center',\r
                 'background'=>'/MECON/images/arbol_titulo.gif'));\r
-        $titulo->addRow(array('<font size="2"><b class="arbol_titulo">aa</b></font>'), array('align'=>'center'));\r
-       $this->addRow(array($titulo));*/\r
-       $this->addRow(array('<table width="132" border="0" cellspacing="0" cellpadding="0" background="/MECON/images/arbol_titulo.gif" height="26">\r
-         <tr align="center"> \r
-             <td><font size="2"><b class="arbol_titulo">NOTICIAS</b></font></td>\r
-               </tr>\r
-               </table>'));\r
+        $titulo->addRow(array($titulo_str), array('align'=>'center',\r
+                                                 'class'=>'arboltitulo'));\r
+       $this->addRow(array($titulo), array('bgcolor' => '#FFFFFF'));\r
         $this->expandir($dat, 0);\r
     }\r
     \r