Conjunto f4301be en sipp
- Fecha y hora:
- 09/11/2015 16:05:51 (hace 9 años)
- Branches:
- 0.3-stable
- Children:
- 4b7848a
- Parents:
- 674fd44
- Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
0.3-stable-modules/proyectos_reformulacion/proyectos_reformulacion.module
r726794e rf4301be 2759 2759 $header = array(); 2760 2760 $header[] = array('data' => t('Ente')); 2761 $header[] = array('data' => t('Proyecto')); 2761 $header[] = array('data' => t('Proyecto')); 2762 $header[] = array('data' => t('Codigo Nueva Etapa')); 2763 $header[] = array('data' => t('Objetivos EspecÃficos')); 2764 $header[] = array('data' => t('Justificación')); 2762 2765 $header[] = array('data' => t('Fecha')); 2763 2766 $header[] = array('data' => t('Estado Actual')); … … 2793 2796 $acciones = array(); 2794 2797 $row = array(); 2798 $items = array(); 2795 2799 //Ente de relacion con la reformulación 2796 2800 $ente = node_load($node->field_proyecto_ente[0]); 2797 2801 //lista de los objetivos generales 2802 foreach ($node->field_proyecto_oe as $item) { 2803 $text = substr($item["value"], 0 , 150); 2804 $items[] = $text . '...'; 2805 } 2798 2806 $row[] = array('data' => $ente->title, 'style' => 'background:' . $color,); 2799 2807 $row[] = array('data' => $node->title, 'style' => 'background:' . $color,); 2808 $row[] = array('data' => $node->field_proyecto_codigo_n_etap[0]["value"], 'style' => 'background:' . $color, ); 2809 $row[] = array('data' => theme('item_list', $items), 'style' => 'background:' . $color, ); 2810 $row[] = array('data' => $node->field_proyecto_justificacion[0]["value"], 'style' => 'background:' . $color, ); 2800 2811 $row[] = array('data' => format_date($reformular->date), 'style' => 'background:' . $color,); 2801 2812 $estado = isset($states['states'][$reformular->estado]) ? $states['states'][$reformular->estado] : 'N/A'; … … 2835 2846 } 2836 2847 $output = ''; 2837 $output .= theme('table', $header, $rows); 2848 $table_attributes = array('style' => 'width:1400px; margin-left: -200px; margin-top: 30px;'); 2849 $output .= theme('table', $header, $rows, $table_attributes); 2838 2850 $output .= theme('pager', NULL); 2839 2851 return $output; … … 2905 2917 $header = array(); 2906 2918 $header[] = array('data' => t('Ente')); 2907 $header[] = array('data' => t('Proyecto')); 2919 $header[] = array('data' => t('Proyecto')); 2920 $header[] = array('data' => t('Codigo Nueva Etapa')); 2921 $header[] = array('data' => t('Objetivos EspecÃficos')); 2922 $header[] = array('data' => t('Justificación')); 2908 2923 $header[] = array('data' => t('Fecha')); 2909 2924 $header[] = array('data' => t('Estado Actual')); … … 2942 2957 //Ente de relacion con la reformulación 2943 2958 $ente = node_load($node->field_proyecto_ente[0]); 2944 2959 //lista de los objetivos generales 2960 foreach ($node->field_proyecto_oe as $item) { 2961 $text = substr($item["value"], 0 , 150); 2962 $items[] = $text . '...'; 2963 } 2945 2964 $row[] = array('data' => $ente->title, 'style' => 'background:' . $color,); 2946 2965 $row[] = array('data' => $node->title, 'style' => 'background:' . $color,); 2966 $row[] = array('data' => $node->field_proyecto_codigo_n_etap[0]["value"], 'style' => 'background:' . $color, ); 2967 $row[] = array('data' => theme('item_list', $items), 'style' => 'background:' . $color, ); 2968 $row[] = array('data' => $node->field_proyecto_justificacion[0]["value"], 'style' => 'background:' . $color, ); 2947 2969 $row[] = array('data' => format_date($reformular->date), 'style' => 'background:' . $color,); 2948 2970 $estado = isset($states['states'][$reformular->estado]) ? $states['states'][$reformular->estado] : 'N/A'; … … 2983 3005 } 2984 3006 $output = ''; 2985 $output .= theme('table', $header, $rows); 3007 $table_attributes = array('style' => 'width:1400px; margin-left: -200px; margin-top: 30px;'); 3008 $output .= theme('table', $header, $rows, $table_attributes); 2986 3009 $output .= theme('pager', NULL); 2987 3010 return $output;
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.