1 | <?php |
---|
2 | /** |
---|
3 | * Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana |
---|
4 | * @file politicas-direccionales-ver-estrategia.tpl.php |
---|
5 | * Drupal part Module to Sistema Integral de Planificación y Presupuesto (SIPPES) |
---|
6 | * Copyright 2011 Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana (CENDITEL) |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or modify |
---|
9 | * it under the terms of the GNU General Public License as published by |
---|
10 | * the Free Software Foundation; either version 2 of the License, or |
---|
11 | * (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
21 | * |
---|
22 | * @author Cenditel Merida - Msc. Juan Vizcarrondo |
---|
23 | * @date 2013-12-18 // (año-mes-dia) |
---|
24 | * @version 0.1 // (0.1) |
---|
25 | */ |
---|
26 | $content = node_build_content($estrategia); |
---|
27 | ?> |
---|
28 | <div class = "ver-politica-estrategia" id = "ver-politica-estrategia-<?php print $politica->nid; ?>-<?php print $estrategia->nid; ?>"> |
---|
29 | <h3><?php print t('EstrategÃa @estrategia_nombre', array('@estrategia_nombre' => $estrategia->title)); ?></h3> |
---|
30 | <div class="field field-type-text field-field-politica-titulo"> |
---|
31 | <div class="field-label"><?php print t('PolÃtica Direccional');?>: </div> |
---|
32 | <div class="field-items"> |
---|
33 | <div class="field-item odd"> <?php print $politica->title; ?> </div> |
---|
34 | </div> |
---|
35 | </div> |
---|
36 | <?php |
---|
37 | $arreglo = array( |
---|
38 | 'field_estrategia_actores' => 'field_estrategia_actores', |
---|
39 | 'field_estrategia_area' => 'field_estrategia_area', |
---|
40 | ); |
---|
41 | ?> |
---|
42 | <?php foreach($arreglo as $campo): ?> |
---|
43 | <?php print drupal_render($content->content[$campo]); ?> |
---|
44 | <?php endforeach ?> |
---|