+
+ if ($body['menuVertical']) {
+ $cols = 2;
+ }
+ else {
+ $cols = 1;
+ }
+
+ $tabla = new HTML_Table (array('width' => '100%', 'border' => 0, 'celspacing' => 0, 'celpadding' => 0));
+ //Agrego si corresponde el espacio al inicio
+ if ($body['espacios']) {
+ $espacio = ' <BR>';
+ }
+ else {
+ $espacio = '';
+ }
+ //
+ $row = array();
+ $tmp = '';
+ if ($body['menuVertical']) {
+ if (is_object($body['menuVertical'])) {
+ if (method_exists($body['menuVertical'],'toHtml')) {
+ $tmp.=$body['menuVertical']->toHtml();
+ }
+ else {
+ trigger_error('El metodo no existe!', E_USER_WARNING);
+ }
+ }
+ else {
+ $tmp.=$body['menuVertical'];
+ }
+ $row[] = $tmp;
+ }
+