'; $output .= '
'; $output .= '
'; foreach ($report['data'] as $nid => $values) { $id = key($values); $pk = $nid; if (user_access('admin planificador')){ $pk = 'node/' . $nid; } $datos = FALSE; if (is_array($values)) { if (trim($values[$id]['value']) != ''){ $datos = TRUE; } } if ($datos) { $output .= ''; if (is_array($report['data'][$nid])) { if (trim($values[$id]['value']) != ''){ $output .= '' . check_plain($values[$id]['value']) . ''; } } $output .= ''; } $links = array(); $link = array("name" => t("Consultar"), "description" => t("Consultar InformaciĆ³n"), "key" => $nid, "url" => "node/$nid", "type" => "consultar"); $links = views_semantic_links($links, $link); $acceso = user_access('view content semantic') ? 1 : 0; $options = array('options' =>$links); drupal_add_js($options, 'setting'); } foreach ($report['extra'] as $nid => $values) { $id = key($values); $pk = $nid; if (is_array($values)) { if (trim($report_extra[$id]['value']) != ''){ $output .= '' . check_plain($report_extra[$id]['value']) . ''; } } $links = array(); $link = array("name" => t("Consultar"), "description" => t("Consultar InformaciĆ³n"), "key" => $nid, "url" => "node/$nid", "type" => "consultar", "target" => "_blank"); $links = views_semantic_links($links, $link); $acceso = user_access('view content semantic') ? 1 : 0; $options = array('options' =>$links); drupal_add_js($options, 'setting'); } $output .= "
"; $output .= "
"; $output .= ""; $output = views_semantic_curl($output, 'rep'); print $output; ?>