* @access public
*/
function getCSS() {
- return '/MECON/css/arbol';
+ return '/MECON/css/html/arbol';
}
/**
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']) {
}
$titulo = '<a href="'.$link.'" class="'.$class.'">'.$titulo.'</a>';
}
- $titulo = '<table border=0 cellpadding=0 cellspacing=0><tr><td valign="top">'.$margen.$imagen.'</td><td>'.$titulo.'</td></tr></table>';//TODO
+ $titulo = '<table border=0 cellpadding=0 cellspacing=0 align="left"><tr><td valign="top">'.$margen.$imagen.'</td><td>'.$titulo.'</td></tr></table>';//TODO
$tabla->addRow(array($titulo), array('class' => $class));
if(isset($e['sub'])) {
$this->expandir($e['sub'], $n+1, $tabla);