X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/834bee1cf2c5bd122b3e941c70b5c2f03ee80a27..cfc437132a27bd1a3f4c8a16622af8a9ed0e8be1:/lib/MLIB/HTML/Arbol.php diff --git a/lib/MLIB/HTML/Arbol.php b/lib/MLIB/HTML/Arbol.php index 7c39ca2..683cd4d 100644 --- a/lib/MLIB/HTML/Arbol.php +++ b/lib/MLIB/HTML/Arbol.php @@ -1,16 +1,15 @@ '132', @@ -90,7 +89,7 @@ class MECON_HTML_Arbol extends HTML_Table * @access public */ function getCSS() { - return '/MECON/css/html/arbol'; + return '/MLIB/css/html/arbol'; } /** @@ -107,9 +106,9 @@ class MECON_HTML_Arbol extends HTML_Table { $bullets = array( '', - '/MECON/images/arbol_bullet_1.gif', - '/MECON/images/arbol_bullet_2.gif', - '/MECON/images/arbol_bullet_3.gif' + '/MLIB/images/arbol_bullet_1.gif', + '/MLIB/images/arbol_bullet_2.gif', + '/MLIB/images/arbol_bullet_3.gif' ); $alts = array( '', @@ -117,8 +116,8 @@ class MECON_HTML_Arbol extends HTML_Table '-', '·' ); - $classes = array('mecon_html_arbol_menu', 'mecon_html_arbol_menu1', - 'mecon_html_arbol_menu1', 'mecon_html_arbol_menu2'); + $classes = array('MLIB_html_arbol_menu', 'MLIB_html_arbol_menu1', + 'MLIB_html_arbol_menu1', 'MLIB_html_arbol_menu2'); $tabulados = 7; $atr = array( 'border' => '0', @@ -127,17 +126,17 @@ class MECON_HTML_Arbol extends HTML_Table ); $margen = ' '; if ($n) { - $margen = new MECON_HTML_Image('/MECON/images/blanco.gif', str_repeat('  ', $n), $atr); + $margen = new MLIB_HTML_Image('/MLIB/images/blanco.gif', str_repeat('  ', $n), $atr); $margen = $margen->toHtml(); } $imagen = ''; if (@$bullets[$n]) { - $imagen = new MECON_HTML_Image($bullets[$n], @$alts[$n]); + $imagen = new MLIB_HTML_Image($bullets[$n], @$alts[$n]); $imagen = $imagen->toHtml(); } foreach ($dat as $e) { $titulo = $e['titulo']; - if(isset($e['activo']) && $e['activo'] != 0) $class = 'mecon_html_arbol_menu_activo'; + if(isset($e['activo']) && $e['activo'] != 0) $class = 'MLIB_html_arbol_menu_activo'; else $class = @$classes[$n] ? $classes[$n] : end($classes); if(isset($e['bold'])) $class .= '_bold'; if(!is_null($e['link'])) { @@ -169,7 +168,7 @@ class MECON_HTML_Arbol extends HTML_Table 'border' => '0', 'cellspacing' => '2', 'cellpadding' => '0', - 'class' => 'mecon_html_arbol_bodytext')); + 'class' => 'MLIB_html_arbol_bodytext')); $titulo = new HTML_Table(array( 'width' => '132', 'height' => '26', @@ -177,10 +176,10 @@ class MECON_HTML_Arbol extends HTML_Table 'cellspacing' => '0', 'cellpadding' => '0', 'align' => 'center', - 'background' => '/MECON/images/arbol_titulo.gif')); + 'background' => '/MLIB/images/arbol_titulo.gif')); $titulo->addRow(array($this->titulo), array( 'align' => 'center', - 'class' => 'mecon_html_arbol_titulo')); + 'class' => 'MLIB_html_arbol_titulo')); $this->addRow(array($titulo), array('bgcolor' => '#FFFFFF')); $this->expandir($this->datos, 0, $t_interna); $this->addRow(array($t_interna->toHTML()));