X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/e89856f733738fc6da704fb8a35598bbade37478..84f4d19441dd0a757010a623b50cfe1b0c553f3b:/lib/MECON/HTML/Arbol.php diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index 58ae609..5cc2660 100644 --- a/lib/MECON/HTML/Arbol.php +++ b/lib/MECON/HTML/Arbol.php @@ -25,8 +25,11 @@ class HTML_Arbol extends HTML_Table { $imagen = ''; $class = 'menu'; - $bullets = array('', '/MECON/images/arbol_bullet_1.gif', '/MECON/images/arbol_bullet_2.gif', '/MECON/images/arbol_bullet3.gif'); - $tabulaciones = array(0, 7, 13, 20); + $bullets = array('', + '/MECON/images/arbol_bullet_1.gif', + '/MECON/images/arbol_bullet_2.gif', + '/MECON/images/arbol_bullet3.gif'); + $tabulados = array(0, 7, 13, 20); $classes = array('menu', 'menu1', 'menu1', 'menu2'); $imagen = ''.$imagen.$e['titulo'].''; if(isset($e['activado']) && $e['activado'] != 0) $class_a = 'menu_activo'; - else $class_a = $class[$n]; + else $class_a = $classes[$n]; $this->t_interna->addRow(array($e['titulo']), array('class' => $class_a)); if(isset($e['sub'])) $this->expandir($e['sub'], $n+1);