[Alba-desarrollo] SVN Alba r4463 - prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates

commits en pressenter.com.ar commits en pressenter.com.ar
Lun Mar 12 20:57:25 CET 2007


Author: josx
Date: 2007-03-12 16:57:21 -0300 (Mon, 12 Mar 2007)
New Revision: 4463

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/addSuccess.php
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDivisionSuccess.php
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDocenteSuccess.php
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDivisionSuccess.php
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/removeSuccess.php
Log:
Mas modificaciones a los tags de php

Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/addSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/addSuccess.php	2007-03-12 19:49:58 UTC (rev 4462)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/addSuccess.php	2007-03-12 19:57:21 UTC (rev 4463)
@@ -1 +1 @@
-<?= include_partial('horarioMaterias', array('horasMaterias' => $horasMaterias, 'name' => $name));?>
\ No newline at end of file
+<?php echo include_partial('horarioMaterias', array('horasMaterias' => $horasMaterias, 'name' => $name));?>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDivisionSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDivisionSuccess.php	2007-03-12 19:49:58 UTC (rev 4462)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDivisionSuccess.php	2007-03-12 19:57:21 UTC (rev 4463)
@@ -1,5 +1,5 @@
 <div id ="sf_admin_container">
-<? if (count($aDivision) > 0) { ?>
+<?php if (count($aDivision) > 0) { ?>
 <h1>Horario según Divisiones</h1>
 <table cellspacing="0" class="sf_admin_list">
   <thead>
@@ -10,21 +10,21 @@
   </thead>
 
   <tbody>
-<?
+<?php
     $i = 0;
     foreach($aDivision as $division){
 ?>
   <tr class="sf_admin_row_0">
-    <td><?=$division->getAnio()->getDescripcion()." ".$division->getDescripcion()?></td>
+    <td><?php echo $division->getAnio()->getDescripcion()." ".$division->getDescripcion()?></td>
     <td>
     <ul class="sf_admin_td_actions">
     <li><?php echo link_to(image_tag('small/horario.png', array('alt' => __('verHorario'), 'title' => __('verHorario'))), 'calendario?action=horarioSegunDivision&id='.$division->getId()); ?></li>
     </ul>
     </td>
   </tr>
-  <? } ?>
+  <?php } ?>
   </tbody>
 </table>
 
-<? } ?>
+<?php } ?>
 </div>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDocenteSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDocenteSuccess.php	2007-03-12 19:49:58 UTC (rev 4462)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDocenteSuccess.php	2007-03-12 19:57:21 UTC (rev 4463)
@@ -18,9 +18,9 @@
 </form>
 
 
-<? if (count($aDocente) > 0) {
+<?php if (count($aDocente) > 0) {
     if ($txt) { ?>
-    Ustde busco -<?=$txt?>-
+    Ustde busco -<?php echo $txt?>-
     <? } ?>
 <h1>Docentes</h1>
 <table cellspacing="0" class="sf_admin_list">
@@ -32,25 +32,25 @@
   </thead>
 
   <tbody>
-<?
+<?php
     $i = 0;
     foreach($aDocente as $docente){
 ?>
   <tr class="sf_admin_row_0">
-    <td><?echo $docente->getApellido()." ".$docente->getNombre(); ?></td>
+    <td><?php echo $docente->getApellido()." ".$docente->getNombre(); ?></td>
     <td>
     <ul class="sf_admin_td_actions">
     <li><?php echo link_to(image_tag(sfConfig::get('sf_admin_web_dir').'/images/edit_icon.png', array('alt' => __('verHorario'), 'title' => __('verHorario'))), 'calendario?action=horarioSegunDocente&id='.$docente->getId()); ?></li>
     </ul>
     </td>
   </tr>
-  <? } ?>
+  <?php } ?>
   </tbody>
 </table>
 </div>
-<? } else {
+<?php  } else {
     if ($txt) { ?>
-        Su busqueda por -<?=$txt?>- no ha encontrado docentes
-    <? } 
+        Su busqueda por -<?php echo $txt?>- no ha encontrado docentes
+    <?php } 
 } 
 ?>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDivisionSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDivisionSuccess.php	2007-03-12 19:49:58 UTC (rev 4462)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDivisionSuccess.php	2007-03-12 19:57:21 UTC (rev 4463)
@@ -31,13 +31,13 @@
 
 </style>
 
-<h1>Horario para la Divsión: <?=$division->getAnio()->getDescripcion()." ".$division->getDescripcion()?></h1>
+<h1>Horario para la Divsión: <?php echo $division->getAnio()->getDescripcion()." ".$division->getDescripcion()?></h1>
 
 <table cellspacing="0" class="horario">
   <thead>
   <tr>
     <th colspan="2">Horas/Días</th>
-<? foreach($aDia as $dia) {?>
+<?php foreach($aDia as $dia) {?>
     <th><?=$dia?></th>
 <? } ?>
 
@@ -45,7 +45,7 @@
   </thead>
 
   <tbody>
-<? 
+<?php 
     $aColor= colorTurnos();
     $aColorUsado = array();
     $i=-1;
@@ -54,12 +54,12 @@
         if($ultimo != $horas->getFkTurnosId()) {
             $i++;
             $aColorUsado[] = $aColor[$i];
-            $aTurnos[] = $horas->getTurnos()->getDescripcion();
+            $aTurnos[] = ($horas->getTurnos())?$horas->getTurnos()->getDescripcion():"";
         }
 ?>
     <tr>
-        <td  style="background-color: <?=$aColor[$i]?>" width="3%"><?=$horas->getHoraInicio()." ".$horas->getHoraFin()?></td>
-        <td  style="background-color: <?=$aColor[$i]?>" width="8%"><?=$horas->getNombre()?></td>
+        <td  style="background-color: <?php echo $aColor[$i]?>" width="3%"><?=$horas->getHoraInicio()." ".$horas->getHoraFin()?></td>
+        <td  style="background-color: <?php echo $aColor[$i]?>" width="8%"><?=$horas->getNombre()?></td>
 
         <? foreach($aDia as $idx_dia => $dia) { 
                 switch($horas->getDia()) {
@@ -72,7 +72,7 @@
                     $actividad = $aEvento[$idx][$idx_dia];  
                 }
 ?>
-        <td  class="<?=$color?>"><?=$actividad?></td>
+        <td  class="<?php echo $color?>"><?=$actividad?></td>
         <? } ?>
     </tr>   
 <?      $ultimo = $horas->getFkTurnosId();

Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php	2007-03-12 19:49:58 UTC (rev 4462)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php	2007-03-12 19:57:21 UTC (rev 4463)
@@ -37,15 +37,15 @@
   <thead>
   <tr>
     <th colspan="2">Horas/Días</th>
-<? foreach($aDia as $dia) {?>
-    <th><?=$dia?></th>
-<? } ?>
+<?php foreach($aDia as $dia) {?>
+    <th><?php echo $dia?></th>
+<?php } ?>
 
   </tr>
   </thead>
 
   <tbody>
-<? 
+<?php 
     $aColor= colorTurnos();
     $aColorUsado = array();
     $i=-1;
@@ -54,14 +54,14 @@
         if($ultimo != $horas->getFkTurnosId()) {
             $i++;
             $aColorUsado[] = $aColor[$i];
-            $aTurnos[] = $horas->getTurnos()->getDescripcion();
+            $aTurnos[] = ($horas->getTurnos())?$horas->getTurnos()->getDescripcion():"";
         }
 ?>
     <tr>
-        <td  style="background-color: <?=$aColor[$i]?>" width="3%"><?=$horas->getHoraInicio()." ".$horas->getHoraFin()?></td>
-        <td  style="background-color: <?=$aColor[$i]?>" width="8%"><?=$horas->getNombre()?></td>
+        <td  style="background-color: <?php echo $aColor[$i]?>" width="3%"><?=$horas->getHoraInicio()." ".$horas->getHoraFin()?></td>
+        <td  style="background-color: <?php echo $aColor[$i]?>" width="8%"><?=$horas->getNombre()?></td>
 
-        <? foreach($aDia as $idx_dia => $dia) { 
+        <?php foreach($aDia as $idx_dia => $dia) { 
                 switch($horas->getDia()) {
                     case "8":  case "$idx_dia": $color = "activo"; break;
                     default: $color = "inactivo";
@@ -73,9 +73,9 @@
                 }
 ?>
         <td  class="<?=$color?>"><?=$actividad?></td>
-        <? } ?>
+        <?php } ?>
     </tr>   
-<?      $ultimo = $horas->getFkTurnosId();
+<?php      $ultimo = $horas->getFkTurnosId();
     } 
 ?>
 
@@ -87,9 +87,9 @@
 Referencia de Turnos:
 <table cellspacing="0" class="horario">
   <tr>
-    <? for($i=0, $max=count($aColorUsado);$i<$max;$i++) { ?>
-        <td width="10%" style="background-color: <?=$aColorUsado[$i]?>"><?=$aTurnos[$i]?></td>
-    <? }  ?>
+    <?php for($i=0, $max=count($aColorUsado);$i<$max;$i++) { ?>
+        <td width="10%" style="background-color: <?=$aColorUsado[$i]?>"><?php echo $aTurnos[$i]?></td>
+    <?php }  ?>
   </tr>
 </table>
 

Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/removeSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/removeSuccess.php	2007-03-12 19:49:58 UTC (rev 4462)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/removeSuccess.php	2007-03-12 19:57:21 UTC (rev 4463)
@@ -1 +1 @@
-<?=include_partial('horarioMaterias', array('horasMaterias' => $horasMaterias, 'name' => $name));?>
+<?php echo include_partial('horarioMaterias', array('horasMaterias' => $horasMaterias, 'name' => $name));?>




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