]> git.llucax.com Git - mecon/meconlib.git/commitdiff
Ahora se ve bien el titulo...cambio un poquito la interface
authorGonzalo Merayo <merayo@gmail.com>
Mon, 14 Jul 2003 17:14:48 +0000 (17:14 +0000)
committerGonzalo Merayo <merayo@gmail.com>
Mon, 14 Jul 2003 17:14:48 +0000 (17:14 +0000)
lib/MECON/HTML/Arbol.php
www/css/arbol.css

index 0b36067967860eab336237e48c03b5a77e04cfaa..c64b585d3dcd90465e503e34613b305aaacafc3c 100644 (file)
@@ -7,7 +7,7 @@ class HTML_Arbol extends HTML_Table
 {\r
     var $t_interna;\r
     \r
 {\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
     {\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
                                   '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
                                       '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
         $this->expandir($dat, 0);\r
     }\r
     \r
index d54bf3f72bb3016c0a964d441bed36fe1f174089..700fa23edb2d59b62592532fd19e9e11f331645e 100644 (file)
@@ -4,4 +4,5 @@
 .menu_activo1 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle }\r
 .menu_activo2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle }\r
 .menu2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left centre; text-align: left; vertical-align: middle ; clip:  rect(   15px)}\r
 .menu_activo1 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle }\r
 .menu_activo2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle }\r
 .menu2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left centre; text-align: left; vertical-align: middle ; clip:  rect(   15px)}\r
-.arbol_titulo { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; FONT-WEIGHT: bold ; font-style: normal; line-height: normal}\r
+.arboltitulo { COLOR: #FFFFFF; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; FONT-WEIGHT: bold ; font-style: normal; line-height: normal}\r
+\r