source: sipes/0.3-modules/proyectos_operativos_mail/proyectos_operativos_mail.admin.inc @ eb502b4

stableversion-3.0
Last change on this file since eb502b4 was 303fae2, checked in by José Gregorio Puentes <jpuentes@…>, 9 años ago

se agregaron los modulos

  • Propiedad mode establecida a 100755
File size: 2.4 KB
Línea 
1<?php
2/**
3 * Modulo paque permite el envio de las fechas de los procesos de planificacion para el registro de los proyectos operativos
4 * Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana
5 * @file proyectos_operativos_mail_admin.module
6 * Drupal part Module to code ente planificador module
7 * Copyright 2011 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 2015-02-27 // (a&#241;o-mes-dia)
25 * @version 0.2 // (0.1)
26 *
27 */
28 
29/**
30 * Implementation of proyectos_operativos_mail_admin_settings().
31 * Configuración de los correos a enviar por ambito o sector social.
32 */
33function proyectos_operativos_mail_admin_settings() {
34  $form = array();
35  drupal_set_title(t("Configuración de los correos a enviar a los Entes Planificadores."));
36  $title = t("Fechas de Planificación: ");
37  $body = t('Estimado usuario a continuación le enviamos las fechas de Inicio y culminación de las distintas etapas de planificación');
38  $form['email'] = array(
39    '#type' => 'fieldset',
40    '#title' => t('Contenido del Correo'),
41    '#collapsible' => TRUE,
42    '#collapsed' => FALSE,
43  );
44  $form['email']['title_message'] = array(
45    '#type' => 'textarea',
46    '#title' => t('Titulo del Mensaje'),
47    '#required' => TRUE,
48    '#default_value' => variable_get("proyectos_oprativos_mail_title_message", $title),
49  );
50  $form['email']['body_message'] = array(
51    '#type' => 'textarea',
52    '#title' => t('Cuerpo del Mensaje'),
53    '#required' => TRUE,
54    '#default_value' => variable_get("proyectos_oprativos_mail_body_message", $body),
55  );
56  return system_settings_form($form);
57}
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.