X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/1e913f83523bc3f3c66422ba502f7f02cab60f3c..5c2df1a6cf17a91e1eb0d4f910dd5411e8aa7bf6:/sistema/www/servicios.php?ds=inline diff --git a/sistema/www/servicios.php b/sistema/www/servicios.php index 52b94f5..0384dcf 100644 --- a/sistema/www/servicios.php +++ b/sistema/www/servicios.php @@ -75,11 +75,15 @@ foreach($serv->getHijos() as $s) } } } -$marco->addStyleSheet($sh->getCSS()); -$tabla =& new HTML_Table(array('width' => 760, - 'cellspacing' => 10)); -$tabla->addRow(array($col_impar, $col_par), array('valign'=>'top')); -$marco->addBodyContent($tabla); + +if (is_a(@$sh, 'html_servicio')) { + $tabla =& new HTML_Table(array('width' => 760, 'cellspacing' => 10)); + $tabla->addRow(array($col_impar, $col_par), array('valign'=>'top')); + $marco->addStyleSheet($sh->getCSS()); + $marco->addBodyContent($tabla); +} else { + $marco->addBodyContent('