X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/0f840b3958a7355c367d45313e9dcf7c35d1cf76..5bf7798b127ec795a3f627149b3b9b612596874b:/lib/MECON/HTML/Arbol.php?ds=sidebyside diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index df77d1a..9603830 100644 --- a/lib/MECON/HTML/Arbol.php +++ b/lib/MECON/HTML/Arbol.php @@ -90,7 +90,7 @@ class MECON_HTML_Arbol extends HTML_Table * @access public */ function getCSS() { - return '/MECON/css/arbol'; + return '/MECON/css/html/arbol'; } /** @@ -137,7 +137,8 @@ class MECON_HTML_Arbol extends HTML_Table foreach ($dat as $e) { $titulo = $e['titulo']; if(isset($e['activo']) && $e['activo'] != 0) $class = 'menu_activo'; - else $class = $classes[$n]; + else $class = @$classes[$n] ? $classes[$n] : end($classes); + if(isset($e['bold'])) $class .= '_bold'; if(!is_null($e['link'])) { $link = $e['link']; if ($this->link_append and @$e['id']) {