source: sipes/0.3-modules/situacion_actual_preliminar/situacional_actual_preliminar.admin.inc~ @ d9fe0ac

stable
Last change on this file since d9fe0ac was d9fe0ac, checked in by Sipes Apn <root@…>, 7 años ago

se agrego el modulo de situacion actual preliminar

  • Propiedad mode establecida a 100755
File size: 2.1 KB
Línea 
1<?php
2
3  /**
4  * Sistema Integral de Planificación y Presupuesto (SIPP)
5  * @file proyectos_operativos.admin.inc
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 - Ing. Jose Puentes
24  * @date 2017-02-09 // (a&#241;o-mes-dia)
25  * @version 0.1 // (0.1)
26  *
27  */
28
29/**
30 * Implementation of situacional_actual_preliminar_admin_settings().
31 * Configurar proyectos operativos.
32 */
33function situacional_actual_preliminar_admin_settings() {
34  $form = array();
35  if (module_exists('ente_planificador_hierarchical')) {
36    $hierarchical = variable_get('ente_planificador_hierarchical_count', 2);
37    for ($i = 1; $i <= $hierarchical; $i++) {
38      $hierarchical_count[$i] = $i;
39    }
40    $form['ente_planificador_hierarchical']['situacion_actual_preliminar_hierarchical_count'] = array(
41      '#title' => t('Nivel de Planificación'),
42      '#type' => 'select',
43      '#default_value' => variable_get('situacion_actual_preliminar_hierarchical_count', 2),
44      '#description' => t('El nivel especificado sera una referencia y le permitirá obtener la explicación situacional de sus entes adscritos.'),
45      '#options' => $hierarchical_count,
46    );
47  }
48  return system_settings_form($form);
49}
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.