From 445289ff24875eee2f2978ef7eec519cdabb6652 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 10 Oct 2003 16:49:35 +0000 Subject: [PATCH] Se agrega prefijo a los estilos de arbol. --- lib/MECON/HTML/Arbol.php | 9 +++++---- www/css/html/arbol.css | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index 9603830..7c39ca2 100644 --- a/lib/MECON/HTML/Arbol.php +++ b/lib/MECON/HTML/Arbol.php @@ -117,7 +117,8 @@ class MECON_HTML_Arbol extends HTML_Table '-', 'ยท' ); - $classes = array('menu', 'menu1', 'menu1', 'menu2'); + $classes = array('mecon_html_arbol_menu', 'mecon_html_arbol_menu1', + 'mecon_html_arbol_menu1', 'mecon_html_arbol_menu2'); $tabulados = 7; $atr = array( 'border' => '0', @@ -136,7 +137,7 @@ class MECON_HTML_Arbol extends HTML_Table } foreach ($dat as $e) { $titulo = $e['titulo']; - if(isset($e['activo']) && $e['activo'] != 0) $class = 'menu_activo'; + if(isset($e['activo']) && $e['activo'] != 0) $class = 'mecon_html_arbol_menu_activo'; else $class = @$classes[$n] ? $classes[$n] : end($classes); if(isset($e['bold'])) $class .= '_bold'; if(!is_null($e['link'])) { @@ -168,7 +169,7 @@ class MECON_HTML_Arbol extends HTML_Table 'border' => '0', 'cellspacing' => '2', 'cellpadding' => '0', - 'class' => 'bodytext')); + 'class' => 'mecon_html_arbol_bodytext')); $titulo = new HTML_Table(array( 'width' => '132', 'height' => '26', @@ -179,7 +180,7 @@ class MECON_HTML_Arbol extends HTML_Table 'background' => '/MECON/images/arbol_titulo.gif')); $titulo->addRow(array($this->titulo), array( 'align' => 'center', - 'class' => 'arboltitulo')); + 'class' => 'mecon_html_arbol_titulo')); $this->addRow(array($titulo), array('bgcolor' => '#FFFFFF')); $this->expandir($this->datos, 0, $t_interna); $this->addRow(array($t_interna->toHTML())); diff --git a/www/css/html/arbol.css b/www/css/html/arbol.css index 12ef548..355e87f 100644 --- a/www/css/html/arbol.css +++ b/www/css/html/arbol.css @@ -1,4 +1,4 @@ -.menu { +.mecon_html_arbol_menu { color: #003366; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; @@ -10,7 +10,7 @@ vertical-align: middle } -.menu_bold { +.mecon_html_arbol_menu_bold { color: #003366; FONT-WEIGHT: bold ; font-family: Arial, Helvetica, sans-serif; @@ -23,7 +23,7 @@ vertical-align: middle } -.menu_activo { +.mecon_html_arbol_menu_activo { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; @@ -35,7 +35,7 @@ vertical-align: middle } -.menu_activo_bold { +.mecon_html_arbol_menu_activo_bold { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; @@ -48,7 +48,7 @@ vertical-align: middle } -.menu1 { +.mecon_html_arbol_menu1 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; @@ -60,7 +60,7 @@ vertical-align: middle; } -.menu_activo1 { +.mecon_html_arbol_menu_activo1 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; @@ -72,7 +72,7 @@ vertical-align: middle } -.menu_activo2 { +.mecon_html_arbol_menu_activo2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; @@ -84,7 +84,7 @@ vertical-align: middle } -.menu2 { +.mecon_html_arbol_menu2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; @@ -96,7 +96,7 @@ vertical-align: middle ; } -.menu1_bold { +.mecon_html_arbol_menu1_bold { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; @@ -108,7 +108,7 @@ vertical-align: middle; } -.menu_activo1_bold { +.mecon_html_arbol_menu_activo1_bold { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; @@ -120,7 +120,7 @@ vertical-align: middle } -.menu_activo2_bold { +.mecon_html_arbol_menu_activo2_bold { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; @@ -132,7 +132,7 @@ vertical-align: middle } -.menu2_bold { +.mecon_html_arbol_menu2_bold { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; @@ -143,7 +143,7 @@ text-align: left; vertical-align: middle ; } -.arboltitulo { +.mecon_html_arbol_titulo { COLOR: #FFFFFF; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; -- 2.43.0