source: sipes/0.3-modules/politicas_direccionales/templates/politicas-direccionales-ver-estrategia.tpl.php @ 2fa3319

stableversion-3.0
Last change on this file since 2fa3319 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.1 KB
Línea 
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&#241;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');?>:&nbsp;</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 ?> 
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.