Conjunto 42ac972 en sipes
- Fecha y hora:
- 26/08/2016 09:11:09 (hace 8 años)
- Branches:
- stable, version-3.0
- Children:
- 66a2dec
- Parents:
- 6cf7ba9
- Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
0.3-modules/principal_inicio_sipp/principal_inicio_sipp.module
r6cf7ba9 r42ac972 421 421 } 422 422 else { 423 $page_content .= '<h4>Reportes:</h4>'; 424 $page_content .= '<table align=\"center\" border=\"0\"><tr>'; 423 $reportes = FALSE; 425 424 if ($ente->nid && $user->ambito_user) { 425 $reportes = TRUE; 426 426 $ambito = taxonomy_get_term($user->ambito_user); 427 427 $terms = taxonomy_get_children($ambito->tid); … … 437 437 $page_enlace = ''; 438 438 if ($ente_planificador && $ente_planificador->tipo == 1) { 439 $reportes = TRUE; 439 440 $roles_type = _ente_planificador_hierarchical_get_roles_type($ente_planificador->tipo); 440 441 foreach($roles_type as $rol => $text) { … … 448 449 } 449 450 } 450 $page_content .= $page_enlace; 451 $page_content .= '</tr></table>'; 452 $page_content .= '<br><br>'; 451 if ($reportes) { 452 $page_content .= '<h4>Reportes:</h4>'; 453 $page_content .= '<table align=\"center\" border=\"0\"><tr>'; 454 $page_content .= $page_enlace; 455 $page_content .= '</tr></table>'; 456 $page_content .= '<br><br>'; 457 } 453 458 } 454 459
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.