X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/4cf359b26dbb47d985591feb13d4b5a4d6904065..329f1c4866a7c6ec0f3068c1b2f661b8fef05f8d:/lib/MECON/HTML/Arbol.php?ds=sidebyside diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index e33e65d..d4a25b2 100644 --- a/lib/MECON/HTML/Arbol.php +++ b/lib/MECON/HTML/Arbol.php @@ -135,9 +135,10 @@ class MECON_HTML_Arbol extends HTML_Table $imagen = $imagen->toHtml(); } foreach ($dat as $e) { - $titulo = $margen.$imagen.$e['titulo']; + $titulo = $e['titulo']; if(isset($e['activo']) && $e['activo'] != 0) $class = 'menu_activo'; else $class = $classes[$n]; + if(isset($e['bold'])) $class .= '_bold'; if(!is_null($e['link'])) { $link = $e['link']; if ($this->link_append and @$e['id']) { @@ -145,6 +146,7 @@ class MECON_HTML_Arbol extends HTML_Table } $titulo = ''.$titulo.''; } + $titulo = '
'.$margen.$imagen.''.$titulo.'
';//TODO $tabla->addRow(array($titulo), array('class' => $class)); if(isset($e['sub'])) { $this->expandir($e['sub'], $n+1, $tabla);