[Alba-desarrollo] SVN Alba r4462 - prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates

commits en pressenter.com.ar commits en pressenter.com.ar
Lun Mar 12 20:50:00 CET 2007


Author: josx
Date: 2007-03-12 16:49:58 -0300 (Mon, 12 Mar 2007)
New Revision: 4462

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_dia.php
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_dia_mostrar.php
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_establecimiento_id.php
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_horarioescolartipo_id.php
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_turnos_id.php
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_hora_fin.php
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_hora_inicio.php
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_turnos_list.php
Log:
Cambie varios de <? ?> a <?php ?>

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_dia.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_dia.php	2007-03-12 19:42:15 UTC (rev 4461)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_dia.php	2007-03-12 19:49:58 UTC (rev 4462)
@@ -1,4 +1,4 @@
-<?
+<?php
 use_helper('Misc');
 echo select_tag("horarioescolar[dia]", options_for_select(diasDeLaSemana(1), $horarioescolar->getDia()));
 ?>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_dia_mostrar.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_dia_mostrar.php	2007-03-12 19:42:15 UTC (rev 4461)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_dia_mostrar.php	2007-03-12 19:49:58 UTC (rev 4462)
@@ -1,4 +1,4 @@
-<?
+<?php
 use_helper('Misc');
 $aDias = diasDeLaSemana(1); //  todos los dias de la semana + opcion semanal
 echo $aDias[$horarioescolar->getDia()];

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_establecimiento_id.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_establecimiento_id.php	2007-03-12 19:42:15 UTC (rev 4461)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_establecimiento_id.php	2007-03-12 19:49:58 UTC (rev 4462)
@@ -1 +1 @@
-<? echo $horarioescolar->getEstablecimiento()->getNombre()?>
\ No newline at end of file
+<?php echo $horarioescolar->getEstablecimiento()->getNombre()?>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_horarioescolartipo_id.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_horarioescolartipo_id.php	2007-03-12 19:42:15 UTC (rev 4461)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_horarioescolartipo_id.php	2007-03-12 19:49:58 UTC (rev 4462)
@@ -1 +1 @@
-<? echo $horarioescolar->getHorarioescolartipo()->getNombre()?>
\ No newline at end of file
+<?php echo $horarioescolar->getHorarioescolartipo()->getNombre()?>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_turnos_id.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_turnos_id.php	2007-03-12 19:42:15 UTC (rev 4461)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_fk_turnos_id.php	2007-03-12 19:49:58 UTC (rev 4462)
@@ -1,4 +1,4 @@
-<?
+<?php
     $aTurnos = array();
     $c = new Criteria();
     $c->add(TurnosPeer::FK_CICLOLECTIVO_ID,$sf_user->getAttribute('fk_ciclolectivo_id'));

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_hora_fin.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_hora_fin.php	2007-03-12 19:42:15 UTC (rev 4461)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_hora_fin.php	2007-03-12 19:49:58 UTC (rev 4462)
@@ -1,3 +1,3 @@
 <?php use_helper('DateForm') ?>
 
-<?echo select_time_tag("horarioescolar[hora_fin]", $horarioescolar->getHoraFin(), array('include_second' => false, '12hour_time' => true));?>
\ No newline at end of file
+<?php echo select_time_tag("horarioescolar[hora_fin]", $horarioescolar->getHoraFin(), array('include_second' => false, '12hour_time' => true));?>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_hora_inicio.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_hora_inicio.php	2007-03-12 19:42:15 UTC (rev 4461)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_hora_inicio.php	2007-03-12 19:49:58 UTC (rev 4462)
@@ -1,3 +1,3 @@
 <?php use_helper('DateForm') ?>
 
-<?echo select_time_tag("horarioescolar[hora_inicio]", $horarioescolar->getHoraInicio(), array('include_second' => false, '12hour_time' => true));?>
\ No newline at end of file
+<?php echo select_time_tag("horarioescolar[hora_inicio]", $horarioescolar->getHoraInicio(), array('include_second' => false, '12hour_time' => true));?>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_turnos_list.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_turnos_list.php	2007-03-12 19:42:15 UTC (rev 4461)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/templates/_turnos_list.php	2007-03-12 19:49:58 UTC (rev 4462)
@@ -1 +1,6 @@
-<? echo $horarioescolar->getTurnos()->getDescripcion();?>
\ No newline at end of file
+<?php 
+    if ($horarioescolar->getTurnos()) {
+        echo $horarioescolar->getTurnos()->getDescripcion();
+    }
+?>
+        
\ No newline at end of file




Más información sobre la lista de distribución Alba-desarrollo