1 | <?php |
---|
2 | |
---|
3 | /** |
---|
4 | * Sistema Integral de Planificación y Presupuesto (SIPP) |
---|
5 | * @file accion_especifica.install |
---|
6 | * Drupal part Module to Sistema Integral de Planificación y Presupuesto (SIPP) |
---|
7 | * Copyright 2013 Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana (CENDITEL) |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or modify |
---|
10 | * it under the terms of the GNU General Public License as published by |
---|
11 | * the Free Software Foundation; either version 2 of the License, or |
---|
12 | * (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
22 | * |
---|
23 | * @author Cenditel Merida - Msc. Juan Vizcarrondo |
---|
24 | * @date 2013-02-02 // (año-mes-dia) |
---|
25 | * @date 2015-02-06 // (año-mes-dia) |
---|
26 | * @version 0.2 // (0.1) |
---|
27 | * |
---|
28 | */ |
---|
29 | |
---|
30 | /* |
---|
31 | * Implementation of hook_install() |
---|
32 | */ |
---|
33 | function accion_especifica_install() { |
---|
34 | // Notify content module when this module is uninstalled. |
---|
35 | drupal_load('module', 'content'); |
---|
36 | content_notify('install', 'accion_especifica'); |
---|
37 | } |
---|
38 | |
---|
39 | /* |
---|
40 | * Implementation of hook_uninstall() |
---|
41 | */ |
---|
42 | function accion_especifica_uninstall() { |
---|
43 | // Notify content module when this module is uninstalled. |
---|
44 | include_once('./'. drupal_get_path('module', 'content') .'/includes/content.crud.inc'); |
---|
45 | _accion_especifica_install_type_remove_field(); |
---|
46 | content_notify('uninstall', 'accion_especifica'); |
---|
47 | } |
---|
48 | |
---|
49 | /* |
---|
50 | * Implementation of hook_enable() |
---|
51 | */ |
---|
52 | function accion_especifica_enable() { |
---|
53 | // Notify content module when this module is uninstalled. |
---|
54 | drupal_load('module', 'content'); |
---|
55 | drupal_load('module', 'taxonomy'); |
---|
56 | content_notify('enable', 'accion_especifica'); |
---|
57 | include_once('./'. drupal_get_path('module', 'content') .'/includes/content.crud.inc'); |
---|
58 | _accion_especifica_install_type_create_field(); |
---|
59 | } |
---|
60 | |
---|
61 | /* |
---|
62 | * Implementation of hook_disable() |
---|
63 | */ |
---|
64 | function accion_especifica_disable() { |
---|
65 | drupal_load('module', 'content'); |
---|
66 | content_notify('disable', 'accion_especifica'); |
---|
67 | } |
---|
68 | |
---|
69 | /* |
---|
70 | * _accion_especifica_install_type_remove_field |
---|
71 | * eliminar los tipos de contenidos necesarios para el funcionamiento del modulo |
---|
72 | */ |
---|
73 | function _accion_especifica_install_type_remove_field() { |
---|
74 | // Load fields. |
---|
75 | $accion_especifica_fields = _accion_especifica_load_fields(); |
---|
76 | $remove_field = FALSE; |
---|
77 | if (count($accion_especifica_fields['fields'])) { |
---|
78 | foreach ($accion_especifica_fields['fields'] as $accion_especifica_inserts) { |
---|
79 | $instances = content_field_instance_read(array( |
---|
80 | 'field_name' => $accion_especifica_inserts['field_name'], |
---|
81 | 'type_name' => $accion_especifica_inserts['type_name'] |
---|
82 | )); |
---|
83 | if (count($instances)) { |
---|
84 | $remove_field = TRUE; |
---|
85 | // Only add the field if it doesn't exist. Don't overwrite any changes. |
---|
86 | content_field_instance_delete($accion_especifica_inserts['field_name'], $accion_especifica_inserts['type_name']); |
---|
87 | drupal_set_message(t("Removed field %typefield in content type %typecontent", array('%typefield' => $accion_especifica_inserts['label'], '%typecontent' => $accion_especifica_inserts['type_name']))); |
---|
88 | } |
---|
89 | } |
---|
90 | } |
---|
91 | if ($remove_field) { |
---|
92 | content_clear_type_cache(TRUE); |
---|
93 | menu_rebuild(); |
---|
94 | } |
---|
95 | } |
---|
96 | |
---|
97 | /* |
---|
98 | * _accion_especifica_install_type_create_field |
---|
99 | * Crear los tipos de contenidos necesarios para el funcionamiento del modulo |
---|
100 | */ |
---|
101 | function _accion_especifica_install_type_create_field() { |
---|
102 | // Load fields. |
---|
103 | $accion_especifica_fields = _accion_especifica_load_fields(); |
---|
104 | $create_field = FALSE; |
---|
105 | if (count($accion_especifica_fields['fields'])) { |
---|
106 | foreach ($accion_especifica_fields['fields'] as $accion_especifica_inserts) { |
---|
107 | $instances = content_field_instance_read(array( |
---|
108 | 'field_name' => $accion_especifica_inserts['field_name'], |
---|
109 | 'type_name' => $accion_especifica_inserts['type_name'] |
---|
110 | )); |
---|
111 | if (count($instances) < 1) { |
---|
112 | $create_field = TRUE; |
---|
113 | // Only add the field if it doesn't exist. Don't overwrite any changes. |
---|
114 | $field_create = content_field_instance_create($accion_especifica_inserts, FALSE); |
---|
115 | drupal_set_message(t("Saved field %typefield in content type %typecontent", array('%typefield' => $accion_especifica_inserts['label'], '%typecontent' => $accion_especifica_inserts['type_name']))); |
---|
116 | } |
---|
117 | } |
---|
118 | } |
---|
119 | if ($create_field) { |
---|
120 | content_clear_type_cache(TRUE); |
---|
121 | menu_rebuild(); |
---|
122 | } |
---|
123 | } |
---|
124 | |
---|
125 | /* |
---|
126 | * _accion_especifica_load_fields |
---|
127 | * Campos |
---|
128 | */ |
---|
129 | function _accion_especifica_load_fields() { |
---|
130 | $content = array(); |
---|
131 | $content['fields'] = array(); |
---|
132 | // accion especifica |
---|
133 | $content['fields'][] = array ( |
---|
134 | 'label' => 'Nombre de la Acción EspecÃfica', |
---|
135 | 'type_name' => 'accion_especifica', |
---|
136 | 'field_name' => 'field_accion_titulo', |
---|
137 | 'type' => 'text', |
---|
138 | 'widget_type' => 'text_textarea', |
---|
139 | 'change' => 'Change basic information', |
---|
140 | 'weight' => '6', |
---|
141 | 'rows' => '5', |
---|
142 | 'size' => 60, |
---|
143 | 'description' => '', |
---|
144 | 'default_value' => |
---|
145 | array ( |
---|
146 | 0 => |
---|
147 | array ( |
---|
148 | 'value' => '', |
---|
149 | '_error_element' => 'default_value_widget][field_accion_titulo][0][value', |
---|
150 | ), |
---|
151 | ), |
---|
152 | 'default_value_php' => '', |
---|
153 | 'default_value_widget' => |
---|
154 | array ( |
---|
155 | 'field_accion_esp_bien' => |
---|
156 | array ( |
---|
157 | 0 => |
---|
158 | array ( |
---|
159 | 'value' => '', |
---|
160 | '_error_element' => 'default_value_widget][field_accion_titulo][0][value', |
---|
161 | ), |
---|
162 | ), |
---|
163 | ), |
---|
164 | 'required' => 1, |
---|
165 | 'multiple' => '0', |
---|
166 | 'text_processing' => '0', |
---|
167 | 'max_length' => '', |
---|
168 | 'allowed_values' => '', |
---|
169 | 'allowed_values_php' => '', |
---|
170 | 'op' => 'Save field settings', |
---|
171 | 'module' => 'text', |
---|
172 | 'widget_module' => 'text', |
---|
173 | 'columns' => |
---|
174 | array ( |
---|
175 | 'value' => |
---|
176 | array ( |
---|
177 | 'type' => 'text', |
---|
178 | 'size' => 'big', |
---|
179 | 'not null' => false, |
---|
180 | 'sortable' => true, |
---|
181 | 'views' => true, |
---|
182 | ), |
---|
183 | ), |
---|
184 | 'display_settings' => |
---|
185 | array ( |
---|
186 | 'label' => |
---|
187 | array ( |
---|
188 | 'format' => 'above', |
---|
189 | 'exclude' => 0, |
---|
190 | ), |
---|
191 | 'teaser' => |
---|
192 | array ( |
---|
193 | 'format' => 'default', |
---|
194 | 'exclude' => 0, |
---|
195 | ), |
---|
196 | 'full' => |
---|
197 | array ( |
---|
198 | 'format' => 'default', |
---|
199 | 'exclude' => 0, |
---|
200 | ), |
---|
201 | 4 => |
---|
202 | array ( |
---|
203 | 'format' => 'default', |
---|
204 | 'exclude' => 0, |
---|
205 | ), |
---|
206 | 'inline' => |
---|
207 | array ( |
---|
208 | 'format' => 'default', |
---|
209 | 'exclude' => 0, |
---|
210 | ), |
---|
211 | 'modal' => |
---|
212 | array ( |
---|
213 | 'format' => 'default', |
---|
214 | 'exclude' => 0, |
---|
215 | ), |
---|
216 | 'token' => |
---|
217 | array ( |
---|
218 | 'format' => 'default', |
---|
219 | 'exclude' => 0, |
---|
220 | ), |
---|
221 | ), |
---|
222 | ); |
---|
223 | |
---|
224 | |
---|
225 | |
---|
226 | |
---|
227 | $content['fields'][] = array ( |
---|
228 | 'label' => 'Fecha de Inicio', |
---|
229 | 'type_name' => 'accion_especifica', |
---|
230 | 'field_name' => 'field_accion_esp_fechai', |
---|
231 | 'type' => 'datetime', |
---|
232 | 'widget_type' => 'date_popup', |
---|
233 | 'change' => 'Change basic information', |
---|
234 | 'weight' => '3', |
---|
235 | 'default_value' => 'now', |
---|
236 | 'default_value2' => 'same', |
---|
237 | 'default_value_code' => '', |
---|
238 | 'default_value_code2' => '', |
---|
239 | 'input_format' => 'd/m/Y', |
---|
240 | 'input_format_custom' => '', |
---|
241 | 'year_range' => '-4:+1', |
---|
242 | 'increment' => '1', |
---|
243 | 'advanced' => |
---|
244 | array ( |
---|
245 | 'label_position' => 'above', |
---|
246 | 'text_parts' => |
---|
247 | array ( |
---|
248 | 'year' => 0, |
---|
249 | 'month' => 0, |
---|
250 | 'day' => 0, |
---|
251 | 'hour' => 0, |
---|
252 | 'minute' => 0, |
---|
253 | 'second' => 0, |
---|
254 | ), |
---|
255 | ), |
---|
256 | 'label_position' => 'above', |
---|
257 | 'text_parts' => |
---|
258 | array ( |
---|
259 | ), |
---|
260 | 'description' => '', |
---|
261 | 'required' => 1, |
---|
262 | 'multiple' => '0', |
---|
263 | 'repeat' => 0, |
---|
264 | 'todate' => '', |
---|
265 | 'granularity' => |
---|
266 | array ( |
---|
267 | 'year' => 'year', |
---|
268 | 'month' => 'month', |
---|
269 | 'day' => 'day', |
---|
270 | ), |
---|
271 | 'default_format' => 'medium', |
---|
272 | 'tz_handling' => 'none', |
---|
273 | 'timezone_db' => '', |
---|
274 | 'op' => 'Save field settings', |
---|
275 | 'module' => 'date', |
---|
276 | 'widget_module' => 'date', |
---|
277 | 'columns' => |
---|
278 | array ( |
---|
279 | 'value' => |
---|
280 | array ( |
---|
281 | 'type' => 'datetime', |
---|
282 | 'not null' => false, |
---|
283 | 'sortable' => true, |
---|
284 | 'views' => true, |
---|
285 | ), |
---|
286 | ), |
---|
287 | 'display_settings' => |
---|
288 | array ( |
---|
289 | 'label' => |
---|
290 | array ( |
---|
291 | 'format' => 'above', |
---|
292 | 'exclude' => 0, |
---|
293 | ), |
---|
294 | 'teaser' => |
---|
295 | array ( |
---|
296 | 'format' => 'default', |
---|
297 | 'exclude' => 0, |
---|
298 | ), |
---|
299 | 'full' => |
---|
300 | array ( |
---|
301 | 'format' => 'default', |
---|
302 | 'exclude' => 0, |
---|
303 | ), |
---|
304 | 4 => |
---|
305 | array ( |
---|
306 | 'format' => 'default', |
---|
307 | 'exclude' => 0, |
---|
308 | ), |
---|
309 | 'inline' => |
---|
310 | array ( |
---|
311 | 'format' => 'default', |
---|
312 | 'exclude' => 0, |
---|
313 | ), |
---|
314 | 'modal' => |
---|
315 | array ( |
---|
316 | 'format' => 'default', |
---|
317 | 'exclude' => 0, |
---|
318 | ), |
---|
319 | 'token' => |
---|
320 | array ( |
---|
321 | 'format' => 'default', |
---|
322 | 'exclude' => 0, |
---|
323 | ), |
---|
324 | ), |
---|
325 | ); |
---|
326 | $content['fields'][] = array ( |
---|
327 | 'label' => 'Fecha de Fin', |
---|
328 | 'type_name' => 'accion_especifica', |
---|
329 | 'field_name' => 'field_accion_esp_fechaf', |
---|
330 | 'type' => 'datetime', |
---|
331 | 'widget_type' => 'date_popup', |
---|
332 | 'change' => 'Change basic information', |
---|
333 | 'weight' => '4', |
---|
334 | 'default_value' => 'now', |
---|
335 | 'default_value2' => 'same', |
---|
336 | 'default_value_code' => '', |
---|
337 | 'default_value_code2' => '', |
---|
338 | 'input_format' => 'd/m/Y', |
---|
339 | 'input_format_custom' => '', |
---|
340 | 'year_range' => '-4:+1', |
---|
341 | 'increment' => '1', |
---|
342 | 'advanced' => |
---|
343 | array ( |
---|
344 | 'label_position' => 'above', |
---|
345 | 'text_parts' => |
---|
346 | array ( |
---|
347 | 'year' => 0, |
---|
348 | 'month' => 0, |
---|
349 | 'day' => 0, |
---|
350 | 'hour' => 0, |
---|
351 | 'minute' => 0, |
---|
352 | 'second' => 0, |
---|
353 | ), |
---|
354 | ), |
---|
355 | 'label_position' => 'above', |
---|
356 | 'text_parts' => |
---|
357 | array ( |
---|
358 | ), |
---|
359 | 'description' => '', |
---|
360 | 'required' => 1, |
---|
361 | 'multiple' => '0', |
---|
362 | 'repeat' => 0, |
---|
363 | 'todate' => '', |
---|
364 | 'granularity' => |
---|
365 | array ( |
---|
366 | 'year' => 'year', |
---|
367 | 'month' => 'month', |
---|
368 | 'day' => 'day', |
---|
369 | ), |
---|
370 | 'default_format' => 'medium', |
---|
371 | 'tz_handling' => 'none', |
---|
372 | 'timezone_db' => 'UTC', |
---|
373 | 'op' => 'Save field settings', |
---|
374 | 'module' => 'date', |
---|
375 | 'widget_module' => 'date', |
---|
376 | 'columns' => |
---|
377 | array ( |
---|
378 | 'value' => |
---|
379 | array ( |
---|
380 | 'type' => 'datetime', |
---|
381 | 'not null' => false, |
---|
382 | 'sortable' => true, |
---|
383 | 'views' => true, |
---|
384 | ), |
---|
385 | ), |
---|
386 | 'display_settings' => |
---|
387 | array ( |
---|
388 | 'label' => |
---|
389 | array ( |
---|
390 | 'format' => 'above', |
---|
391 | 'exclude' => 0, |
---|
392 | ), |
---|
393 | 'teaser' => |
---|
394 | array ( |
---|
395 | 'format' => 'default', |
---|
396 | 'exclude' => 0, |
---|
397 | ), |
---|
398 | 'full' => |
---|
399 | array ( |
---|
400 | 'format' => 'default', |
---|
401 | 'exclude' => 0, |
---|
402 | ), |
---|
403 | 4 => |
---|
404 | array ( |
---|
405 | 'format' => 'default', |
---|
406 | 'exclude' => 0, |
---|
407 | ), |
---|
408 | 'inline' => |
---|
409 | array ( |
---|
410 | 'format' => 'default', |
---|
411 | 'exclude' => 0, |
---|
412 | ), |
---|
413 | 'modal' => |
---|
414 | array ( |
---|
415 | 'format' => 'default', |
---|
416 | 'exclude' => 0, |
---|
417 | ), |
---|
418 | 'token' => |
---|
419 | array ( |
---|
420 | 'format' => 'default', |
---|
421 | 'exclude' => 0, |
---|
422 | ), |
---|
423 | ), |
---|
424 | ); |
---|
425 | $content['fields'][] = array ( |
---|
426 | 'label' => 'Ejecutor', |
---|
427 | 'type_name' => 'accion_especifica', |
---|
428 | 'field_name' => 'field_accion_esp_ejecutor', |
---|
429 | 'type' => 'text', |
---|
430 | 'widget_type' => 'text_textfield', |
---|
431 | 'change' => 'Change basic information', |
---|
432 | 'weight' => '5', |
---|
433 | 'rows' => 5, |
---|
434 | 'size' => '60', |
---|
435 | 'description' => '', |
---|
436 | 'default_value' => |
---|
437 | array ( |
---|
438 | 0 => |
---|
439 | array ( |
---|
440 | 'value' => '', |
---|
441 | '_error_element' => 'default_value_widget][field_accion_esp_ejecutor][0][value', |
---|
442 | ), |
---|
443 | ), |
---|
444 | 'default_value_php' => '', |
---|
445 | 'default_value_widget' => |
---|
446 | array ( |
---|
447 | 'field_accion_esp_ejecutor' => |
---|
448 | array ( |
---|
449 | 0 => |
---|
450 | array ( |
---|
451 | 'value' => '', |
---|
452 | '_error_element' => 'default_value_widget][field_accion_esp_ejecutor][0][value', |
---|
453 | ), |
---|
454 | ), |
---|
455 | ), |
---|
456 | 'required' => 1, |
---|
457 | 'multiple' => '0', |
---|
458 | 'text_processing' => '0', |
---|
459 | 'max_length' => '200', |
---|
460 | 'allowed_values' => '', |
---|
461 | 'allowed_values_php' => '', |
---|
462 | 'op' => 'Save field settings', |
---|
463 | 'module' => 'text', |
---|
464 | 'widget_module' => 'text', |
---|
465 | 'columns' => |
---|
466 | array ( |
---|
467 | 'value' => |
---|
468 | array ( |
---|
469 | 'type' => 'varchar', |
---|
470 | 'length' => '200', |
---|
471 | 'not null' => false, |
---|
472 | 'sortable' => true, |
---|
473 | 'views' => true, |
---|
474 | ), |
---|
475 | ), |
---|
476 | 'display_settings' => |
---|
477 | array ( |
---|
478 | 'label' => |
---|
479 | array ( |
---|
480 | 'format' => 'above', |
---|
481 | 'exclude' => 0, |
---|
482 | ), |
---|
483 | 'teaser' => |
---|
484 | array ( |
---|
485 | 'format' => 'default', |
---|
486 | 'exclude' => 0, |
---|
487 | ), |
---|
488 | 'full' => |
---|
489 | array ( |
---|
490 | 'format' => 'default', |
---|
491 | 'exclude' => 0, |
---|
492 | ), |
---|
493 | 4 => |
---|
494 | array ( |
---|
495 | 'format' => 'default', |
---|
496 | 'exclude' => 0, |
---|
497 | ), |
---|
498 | 'inline' => |
---|
499 | array ( |
---|
500 | 'format' => 'default', |
---|
501 | 'exclude' => 0, |
---|
502 | ), |
---|
503 | 'modal' => |
---|
504 | array ( |
---|
505 | 'format' => 'default', |
---|
506 | 'exclude' => 0, |
---|
507 | ), |
---|
508 | 'token' => |
---|
509 | array ( |
---|
510 | 'format' => 'default', |
---|
511 | 'exclude' => 0, |
---|
512 | ), |
---|
513 | ), |
---|
514 | ); |
---|
515 | $content['fields'][] = array ( |
---|
516 | 'label' => 'Descripción del Bien o Servicio', |
---|
517 | 'type_name' => 'accion_especifica', |
---|
518 | 'field_name' => 'field_accion_esp_bien', |
---|
519 | 'type' => 'text', |
---|
520 | 'widget_type' => 'text_textarea', |
---|
521 | 'change' => 'Change basic information', |
---|
522 | 'weight' => '6', |
---|
523 | 'rows' => '5', |
---|
524 | 'size' => 60, |
---|
525 | 'description' => '', |
---|
526 | 'default_value' => |
---|
527 | array ( |
---|
528 | 0 => |
---|
529 | array ( |
---|
530 | 'value' => '', |
---|
531 | '_error_element' => 'default_value_widget][field_accion_esp_bien][0][value', |
---|
532 | ), |
---|
533 | ), |
---|
534 | 'default_value_php' => '', |
---|
535 | 'default_value_widget' => |
---|
536 | array ( |
---|
537 | 'field_accion_esp_bien' => |
---|
538 | array ( |
---|
539 | 0 => |
---|
540 | array ( |
---|
541 | 'value' => '', |
---|
542 | '_error_element' => 'default_value_widget][field_accion_esp_bien][0][value', |
---|
543 | ), |
---|
544 | ), |
---|
545 | ), |
---|
546 | 'required' => 1, |
---|
547 | 'multiple' => '0', |
---|
548 | 'text_processing' => '0', |
---|
549 | 'max_length' => '', |
---|
550 | 'allowed_values' => '', |
---|
551 | 'allowed_values_php' => '', |
---|
552 | 'op' => 'Save field settings', |
---|
553 | 'module' => 'text', |
---|
554 | 'widget_module' => 'text', |
---|
555 | 'columns' => |
---|
556 | array ( |
---|
557 | 'value' => |
---|
558 | array ( |
---|
559 | 'type' => 'text', |
---|
560 | 'size' => 'big', |
---|
561 | 'not null' => false, |
---|
562 | 'sortable' => true, |
---|
563 | 'views' => true, |
---|
564 | ), |
---|
565 | ), |
---|
566 | 'display_settings' => |
---|
567 | array ( |
---|
568 | 'label' => |
---|
569 | array ( |
---|
570 | 'format' => 'above', |
---|
571 | 'exclude' => 0, |
---|
572 | ), |
---|
573 | 'teaser' => |
---|
574 | array ( |
---|
575 | 'format' => 'default', |
---|
576 | 'exclude' => 0, |
---|
577 | ), |
---|
578 | 'full' => |
---|
579 | array ( |
---|
580 | 'format' => 'default', |
---|
581 | 'exclude' => 0, |
---|
582 | ), |
---|
583 | 4 => |
---|
584 | array ( |
---|
585 | 'format' => 'default', |
---|
586 | 'exclude' => 0, |
---|
587 | ), |
---|
588 | 'inline' => |
---|
589 | array ( |
---|
590 | 'format' => 'default', |
---|
591 | 'exclude' => 0, |
---|
592 | ), |
---|
593 | 'modal' => |
---|
594 | array ( |
---|
595 | 'format' => 'default', |
---|
596 | 'exclude' => 0, |
---|
597 | ), |
---|
598 | 'token' => |
---|
599 | array ( |
---|
600 | 'format' => 'default', |
---|
601 | 'exclude' => 0, |
---|
602 | ), |
---|
603 | ), |
---|
604 | ); |
---|
605 | $content['fields'][] = array ( |
---|
606 | 'label' => 'Unidad de Medida', |
---|
607 | 'type_name' => 'accion_especifica', |
---|
608 | 'field_name' => 'field_accion_esp_unidadm', |
---|
609 | 'type' => 'content_taxonomy', |
---|
610 | 'widget_type' => 'content_taxonomy_select', |
---|
611 | 'change' => 'Change basic information', |
---|
612 | 'weight' => '7', |
---|
613 | 'show_depth' => 1, |
---|
614 | 'group_parent' => '0', |
---|
615 | 'description' => '', |
---|
616 | 'default_value' => |
---|
617 | array ( |
---|
618 | 0 => |
---|
619 | array ( |
---|
620 | 'value' => '', |
---|
621 | ), |
---|
622 | ), |
---|
623 | 'default_value_php' => '', |
---|
624 | 'default_value_widget' => |
---|
625 | array ( |
---|
626 | 'field_accion_esp_unidadm' => |
---|
627 | array ( |
---|
628 | 'value' => '', |
---|
629 | ), |
---|
630 | ), |
---|
631 | 'required' => 1, |
---|
632 | 'multiple' => '0', |
---|
633 | 'save_term_node' => 0, |
---|
634 | 'vid' => variable_get('proyectos_operativos_extra_unidad', 0), |
---|
635 | 'parent' => '0', |
---|
636 | 'parent_php_code' => '', |
---|
637 | 'depth' => '', |
---|
638 | 'op' => 'Save field settings', |
---|
639 | 'module' => 'content_taxonomy', |
---|
640 | 'widget_module' => 'content_taxonomy_options', |
---|
641 | 'columns' => |
---|
642 | array ( |
---|
643 | 'value' => |
---|
644 | array ( |
---|
645 | 'type' => 'int', |
---|
646 | 'not null' => false, |
---|
647 | 'sortable' => false, |
---|
648 | ), |
---|
649 | ), |
---|
650 | 'display_settings' => |
---|
651 | array ( |
---|
652 | 'label' => |
---|
653 | array ( |
---|
654 | 'format' => 'above', |
---|
655 | 'exclude' => 0, |
---|
656 | ), |
---|
657 | 'teaser' => |
---|
658 | array ( |
---|
659 | 'format' => 'default', |
---|
660 | 'exclude' => 0, |
---|
661 | ), |
---|
662 | 'full' => |
---|
663 | array ( |
---|
664 | 'format' => 'default', |
---|
665 | 'exclude' => 0, |
---|
666 | ), |
---|
667 | 4 => |
---|
668 | array ( |
---|
669 | 'format' => 'default', |
---|
670 | 'exclude' => 0, |
---|
671 | ), |
---|
672 | 'inline' => |
---|
673 | array ( |
---|
674 | 'format' => 'default', |
---|
675 | 'exclude' => 0, |
---|
676 | ), |
---|
677 | 'modal' => |
---|
678 | array ( |
---|
679 | 'format' => 'default', |
---|
680 | 'exclude' => 0, |
---|
681 | ), |
---|
682 | 'token' => |
---|
683 | array ( |
---|
684 | 'format' => 'default', |
---|
685 | 'exclude' => 0, |
---|
686 | ), |
---|
687 | ), |
---|
688 | ); |
---|
689 | $content['fields'][] = array ( |
---|
690 | 'label' => 'Ponderación de Importancia de la AE', |
---|
691 | 'type_name' => 'accion_especifica', |
---|
692 | 'field_name' => 'field_accion_esp_ponderacion', |
---|
693 | 'type' => 'number_decimal', |
---|
694 | 'widget_type' => 'number', |
---|
695 | 'change' => 'Change basic information', |
---|
696 | 'weight' => '8', |
---|
697 | 'description' => '', |
---|
698 | 'default_value' => |
---|
699 | array ( |
---|
700 | 0 => |
---|
701 | array ( |
---|
702 | 'value' => '', |
---|
703 | '_error_element' => 'default_value_widget][field_accion_esp_ponderacion][0][value', |
---|
704 | ), |
---|
705 | ), |
---|
706 | 'default_value_php' => '', |
---|
707 | 'default_value_widget' => |
---|
708 | array ( |
---|
709 | 'field_accion_esp_ponderacion' => |
---|
710 | array ( |
---|
711 | 0 => |
---|
712 | array ( |
---|
713 | 'value' => '', |
---|
714 | '_error_element' => 'default_value_widget][field_accion_esp_ponderacion][0][value', |
---|
715 | ), |
---|
716 | ), |
---|
717 | ), |
---|
718 | 'required' => 1, |
---|
719 | 'multiple' => '0', |
---|
720 | 'min' => '0', |
---|
721 | 'max' => '', |
---|
722 | 'precision' => '32', |
---|
723 | 'scale' => '0', |
---|
724 | 'decimal' => '.', |
---|
725 | 'prefix' => '', |
---|
726 | 'suffix' => '%', |
---|
727 | 'allowed_values' => '', |
---|
728 | 'allowed_values_php' => '', |
---|
729 | 'op' => 'Save field settings', |
---|
730 | 'module' => 'number', |
---|
731 | 'widget_module' => 'number', |
---|
732 | 'columns' => |
---|
733 | array ( |
---|
734 | 'value' => |
---|
735 | array ( |
---|
736 | 'type' => 'numeric', |
---|
737 | 'precision' => '32', |
---|
738 | 'scale' => '0', |
---|
739 | 'not null' => false, |
---|
740 | 'sortable' => true, |
---|
741 | ), |
---|
742 | ), |
---|
743 | 'display_settings' => |
---|
744 | array ( |
---|
745 | 'label' => |
---|
746 | array ( |
---|
747 | 'format' => 'above', |
---|
748 | 'exclude' => 0, |
---|
749 | ), |
---|
750 | 'teaser' => |
---|
751 | array ( |
---|
752 | 'format' => 'default', |
---|
753 | 'exclude' => 0, |
---|
754 | ), |
---|
755 | 'full' => |
---|
756 | array ( |
---|
757 | 'format' => 'default', |
---|
758 | 'exclude' => 0, |
---|
759 | ), |
---|
760 | 4 => |
---|
761 | array ( |
---|
762 | 'format' => 'default', |
---|
763 | 'exclude' => 0, |
---|
764 | ), |
---|
765 | 'inline' => |
---|
766 | array ( |
---|
767 | 'format' => 'default', |
---|
768 | 'exclude' => 0, |
---|
769 | ), |
---|
770 | 'modal' => |
---|
771 | array ( |
---|
772 | 'format' => 'default', |
---|
773 | 'exclude' => 0, |
---|
774 | ), |
---|
775 | 'token' => |
---|
776 | array ( |
---|
777 | 'format' => 'default', |
---|
778 | 'exclude' => 0, |
---|
779 | ), |
---|
780 | ), |
---|
781 | ); |
---|
782 | $content['fields'][] = array ( |
---|
783 | 'label' => 'Distribución de Meta FisÃca', |
---|
784 | 'type_name' => 'accion_especifica', |
---|
785 | 'field_name' => 'field_accion_esp_metaf', |
---|
786 | 'type' => 'cck_plan_fields_simple_field', |
---|
787 | 'widget_type' => 'cck_plan_fields_simple_elements', |
---|
788 | 'change' => 'Change basic information', |
---|
789 | 'weight' => '9', |
---|
790 | 'min' => '0', |
---|
791 | 'max' => '', |
---|
792 | 'description' => '', |
---|
793 | 'default_value' => |
---|
794 | array ( |
---|
795 | 0 => |
---|
796 | array ( |
---|
797 | 'value' => '0', |
---|
798 | 'value_1' => '0', |
---|
799 | 'value_2' => '0', |
---|
800 | 'value_3' => '0', |
---|
801 | 'value_4' => '0', |
---|
802 | 'value_5' => '0', |
---|
803 | 'value_6' => '0', |
---|
804 | 'value_7' => '0', |
---|
805 | 'value_8' => '0', |
---|
806 | 'value_9' => '0', |
---|
807 | 'value_10' => '0', |
---|
808 | 'value_11' => '0', |
---|
809 | 'total' => '0', |
---|
810 | '_error_element' => 'value', |
---|
811 | ), |
---|
812 | ), |
---|
813 | 'default_value_php' => '', |
---|
814 | 'default_value_widget' => |
---|
815 | array ( |
---|
816 | 'field_accion_esp_metaf' => |
---|
817 | array ( |
---|
818 | 0 => |
---|
819 | array ( |
---|
820 | 'value' => 0, |
---|
821 | 'value_1' => 0, |
---|
822 | 'value_2' => 0, |
---|
823 | 'value_3' => 0, |
---|
824 | 'value_4' => 0, |
---|
825 | 'value_5' => 0, |
---|
826 | 'value_6' => 0, |
---|
827 | 'value_7' => 0, |
---|
828 | 'value_8' => 0, |
---|
829 | 'value_9' => 0, |
---|
830 | 'value_10' => 0, |
---|
831 | 'value_11' => 0, |
---|
832 | 'total' => 0, |
---|
833 | '_error_element' => 'value', |
---|
834 | ), |
---|
835 | ), |
---|
836 | ), |
---|
837 | 'required' => 1, |
---|
838 | 'multiple' => '0', |
---|
839 | 'cck_plan_fields_simple_type' => 'int', |
---|
840 | 'op' => 'Save field settings', |
---|
841 | 'module' => 'cck_plan_fields_simple', |
---|
842 | 'widget_module' => 'cck_plan_fields_simple', |
---|
843 | 'columns' => |
---|
844 | array ( |
---|
845 | 'value' => |
---|
846 | array ( |
---|
847 | 'type' => 'int', |
---|
848 | 'not null' => false, |
---|
849 | 'sortable' => true, |
---|
850 | 'views' => true, |
---|
851 | ), |
---|
852 | 'value_1' => |
---|
853 | array ( |
---|
854 | 'type' => 'int', |
---|
855 | 'not null' => false, |
---|
856 | 'sortable' => true, |
---|
857 | 'views' => true, |
---|
858 | ), |
---|
859 | 'value_2' => |
---|
860 | array ( |
---|
861 | 'type' => 'int', |
---|
862 | 'not null' => false, |
---|
863 | 'sortable' => true, |
---|
864 | 'views' => true, |
---|
865 | ), |
---|
866 | 'value_3' => |
---|
867 | array ( |
---|
868 | 'type' => 'int', |
---|
869 | 'not null' => false, |
---|
870 | 'sortable' => true, |
---|
871 | 'views' => true, |
---|
872 | ), |
---|
873 | 'value_4' => |
---|
874 | array ( |
---|
875 | 'type' => 'int', |
---|
876 | 'not null' => false, |
---|
877 | 'sortable' => true, |
---|
878 | 'views' => true, |
---|
879 | ), |
---|
880 | 'value_5' => |
---|
881 | array ( |
---|
882 | 'type' => 'int', |
---|
883 | 'not null' => false, |
---|
884 | 'sortable' => true, |
---|
885 | 'views' => true, |
---|
886 | ), |
---|
887 | 'value_6' => |
---|
888 | array ( |
---|
889 | 'type' => 'int', |
---|
890 | 'not null' => false, |
---|
891 | 'sortable' => true, |
---|
892 | 'views' => true, |
---|
893 | ), |
---|
894 | 'value_7' => |
---|
895 | array ( |
---|
896 | 'type' => 'int', |
---|
897 | 'not null' => false, |
---|
898 | 'sortable' => true, |
---|
899 | 'views' => true, |
---|
900 | ), |
---|
901 | 'value_8' => |
---|
902 | array ( |
---|
903 | 'type' => 'int', |
---|
904 | 'not null' => false, |
---|
905 | 'sortable' => true, |
---|
906 | 'views' => true, |
---|
907 | ), |
---|
908 | 'value_9' => |
---|
909 | array ( |
---|
910 | 'type' => 'int', |
---|
911 | 'not null' => false, |
---|
912 | 'sortable' => true, |
---|
913 | 'views' => true, |
---|
914 | ), |
---|
915 | 'value_10' => |
---|
916 | array ( |
---|
917 | 'type' => 'int', |
---|
918 | 'not null' => false, |
---|
919 | 'sortable' => true, |
---|
920 | 'views' => true, |
---|
921 | ), |
---|
922 | 'value_11' => |
---|
923 | array ( |
---|
924 | 'type' => 'int', |
---|
925 | 'not null' => false, |
---|
926 | 'sortable' => true, |
---|
927 | 'views' => true, |
---|
928 | ), |
---|
929 | ), |
---|
930 | 'display_settings' => |
---|
931 | array ( |
---|
932 | 'label' => |
---|
933 | array ( |
---|
934 | 'format' => 'above', |
---|
935 | 'exclude' => 0, |
---|
936 | ), |
---|
937 | 'teaser' => |
---|
938 | array ( |
---|
939 | 'format' => 'default', |
---|
940 | 'exclude' => 0, |
---|
941 | ), |
---|
942 | 'full' => |
---|
943 | array ( |
---|
944 | 'format' => 'default', |
---|
945 | 'exclude' => 0, |
---|
946 | ), |
---|
947 | 4 => |
---|
948 | array ( |
---|
949 | 'format' => 'default', |
---|
950 | 'exclude' => 0, |
---|
951 | ), |
---|
952 | 'inline' => |
---|
953 | array ( |
---|
954 | 'format' => 'default', |
---|
955 | 'exclude' => 0, |
---|
956 | ), |
---|
957 | 'modal' => |
---|
958 | array ( |
---|
959 | 'format' => 'default', |
---|
960 | 'exclude' => 0, |
---|
961 | ), |
---|
962 | 'token' => |
---|
963 | array ( |
---|
964 | 'format' => 'default', |
---|
965 | 'exclude' => 0, |
---|
966 | ), |
---|
967 | ), |
---|
968 | ); |
---|
969 | |
---|
970 | $content['fields'][] = array ( |
---|
971 | 'label' => 'Programación Financiera', |
---|
972 | 'type_name' => 'accion_especifica', |
---|
973 | 'field_name' => 'field_accion_esp_programacion', |
---|
974 | 'type' => 'cck_plan_fields_field', |
---|
975 | 'widget_type' => 'cck_plan_fields_elements', |
---|
976 | 'change' => 'Change basic information', |
---|
977 | 'weight' => '11', |
---|
978 | 'min' => '0', |
---|
979 | 'max' => '', |
---|
980 | 'description' => '', |
---|
981 | 'default_value' => |
---|
982 | array ( |
---|
983 | 0 => |
---|
984 | array ( |
---|
985 | 'tid' => '', |
---|
986 | 'value' => '0', |
---|
987 | 'value_1' => '0', |
---|
988 | 'value_2' => '0', |
---|
989 | 'value_3' => '0', |
---|
990 | 'value_4' => '0', |
---|
991 | 'value_5' => '0', |
---|
992 | 'value_6' => '0', |
---|
993 | 'value_7' => '0', |
---|
994 | 'value_8' => '0', |
---|
995 | 'value_9' => '0', |
---|
996 | 'value_10' => '0', |
---|
997 | 'value_11' => '0', |
---|
998 | 'total' => '0', |
---|
999 | '_error_element' => 'value', |
---|
1000 | ), |
---|
1001 | ), |
---|
1002 | 'default_value_php' => '', |
---|
1003 | 'default_value_widget' => |
---|
1004 | array ( |
---|
1005 | 'field_accion_esp_programacion' => |
---|
1006 | array ( |
---|
1007 | 0 => |
---|
1008 | array ( |
---|
1009 | 'tid' => '', |
---|
1010 | 'value' => 0, |
---|
1011 | 'value_1' => 0, |
---|
1012 | 'value_2' => 0, |
---|
1013 | 'value_3' => 0, |
---|
1014 | 'value_4' => 0, |
---|
1015 | 'value_5' => 0, |
---|
1016 | 'value_6' => 0, |
---|
1017 | 'value_7' => 0, |
---|
1018 | 'value_8' => 0, |
---|
1019 | 'value_9' => 0, |
---|
1020 | 'value_10' => 0, |
---|
1021 | 'value_11' => 0, |
---|
1022 | 'total' => 0, |
---|
1023 | '_error_element' => 'value', |
---|
1024 | ), |
---|
1025 | ), |
---|
1026 | ), |
---|
1027 | 'required' => 1, |
---|
1028 | 'multiple' => '1', |
---|
1029 | 'vid' => variable_get('proyectos_operativos_extra_partacc', 0), |
---|
1030 | 'vtid' => |
---|
1031 | array ( |
---|
1032 | 9 => '9', |
---|
1033 | 195 => '195', |
---|
1034 | 284 => '284', |
---|
1035 | 380 => '380', |
---|
1036 | 490 => '490', |
---|
1037 | 609 => '609', |
---|
1038 | ), |
---|
1039 | 'op' => 'Save field settings', |
---|
1040 | 'module' => 'cck_plan_fields', |
---|
1041 | 'widget_module' => 'cck_plan_fields', |
---|
1042 | 'columns' => |
---|
1043 | array ( |
---|
1044 | 'tid' => |
---|
1045 | array ( |
---|
1046 | 'type' => 'int', |
---|
1047 | 'not null' => false, |
---|
1048 | 'sortable' => true, |
---|
1049 | 'views' => true, |
---|
1050 | ), |
---|
1051 | 'value' => |
---|
1052 | array ( |
---|
1053 | 'type' => 'numeric', |
---|
1054 | 'precision' => '32', |
---|
1055 | 'scale' => '0', |
---|
1056 | 'not null' => false, |
---|
1057 | 'sortable' => true, |
---|
1058 | ), |
---|
1059 | 'value_1' => |
---|
1060 | array ( |
---|
1061 | 'type' => 'numeric', |
---|
1062 | 'precision' => '32', |
---|
1063 | 'scale' => '0', |
---|
1064 | 'not null' => false, |
---|
1065 | 'sortable' => true, |
---|
1066 | ), |
---|
1067 | 'value_2' => |
---|
1068 | array ( |
---|
1069 | 'type' => 'numeric', |
---|
1070 | 'precision' => '32', |
---|
1071 | 'scale' => '0', |
---|
1072 | 'not null' => false, |
---|
1073 | 'sortable' => true, |
---|
1074 | ), |
---|
1075 | 'value_3' => |
---|
1076 | array ( |
---|
1077 | 'type' => 'numeric', |
---|
1078 | 'precision' => '32', |
---|
1079 | 'scale' => '0', |
---|
1080 | 'not null' => false, |
---|
1081 | 'sortable' => true, |
---|
1082 | ), |
---|
1083 | 'value_4' => |
---|
1084 | array ( |
---|
1085 | 'type' => 'numeric', |
---|
1086 | 'precision' => '32', |
---|
1087 | 'scale' => '0', |
---|
1088 | 'not null' => false, |
---|
1089 | 'sortable' => true, |
---|
1090 | ), |
---|
1091 | 'value_5' => |
---|
1092 | array ( |
---|
1093 | 'type' => 'numeric', |
---|
1094 | 'precision' => '32', |
---|
1095 | 'scale' => '0', |
---|
1096 | 'not null' => false, |
---|
1097 | 'sortable' => true, |
---|
1098 | ), |
---|
1099 | 'value_6' => |
---|
1100 | array ( |
---|
1101 | 'type' => 'numeric', |
---|
1102 | 'precision' => '32', |
---|
1103 | 'scale' => '0', |
---|
1104 | 'not null' => false, |
---|
1105 | 'sortable' => true, |
---|
1106 | ), |
---|
1107 | 'value_7' => |
---|
1108 | array ( |
---|
1109 | 'type' => 'numeric', |
---|
1110 | 'precision' => '32', |
---|
1111 | 'scale' => '0', |
---|
1112 | 'not null' => false, |
---|
1113 | 'sortable' => true, |
---|
1114 | ), |
---|
1115 | 'value_8' => |
---|
1116 | array ( |
---|
1117 | 'type' => 'numeric', |
---|
1118 | 'precision' => '32', |
---|
1119 | 'scale' => '0', |
---|
1120 | 'not null' => false, |
---|
1121 | 'sortable' => true, |
---|
1122 | ), |
---|
1123 | 'value_9' => |
---|
1124 | array ( |
---|
1125 | 'type' => 'numeric', |
---|
1126 | 'precision' => '32', |
---|
1127 | 'scale' => '0', |
---|
1128 | 'not null' => false, |
---|
1129 | 'sortable' => true, |
---|
1130 | ), |
---|
1131 | 'value_10' => |
---|
1132 | array ( |
---|
1133 | 'type' => 'numeric', |
---|
1134 | 'precision' => '32', |
---|
1135 | 'scale' => '0', |
---|
1136 | 'not null' => false, |
---|
1137 | 'sortable' => true, |
---|
1138 | ), |
---|
1139 | 'value_11' => |
---|
1140 | array ( |
---|
1141 | 'type' => 'numeric', |
---|
1142 | 'precision' => '32', |
---|
1143 | 'scale' => '0', |
---|
1144 | 'not null' => false, |
---|
1145 | 'sortable' => true, |
---|
1146 | ), |
---|
1147 | ), |
---|
1148 | 'display_settings' => |
---|
1149 | array ( |
---|
1150 | 'label' => |
---|
1151 | array ( |
---|
1152 | 'format' => 'above', |
---|
1153 | 'exclude' => 0, |
---|
1154 | ), |
---|
1155 | 'teaser' => |
---|
1156 | array ( |
---|
1157 | 'format' => 'default', |
---|
1158 | 'exclude' => 0, |
---|
1159 | ), |
---|
1160 | 'full' => |
---|
1161 | array ( |
---|
1162 | 'format' => 'default', |
---|
1163 | 'exclude' => 0, |
---|
1164 | ), |
---|
1165 | 4 => |
---|
1166 | array ( |
---|
1167 | 'format' => 'default', |
---|
1168 | 'exclude' => 0, |
---|
1169 | ), |
---|
1170 | 'inline' => |
---|
1171 | array ( |
---|
1172 | 'format' => 'default', |
---|
1173 | 'exclude' => 0, |
---|
1174 | ), |
---|
1175 | 'modal' => |
---|
1176 | array ( |
---|
1177 | 'format' => 'default', |
---|
1178 | 'exclude' => 0, |
---|
1179 | ), |
---|
1180 | 'token' => |
---|
1181 | array ( |
---|
1182 | 'format' => 'default', |
---|
1183 | 'exclude' => 0, |
---|
1184 | ), |
---|
1185 | ), |
---|
1186 | ); |
---|
1187 | $content['fields'][] = array ( |
---|
1188 | 'label' => 'Transferencias', |
---|
1189 | 'type_name' => 'accion_especifica', |
---|
1190 | 'field_name' => 'field_accion_esp_transferencias', |
---|
1191 | 'type' => 'number_decimal', |
---|
1192 | 'widget_type' => 'number', |
---|
1193 | 'change' => 'Change basic information', |
---|
1194 | 'weight' => '12', |
---|
1195 | 'description' => '', |
---|
1196 | 'default_value' => |
---|
1197 | array ( |
---|
1198 | 0 => |
---|
1199 | array ( |
---|
1200 | 'value' => '', |
---|
1201 | '_error_element' => 'default_value_widget][field_accion_esp_transferencias][0][value', |
---|
1202 | ), |
---|
1203 | ), |
---|
1204 | 'default_value_php' => '', |
---|
1205 | 'default_value_widget' => |
---|
1206 | array ( |
---|
1207 | 'field_accion_esp_transferencias' => |
---|
1208 | array ( |
---|
1209 | 0 => |
---|
1210 | array ( |
---|
1211 | 'value' => '', |
---|
1212 | '_error_element' => 'default_value_widget][field_accion_esp_transferencias][0][value', |
---|
1213 | ), |
---|
1214 | ), |
---|
1215 | ), |
---|
1216 | 'required' => 0, |
---|
1217 | 'multiple' => '0', |
---|
1218 | 'min' => '0', |
---|
1219 | 'max' => '', |
---|
1220 | 'precision' => '32', |
---|
1221 | 'scale' => '0', |
---|
1222 | 'decimal' => '.', |
---|
1223 | 'prefix' => '', |
---|
1224 | 'suffix' => '', |
---|
1225 | 'allowed_values' => '', |
---|
1226 | 'allowed_values_php' => '', |
---|
1227 | 'op' => 'Save field settings', |
---|
1228 | 'module' => 'number', |
---|
1229 | 'widget_module' => 'number', |
---|
1230 | 'columns' => |
---|
1231 | array ( |
---|
1232 | 'value' => |
---|
1233 | array ( |
---|
1234 | 'type' => 'numeric', |
---|
1235 | 'precision' => '32', |
---|
1236 | 'scale' => '0', |
---|
1237 | 'not null' => false, |
---|
1238 | 'sortable' => true, |
---|
1239 | ), |
---|
1240 | ), |
---|
1241 | 'display_settings' => |
---|
1242 | array ( |
---|
1243 | 'label' => |
---|
1244 | array ( |
---|
1245 | 'format' => 'above', |
---|
1246 | 'exclude' => 0, |
---|
1247 | ), |
---|
1248 | 'teaser' => |
---|
1249 | array ( |
---|
1250 | 'format' => 'default', |
---|
1251 | 'exclude' => 0, |
---|
1252 | ), |
---|
1253 | 'full' => |
---|
1254 | array ( |
---|
1255 | 'format' => 'default', |
---|
1256 | 'exclude' => 0, |
---|
1257 | ), |
---|
1258 | 4 => |
---|
1259 | array ( |
---|
1260 | 'format' => 'default', |
---|
1261 | 'exclude' => 0, |
---|
1262 | ), |
---|
1263 | 'inline' => |
---|
1264 | array ( |
---|
1265 | 'format' => 'default', |
---|
1266 | 'exclude' => 0, |
---|
1267 | ), |
---|
1268 | 'modal' => |
---|
1269 | array ( |
---|
1270 | 'format' => 'default', |
---|
1271 | 'exclude' => 0, |
---|
1272 | ), |
---|
1273 | 'token' => |
---|
1274 | array ( |
---|
1275 | 'format' => 'default', |
---|
1276 | 'exclude' => 0, |
---|
1277 | ), |
---|
1278 | ), |
---|
1279 | ); |
---|
1280 | $content['fields'][] = array ( |
---|
1281 | 'label' => 'Créditos Adicionales', |
---|
1282 | 'type_name' => 'accion_especifica', |
---|
1283 | 'field_name' => 'field_accion_esp_creditosa', |
---|
1284 | 'type' => 'number_decimal', |
---|
1285 | 'widget_type' => 'number', |
---|
1286 | 'change' => 'Change basic information', |
---|
1287 | 'weight' => '13', |
---|
1288 | 'description' => '', |
---|
1289 | 'default_value' => |
---|
1290 | array ( |
---|
1291 | 0 => |
---|
1292 | array ( |
---|
1293 | 'value' => '', |
---|
1294 | '_error_element' => 'default_value_widget][field_accion_esp_creditosa][0][value', |
---|
1295 | ), |
---|
1296 | ), |
---|
1297 | 'default_value_php' => '', |
---|
1298 | 'default_value_widget' => |
---|
1299 | array ( |
---|
1300 | 'field_accion_esp_creditosa' => |
---|
1301 | array ( |
---|
1302 | 0 => |
---|
1303 | array ( |
---|
1304 | 'value' => '', |
---|
1305 | '_error_element' => 'default_value_widget][field_accion_esp_creditosa][0][value', |
---|
1306 | ), |
---|
1307 | ), |
---|
1308 | ), |
---|
1309 | 'required' => 0, |
---|
1310 | 'multiple' => '0', |
---|
1311 | 'min' => '0', |
---|
1312 | 'max' => '', |
---|
1313 | 'precision' => '32', |
---|
1314 | 'scale' => '0', |
---|
1315 | 'decimal' => '.', |
---|
1316 | 'prefix' => '', |
---|
1317 | 'suffix' => '', |
---|
1318 | 'allowed_values' => '', |
---|
1319 | 'allowed_values_php' => '', |
---|
1320 | 'op' => 'Save field settings', |
---|
1321 | 'module' => 'number', |
---|
1322 | 'widget_module' => 'number', |
---|
1323 | 'columns' => |
---|
1324 | array ( |
---|
1325 | 'value' => |
---|
1326 | array ( |
---|
1327 | 'type' => 'numeric', |
---|
1328 | 'precision' => '32', |
---|
1329 | 'scale' => '0', |
---|
1330 | 'not null' => false, |
---|
1331 | 'sortable' => true, |
---|
1332 | ), |
---|
1333 | ), |
---|
1334 | 'display_settings' => |
---|
1335 | array ( |
---|
1336 | 'label' => |
---|
1337 | array ( |
---|
1338 | 'format' => 'above', |
---|
1339 | 'exclude' => 0, |
---|
1340 | ), |
---|
1341 | 'teaser' => |
---|
1342 | array ( |
---|
1343 | 'format' => 'default', |
---|
1344 | 'exclude' => 0, |
---|
1345 | ), |
---|
1346 | 'full' => |
---|
1347 | array ( |
---|
1348 | 'format' => 'default', |
---|
1349 | 'exclude' => 0, |
---|
1350 | ), |
---|
1351 | 4 => |
---|
1352 | array ( |
---|
1353 | 'format' => 'default', |
---|
1354 | 'exclude' => 0, |
---|
1355 | ), |
---|
1356 | 'inline' => |
---|
1357 | array ( |
---|
1358 | 'format' => 'default', |
---|
1359 | 'exclude' => 0, |
---|
1360 | ), |
---|
1361 | 'modal' => |
---|
1362 | array ( |
---|
1363 | 'format' => 'default', |
---|
1364 | 'exclude' => 0, |
---|
1365 | ), |
---|
1366 | 'token' => |
---|
1367 | array ( |
---|
1368 | 'format' => 'default', |
---|
1369 | 'exclude' => 0, |
---|
1370 | ), |
---|
1371 | ), |
---|
1372 | ); |
---|
1373 | $content['fields'][] = array ( |
---|
1374 | 'label' => 'MCTI', |
---|
1375 | 'type_name' => 'accion_especifica', |
---|
1376 | 'field_name' => 'field_accion_esp_mcti', |
---|
1377 | 'type' => 'number_decimal', |
---|
1378 | 'widget_type' => 'number', |
---|
1379 | 'change' => 'Change basic information', |
---|
1380 | 'weight' => '14', |
---|
1381 | 'description' => '', |
---|
1382 | 'default_value' => |
---|
1383 | array ( |
---|
1384 | 0 => |
---|
1385 | array ( |
---|
1386 | 'value' => '', |
---|
1387 | '_error_element' => 'default_value_widget][field_accion_esp_mcti][0][value', |
---|
1388 | ), |
---|
1389 | ), |
---|
1390 | 'default_value_php' => '', |
---|
1391 | 'default_value_widget' => |
---|
1392 | array ( |
---|
1393 | 'field_accion_esp_mcti' => |
---|
1394 | array ( |
---|
1395 | 0 => |
---|
1396 | array ( |
---|
1397 | 'value' => '', |
---|
1398 | '_error_element' => 'default_value_widget][field_accion_esp_mcti][0][value', |
---|
1399 | ), |
---|
1400 | ), |
---|
1401 | ), |
---|
1402 | 'required' => 0, |
---|
1403 | 'multiple' => '0', |
---|
1404 | 'min' => '0', |
---|
1405 | 'max' => '', |
---|
1406 | 'precision' => '32', |
---|
1407 | 'scale' => '0', |
---|
1408 | 'decimal' => '.', |
---|
1409 | 'prefix' => '', |
---|
1410 | 'suffix' => '', |
---|
1411 | 'allowed_values' => '', |
---|
1412 | 'allowed_values_php' => '', |
---|
1413 | 'op' => 'Save field settings', |
---|
1414 | 'module' => 'number', |
---|
1415 | 'widget_module' => 'number', |
---|
1416 | 'columns' => |
---|
1417 | array ( |
---|
1418 | 'value' => |
---|
1419 | array ( |
---|
1420 | 'type' => 'numeric', |
---|
1421 | 'precision' => '32', |
---|
1422 | 'scale' => '0', |
---|
1423 | 'not null' => false, |
---|
1424 | 'sortable' => true, |
---|
1425 | ), |
---|
1426 | ), |
---|
1427 | 'display_settings' => |
---|
1428 | array ( |
---|
1429 | 'label' => |
---|
1430 | array ( |
---|
1431 | 'format' => 'above', |
---|
1432 | 'exclude' => 0, |
---|
1433 | ), |
---|
1434 | 'teaser' => |
---|
1435 | array ( |
---|
1436 | 'format' => 'default', |
---|
1437 | 'exclude' => 0, |
---|
1438 | ), |
---|
1439 | 'full' => |
---|
1440 | array ( |
---|
1441 | 'format' => 'default', |
---|
1442 | 'exclude' => 0, |
---|
1443 | ), |
---|
1444 | 4 => |
---|
1445 | array ( |
---|
1446 | 'format' => 'default', |
---|
1447 | 'exclude' => 0, |
---|
1448 | ), |
---|
1449 | 'inline' => |
---|
1450 | array ( |
---|
1451 | 'format' => 'default', |
---|
1452 | 'exclude' => 0, |
---|
1453 | ), |
---|
1454 | 'modal' => |
---|
1455 | array ( |
---|
1456 | 'format' => 'default', |
---|
1457 | 'exclude' => 0, |
---|
1458 | ), |
---|
1459 | 'token' => |
---|
1460 | array ( |
---|
1461 | 'format' => 'default', |
---|
1462 | 'exclude' => 0, |
---|
1463 | ), |
---|
1464 | ), |
---|
1465 | ); |
---|
1466 | $content['fields'][] = array ( |
---|
1467 | 'label' => 'Venta de Activos', |
---|
1468 | 'type_name' => 'accion_especifica', |
---|
1469 | 'field_name' => 'field_accion_esp_venta_act', |
---|
1470 | 'type' => 'number_decimal', |
---|
1471 | 'widget_type' => 'number', |
---|
1472 | 'change' => 'Change basic information', |
---|
1473 | 'weight' => '15', |
---|
1474 | 'description' => '', |
---|
1475 | 'default_value' => |
---|
1476 | array ( |
---|
1477 | 0 => |
---|
1478 | array ( |
---|
1479 | 'value' => '', |
---|
1480 | '_error_element' => 'default_value_widget][field_accion_esp_venta_act][0][value', |
---|
1481 | ), |
---|
1482 | ), |
---|
1483 | 'default_value_php' => '', |
---|
1484 | 'default_value_widget' => |
---|
1485 | array ( |
---|
1486 | 'field_accion_esp_venta_act' => |
---|
1487 | array ( |
---|
1488 | 0 => |
---|
1489 | array ( |
---|
1490 | 'value' => '', |
---|
1491 | '_error_element' => 'default_value_widget][field_accion_esp_venta_act][0][value', |
---|
1492 | ), |
---|
1493 | ), |
---|
1494 | ), |
---|
1495 | 'required' => 0, |
---|
1496 | 'multiple' => '0', |
---|
1497 | 'min' => '0', |
---|
1498 | 'max' => '', |
---|
1499 | 'precision' => '32', |
---|
1500 | 'scale' => '0', |
---|
1501 | 'decimal' => '.', |
---|
1502 | 'prefix' => '', |
---|
1503 | 'suffix' => '', |
---|
1504 | 'allowed_values' => '', |
---|
1505 | 'allowed_values_php' => '', |
---|
1506 | 'op' => 'Save field settings', |
---|
1507 | 'module' => 'number', |
---|
1508 | 'widget_module' => 'number', |
---|
1509 | 'columns' => |
---|
1510 | array ( |
---|
1511 | 'value' => |
---|
1512 | array ( |
---|
1513 | 'type' => 'numeric', |
---|
1514 | 'precision' => '32', |
---|
1515 | 'scale' => '0', |
---|
1516 | 'not null' => false, |
---|
1517 | 'sortable' => true, |
---|
1518 | ), |
---|
1519 | ), |
---|
1520 | 'display_settings' => |
---|
1521 | array ( |
---|
1522 | 'label' => |
---|
1523 | array ( |
---|
1524 | 'format' => 'above', |
---|
1525 | 'exclude' => 0, |
---|
1526 | ), |
---|
1527 | 'teaser' => |
---|
1528 | array ( |
---|
1529 | 'format' => 'default', |
---|
1530 | 'exclude' => 0, |
---|
1531 | ), |
---|
1532 | 'full' => |
---|
1533 | array ( |
---|
1534 | 'format' => 'default', |
---|
1535 | 'exclude' => 0, |
---|
1536 | ), |
---|
1537 | 4 => |
---|
1538 | array ( |
---|
1539 | 'format' => 'default', |
---|
1540 | 'exclude' => 0, |
---|
1541 | ), |
---|
1542 | 'inline' => |
---|
1543 | array ( |
---|
1544 | 'format' => 'default', |
---|
1545 | 'exclude' => 0, |
---|
1546 | ), |
---|
1547 | 'modal' => |
---|
1548 | array ( |
---|
1549 | 'format' => 'default', |
---|
1550 | 'exclude' => 0, |
---|
1551 | ), |
---|
1552 | 'token' => |
---|
1553 | array ( |
---|
1554 | 'format' => 'default', |
---|
1555 | 'exclude' => 0, |
---|
1556 | ), |
---|
1557 | ), |
---|
1558 | ); |
---|
1559 | $content['fields'][] = array ( |
---|
1560 | 'label' => 'Servicios', |
---|
1561 | 'type_name' => 'accion_especifica', |
---|
1562 | 'field_name' => 'field_accion_esp_activos', |
---|
1563 | 'type' => 'number_decimal', |
---|
1564 | 'widget_type' => 'number', |
---|
1565 | 'change' => 'Change basic information', |
---|
1566 | 'weight' => '16', |
---|
1567 | 'description' => '', |
---|
1568 | 'default_value' => |
---|
1569 | array ( |
---|
1570 | 0 => |
---|
1571 | array ( |
---|
1572 | 'value' => '', |
---|
1573 | '_error_element' => 'default_value_widget][field_accion_esp_activos][0][value', |
---|
1574 | ), |
---|
1575 | ), |
---|
1576 | 'default_value_php' => '', |
---|
1577 | 'default_value_widget' => |
---|
1578 | array ( |
---|
1579 | 'field_accion_esp_activos' => |
---|
1580 | array ( |
---|
1581 | 0 => |
---|
1582 | array ( |
---|
1583 | 'value' => '', |
---|
1584 | '_error_element' => 'default_value_widget][field_accion_esp_activos][0][value', |
---|
1585 | ), |
---|
1586 | ), |
---|
1587 | ), |
---|
1588 | 'required' => 0, |
---|
1589 | 'multiple' => '0', |
---|
1590 | 'min' => '0', |
---|
1591 | 'max' => '', |
---|
1592 | 'precision' => '32', |
---|
1593 | 'scale' => '0', |
---|
1594 | 'decimal' => '.', |
---|
1595 | 'prefix' => '', |
---|
1596 | 'suffix' => '', |
---|
1597 | 'allowed_values' => '', |
---|
1598 | 'allowed_values_php' => '', |
---|
1599 | 'op' => 'Save field settings', |
---|
1600 | 'module' => 'number', |
---|
1601 | 'widget_module' => 'number', |
---|
1602 | 'columns' => |
---|
1603 | array ( |
---|
1604 | 'value' => |
---|
1605 | array ( |
---|
1606 | 'type' => 'numeric', |
---|
1607 | 'precision' => '32', |
---|
1608 | 'scale' => '0', |
---|
1609 | 'not null' => false, |
---|
1610 | 'sortable' => true, |
---|
1611 | ), |
---|
1612 | ), |
---|
1613 | 'display_settings' => |
---|
1614 | array ( |
---|
1615 | 'label' => |
---|
1616 | array ( |
---|
1617 | 'format' => 'above', |
---|
1618 | 'exclude' => 0, |
---|
1619 | ), |
---|
1620 | 'teaser' => |
---|
1621 | array ( |
---|
1622 | 'format' => 'default', |
---|
1623 | 'exclude' => 0, |
---|
1624 | ), |
---|
1625 | 'full' => |
---|
1626 | array ( |
---|
1627 | 'format' => 'default', |
---|
1628 | 'exclude' => 0, |
---|
1629 | ), |
---|
1630 | 4 => |
---|
1631 | array ( |
---|
1632 | 'format' => 'default', |
---|
1633 | 'exclude' => 0, |
---|
1634 | ), |
---|
1635 | 'inline' => |
---|
1636 | array ( |
---|
1637 | 'format' => 'default', |
---|
1638 | 'exclude' => 0, |
---|
1639 | ), |
---|
1640 | 'modal' => |
---|
1641 | array ( |
---|
1642 | 'format' => 'default', |
---|
1643 | 'exclude' => 0, |
---|
1644 | ), |
---|
1645 | 'token' => |
---|
1646 | array ( |
---|
1647 | 'format' => 'default', |
---|
1648 | 'exclude' => 0, |
---|
1649 | ), |
---|
1650 | ), |
---|
1651 | ); |
---|
1652 | $content['fields'][] = array ( |
---|
1653 | 'label' => 'Flujo de caja', |
---|
1654 | 'type_name' => 'accion_especifica', |
---|
1655 | 'field_name' => 'field_accion_esp_flujocaja', |
---|
1656 | 'type' => 'number_decimal', |
---|
1657 | 'widget_type' => 'number', |
---|
1658 | 'change' => 'Change basic information', |
---|
1659 | 'weight' => '17', |
---|
1660 | 'description' => '', |
---|
1661 | 'default_value' => |
---|
1662 | array ( |
---|
1663 | 0 => |
---|
1664 | array ( |
---|
1665 | 'value' => '', |
---|
1666 | '_error_element' => 'default_value_widget][field_accion_esp_flujocaja][0][value', |
---|
1667 | ), |
---|
1668 | ), |
---|
1669 | 'default_value_php' => '', |
---|
1670 | 'default_value_widget' => |
---|
1671 | array ( |
---|
1672 | 'field_accion_esp_flujocaja' => |
---|
1673 | array ( |
---|
1674 | 0 => |
---|
1675 | array ( |
---|
1676 | 'value' => '', |
---|
1677 | '_error_element' => 'default_value_widget][field_accion_esp_flujocaja][0][value', |
---|
1678 | ), |
---|
1679 | ), |
---|
1680 | ), |
---|
1681 | 'required' => 0, |
---|
1682 | 'multiple' => '0', |
---|
1683 | 'min' => '0', |
---|
1684 | 'max' => '', |
---|
1685 | 'precision' => '32', |
---|
1686 | 'scale' => '0', |
---|
1687 | 'decimal' => '.', |
---|
1688 | 'prefix' => '', |
---|
1689 | 'suffix' => '', |
---|
1690 | 'allowed_values' => '', |
---|
1691 | 'allowed_values_php' => '', |
---|
1692 | 'op' => 'Save field settings', |
---|
1693 | 'module' => 'number', |
---|
1694 | 'widget_module' => 'number', |
---|
1695 | 'columns' => |
---|
1696 | array ( |
---|
1697 | 'value' => |
---|
1698 | array ( |
---|
1699 | 'type' => 'numeric', |
---|
1700 | 'precision' => '32', |
---|
1701 | 'scale' => '0', |
---|
1702 | 'not null' => false, |
---|
1703 | 'sortable' => true, |
---|
1704 | ), |
---|
1705 | ), |
---|
1706 | 'display_settings' => |
---|
1707 | array ( |
---|
1708 | 'label' => |
---|
1709 | array ( |
---|
1710 | 'format' => 'above', |
---|
1711 | 'exclude' => 0, |
---|
1712 | ), |
---|
1713 | 'teaser' => |
---|
1714 | array ( |
---|
1715 | 'format' => 'default', |
---|
1716 | 'exclude' => 0, |
---|
1717 | ), |
---|
1718 | 'full' => |
---|
1719 | array ( |
---|
1720 | 'format' => 'default', |
---|
1721 | 'exclude' => 0, |
---|
1722 | ), |
---|
1723 | 4 => |
---|
1724 | array ( |
---|
1725 | 'format' => 'default', |
---|
1726 | 'exclude' => 0, |
---|
1727 | ), |
---|
1728 | 'inline' => |
---|
1729 | array ( |
---|
1730 | 'format' => 'default', |
---|
1731 | 'exclude' => 0, |
---|
1732 | ), |
---|
1733 | 'modal' => |
---|
1734 | array ( |
---|
1735 | 'format' => 'default', |
---|
1736 | 'exclude' => 0, |
---|
1737 | ), |
---|
1738 | 'token' => |
---|
1739 | array ( |
---|
1740 | 'format' => 'default', |
---|
1741 | 'exclude' => 0, |
---|
1742 | ), |
---|
1743 | ), |
---|
1744 | ); |
---|
1745 | $content['fields'][] = array ( |
---|
1746 | 'label' => 'Venta de Productos', |
---|
1747 | 'type_name' => 'accion_especifica', |
---|
1748 | 'field_name' => 'field_accion_esp_ventapro', |
---|
1749 | 'type' => 'number_decimal', |
---|
1750 | 'widget_type' => 'number', |
---|
1751 | 'change' => 'Change basic information', |
---|
1752 | 'weight' => '18', |
---|
1753 | 'description' => '', |
---|
1754 | 'default_value' => |
---|
1755 | array ( |
---|
1756 | 0 => |
---|
1757 | array ( |
---|
1758 | 'value' => '', |
---|
1759 | '_error_element' => 'default_value_widget][field_accion_esp_ventapro][0][value', |
---|
1760 | ), |
---|
1761 | ), |
---|
1762 | 'default_value_php' => '', |
---|
1763 | 'default_value_widget' => |
---|
1764 | array ( |
---|
1765 | 'field_accion_esp_ventapro' => |
---|
1766 | array ( |
---|
1767 | 0 => |
---|
1768 | array ( |
---|
1769 | 'value' => '', |
---|
1770 | '_error_element' => 'default_value_widget][field_accion_esp_ventapro][0][value', |
---|
1771 | ), |
---|
1772 | ), |
---|
1773 | ), |
---|
1774 | 'required' => 0, |
---|
1775 | 'multiple' => '0', |
---|
1776 | 'min' => '0', |
---|
1777 | 'max' => '', |
---|
1778 | 'precision' => '32', |
---|
1779 | 'scale' => '0', |
---|
1780 | 'decimal' => '.', |
---|
1781 | 'prefix' => '', |
---|
1782 | 'suffix' => '', |
---|
1783 | 'allowed_values' => '', |
---|
1784 | 'allowed_values_php' => '', |
---|
1785 | 'op' => 'Save field settings', |
---|
1786 | 'module' => 'number', |
---|
1787 | 'widget_module' => 'number', |
---|
1788 | 'columns' => |
---|
1789 | array ( |
---|
1790 | 'value' => |
---|
1791 | array ( |
---|
1792 | 'type' => 'numeric', |
---|
1793 | 'precision' => '32', |
---|
1794 | 'scale' => '0', |
---|
1795 | 'not null' => false, |
---|
1796 | 'sortable' => true, |
---|
1797 | ), |
---|
1798 | ), |
---|
1799 | 'display_settings' => |
---|
1800 | array ( |
---|
1801 | 'label' => |
---|
1802 | array ( |
---|
1803 | 'format' => 'above', |
---|
1804 | 'exclude' => 0, |
---|
1805 | ), |
---|
1806 | 'teaser' => |
---|
1807 | array ( |
---|
1808 | 'format' => 'default', |
---|
1809 | 'exclude' => 0, |
---|
1810 | ), |
---|
1811 | 'full' => |
---|
1812 | array ( |
---|
1813 | 'format' => 'default', |
---|
1814 | 'exclude' => 0, |
---|
1815 | ), |
---|
1816 | 4 => |
---|
1817 | array ( |
---|
1818 | 'format' => 'default', |
---|
1819 | 'exclude' => 0, |
---|
1820 | ), |
---|
1821 | 'inline' => |
---|
1822 | array ( |
---|
1823 | 'format' => 'default', |
---|
1824 | 'exclude' => 0, |
---|
1825 | ), |
---|
1826 | 'modal' => |
---|
1827 | array ( |
---|
1828 | 'format' => 'default', |
---|
1829 | 'exclude' => 0, |
---|
1830 | ), |
---|
1831 | 'token' => |
---|
1832 | array ( |
---|
1833 | 'format' => 'default', |
---|
1834 | 'exclude' => 0, |
---|
1835 | ), |
---|
1836 | ), |
---|
1837 | ); |
---|
1838 | $content['fields'][] = array ( |
---|
1839 | 'label' => 'Donaciones', |
---|
1840 | 'type_name' => 'accion_especifica', |
---|
1841 | 'field_name' => 'field_accion_esp_donaciones', |
---|
1842 | 'type' => 'number_decimal', |
---|
1843 | 'widget_type' => 'number', |
---|
1844 | 'change' => 'Change basic information', |
---|
1845 | 'weight' => '19', |
---|
1846 | 'description' => '', |
---|
1847 | 'default_value' => |
---|
1848 | array ( |
---|
1849 | 0 => |
---|
1850 | array ( |
---|
1851 | 'value' => '', |
---|
1852 | '_error_element' => 'default_value_widget][field_accion_esp_donaciones][0][value', |
---|
1853 | ), |
---|
1854 | ), |
---|
1855 | 'default_value_php' => '', |
---|
1856 | 'default_value_widget' => |
---|
1857 | array ( |
---|
1858 | 'field_accion_esp_donaciones' => |
---|
1859 | array ( |
---|
1860 | 0 => |
---|
1861 | array ( |
---|
1862 | 'value' => '', |
---|
1863 | '_error_element' => 'default_value_widget][field_accion_esp_donaciones][0][value', |
---|
1864 | ), |
---|
1865 | ), |
---|
1866 | ), |
---|
1867 | 'required' => 0, |
---|
1868 | 'multiple' => '0', |
---|
1869 | 'min' => '0', |
---|
1870 | 'max' => '', |
---|
1871 | 'precision' => '32', |
---|
1872 | 'scale' => '0', |
---|
1873 | 'decimal' => '.', |
---|
1874 | 'prefix' => '', |
---|
1875 | 'suffix' => '', |
---|
1876 | 'allowed_values' => '', |
---|
1877 | 'allowed_values_php' => '', |
---|
1878 | 'op' => 'Save field settings', |
---|
1879 | 'module' => 'number', |
---|
1880 | 'widget_module' => 'number', |
---|
1881 | 'columns' => |
---|
1882 | array ( |
---|
1883 | 'value' => |
---|
1884 | array ( |
---|
1885 | 'type' => 'numeric', |
---|
1886 | 'precision' => '32', |
---|
1887 | 'scale' => '0', |
---|
1888 | 'not null' => false, |
---|
1889 | 'sortable' => true, |
---|
1890 | ), |
---|
1891 | ), |
---|
1892 | 'display_settings' => |
---|
1893 | array ( |
---|
1894 | 'label' => |
---|
1895 | array ( |
---|
1896 | 'format' => 'above', |
---|
1897 | 'exclude' => 0, |
---|
1898 | ), |
---|
1899 | 'teaser' => |
---|
1900 | array ( |
---|
1901 | 'format' => 'default', |
---|
1902 | 'exclude' => 0, |
---|
1903 | ), |
---|
1904 | 'full' => |
---|
1905 | array ( |
---|
1906 | 'format' => 'default', |
---|
1907 | 'exclude' => 0, |
---|
1908 | ), |
---|
1909 | 4 => |
---|
1910 | array ( |
---|
1911 | 'format' => 'default', |
---|
1912 | 'exclude' => 0, |
---|
1913 | ), |
---|
1914 | 'inline' => |
---|
1915 | array ( |
---|
1916 | 'format' => 'default', |
---|
1917 | 'exclude' => 0, |
---|
1918 | ), |
---|
1919 | 'modal' => |
---|
1920 | array ( |
---|
1921 | 'format' => 'default', |
---|
1922 | 'exclude' => 0, |
---|
1923 | ), |
---|
1924 | 'token' => |
---|
1925 | array ( |
---|
1926 | 'format' => 'default', |
---|
1927 | 'exclude' => 0, |
---|
1928 | ), |
---|
1929 | ), |
---|
1930 | ); |
---|
1931 | $content['fields'][] = array ( |
---|
1932 | 'label' => 'Gobernaciones', |
---|
1933 | 'type_name' => 'accion_especifica', |
---|
1934 | 'field_name' => 'field_accion_esp_gobernacion', |
---|
1935 | 'type' => 'number_decimal', |
---|
1936 | 'widget_type' => 'number', |
---|
1937 | 'change' => 'Change basic information', |
---|
1938 | 'weight' => '20', |
---|
1939 | 'description' => '', |
---|
1940 | 'default_value' => |
---|
1941 | array ( |
---|
1942 | 0 => |
---|
1943 | array ( |
---|
1944 | 'value' => '', |
---|
1945 | '_error_element' => 'default_value_widget][field_accion_esp_gobernacion][0][value', |
---|
1946 | ), |
---|
1947 | ), |
---|
1948 | 'default_value_php' => '', |
---|
1949 | 'default_value_widget' => |
---|
1950 | array ( |
---|
1951 | 'field_accion_esp_gobernacion' => |
---|
1952 | array ( |
---|
1953 | 0 => |
---|
1954 | array ( |
---|
1955 | 'value' => '', |
---|
1956 | '_error_element' => 'default_value_widget][field_accion_esp_gobernacion][0][value', |
---|
1957 | ), |
---|
1958 | ), |
---|
1959 | ), |
---|
1960 | 'required' => 0, |
---|
1961 | 'multiple' => '0', |
---|
1962 | 'min' => '0', |
---|
1963 | 'max' => '', |
---|
1964 | 'precision' => '32', |
---|
1965 | 'scale' => '0', |
---|
1966 | 'decimal' => '.', |
---|
1967 | 'prefix' => '', |
---|
1968 | 'suffix' => '', |
---|
1969 | 'allowed_values' => '', |
---|
1970 | 'allowed_values_php' => '', |
---|
1971 | 'op' => 'Save field settings', |
---|
1972 | 'module' => 'number', |
---|
1973 | 'widget_module' => 'number', |
---|
1974 | 'columns' => |
---|
1975 | array ( |
---|
1976 | 'value' => |
---|
1977 | array ( |
---|
1978 | 'type' => 'numeric', |
---|
1979 | 'precision' => '32', |
---|
1980 | 'scale' => '0', |
---|
1981 | 'not null' => false, |
---|
1982 | 'sortable' => true, |
---|
1983 | ), |
---|
1984 | ), |
---|
1985 | 'display_settings' => |
---|
1986 | array ( |
---|
1987 | 'label' => |
---|
1988 | array ( |
---|
1989 | 'format' => 'above', |
---|
1990 | 'exclude' => 0, |
---|
1991 | ), |
---|
1992 | 'teaser' => |
---|
1993 | array ( |
---|
1994 | 'format' => 'default', |
---|
1995 | 'exclude' => 0, |
---|
1996 | ), |
---|
1997 | 'full' => |
---|
1998 | array ( |
---|
1999 | 'format' => 'default', |
---|
2000 | 'exclude' => 0, |
---|
2001 | ), |
---|
2002 | 4 => |
---|
2003 | array ( |
---|
2004 | 'format' => 'default', |
---|
2005 | 'exclude' => 0, |
---|
2006 | ), |
---|
2007 | 'inline' => |
---|
2008 | array ( |
---|
2009 | 'format' => 'default', |
---|
2010 | 'exclude' => 0, |
---|
2011 | ), |
---|
2012 | 'modal' => |
---|
2013 | array ( |
---|
2014 | 'format' => 'default', |
---|
2015 | 'exclude' => 0, |
---|
2016 | ), |
---|
2017 | 'token' => |
---|
2018 | array ( |
---|
2019 | 'format' => 'default', |
---|
2020 | 'exclude' => 0, |
---|
2021 | ), |
---|
2022 | ), |
---|
2023 | ); |
---|
2024 | $content['fields'][] = array ( |
---|
2025 | 'label' => 'Misión Ciencia', |
---|
2026 | 'type_name' => 'accion_especifica', |
---|
2027 | 'field_name' => 'field_accion_esp_misionc', |
---|
2028 | 'type' => 'number_decimal', |
---|
2029 | 'widget_type' => 'number', |
---|
2030 | 'change' => 'Change basic information', |
---|
2031 | 'weight' => '21', |
---|
2032 | 'description' => '', |
---|
2033 | 'default_value' => |
---|
2034 | array ( |
---|
2035 | 0 => |
---|
2036 | array ( |
---|
2037 | 'value' => '', |
---|
2038 | '_error_element' => 'default_value_widget][field_accion_esp_misionc][0][value', |
---|
2039 | ), |
---|
2040 | ), |
---|
2041 | 'default_value_php' => '', |
---|
2042 | 'default_value_widget' => |
---|
2043 | array ( |
---|
2044 | 'field_accion_esp_misionc' => |
---|
2045 | array ( |
---|
2046 | 0 => |
---|
2047 | array ( |
---|
2048 | 'value' => '', |
---|
2049 | '_error_element' => 'default_value_widget][field_accion_esp_misionc][0][value', |
---|
2050 | ), |
---|
2051 | ), |
---|
2052 | ), |
---|
2053 | 'required' => 0, |
---|
2054 | 'multiple' => '0', |
---|
2055 | 'min' => '0', |
---|
2056 | 'max' => '', |
---|
2057 | 'precision' => '32', |
---|
2058 | 'scale' => '0', |
---|
2059 | 'decimal' => '.', |
---|
2060 | 'prefix' => '', |
---|
2061 | 'suffix' => '', |
---|
2062 | 'allowed_values' => '', |
---|
2063 | 'allowed_values_php' => '', |
---|
2064 | 'op' => 'Save field settings', |
---|
2065 | 'module' => 'number', |
---|
2066 | 'widget_module' => 'number', |
---|
2067 | 'columns' => |
---|
2068 | array ( |
---|
2069 | 'value' => |
---|
2070 | array ( |
---|
2071 | 'type' => 'numeric', |
---|
2072 | 'precision' => '32', |
---|
2073 | 'scale' => '0', |
---|
2074 | 'not null' => false, |
---|
2075 | 'sortable' => true, |
---|
2076 | ), |
---|
2077 | ), |
---|
2078 | 'display_settings' => |
---|
2079 | array ( |
---|
2080 | 'label' => |
---|
2081 | array ( |
---|
2082 | 'format' => 'above', |
---|
2083 | 'exclude' => 0, |
---|
2084 | ), |
---|
2085 | 'teaser' => |
---|
2086 | array ( |
---|
2087 | 'format' => 'default', |
---|
2088 | 'exclude' => 0, |
---|
2089 | ), |
---|
2090 | 'full' => |
---|
2091 | array ( |
---|
2092 | 'format' => 'default', |
---|
2093 | 'exclude' => 0, |
---|
2094 | ), |
---|
2095 | 4 => |
---|
2096 | array ( |
---|
2097 | 'format' => 'default', |
---|
2098 | 'exclude' => 0, |
---|
2099 | ), |
---|
2100 | 'inline' => |
---|
2101 | array ( |
---|
2102 | 'format' => 'default', |
---|
2103 | 'exclude' => 0, |
---|
2104 | ), |
---|
2105 | 'modal' => |
---|
2106 | array ( |
---|
2107 | 'format' => 'default', |
---|
2108 | 'exclude' => 0, |
---|
2109 | ), |
---|
2110 | 'token' => |
---|
2111 | array ( |
---|
2112 | 'format' => 'default', |
---|
2113 | 'exclude' => 0, |
---|
2114 | ), |
---|
2115 | ), |
---|
2116 | ); |
---|
2117 | $content['fields'][] = array ( |
---|
2118 | 'label' => 'BID-FONACIT', |
---|
2119 | 'type_name' => 'accion_especifica', |
---|
2120 | 'field_name' => 'field_accion_esp_bid_fona', |
---|
2121 | 'type' => 'number_decimal', |
---|
2122 | 'widget_type' => 'number', |
---|
2123 | 'change' => 'Change basic information', |
---|
2124 | 'weight' => '22', |
---|
2125 | 'description' => '', |
---|
2126 | 'default_value' => |
---|
2127 | array ( |
---|
2128 | 0 => |
---|
2129 | array ( |
---|
2130 | 'value' => '', |
---|
2131 | '_error_element' => 'default_value_widget][field_accion_esp_bid_fona][0][value', |
---|
2132 | ), |
---|
2133 | ), |
---|
2134 | 'default_value_php' => '', |
---|
2135 | 'default_value_widget' => |
---|
2136 | array ( |
---|
2137 | 'field_accion_esp_bid_fona' => |
---|
2138 | array ( |
---|
2139 | 0 => |
---|
2140 | array ( |
---|
2141 | 'value' => '', |
---|
2142 | '_error_element' => 'default_value_widget][field_accion_esp_bid_fona][0][value', |
---|
2143 | ), |
---|
2144 | ), |
---|
2145 | ), |
---|
2146 | 'required' => 0, |
---|
2147 | 'multiple' => '0', |
---|
2148 | 'min' => '0', |
---|
2149 | 'max' => '', |
---|
2150 | 'precision' => '32', |
---|
2151 | 'scale' => '0', |
---|
2152 | 'decimal' => '.', |
---|
2153 | 'prefix' => '', |
---|
2154 | 'suffix' => '', |
---|
2155 | 'allowed_values' => '', |
---|
2156 | 'allowed_values_php' => '', |
---|
2157 | 'op' => 'Save field settings', |
---|
2158 | 'module' => 'number', |
---|
2159 | 'widget_module' => 'number', |
---|
2160 | 'columns' => |
---|
2161 | array ( |
---|
2162 | 'value' => |
---|
2163 | array ( |
---|
2164 | 'type' => 'numeric', |
---|
2165 | 'precision' => '32', |
---|
2166 | 'scale' => '0', |
---|
2167 | 'not null' => false, |
---|
2168 | 'sortable' => true, |
---|
2169 | ), |
---|
2170 | ), |
---|
2171 | 'display_settings' => |
---|
2172 | array ( |
---|
2173 | 'label' => |
---|
2174 | array ( |
---|
2175 | 'format' => 'above', |
---|
2176 | 'exclude' => 0, |
---|
2177 | ), |
---|
2178 | 'teaser' => |
---|
2179 | array ( |
---|
2180 | 'format' => 'default', |
---|
2181 | 'exclude' => 0, |
---|
2182 | ), |
---|
2183 | 'full' => |
---|
2184 | array ( |
---|
2185 | 'format' => 'default', |
---|
2186 | 'exclude' => 0, |
---|
2187 | ), |
---|
2188 | 4 => |
---|
2189 | array ( |
---|
2190 | 'format' => 'default', |
---|
2191 | 'exclude' => 0, |
---|
2192 | ), |
---|
2193 | 'inline' => |
---|
2194 | array ( |
---|
2195 | 'format' => 'default', |
---|
2196 | 'exclude' => 0, |
---|
2197 | ), |
---|
2198 | 'modal' => |
---|
2199 | array ( |
---|
2200 | 'format' => 'default', |
---|
2201 | 'exclude' => 0, |
---|
2202 | ), |
---|
2203 | 'token' => |
---|
2204 | array ( |
---|
2205 | 'format' => 'default', |
---|
2206 | 'exclude' => 0, |
---|
2207 | ), |
---|
2208 | ), |
---|
2209 | ); |
---|
2210 | $content['fields'][] = array ( |
---|
2211 | 'label' => 'FONACIT', |
---|
2212 | 'type_name' => 'accion_especifica', |
---|
2213 | 'field_name' => 'field_accion_esp_fonacit', |
---|
2214 | 'type' => 'number_decimal', |
---|
2215 | 'widget_type' => 'number', |
---|
2216 | 'change' => 'Change basic information', |
---|
2217 | 'weight' => '23', |
---|
2218 | 'description' => '', |
---|
2219 | 'default_value' => |
---|
2220 | array ( |
---|
2221 | 0 => |
---|
2222 | array ( |
---|
2223 | 'value' => '', |
---|
2224 | '_error_element' => 'default_value_widget][field_accion_esp_fonacit][0][value', |
---|
2225 | ), |
---|
2226 | ), |
---|
2227 | 'default_value_php' => '', |
---|
2228 | 'default_value_widget' => |
---|
2229 | array ( |
---|
2230 | 'field_accion_esp_fonacit' => |
---|
2231 | array ( |
---|
2232 | 0 => |
---|
2233 | array ( |
---|
2234 | 'value' => '', |
---|
2235 | '_error_element' => 'default_value_widget][field_accion_esp_fonacit][0][value', |
---|
2236 | ), |
---|
2237 | ), |
---|
2238 | ), |
---|
2239 | 'required' => 0, |
---|
2240 | 'multiple' => '0', |
---|
2241 | 'min' => '0', |
---|
2242 | 'max' => '', |
---|
2243 | 'precision' => '32', |
---|
2244 | 'scale' => '0', |
---|
2245 | 'decimal' => '.', |
---|
2246 | 'prefix' => '', |
---|
2247 | 'suffix' => '', |
---|
2248 | 'allowed_values' => '', |
---|
2249 | 'allowed_values_php' => '', |
---|
2250 | 'op' => 'Save field settings', |
---|
2251 | 'module' => 'number', |
---|
2252 | 'widget_module' => 'number', |
---|
2253 | 'columns' => |
---|
2254 | array ( |
---|
2255 | 'value' => |
---|
2256 | array ( |
---|
2257 | 'type' => 'numeric', |
---|
2258 | 'precision' => '32', |
---|
2259 | 'scale' => '0', |
---|
2260 | 'not null' => false, |
---|
2261 | 'sortable' => true, |
---|
2262 | ), |
---|
2263 | ), |
---|
2264 | 'display_settings' => |
---|
2265 | array ( |
---|
2266 | 'label' => |
---|
2267 | array ( |
---|
2268 | 'format' => 'above', |
---|
2269 | 'exclude' => 0, |
---|
2270 | ), |
---|
2271 | 'teaser' => |
---|
2272 | array ( |
---|
2273 | 'format' => 'default', |
---|
2274 | 'exclude' => 0, |
---|
2275 | ), |
---|
2276 | 'full' => |
---|
2277 | array ( |
---|
2278 | 'format' => 'default', |
---|
2279 | 'exclude' => 0, |
---|
2280 | ), |
---|
2281 | 4 => |
---|
2282 | array ( |
---|
2283 | 'format' => 'default', |
---|
2284 | 'exclude' => 0, |
---|
2285 | ), |
---|
2286 | 'inline' => |
---|
2287 | array ( |
---|
2288 | 'format' => 'default', |
---|
2289 | 'exclude' => 0, |
---|
2290 | ), |
---|
2291 | 'modal' => |
---|
2292 | array ( |
---|
2293 | 'format' => 'default', |
---|
2294 | 'exclude' => 0, |
---|
2295 | ), |
---|
2296 | 'token' => |
---|
2297 | array ( |
---|
2298 | 'format' => 'default', |
---|
2299 | 'exclude' => 0, |
---|
2300 | ), |
---|
2301 | ), |
---|
2302 | ); |
---|
2303 | $content['fields'][] = array ( |
---|
2304 | 'label' => 'FONDEN', |
---|
2305 | 'type_name' => 'accion_especifica', |
---|
2306 | 'field_name' => 'field_accion_esp_fonden', |
---|
2307 | 'type' => 'number_decimal', |
---|
2308 | 'widget_type' => 'number', |
---|
2309 | 'change' => 'Change basic information', |
---|
2310 | 'weight' => '24', |
---|
2311 | 'description' => '', |
---|
2312 | 'default_value' => |
---|
2313 | array ( |
---|
2314 | 0 => |
---|
2315 | array ( |
---|
2316 | 'value' => '', |
---|
2317 | '_error_element' => 'default_value_widget][field_accion_esp_fonden][0][value', |
---|
2318 | ), |
---|
2319 | ), |
---|
2320 | 'default_value_php' => '', |
---|
2321 | 'default_value_widget' => |
---|
2322 | array ( |
---|
2323 | 'field_accion_esp_fonden' => |
---|
2324 | array ( |
---|
2325 | 0 => |
---|
2326 | array ( |
---|
2327 | 'value' => '', |
---|
2328 | '_error_element' => 'default_value_widget][field_accion_esp_fonden][0][value', |
---|
2329 | ), |
---|
2330 | ), |
---|
2331 | ), |
---|
2332 | 'required' => 0, |
---|
2333 | 'multiple' => '0', |
---|
2334 | 'min' => '0', |
---|
2335 | 'max' => '', |
---|
2336 | 'precision' => '32', |
---|
2337 | 'scale' => '0', |
---|
2338 | 'decimal' => '.', |
---|
2339 | 'prefix' => '', |
---|
2340 | 'suffix' => '', |
---|
2341 | 'allowed_values' => '', |
---|
2342 | 'allowed_values_php' => '', |
---|
2343 | 'op' => 'Save field settings', |
---|
2344 | 'module' => 'number', |
---|
2345 | 'widget_module' => 'number', |
---|
2346 | 'columns' => |
---|
2347 | array ( |
---|
2348 | 'value' => |
---|
2349 | array ( |
---|
2350 | 'type' => 'numeric', |
---|
2351 | 'precision' => '32', |
---|
2352 | 'scale' => '0', |
---|
2353 | 'not null' => false, |
---|
2354 | 'sortable' => true, |
---|
2355 | ), |
---|
2356 | ), |
---|
2357 | 'display_settings' => |
---|
2358 | array ( |
---|
2359 | 'label' => |
---|
2360 | array ( |
---|
2361 | 'format' => 'above', |
---|
2362 | 'exclude' => 0, |
---|
2363 | ), |
---|
2364 | 'teaser' => |
---|
2365 | array ( |
---|
2366 | 'format' => 'default', |
---|
2367 | 'exclude' => 0, |
---|
2368 | ), |
---|
2369 | 'full' => |
---|
2370 | array ( |
---|
2371 | 'format' => 'default', |
---|
2372 | 'exclude' => 0, |
---|
2373 | ), |
---|
2374 | 4 => |
---|
2375 | array ( |
---|
2376 | 'format' => 'default', |
---|
2377 | 'exclude' => 0, |
---|
2378 | ), |
---|
2379 | 'inline' => |
---|
2380 | array ( |
---|
2381 | 'format' => 'default', |
---|
2382 | 'exclude' => 0, |
---|
2383 | ), |
---|
2384 | 'modal' => |
---|
2385 | array ( |
---|
2386 | 'format' => 'default', |
---|
2387 | 'exclude' => 0, |
---|
2388 | ), |
---|
2389 | 'token' => |
---|
2390 | array ( |
---|
2391 | 'format' => 'default', |
---|
2392 | 'exclude' => 0, |
---|
2393 | ), |
---|
2394 | ), |
---|
2395 | ); |
---|
2396 | $content['fields'][] = array ( |
---|
2397 | 'label' => 'LOCTI', |
---|
2398 | 'type_name' => 'accion_especifica', |
---|
2399 | 'field_name' => 'field_accion_esp_locti', |
---|
2400 | 'type' => 'number_decimal', |
---|
2401 | 'widget_type' => 'number', |
---|
2402 | 'change' => 'Change basic information', |
---|
2403 | 'weight' => '25', |
---|
2404 | 'description' => '', |
---|
2405 | 'default_value' => |
---|
2406 | array ( |
---|
2407 | 0 => |
---|
2408 | array ( |
---|
2409 | 'value' => '', |
---|
2410 | '_error_element' => 'default_value_widget][field_accion_esp_locti][0][value', |
---|
2411 | ), |
---|
2412 | ), |
---|
2413 | 'default_value_php' => '', |
---|
2414 | 'default_value_widget' => |
---|
2415 | array ( |
---|
2416 | 'field_accion_esp_locti' => |
---|
2417 | array ( |
---|
2418 | 0 => |
---|
2419 | array ( |
---|
2420 | 'value' => '', |
---|
2421 | '_error_element' => 'default_value_widget][field_accion_esp_locti][0][value', |
---|
2422 | ), |
---|
2423 | ), |
---|
2424 | ), |
---|
2425 | 'required' => 0, |
---|
2426 | 'multiple' => '0', |
---|
2427 | 'min' => '0', |
---|
2428 | 'max' => '', |
---|
2429 | 'precision' => '32', |
---|
2430 | 'scale' => '0', |
---|
2431 | 'decimal' => '.', |
---|
2432 | 'prefix' => '', |
---|
2433 | 'suffix' => '', |
---|
2434 | 'allowed_values' => '', |
---|
2435 | 'allowed_values_php' => '', |
---|
2436 | 'op' => 'Save field settings', |
---|
2437 | 'module' => 'number', |
---|
2438 | 'widget_module' => 'number', |
---|
2439 | 'columns' => |
---|
2440 | array ( |
---|
2441 | 'value' => |
---|
2442 | array ( |
---|
2443 | 'type' => 'numeric', |
---|
2444 | 'precision' => '32', |
---|
2445 | 'scale' => '0', |
---|
2446 | 'not null' => false, |
---|
2447 | 'sortable' => true, |
---|
2448 | ), |
---|
2449 | ), |
---|
2450 | 'display_settings' => |
---|
2451 | array ( |
---|
2452 | 'label' => |
---|
2453 | array ( |
---|
2454 | 'format' => 'above', |
---|
2455 | 'exclude' => 0, |
---|
2456 | ), |
---|
2457 | 'teaser' => |
---|
2458 | array ( |
---|
2459 | 'format' => 'default', |
---|
2460 | 'exclude' => 0, |
---|
2461 | ), |
---|
2462 | 'full' => |
---|
2463 | array ( |
---|
2464 | 'format' => 'default', |
---|
2465 | 'exclude' => 0, |
---|
2466 | ), |
---|
2467 | 4 => |
---|
2468 | array ( |
---|
2469 | 'format' => 'default', |
---|
2470 | 'exclude' => 0, |
---|
2471 | ), |
---|
2472 | 'inline' => |
---|
2473 | array ( |
---|
2474 | 'format' => 'default', |
---|
2475 | 'exclude' => 0, |
---|
2476 | ), |
---|
2477 | 'modal' => |
---|
2478 | array ( |
---|
2479 | 'format' => 'default', |
---|
2480 | 'exclude' => 0, |
---|
2481 | ), |
---|
2482 | 'token' => |
---|
2483 | array ( |
---|
2484 | 'format' => 'default', |
---|
2485 | 'exclude' => 0, |
---|
2486 | ), |
---|
2487 | ), |
---|
2488 | ); |
---|
2489 | $content['fields'][] = array ( |
---|
2490 | 'label' => 'Fondo IDI', |
---|
2491 | 'type_name' => 'accion_especifica', |
---|
2492 | 'field_name' => 'field_accion_esp_fondoidi', |
---|
2493 | 'type' => 'number_decimal', |
---|
2494 | 'widget_type' => 'number', |
---|
2495 | 'change' => 'Change basic information', |
---|
2496 | 'weight' => '26', |
---|
2497 | 'description' => '', |
---|
2498 | 'default_value' => |
---|
2499 | array ( |
---|
2500 | 0 => |
---|
2501 | array ( |
---|
2502 | 'value' => '', |
---|
2503 | '_error_element' => 'default_value_widget][field_accion_esp_fondoidi][0][value', |
---|
2504 | ), |
---|
2505 | ), |
---|
2506 | 'default_value_php' => '', |
---|
2507 | 'default_value_widget' => |
---|
2508 | array ( |
---|
2509 | 'field_accion_esp_fondoidi' => |
---|
2510 | array ( |
---|
2511 | 0 => |
---|
2512 | array ( |
---|
2513 | 'value' => '', |
---|
2514 | '_error_element' => 'default_value_widget][field_accion_esp_fondoidi][0][value', |
---|
2515 | ), |
---|
2516 | ), |
---|
2517 | ), |
---|
2518 | 'required' => 0, |
---|
2519 | 'multiple' => '0', |
---|
2520 | 'min' => '0', |
---|
2521 | 'max' => '', |
---|
2522 | 'precision' => '32', |
---|
2523 | 'scale' => '0', |
---|
2524 | 'decimal' => '.', |
---|
2525 | 'prefix' => '', |
---|
2526 | 'suffix' => '', |
---|
2527 | 'allowed_values' => '', |
---|
2528 | 'allowed_values_php' => '', |
---|
2529 | 'op' => 'Save field settings', |
---|
2530 | 'module' => 'number', |
---|
2531 | 'widget_module' => 'number', |
---|
2532 | 'columns' => |
---|
2533 | array ( |
---|
2534 | 'value' => |
---|
2535 | array ( |
---|
2536 | 'type' => 'numeric', |
---|
2537 | 'precision' => '32', |
---|
2538 | 'scale' => '0', |
---|
2539 | 'not null' => false, |
---|
2540 | 'sortable' => true, |
---|
2541 | ), |
---|
2542 | ), |
---|
2543 | 'display_settings' => |
---|
2544 | array ( |
---|
2545 | 'label' => |
---|
2546 | array ( |
---|
2547 | 'format' => 'above', |
---|
2548 | 'exclude' => 0, |
---|
2549 | ), |
---|
2550 | 'teaser' => |
---|
2551 | array ( |
---|
2552 | 'format' => 'default', |
---|
2553 | 'exclude' => 0, |
---|
2554 | ), |
---|
2555 | 'full' => |
---|
2556 | array ( |
---|
2557 | 'format' => 'default', |
---|
2558 | 'exclude' => 0, |
---|
2559 | ), |
---|
2560 | 4 => |
---|
2561 | array ( |
---|
2562 | 'format' => 'default', |
---|
2563 | 'exclude' => 0, |
---|
2564 | ), |
---|
2565 | 'inline' => |
---|
2566 | array ( |
---|
2567 | 'format' => 'default', |
---|
2568 | 'exclude' => 0, |
---|
2569 | ), |
---|
2570 | 'modal' => |
---|
2571 | array ( |
---|
2572 | 'format' => 'default', |
---|
2573 | 'exclude' => 0, |
---|
2574 | ), |
---|
2575 | 'token' => |
---|
2576 | array ( |
---|
2577 | 'format' => 'default', |
---|
2578 | 'exclude' => 0, |
---|
2579 | ), |
---|
2580 | ), |
---|
2581 | ); |
---|
2582 | $content['fields'][] = array ( |
---|
2583 | 'label' => 'Capital de Riesgo', |
---|
2584 | 'type_name' => 'accion_especifica', |
---|
2585 | 'field_name' => 'field_accion_esp_capitalrie', |
---|
2586 | 'type' => 'number_decimal', |
---|
2587 | 'widget_type' => 'number', |
---|
2588 | 'change' => 'Change basic information', |
---|
2589 | 'weight' => '27', |
---|
2590 | 'description' => '', |
---|
2591 | 'default_value' => |
---|
2592 | array ( |
---|
2593 | 0 => |
---|
2594 | array ( |
---|
2595 | 'value' => '', |
---|
2596 | '_error_element' => 'default_value_widget][field_accion_esp_capitalrie][0][value', |
---|
2597 | ), |
---|
2598 | ), |
---|
2599 | 'default_value_php' => '', |
---|
2600 | 'default_value_widget' => |
---|
2601 | array ( |
---|
2602 | 'field_accion_esp_capitalrie' => |
---|
2603 | array ( |
---|
2604 | 0 => |
---|
2605 | array ( |
---|
2606 | 'value' => '', |
---|
2607 | '_error_element' => 'default_value_widget][field_accion_esp_capitalrie][0][value', |
---|
2608 | ), |
---|
2609 | ), |
---|
2610 | ), |
---|
2611 | 'required' => 0, |
---|
2612 | 'multiple' => '0', |
---|
2613 | 'min' => '0', |
---|
2614 | 'max' => '', |
---|
2615 | 'precision' => '32', |
---|
2616 | 'scale' => '0', |
---|
2617 | 'decimal' => '.', |
---|
2618 | 'prefix' => '', |
---|
2619 | 'suffix' => '', |
---|
2620 | 'allowed_values' => '', |
---|
2621 | 'allowed_values_php' => '', |
---|
2622 | 'op' => 'Save field settings', |
---|
2623 | 'module' => 'number', |
---|
2624 | 'widget_module' => 'number', |
---|
2625 | 'columns' => |
---|
2626 | array ( |
---|
2627 | 'value' => |
---|
2628 | array ( |
---|
2629 | 'type' => 'numeric', |
---|
2630 | 'precision' => '32', |
---|
2631 | 'scale' => '0', |
---|
2632 | 'not null' => false, |
---|
2633 | 'sortable' => true, |
---|
2634 | ), |
---|
2635 | ), |
---|
2636 | 'display_settings' => |
---|
2637 | array ( |
---|
2638 | 'label' => |
---|
2639 | array ( |
---|
2640 | 'format' => 'above', |
---|
2641 | 'exclude' => 0, |
---|
2642 | ), |
---|
2643 | 'teaser' => |
---|
2644 | array ( |
---|
2645 | 'format' => 'default', |
---|
2646 | 'exclude' => 0, |
---|
2647 | ), |
---|
2648 | 'full' => |
---|
2649 | array ( |
---|
2650 | 'format' => 'default', |
---|
2651 | 'exclude' => 0, |
---|
2652 | ), |
---|
2653 | 4 => |
---|
2654 | array ( |
---|
2655 | 'format' => 'default', |
---|
2656 | 'exclude' => 0, |
---|
2657 | ), |
---|
2658 | 'inline' => |
---|
2659 | array ( |
---|
2660 | 'format' => 'default', |
---|
2661 | 'exclude' => 0, |
---|
2662 | ), |
---|
2663 | 'modal' => |
---|
2664 | array ( |
---|
2665 | 'format' => 'default', |
---|
2666 | 'exclude' => 0, |
---|
2667 | ), |
---|
2668 | 'token' => |
---|
2669 | array ( |
---|
2670 | 'format' => 'default', |
---|
2671 | 'exclude' => 0, |
---|
2672 | ), |
---|
2673 | ), |
---|
2674 | ); |
---|
2675 | $content['fields'][] = array ( |
---|
2676 | 'label' => 'Infocentro', |
---|
2677 | 'type_name' => 'accion_especifica', |
---|
2678 | 'field_name' => 'field_accion_esp_infocentro', |
---|
2679 | 'type' => 'number_decimal', |
---|
2680 | 'widget_type' => 'number', |
---|
2681 | 'change' => 'Change basic information', |
---|
2682 | 'weight' => '28', |
---|
2683 | 'description' => '', |
---|
2684 | 'default_value' => |
---|
2685 | array ( |
---|
2686 | 0 => |
---|
2687 | array ( |
---|
2688 | 'value' => '', |
---|
2689 | '_error_element' => 'default_value_widget][field_accion_esp_infocentro][0][value', |
---|
2690 | ), |
---|
2691 | ), |
---|
2692 | 'default_value_php' => '', |
---|
2693 | 'default_value_widget' => |
---|
2694 | array ( |
---|
2695 | 'field_accion_esp_infocentro' => |
---|
2696 | array ( |
---|
2697 | 0 => |
---|
2698 | array ( |
---|
2699 | 'value' => '', |
---|
2700 | '_error_element' => 'default_value_widget][field_accion_esp_infocentro][0][value', |
---|
2701 | ), |
---|
2702 | ), |
---|
2703 | ), |
---|
2704 | 'required' => 0, |
---|
2705 | 'multiple' => '0', |
---|
2706 | 'min' => '0', |
---|
2707 | 'max' => '', |
---|
2708 | 'precision' => '32', |
---|
2709 | 'scale' => '0', |
---|
2710 | 'decimal' => '.', |
---|
2711 | 'prefix' => '', |
---|
2712 | 'suffix' => '', |
---|
2713 | 'allowed_values' => '', |
---|
2714 | 'allowed_values_php' => '', |
---|
2715 | 'op' => 'Save field settings', |
---|
2716 | 'module' => 'number', |
---|
2717 | 'widget_module' => 'number', |
---|
2718 | 'columns' => |
---|
2719 | array ( |
---|
2720 | 'value' => |
---|
2721 | array ( |
---|
2722 | 'type' => 'numeric', |
---|
2723 | 'precision' => '32', |
---|
2724 | 'scale' => '0', |
---|
2725 | 'not null' => false, |
---|
2726 | 'sortable' => true, |
---|
2727 | ), |
---|
2728 | ), |
---|
2729 | 'display_settings' => |
---|
2730 | array ( |
---|
2731 | 'label' => |
---|
2732 | array ( |
---|
2733 | 'format' => 'above', |
---|
2734 | 'exclude' => 0, |
---|
2735 | ), |
---|
2736 | 'teaser' => |
---|
2737 | array ( |
---|
2738 | 'format' => 'default', |
---|
2739 | 'exclude' => 0, |
---|
2740 | ), |
---|
2741 | 'full' => |
---|
2742 | array ( |
---|
2743 | 'format' => 'default', |
---|
2744 | 'exclude' => 0, |
---|
2745 | ), |
---|
2746 | 4 => |
---|
2747 | array ( |
---|
2748 | 'format' => 'default', |
---|
2749 | 'exclude' => 0, |
---|
2750 | ), |
---|
2751 | 'inline' => |
---|
2752 | array ( |
---|
2753 | 'format' => 'default', |
---|
2754 | 'exclude' => 0, |
---|
2755 | ), |
---|
2756 | 'modal' => |
---|
2757 | array ( |
---|
2758 | 'format' => 'default', |
---|
2759 | 'exclude' => 0, |
---|
2760 | ), |
---|
2761 | 'token' => |
---|
2762 | array ( |
---|
2763 | 'format' => 'default', |
---|
2764 | 'exclude' => 0, |
---|
2765 | ), |
---|
2766 | ), |
---|
2767 | ); |
---|
2768 | $content['fields'][] = array ( |
---|
2769 | 'label' => 'Fidetel', |
---|
2770 | 'type_name' => 'accion_especifica', |
---|
2771 | 'field_name' => 'field_accion_esp_fidetel', |
---|
2772 | 'type' => 'number_decimal', |
---|
2773 | 'widget_type' => 'number', |
---|
2774 | 'change' => 'Change basic information', |
---|
2775 | 'weight' => '29', |
---|
2776 | 'description' => '', |
---|
2777 | 'default_value' => |
---|
2778 | array ( |
---|
2779 | 0 => |
---|
2780 | array ( |
---|
2781 | 'value' => '', |
---|
2782 | '_error_element' => 'default_value_widget][field_accion_esp_fidetel][0][value', |
---|
2783 | ), |
---|
2784 | ), |
---|
2785 | 'default_value_php' => '', |
---|
2786 | 'default_value_widget' => |
---|
2787 | array ( |
---|
2788 | 'field_accion_esp_fidetel' => |
---|
2789 | array ( |
---|
2790 | 0 => |
---|
2791 | array ( |
---|
2792 | 'value' => '', |
---|
2793 | '_error_element' => 'default_value_widget][field_accion_esp_fidetel][0][value', |
---|
2794 | ), |
---|
2795 | ), |
---|
2796 | ), |
---|
2797 | 'required' => 0, |
---|
2798 | 'multiple' => '0', |
---|
2799 | 'min' => '0', |
---|
2800 | 'max' => '', |
---|
2801 | 'precision' => '32', |
---|
2802 | 'scale' => '0', |
---|
2803 | 'decimal' => '.', |
---|
2804 | 'prefix' => '', |
---|
2805 | 'suffix' => '', |
---|
2806 | 'allowed_values' => '', |
---|
2807 | 'allowed_values_php' => '', |
---|
2808 | 'op' => 'Save field settings', |
---|
2809 | 'module' => 'number', |
---|
2810 | 'widget_module' => 'number', |
---|
2811 | 'columns' => |
---|
2812 | array ( |
---|
2813 | 'value' => |
---|
2814 | array ( |
---|
2815 | 'type' => 'numeric', |
---|
2816 | 'precision' => '32', |
---|
2817 | 'scale' => '0', |
---|
2818 | 'not null' => false, |
---|
2819 | 'sortable' => true, |
---|
2820 | ), |
---|
2821 | ), |
---|
2822 | 'display_settings' => |
---|
2823 | array ( |
---|
2824 | 'label' => |
---|
2825 | array ( |
---|
2826 | 'format' => 'above', |
---|
2827 | 'exclude' => 0, |
---|
2828 | ), |
---|
2829 | 'teaser' => |
---|
2830 | array ( |
---|
2831 | 'format' => 'default', |
---|
2832 | 'exclude' => 0, |
---|
2833 | ), |
---|
2834 | 'full' => |
---|
2835 | array ( |
---|
2836 | 'format' => 'default', |
---|
2837 | 'exclude' => 0, |
---|
2838 | ), |
---|
2839 | 4 => |
---|
2840 | array ( |
---|
2841 | 'format' => 'default', |
---|
2842 | 'exclude' => 0, |
---|
2843 | ), |
---|
2844 | 'inline' => |
---|
2845 | array ( |
---|
2846 | 'format' => 'default', |
---|
2847 | 'exclude' => 0, |
---|
2848 | ), |
---|
2849 | 'modal' => |
---|
2850 | array ( |
---|
2851 | 'format' => 'default', |
---|
2852 | 'exclude' => 0, |
---|
2853 | ), |
---|
2854 | 'token' => |
---|
2855 | array ( |
---|
2856 | 'format' => 'default', |
---|
2857 | 'exclude' => 0, |
---|
2858 | ), |
---|
2859 | ), |
---|
2860 | ); |
---|
2861 | $content['fields'][] = array ( |
---|
2862 | 'label' => 'Ente', |
---|
2863 | 'type_name' => 'accion_especifica', |
---|
2864 | 'field_name' => 'field_accion_esp_ente', |
---|
2865 | 'type' => 'nodereference', |
---|
2866 | 'widget_type' => 'nodereference_select', |
---|
2867 | 'change' => 'Change basic information', |
---|
2868 | 'weight' => '30', |
---|
2869 | 'autocomplete_match' => 'contains', |
---|
2870 | 'size' => 60, |
---|
2871 | 'description' => '', |
---|
2872 | 'default_value' => |
---|
2873 | array ( |
---|
2874 | 0 => |
---|
2875 | array ( |
---|
2876 | 'nid' => '', |
---|
2877 | ), |
---|
2878 | ), |
---|
2879 | 'default_value_php' => '', |
---|
2880 | 'default_value_widget' => |
---|
2881 | array ( |
---|
2882 | 'field_accion_esp_ente' => |
---|
2883 | array ( |
---|
2884 | 0 => |
---|
2885 | array ( |
---|
2886 | 'nid' => '', |
---|
2887 | ), |
---|
2888 | 'nid' => |
---|
2889 | array ( |
---|
2890 | 'nid' => '', |
---|
2891 | ), |
---|
2892 | ), |
---|
2893 | ), |
---|
2894 | 'required' => 0, |
---|
2895 | 'multiple' => '0', |
---|
2896 | 'referenceable_types' => |
---|
2897 | array ( |
---|
2898 | 'ente_planificador' => 'ente_planificador', |
---|
2899 | 'accion_especifica' => 0, |
---|
2900 | 'causas' => 0, |
---|
2901 | 'situacion_ideal' => 0, |
---|
2902 | 'descriptores' => 0, |
---|
2903 | 'foda' => 0, |
---|
2904 | 'ente_funciones' => 0, |
---|
2905 | 'ente_institucional' => 0, |
---|
2906 | 'objetivos_entes' => 0, |
---|
2907 | 'objetivos_estrategicos' => 0, |
---|
2908 | 'page' => 0, |
---|
2909 | 'proyecto_estrategico' => 0, |
---|
2910 | 'proyectos_operativos' => 0, |
---|
2911 | 'direccionales' => 0, |
---|
2912 | 'story' => 0, |
---|
2913 | 'situacion_actual_preliminar' => 0, |
---|
2914 | 'fdf' => 0, |
---|
2915 | ), |
---|
2916 | 'advanced_view' => '--', |
---|
2917 | 'advanced_view_args' => '', |
---|
2918 | 'op' => 'Save field settings', |
---|
2919 | 'module' => 'nodereference', |
---|
2920 | 'widget_module' => 'nodereference', |
---|
2921 | 'columns' => |
---|
2922 | array ( |
---|
2923 | 'nid' => |
---|
2924 | array ( |
---|
2925 | 'type' => 'int', |
---|
2926 | 'unsigned' => true, |
---|
2927 | 'not null' => false, |
---|
2928 | 'index' => true, |
---|
2929 | ), |
---|
2930 | ), |
---|
2931 | 'display_settings' => |
---|
2932 | array ( |
---|
2933 | 'label' => |
---|
2934 | array ( |
---|
2935 | 'format' => 'above', |
---|
2936 | 'exclude' => 0, |
---|
2937 | ), |
---|
2938 | 'teaser' => |
---|
2939 | array ( |
---|
2940 | 'format' => 'default', |
---|
2941 | 'exclude' => 0, |
---|
2942 | ), |
---|
2943 | 'full' => |
---|
2944 | array ( |
---|
2945 | 'format' => 'default', |
---|
2946 | 'exclude' => 0, |
---|
2947 | ), |
---|
2948 | 4 => |
---|
2949 | array ( |
---|
2950 | 'format' => 'default', |
---|
2951 | 'exclude' => 0, |
---|
2952 | ), |
---|
2953 | 'inline' => |
---|
2954 | array ( |
---|
2955 | 'format' => 'default', |
---|
2956 | 'exclude' => 0, |
---|
2957 | ), |
---|
2958 | 'modal' => |
---|
2959 | array ( |
---|
2960 | 'format' => 'default', |
---|
2961 | 'exclude' => 0, |
---|
2962 | ), |
---|
2963 | 'token' => |
---|
2964 | array ( |
---|
2965 | 'format' => 'default', |
---|
2966 | 'exclude' => 0, |
---|
2967 | ), |
---|
2968 | ), |
---|
2969 | ); |
---|
2970 | $content['fields'][] = array ( |
---|
2971 | 'type_name' => 'accion_especifica', |
---|
2972 | 'label' => 'Localización Geográfica', |
---|
2973 | 'field_name' => 'field_accion_esp_localizacion', |
---|
2974 | 'type' => 'content_taxonomy', |
---|
2975 | 'widget_type' => 'content_taxonomy_select', |
---|
2976 | 'change' => 'Change basic information', |
---|
2977 | 'weight' => '31', |
---|
2978 | 'show_depth' => 1, |
---|
2979 | 'group_parent' => '0', |
---|
2980 | 'description' => '', |
---|
2981 | 'default_value' => |
---|
2982 | array ( |
---|
2983 | 0 => |
---|
2984 | array ( |
---|
2985 | 'value' => '', |
---|
2986 | ), |
---|
2987 | ), |
---|
2988 | 'default_value_php' => '', |
---|
2989 | 'default_value_widget' => |
---|
2990 | array ( |
---|
2991 | 'field_accion_esp_localizacion' => |
---|
2992 | array ( |
---|
2993 | 'value' => '', |
---|
2994 | ), |
---|
2995 | ), |
---|
2996 | 'required' => 1, |
---|
2997 | 'multiple' => '0', |
---|
2998 | 'save_term_node' => 0, |
---|
2999 | 'vid' => variable_get('proyectos_operativos_extra_entidad', 0), |
---|
3000 | 'parent' => '0', |
---|
3001 | 'parent_php_code' => '', |
---|
3002 | 'depth' => '', |
---|
3003 | 'op' => 'Save field settings', |
---|
3004 | 'module' => 'content_taxonomy', |
---|
3005 | 'widget_module' => 'content_taxonomy_options', |
---|
3006 | 'columns' => |
---|
3007 | array ( |
---|
3008 | 'value' => |
---|
3009 | array ( |
---|
3010 | 'type' => 'int', |
---|
3011 | 'not null' => false, |
---|
3012 | 'sortable' => false, |
---|
3013 | ), |
---|
3014 | ), |
---|
3015 | 'display_settings' => |
---|
3016 | array ( |
---|
3017 | 'label' => |
---|
3018 | array ( |
---|
3019 | 'format' => 'above', |
---|
3020 | 'exclude' => 0, |
---|
3021 | ), |
---|
3022 | 'teaser' => |
---|
3023 | array ( |
---|
3024 | 'format' => 'default', |
---|
3025 | 'exclude' => 0, |
---|
3026 | ), |
---|
3027 | 'full' => |
---|
3028 | array ( |
---|
3029 | 'format' => 'default', |
---|
3030 | 'exclude' => 0, |
---|
3031 | ), |
---|
3032 | 4 => |
---|
3033 | array ( |
---|
3034 | 'format' => 'default', |
---|
3035 | 'exclude' => 0, |
---|
3036 | ), |
---|
3037 | 'inline' => |
---|
3038 | array ( |
---|
3039 | 'format' => 'default', |
---|
3040 | 'exclude' => 0, |
---|
3041 | ), |
---|
3042 | 'modal' => |
---|
3043 | array ( |
---|
3044 | 'format' => 'default', |
---|
3045 | 'exclude' => 0, |
---|
3046 | ), |
---|
3047 | 'token' => |
---|
3048 | array ( |
---|
3049 | 'format' => 'default', |
---|
3050 | 'exclude' => 0, |
---|
3051 | ), |
---|
3052 | ), |
---|
3053 | ); |
---|
3054 | $content['fields'][] = array ( |
---|
3055 | 'label' => 'Latitud', |
---|
3056 | 'type_name' => 'accion_especifica', |
---|
3057 | 'field_name' => 'field_accion_esp_latitud', |
---|
3058 | 'type' => 'text', |
---|
3059 | 'widget_type' => 'text_textfield', |
---|
3060 | 'change' => 'Change basic information', |
---|
3061 | 'weight' => '32', |
---|
3062 | 'rows' => 5, |
---|
3063 | 'size' => '30', |
---|
3064 | 'description' => '', |
---|
3065 | 'default_value' => |
---|
3066 | array ( |
---|
3067 | 0 => |
---|
3068 | array ( |
---|
3069 | 'value' => '', |
---|
3070 | '_error_element' => 'default_value_widget][field_accion_esp_latitud][0][value', |
---|
3071 | ), |
---|
3072 | ), |
---|
3073 | 'default_value_php' => '', |
---|
3074 | 'default_value_widget' => |
---|
3075 | array ( |
---|
3076 | 'field_accion_esp_latitud' => |
---|
3077 | array ( |
---|
3078 | 0 => |
---|
3079 | array ( |
---|
3080 | 'value' => '', |
---|
3081 | '_error_element' => 'default_value_widget][field_accion_esp_latitud][0][value', |
---|
3082 | ), |
---|
3083 | ), |
---|
3084 | ), |
---|
3085 | 'required' => 0, |
---|
3086 | 'multiple' => '0', |
---|
3087 | 'text_processing' => '0', |
---|
3088 | 'max_length' => '30', |
---|
3089 | 'allowed_values' => '', |
---|
3090 | 'allowed_values_php' => '', |
---|
3091 | 'op' => 'Save field settings', |
---|
3092 | 'module' => 'text', |
---|
3093 | 'widget_module' => 'text', |
---|
3094 | 'columns' => |
---|
3095 | array ( |
---|
3096 | 'value' => |
---|
3097 | array ( |
---|
3098 | 'type' => 'varchar', |
---|
3099 | 'length' => '30', |
---|
3100 | 'not null' => false, |
---|
3101 | 'sortable' => true, |
---|
3102 | 'views' => true, |
---|
3103 | ), |
---|
3104 | ), |
---|
3105 | 'display_settings' => |
---|
3106 | array ( |
---|
3107 | 'label' => |
---|
3108 | array ( |
---|
3109 | 'format' => 'above', |
---|
3110 | 'exclude' => 0, |
---|
3111 | ), |
---|
3112 | 'teaser' => |
---|
3113 | array ( |
---|
3114 | 'format' => 'default', |
---|
3115 | 'exclude' => 0, |
---|
3116 | ), |
---|
3117 | 'full' => |
---|
3118 | array ( |
---|
3119 | 'format' => 'default', |
---|
3120 | 'exclude' => 0, |
---|
3121 | ), |
---|
3122 | 4 => |
---|
3123 | array ( |
---|
3124 | 'format' => 'default', |
---|
3125 | 'exclude' => 0, |
---|
3126 | ), |
---|
3127 | 'inline' => |
---|
3128 | array ( |
---|
3129 | 'format' => 'default', |
---|
3130 | 'exclude' => 0, |
---|
3131 | ), |
---|
3132 | 'modal' => |
---|
3133 | array ( |
---|
3134 | 'format' => 'default', |
---|
3135 | 'exclude' => 0, |
---|
3136 | ), |
---|
3137 | 'token' => |
---|
3138 | array ( |
---|
3139 | 'format' => 'default', |
---|
3140 | 'exclude' => 0, |
---|
3141 | ), |
---|
3142 | ), |
---|
3143 | ); |
---|
3144 | $content['fields'][] = array ( |
---|
3145 | 'label' => 'Longitud', |
---|
3146 | 'type_name' => 'accion_especifica', |
---|
3147 | 'field_name' => 'field_accion_esp_longitud', |
---|
3148 | 'type' => 'text', |
---|
3149 | 'widget_type' => 'text_textfield', |
---|
3150 | 'change' => 'Change basic information', |
---|
3151 | 'weight' => '33', |
---|
3152 | 'rows' => 5, |
---|
3153 | 'size' => '20', |
---|
3154 | 'description' => '', |
---|
3155 | 'default_value' => |
---|
3156 | array ( |
---|
3157 | 0 => |
---|
3158 | array ( |
---|
3159 | 'value' => '', |
---|
3160 | '_error_element' => 'default_value_widget][field_accion_esp_longitud][0][value', |
---|
3161 | ), |
---|
3162 | ), |
---|
3163 | 'default_value_php' => '', |
---|
3164 | 'default_value_widget' => |
---|
3165 | array ( |
---|
3166 | 'field_accion_esp_longitud' => |
---|
3167 | array ( |
---|
3168 | 0 => |
---|
3169 | array ( |
---|
3170 | 'value' => '', |
---|
3171 | '_error_element' => 'default_value_widget][field_accion_esp_longitud][0][value', |
---|
3172 | ), |
---|
3173 | ), |
---|
3174 | ), |
---|
3175 | 'required' => 0, |
---|
3176 | 'multiple' => '0', |
---|
3177 | 'text_processing' => '0', |
---|
3178 | 'max_length' => '20', |
---|
3179 | 'allowed_values' => '', |
---|
3180 | 'allowed_values_php' => '', |
---|
3181 | 'op' => 'Save field settings', |
---|
3182 | 'module' => 'text', |
---|
3183 | 'widget_module' => 'text', |
---|
3184 | 'columns' => |
---|
3185 | array ( |
---|
3186 | 'value' => |
---|
3187 | array ( |
---|
3188 | 'type' => 'varchar', |
---|
3189 | 'length' => '20', |
---|
3190 | 'not null' => false, |
---|
3191 | 'sortable' => true, |
---|
3192 | 'views' => true, |
---|
3193 | ), |
---|
3194 | ), |
---|
3195 | 'display_settings' => |
---|
3196 | array ( |
---|
3197 | 'label' => |
---|
3198 | array ( |
---|
3199 | 'format' => 'above', |
---|
3200 | 'exclude' => 0, |
---|
3201 | ), |
---|
3202 | 'teaser' => |
---|
3203 | array ( |
---|
3204 | 'format' => 'default', |
---|
3205 | 'exclude' => 0, |
---|
3206 | ), |
---|
3207 | 'full' => |
---|
3208 | array ( |
---|
3209 | 'format' => 'default', |
---|
3210 | 'exclude' => 0, |
---|
3211 | ), |
---|
3212 | 4 => |
---|
3213 | array ( |
---|
3214 | 'format' => 'default', |
---|
3215 | 'exclude' => 0, |
---|
3216 | ), |
---|
3217 | 'inline' => |
---|
3218 | array ( |
---|
3219 | 'format' => 'default', |
---|
3220 | 'exclude' => 0, |
---|
3221 | ), |
---|
3222 | 'modal' => |
---|
3223 | array ( |
---|
3224 | 'format' => 'default', |
---|
3225 | 'exclude' => 0, |
---|
3226 | ), |
---|
3227 | 'token' => |
---|
3228 | array ( |
---|
3229 | 'format' => 'default', |
---|
3230 | 'exclude' => 0, |
---|
3231 | ), |
---|
3232 | ), |
---|
3233 | ); |
---|
3234 | $content['fields'][] = array ( |
---|
3235 | 'label' => 'Meta Masculino', |
---|
3236 | 'type_name' => 'accion_especifica', |
---|
3237 | 'field_name' => 'field_accion_esp_meta_m', |
---|
3238 | 'type' => 'number_integer', |
---|
3239 | 'widget_type' => 'number', |
---|
3240 | 'change' => 'Cambiar información básica', |
---|
3241 | 'weight' => '35', |
---|
3242 | 'description' => '', |
---|
3243 | 'default_value' => |
---|
3244 | array ( |
---|
3245 | 0 => |
---|
3246 | array ( |
---|
3247 | 'value' => '0', |
---|
3248 | '_error_element' => 'default_value_widget][field_accion_esp_meta_m][0][value', |
---|
3249 | ), |
---|
3250 | ), |
---|
3251 | 'default_value_php' => '', |
---|
3252 | 'default_value_widget' => NULL, |
---|
3253 | 'group' => false, |
---|
3254 | 'required' => 0, |
---|
3255 | 'multiple' => '0', |
---|
3256 | 'min' => '0', |
---|
3257 | 'max' => '', |
---|
3258 | 'prefix' => '', |
---|
3259 | 'suffix' => '', |
---|
3260 | 'allowed_values' => '', |
---|
3261 | 'allowed_values_php' => '', |
---|
3262 | 'op' => 'Guardar configuraciones del campo', |
---|
3263 | 'module' => 'number', |
---|
3264 | 'widget_module' => 'number', |
---|
3265 | 'columns' => |
---|
3266 | array ( |
---|
3267 | 'value' => |
---|
3268 | array ( |
---|
3269 | 'type' => 'int', |
---|
3270 | 'not null' => false, |
---|
3271 | 'sortable' => true, |
---|
3272 | ), |
---|
3273 | ), |
---|
3274 | 'display_settings' => |
---|
3275 | array ( |
---|
3276 | 'label' => |
---|
3277 | array ( |
---|
3278 | 'format' => 'above', |
---|
3279 | 'exclude' => 0, |
---|
3280 | ), |
---|
3281 | 'teaser' => |
---|
3282 | array ( |
---|
3283 | 'format' => 'default', |
---|
3284 | 'exclude' => 0, |
---|
3285 | ), |
---|
3286 | 'full' => |
---|
3287 | array ( |
---|
3288 | 'format' => 'default', |
---|
3289 | 'exclude' => 0, |
---|
3290 | ), |
---|
3291 | 4 => |
---|
3292 | array ( |
---|
3293 | 'format' => 'default', |
---|
3294 | 'exclude' => 0, |
---|
3295 | ), |
---|
3296 | 'token' => |
---|
3297 | array ( |
---|
3298 | 'format' => 'default', |
---|
3299 | 'exclude' => 0, |
---|
3300 | ), |
---|
3301 | ), |
---|
3302 | ); |
---|
3303 | $content['fields'][] = array ( |
---|
3304 | 'label' => 'Meta Femenino', |
---|
3305 | 'type_name' => 'accion_especifica', |
---|
3306 | 'field_name' => 'field_accion_esp_meta_f', |
---|
3307 | 'type' => 'number_integer', |
---|
3308 | 'widget_type' => 'number', |
---|
3309 | 'change' => 'Cambiar información básica', |
---|
3310 | 'weight' => '36', |
---|
3311 | 'description' => '', |
---|
3312 | 'default_value' => |
---|
3313 | array ( |
---|
3314 | 0 => |
---|
3315 | array ( |
---|
3316 | 'value' => '0', |
---|
3317 | '_error_element' => 'default_value_widget][field_accion_esp_meta_f][0][value', |
---|
3318 | ), |
---|
3319 | ), |
---|
3320 | 'default_value_php' => '', |
---|
3321 | 'default_value_widget' => NULL, |
---|
3322 | 'group' => false, |
---|
3323 | 'required' => 0, |
---|
3324 | 'multiple' => '0', |
---|
3325 | 'min' => '0', |
---|
3326 | 'max' => '', |
---|
3327 | 'prefix' => '', |
---|
3328 | 'suffix' => '', |
---|
3329 | 'allowed_values' => '', |
---|
3330 | 'allowed_values_php' => '', |
---|
3331 | 'op' => 'Guardar configuraciones del campo', |
---|
3332 | 'module' => 'number', |
---|
3333 | 'widget_module' => 'number', |
---|
3334 | 'columns' => |
---|
3335 | array ( |
---|
3336 | 'value' => |
---|
3337 | array ( |
---|
3338 | 'type' => 'int', |
---|
3339 | 'not null' => false, |
---|
3340 | 'sortable' => true, |
---|
3341 | ), |
---|
3342 | ), |
---|
3343 | 'display_settings' => |
---|
3344 | array ( |
---|
3345 | 'label' => |
---|
3346 | array ( |
---|
3347 | 'format' => 'above', |
---|
3348 | 'exclude' => 0, |
---|
3349 | ), |
---|
3350 | 'teaser' => |
---|
3351 | array ( |
---|
3352 | 'format' => 'default', |
---|
3353 | 'exclude' => 0, |
---|
3354 | ), |
---|
3355 | 'full' => |
---|
3356 | array ( |
---|
3357 | 'format' => 'default', |
---|
3358 | 'exclude' => 0, |
---|
3359 | ), |
---|
3360 | 4 => |
---|
3361 | array ( |
---|
3362 | 'format' => 'default', |
---|
3363 | 'exclude' => 0, |
---|
3364 | ), |
---|
3365 | 'token' => |
---|
3366 | array ( |
---|
3367 | 'format' => 'default', |
---|
3368 | 'exclude' => 0, |
---|
3369 | ), |
---|
3370 | ), |
---|
3371 | ); |
---|
3372 | //SE AGREGA EL MONTO A FINANCIAR |
---|
3373 | $content['fields'][] = array ( |
---|
3374 | 'label' => 'Monto a Financiar', |
---|
3375 | 'type_name' => 'accion_especifica', |
---|
3376 | 'field_name' => 'field_accion_esp_monto_finan', |
---|
3377 | 'type' => 'number_decimal', |
---|
3378 | 'widget_type' => 'number', |
---|
3379 | 'change' => 'Change basic information', |
---|
3380 | 'weight' => '29', |
---|
3381 | 'description' => '', |
---|
3382 | 'default_value' => |
---|
3383 | array ( |
---|
3384 | 0 => |
---|
3385 | array ( |
---|
3386 | 'value' => '', |
---|
3387 | '_error_element' => 'default_value_widget][field_accion_esp_monto_finan][0][value', |
---|
3388 | ), |
---|
3389 | ), |
---|
3390 | 'default_value_php' => '', |
---|
3391 | 'default_value_widget' => |
---|
3392 | array ( |
---|
3393 | 'field_accion_esp_monto_finan' => |
---|
3394 | array ( |
---|
3395 | 0 => |
---|
3396 | array ( |
---|
3397 | 'value' => '', |
---|
3398 | '_error_element' => 'default_value_widget][field_accion_esp_monto_finan][0][value', |
---|
3399 | ), |
---|
3400 | ), |
---|
3401 | ), |
---|
3402 | 'required' => 0, |
---|
3403 | 'multiple' => '0', |
---|
3404 | 'min' => '0', |
---|
3405 | 'max' => '', |
---|
3406 | 'precision' => '32', |
---|
3407 | 'scale' => '2', |
---|
3408 | 'decimal' => '.', |
---|
3409 | 'prefix' => '', |
---|
3410 | 'suffix' => '', |
---|
3411 | 'allowed_values' => '', |
---|
3412 | 'allowed_values_php' => '', |
---|
3413 | 'op' => 'Save field settings', |
---|
3414 | 'module' => 'number', |
---|
3415 | 'widget_module' => 'number', |
---|
3416 | 'columns' => |
---|
3417 | array ( |
---|
3418 | 'value' => |
---|
3419 | array ( |
---|
3420 | 'type' => 'numeric', |
---|
3421 | 'precision' => '32', |
---|
3422 | 'scale' => '2', |
---|
3423 | 'not null' => false, |
---|
3424 | 'sortable' => true, |
---|
3425 | ), |
---|
3426 | ), |
---|
3427 | 'display_settings' => |
---|
3428 | array ( |
---|
3429 | 'label' => |
---|
3430 | array ( |
---|
3431 | 'format' => 'above', |
---|
3432 | 'exclude' => 0, |
---|
3433 | ), |
---|
3434 | 'teaser' => |
---|
3435 | array ( |
---|
3436 | 'format' => 'default', |
---|
3437 | 'exclude' => 0, |
---|
3438 | ), |
---|
3439 | 'full' => |
---|
3440 | array ( |
---|
3441 | 'format' => 'default', |
---|
3442 | 'exclude' => 0, |
---|
3443 | ), |
---|
3444 | 4 => |
---|
3445 | array ( |
---|
3446 | 'format' => 'default', |
---|
3447 | 'exclude' => 0, |
---|
3448 | ), |
---|
3449 | 'inline' => |
---|
3450 | array ( |
---|
3451 | 'format' => 'default', |
---|
3452 | 'exclude' => 0, |
---|
3453 | ), |
---|
3454 | 'modal' => |
---|
3455 | array ( |
---|
3456 | 'format' => 'default', |
---|
3457 | 'exclude' => 0, |
---|
3458 | ), |
---|
3459 | 'token' => |
---|
3460 | array ( |
---|
3461 | 'format' => 'default', |
---|
3462 | 'exclude' => 0, |
---|
3463 | ), |
---|
3464 | ), |
---|
3465 | ); |
---|
3466 | //SE AGREGA EL TOTAL A FINANCIAR |
---|
3467 | $content['fields'][] = array ( |
---|
3468 | 'label' => 'Total Fuentes', |
---|
3469 | 'type_name' => 'accion_especifica', |
---|
3470 | 'field_name' => 'field_accion_esp_total_fuent', |
---|
3471 | 'type' => 'number_decimal', |
---|
3472 | 'widget_type' => 'number', |
---|
3473 | 'change' => 'Change basic information', |
---|
3474 | 'weight' => '29', |
---|
3475 | 'description' => '', |
---|
3476 | 'default_value' => |
---|
3477 | array ( |
---|
3478 | 0 => |
---|
3479 | array ( |
---|
3480 | 'value' => '', |
---|
3481 | '_error_element' => 'default_value_widget][field_accion_esp_total_fuent][0][value', |
---|
3482 | ), |
---|
3483 | ), |
---|
3484 | 'default_value_php' => '', |
---|
3485 | 'default_value_widget' => |
---|
3486 | array ( |
---|
3487 | 'field_accion_esp_monto_finan' => |
---|
3488 | array ( |
---|
3489 | 0 => |
---|
3490 | array ( |
---|
3491 | 'value' => '', |
---|
3492 | '_error_element' => 'default_value_widget][field_accion_esp_total_fuent][0][value', |
---|
3493 | ), |
---|
3494 | ), |
---|
3495 | ), |
---|
3496 | 'required' => 0, |
---|
3497 | 'multiple' => '0', |
---|
3498 | 'min' => '0', |
---|
3499 | 'max' => '', |
---|
3500 | 'precision' => '32', |
---|
3501 | 'scale' => '2', |
---|
3502 | 'decimal' => '.', |
---|
3503 | 'prefix' => '', |
---|
3504 | 'suffix' => '', |
---|
3505 | 'allowed_values' => '', |
---|
3506 | 'allowed_values_php' => '', |
---|
3507 | 'op' => 'Save field settings', |
---|
3508 | 'module' => 'number', |
---|
3509 | 'widget_module' => 'number', |
---|
3510 | 'columns' => |
---|
3511 | array ( |
---|
3512 | 'value' => |
---|
3513 | array ( |
---|
3514 | 'type' => 'numeric', |
---|
3515 | 'precision' => '32', |
---|
3516 | 'scale' => '2', |
---|
3517 | 'not null' => false, |
---|
3518 | 'sortable' => true, |
---|
3519 | ), |
---|
3520 | ), |
---|
3521 | 'display_settings' => |
---|
3522 | array ( |
---|
3523 | 'label' => |
---|
3524 | array ( |
---|
3525 | 'format' => 'above', |
---|
3526 | 'exclude' => 0, |
---|
3527 | ), |
---|
3528 | 'teaser' => |
---|
3529 | array ( |
---|
3530 | 'format' => 'default', |
---|
3531 | 'exclude' => 0, |
---|
3532 | ), |
---|
3533 | 'full' => |
---|
3534 | array ( |
---|
3535 | 'format' => 'default', |
---|
3536 | 'exclude' => 0, |
---|
3537 | ), |
---|
3538 | 4 => |
---|
3539 | array ( |
---|
3540 | 'format' => 'default', |
---|
3541 | 'exclude' => 0, |
---|
3542 | ), |
---|
3543 | 'inline' => |
---|
3544 | array ( |
---|
3545 | 'format' => 'default', |
---|
3546 | 'exclude' => 0, |
---|
3547 | ), |
---|
3548 | 'modal' => |
---|
3549 | array ( |
---|
3550 | 'format' => 'default', |
---|
3551 | 'exclude' => 0, |
---|
3552 | ), |
---|
3553 | 'token' => |
---|
3554 | array ( |
---|
3555 | 'format' => 'default', |
---|
3556 | 'exclude' => 0, |
---|
3557 | ), |
---|
3558 | ), |
---|
3559 | ); |
---|
3560 | //SE AGREGA EL TOTAL de la meta |
---|
3561 | $content['fields'][] = array ( |
---|
3562 | 'label' => 'Meta Total', |
---|
3563 | 'type_name' => 'accion_especifica', |
---|
3564 | 'field_name' => 'field_accion_esp_total_meta', |
---|
3565 | 'type' => 'number_decimal', |
---|
3566 | 'widget_type' => 'number', |
---|
3567 | 'change' => 'Change basic information', |
---|
3568 | 'weight' => '29', |
---|
3569 | 'description' => '', |
---|
3570 | 'default_value' => |
---|
3571 | array ( |
---|
3572 | 0 => |
---|
3573 | array ( |
---|
3574 | 'value' => '', |
---|
3575 | '_error_element' => 'default_value_widget][field_accion_esp_total_meta][0][value', |
---|
3576 | ), |
---|
3577 | ), |
---|
3578 | 'default_value_php' => '', |
---|
3579 | 'default_value_widget' => |
---|
3580 | array ( |
---|
3581 | 'field_accion_esp_monto_finan' => |
---|
3582 | array ( |
---|
3583 | 0 => |
---|
3584 | array ( |
---|
3585 | 'value' => '', |
---|
3586 | '_error_element' => 'default_value_widget][field_accion_esp_total_meta][0][value', |
---|
3587 | ), |
---|
3588 | ), |
---|
3589 | ), |
---|
3590 | 'required' => 0, |
---|
3591 | 'multiple' => '0', |
---|
3592 | 'min' => '0', |
---|
3593 | 'max' => '', |
---|
3594 | 'precision' => '32', |
---|
3595 | 'scale' => '2', |
---|
3596 | 'decimal' => '.', |
---|
3597 | 'prefix' => '', |
---|
3598 | 'suffix' => '', |
---|
3599 | 'allowed_values' => '', |
---|
3600 | 'allowed_values_php' => '', |
---|
3601 | 'op' => 'Save field settings', |
---|
3602 | 'module' => 'number', |
---|
3603 | 'widget_module' => 'number', |
---|
3604 | 'columns' => |
---|
3605 | array ( |
---|
3606 | 'value' => |
---|
3607 | array ( |
---|
3608 | 'type' => 'numeric', |
---|
3609 | 'precision' => '32', |
---|
3610 | 'scale' => '2', |
---|
3611 | 'not null' => false, |
---|
3612 | 'sortable' => true, |
---|
3613 | ), |
---|
3614 | ), |
---|
3615 | 'display_settings' => |
---|
3616 | array ( |
---|
3617 | 'label' => |
---|
3618 | array ( |
---|
3619 | 'format' => 'above', |
---|
3620 | 'exclude' => 0, |
---|
3621 | ), |
---|
3622 | 'teaser' => |
---|
3623 | array ( |
---|
3624 | 'format' => 'default', |
---|
3625 | 'exclude' => 0, |
---|
3626 | ), |
---|
3627 | 'full' => |
---|
3628 | array ( |
---|
3629 | 'format' => 'default', |
---|
3630 | 'exclude' => 0, |
---|
3631 | ), |
---|
3632 | 4 => |
---|
3633 | array ( |
---|
3634 | 'format' => 'default', |
---|
3635 | 'exclude' => 0, |
---|
3636 | ), |
---|
3637 | 'inline' => |
---|
3638 | array ( |
---|
3639 | 'format' => 'default', |
---|
3640 | 'exclude' => 0, |
---|
3641 | ), |
---|
3642 | 'modal' => |
---|
3643 | array ( |
---|
3644 | 'format' => 'default', |
---|
3645 | 'exclude' => 0, |
---|
3646 | ), |
---|
3647 | 'token' => |
---|
3648 | array ( |
---|
3649 | 'format' => 'default', |
---|
3650 | 'exclude' => 0, |
---|
3651 | ), |
---|
3652 | ), |
---|
3653 | ); |
---|
3654 | return $content; |
---|
3655 | } |
---|