[Alba-desarrollo] SVN Alba r4965 - in
prosistem/alba/trunk/alba/apps/principal:
modules/alumno/templates modules/asistencia/templates
modules/boletin/templates modules/calendario/templates
modules/ciclolectivo/templates templates
commits en pressenter.com.ar
commits en pressenter.com.ar
Mie Ago 15 19:43:56 CEST 2007
Author: josx
Date: 2007-08-15 14:43:53 -0300 (Wed, 15 Aug 2007)
New Revision: 4965
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/_edit_header.php
prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/_list_header.php
prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/asistencia/templates/indexSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/listConceptoSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/listSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/mostrarSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/_horarioMaterias.php
prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDocenteSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/indexSuccess.php
prosistem/alba/trunk/alba/apps/principal/modules/ciclolectivo/templates/agregarTurnosYPeriodosSuccess.php
prosistem/alba/trunk/alba/apps/principal/templates/layout.php
prosistem/alba/trunk/alba/apps/principal/templates/menu.php
Log:
Comence a pasar de <? a <?php y <?= a <?php echo (#245)
Modified: prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/_edit_header.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/_edit_header.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/_edit_header.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -1 +1 @@
-<h1><?=($sf_params->get('action') == "create")?"Ingresar Alumno":"Editar Alumno ".$alumno->getApellido()." ".$alumno->getNombre();?></h1>
\ No newline at end of file
+<h1><?php echo ($sf_params->get('action') == "create")?"Ingresar Alumno":"Editar Alumno ".$alumno->getApellido()." ".$alumno->getNombre();?></h1>
\ No newline at end of file
Modified: prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/_list_header.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/_list_header.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/_list_header.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -1,9 +1,9 @@
<h1>Listado de Alumnos
-<?
+<?php
if (isset($filters['division']) && $filters['division'] != '' && $filters['division'] != 0) {
$division = DivisionPeer::retrieveByPk($filters['division']);
- ?> de <? echo $division->getAnio()->getDescripcion()." ".$division->getDescripcion();?>
-<? }?>
+ ?> de <?php echo $division->getAnio()->getDescripcion()." ".$division->getDescripcion();?>
+<?php }?>
</h1>
<?php if ($sf_request->getError('delete')): ?>
<div class="form-errors">
Modified: prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -3,11 +3,11 @@
function completaDatos()
{
var datosCuenta = new Array()
- datosCuenta [0] = "<?=$datosCuenta->getDireccion()?>"
- datosCuenta [1] = "<?=$datosCuenta->getCiudad()?>"
- datosCuenta [2] = "<?=$datosCuenta->getFkProvinciaId()?>"
- datosCuenta [3] = "<?=$datosCuenta->getCodigoPostal()?>"
- datosCuenta [4] = "<?=$datosCuenta->getTelefono()?>"
+ datosCuenta [0] = "<?php echo $datosCuenta->getDireccion()?>"
+ datosCuenta [1] = "<?php echo $datosCuenta->getCiudad()?>"
+ datosCuenta [2] = "<?php echo $datosCuenta->getFkProvinciaId()?>"
+ datosCuenta [3] = "<?php echo $datosCuenta->getCodigoPostal()?>"
+ datosCuenta [4] = "<?php echo $datosCuenta->getTelefono()?>"
document.getElementsByName("alumno[direccion]")[0].value = datosCuenta[0]
document.getElementsByName("alumno[ciudad]")[0].value = datosCuenta[1]
document.getElementsByName("alumno[fk_provincia_id]")[0].value = datosCuenta[2]
@@ -342,7 +342,7 @@
<?php echo include_partial('verCuenta', array('cuenta_nombre' => $alumno->getCuenta()->getNombre(), 'cuenta_id' => $alumno->getCuenta()->getId()) ); ?>
<?php } else { ?>
<?php echo include_partial('buscarCuenta'); ?>
- <? } ?>
+ <?php } ?>
</div>
</div>
<br><?php echo link_to_remote('Nueva Cuenta', array('update' => 'nueva_cuenta', 'url' => 'alumno/nuevaCuenta' )); ?>
Modified: prosistem/alba/trunk/alba/apps/principal/modules/asistencia/templates/indexSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/asistencia/templates/indexSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/asistencia/templates/indexSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -82,9 +82,9 @@
</ul>
</div>
</fieldset>
- <? if($alumno_id >= 0) {?>
+ <?php if($alumno_id >= 0) {?>
<?php echo input_hidden_tag('alumno_id', $alumno_id) ?>
- <? }?>
+ <?php }?>
</form>
<br>
<br>
@@ -107,13 +107,13 @@
<th id="sf_admin_list_th_alumno"> Alumnos / Días </th>
<?php
for($i=0, $max = count($aIntervalo); $i < $max ;$i++) { ?>
- <th id="sf_admin_list_th_sf_actions" <?=(date("w",strtotime($aIntervalo[$i])) == 6 || date("w",strtotime($aIntervalo[$i])) == 0)?"style='color:#FF0000'":""?> ><?php echo date("d",strtotime($aIntervalo[$i]))?></th>
- <?}?>
+ <th id="sf_admin_list_th_sf_actions" <?php echo (date("w",strtotime($aIntervalo[$i])) == 6 || date("w",strtotime($aIntervalo[$i])) == 0)?"style='color:#FF0000'":""?> ><?php echo date("d",strtotime($aIntervalo[$i]))?></th>
+ <?php } ?>
<th id="sf_admin_list_th_sf_actions"> </th>
<?php foreach ($aTipoasistencias as $idx => $Tipoasistencia){ ?>
<th id="sf_admin_list_th_sf_actions" title="<?php echo $Tipoasistencia[1]?>"><?php echo $idx ?></th>
- <?}?>
+ <?php } ?>
</tr>
</thead>
<tbody>
@@ -208,17 +208,17 @@
// Finaliza Feriados
?>
</tr>
-<? } else { ?>
+<?php } else { ?>
<h2>NO HAY ALUMNOS</h2>
-<? } ?>
+<?php } ?>
</table>
</div>
<div class="float-right">
<ul class="sf_admin_actions">
<li><?php echo button_to('Listado de alumnos','alumno/list',array('class' => 'sf_admin_action_list'))?></li>
-<? if($alumno_id >= 0) {?>
+<?php if($alumno_id >= 0) {?>
<li><?php echo button_to('Ir a Cuenta','cuenta/verCompleta?id=' .$cuenta_id,array('class'=>'sf_admin_action_ir_a'))?></li>
-<? } ?>
+<?php } ?>
</ul>
</div>
</fieldset>
@@ -226,7 +226,7 @@
<?php if($bool_tmp) { ?>
<?php if($nombre_completo_archivo) { ?>
<div align="center">
- <img src="<?=sfContext::getInstance()->getRequest()->getRelativeUrlRoot().'/tmp/'.$nombre_completo_archivo?>">
+ <img src="<?php echo sfContext::getInstance()->getRequest()->getRelativeUrlRoot().'/tmp/'.$nombre_completo_archivo?>">
</div>
<?php } else { ?>
<?php } ?>
Modified: prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/listConceptoSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/listConceptoSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/listConceptoSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -34,52 +34,52 @@
<?php echo select_tag('concepto_id', options_for_select($optionsConcepto, $concepto_id),"onChange='linkTo(1)'") ?>
</div>
-<? if($division_id) { ?>
+<?php if($division_id) { ?>
<div class="form-row">
<?php echo label_for('perido', __('Periodo:')) ?>
<?php echo select_tag('periodo_id', options_for_select($optionsPeriodo, $periodo_id), "onChange='linkTo(1)'") ?>
</div>
-<? } ?>
+<?php } ?>
-<? if (count($aAlumno) > 0 && $concepto_id ){ ?>
+<?php if (count($aAlumno) > 0 && $concepto_id ){ ?>
<h1>Alumnos</h1>
Posibles Notas para calificar:
-<? foreach ($aPosiblesNotas as $posiblesnotas) { ?>
-<?=$posiblesnotas->getNombre()." ";?>
-<? } ?>
+<?php foreach ($aPosiblesNotas as $posiblesnotas) { ?>
+<?php echo $posiblesnotas->getNombre()." ";?>
+<?php } ?>
<table cellspacing="0" class="sf_admin_list">
<thead>
<tr>
<th id="sf_admin_list_th_alumno"> Alumno</th>
- <? foreach ($aPeriodo as $periodo) {?>
- <th id="sf_admin_list_th_sf_actions"><?=$periodo->getDescripcion()?></th>
- <? } ?>
+ <?php foreach ($aPeriodo as $periodo) {?>
+ <th id="sf_admin_list_th_sf_actions"><?php echo $periodo->getDescripcion()?></th>
+ <?php } ?>
</tr>
</thead>
<tbody>
-<? foreach($aAlumno as $alumno){ ?>
+<?php foreach($aAlumno as $alumno){ ?>
<tr class="sf_admin_row_0">
- <td><?echo $alumno->getApellido()." ".$alumno->getNombre(); ?></td>
- <? foreach ($aPeriodo as $periodo) {?>
+ <td><?php echo $alumno->getApellido()." ".$alumno->getNombre(); ?></td>
+ <?php foreach ($aPeriodo as $periodo) {?>
<td>
- <? echo input_tag("nota[".$alumno->getId()."][".$periodo->getId()."]", $aNotaAlumno[$alumno->getId()][$periodo->getId()], array('size' => $sizeNota, 'maxlength' => $sizeNota));?><br>
- <? echo input_tag("notaObs[".$alumno->getId()."][".$periodo->getId()."]", $aNotaAlumnoObs[$alumno->getId()][$periodo->getId()], array('size' => 30, 'maxlength' => 128 ));?>
+ <?php echo input_tag("nota[".$alumno->getId()."][".$periodo->getId()."]", $aNotaAlumno[$alumno->getId()][$periodo->getId()], array('size' => $sizeNota, 'maxlength' => $sizeNota));?><br>
+ <?php echo input_tag("notaObs[".$alumno->getId()."][".$periodo->getId()."]", $aNotaAlumnoObs[$alumno->getId()][$periodo->getId()], array('size' => 30, 'maxlength' => 128 ));?>
</td>
- <? } ?>
+ <?php } ?>
</tr>
- <? } ?>
+ <?php } ?>
</tbody>
</table>
-<?// }
+<?php // }
if($division_id) { ?>
<ul class="sf_admin_actions">
@@ -88,7 +88,7 @@
'class' => 'sf_admin_action_save',
)) ?></li>
</ul>
-<? }
+<?php }
}
?>
</fieldset>
Modified: prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/listSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/listSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/listSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -30,7 +30,7 @@
<?php echo select_tag('division_id', options_for_select($optionsDivision, $division_id), "onChange='linkTo(0)'") ?>
</div>
-<? if($division_id) { ?>
+<?php if($division_id) { ?>
<div class="form-row">
<?php echo label_for('actividad', __('Actividad:')) ?>
<?php echo select_tag('actividad_id', options_for_select($optionsActividad, $actividad_id),"onChange='linkTo(1)'") ?>
@@ -42,46 +42,46 @@
<?php echo select_tag('periodo_id', options_for_select($optionsPeriodo, $periodo_id), "onChange='linkTo(1)'") ?>
</div>
-<? } ?>
+<?php } ?>
-<? if (count($aAlumno) > 0) { ?>
+<?php if (count($aAlumno) > 0) { ?>
<h1>Alumnos</h1>
Posibles Notas para calificar:
-<? foreach ($aPosiblesNotas as $posiblesnotas) { ?>
-<?=$posiblesnotas->getNombre()." ";?>
-<? } ?>
+<?php foreach ($aPosiblesNotas as $posiblesnotas) { ?>
+<?php echo $posiblesnotas->getNombre()." ";?>
+<?php } ?>
<table cellspacing="0" class="sf_admin_list">
<thead>
<tr>
<th id="sf_admin_list_th_alumno"> Alumno</th>
- <? foreach ($aPeriodo as $periodo) {?>
- <th id="sf_admin_list_th_sf_actions"><?=$periodo->getDescripcion()?></th>
- <? } ?>
+ <?php foreach ($aPeriodo as $periodo) {?>
+ <th id="sf_admin_list_th_sf_actions"><?php echo $periodo->getDescripcion()?></th>
+ <?php } ?>
</tr>
</thead>
<tbody>
-<? foreach($aAlumno as $alumno){ ?>
+<?php foreach($aAlumno as $alumno){ ?>
<tr class="sf_admin_row_0">
- <td><?echo $alumno->getApellido()." ".$alumno->getNombre(); ?></td>
- <? foreach ($aPeriodo as $periodo) {?>
+ <td><?php echo $alumno->getApellido()." ".$alumno->getNombre(); ?></td>
+ <?php foreach ($aPeriodo as $periodo) {?>
<td>
- <? echo input_tag("nota[".$alumno->getId()."][".$periodo->getId()."][".""."]", $aNotaAlumno[$alumno->getId()][$periodo->getId()],array('size' => $sizeNota, 'maxlength' => $sizeNota));?>
+ <?php echo input_tag("nota[".$alumno->getId()."][".$periodo->getId()."][".""."]", $aNotaAlumno[$alumno->getId()][$periodo->getId()],array('size' => $sizeNota, 'maxlength' => $sizeNota));?>
</td>
- <? } ?>
+ <?php } ?>
</tr>
- <? } ?>
+ <?php } ?>
</tbody>
</table>
-<? }
+<?php }
if($division_id AND $actividad_id AND count($aAlumno)>0) { ?>
<ul class="sf_admin_actions">
@@ -90,7 +90,7 @@
'class' => 'sf_admin_action_save',
)) ?></li>
</ul>
-<? } ?>
+<?php } ?>
</fieldset>
</form>
</div>
Modified: prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/mostrarSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/mostrarSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/mostrarSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -47,18 +47,18 @@
</tr>
<tr>
- <? foreach($optionsActividad as $actividad) { ?>
+ <?php foreach($optionsActividad as $actividad) { ?>
<td><div class="etiquetas"><?php echo $actividad?></div></td>
- <? } ?>
+ <?php } ?>
- <? foreach($optionsConcepto as $concepto) { ?>
+ <?php foreach($optionsConcepto as $concepto) { ?>
<td><div class="etiquetas"><?php echo $concepto?></div></td>
- <? } ?>
+ <?php } ?>
- <? if(count($aAsistencia)>0) {
+ <?php if(count($aAsistencia)>0) {
foreach( current($aAsistencia) as $grupo => $valor) { ?>
<td><div class="etiquetas"><?php echo $grupo?></div></td>
- <?
+ <?php
}
} ?>
@@ -77,7 +77,7 @@
<?php } ?>
<?php foreach($optionsConcepto as $concepto_id => $concepto) { ?>
<td><div style="text-align: center;"><?php echo (array_key_exists($periodo_id, $conceptoAlumno) AND array_key_exists($concepto_id, $conceptoAlumno[$periodo_id]))?$conceptoAlumno[$periodo_id][$concepto_id]:"";?></div></td>
- <? } ?>
+ <?php } ?>
<?php if(count($aAsistencia)>0) {
foreach( $aAsistencia[$periodo_id] as $grupo => $valor) { ?>
Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/_horarioMaterias.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/_horarioMaterias.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/_horarioMaterias.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -8,7 +8,7 @@
echo image_tag(sfConfig::get('sf_admin_web_dir').'/images/tick.png', array('class' => 'horarioMaterias-items','id' => $name.'_'.$horarioMaterias_id.'_'.$i, 'style' => 'position:relative'));
echo draggable_element($name.'_'.$horarioMaterias_id.'_'.$i, array('revert' => true));
}
- ?><span class="title"><?= $horasMaterias[$horarioMaterias_id]->nombre ?></span><?
+ ?><span class="title"><?php echo $horasMaterias[$horarioMaterias_id]->nombre ?></span><?php
}
}
?>
Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDocenteSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDocenteSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/busquedaDocenteSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -22,7 +22,7 @@
<?php if (count($aDocente) > 0) {
if ($txt) { ?>
Ustde busco -<?php echo $txt?>-
- <? } ?>
+ <?php } ?>
<h1>Docentes</h1>
<table cellspacing="0" class="sf_admin_list">
<thead>
Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/horarioSegunDocenteSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -1,4 +1,4 @@
-<h1>Horario para el Docente: <?=$docente->getApellido()." ".$docente->getNombre()?></h1>
+<h1>Horario para el Docente: <?php echo $docente->getApellido()." ".$docente->getNombre()?></h1>
<?php
include_component('icalVisualizador', $view, array('archivo' => $archivo, 'date_component' => $date_component));
?>
Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/indexSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/indexSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/templates/indexSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -72,11 +72,11 @@
location.href = url;
}
-<? if(count($optionsDivision)>0) { ?>
+<?php if(count($optionsDivision)>0) { ?>
function submitForm(){
document.sf_admin_edit_form.submit();
}
-<?}?>
+<?php } ?>
</script>
@@ -108,8 +108,8 @@
<?php // echo select_tag('ciclolectivo_id', options_for_select($optionsCiclolectivo,$ciclolectivo_id), 'onChange=linkTo(0)') ?>
</div>
-->
- <input type="hidden" name="establecimiento_id" value="<?=$establecimiento_id?>">
- <input type="hidden" name="ciclolectivo_id" value="<?=$ciclolectivo_id?>">
+ <input type="hidden" name="establecimiento_id" value="<?php echo $establecimiento_id?>">
+ <input type="hidden" name="ciclolectivo_id" value="<?php echo $ciclolectivo_id?>">
<div class="form-row">
<?php echo label_for('turno_id', __('Turnos:'), 'class="required" ') ?>
@@ -124,7 +124,7 @@
</div>
-->
<input type="hidden" name="time_interval" value="15">
- <? if(count($optionsDivision)>0) { ?>
+ <?php if(count($optionsDivision)>0) { ?>
<div class="form-row">
<?php echo label_for('division_id', __('Division:'), 'class="required" ') ?>
<?php echo select_tag('division_id', options_for_select($optionsDivision, $division_id),'onChange="javascript:submitForm()"') ?>
@@ -135,7 +135,7 @@
<?php echo select_tag('actividad_id', options_for_select($optionsActividad, $actividad_id),'') ?>
</div>
- <?}?>
+ <?php } ?>
</fieldset>
<ul class="sf_admin_actions">
<li><?php echo submit_tag(__('Mostrar'), array (
@@ -160,7 +160,7 @@
<?php
if(count($horasMaterias)>0) {
foreach($horasMaterias as $idx => $oMateria) { ?>
- <?
+ <?php
echo image_tag('horasMaterias'.$idx, array(
'id' => 'horarioMaterias_'.$idx,
'alt' => $oMateria->nombre,
@@ -169,7 +169,7 @@
));
echo "<br>(".$oMateria->cantidad. " Horas)";
?>
- <?= draggable_element('horarioMaterias_'.$idx, array('revert' => true)) ?>
+ <?php echo draggable_element('horarioMaterias_'.$idx, array('revert' => true)) ?>
<br><br>
<?php }
}
@@ -192,7 +192,7 @@
new Ajax.Updater( nombre , 'calendario/remove/name/'+nombre, {asynchronous:true, evalScripts:true, onComplete:function(request, json){Element.hide('indicator')}, onLoading:function(request, json){Element.show('indicator')}, parameters:'id=' + encodeURIComponent(element.id)})}})
//]]>
</script>
-<?
+<?php
foreach($aEvent as $event) {
echo drop_receiving_element( "event".$event->id, array(
'update' => 'eventname'.$event->id,
Modified: prosistem/alba/trunk/alba/apps/principal/modules/ciclolectivo/templates/agregarTurnosYPeriodosSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/ciclolectivo/templates/agregarTurnosYPeriodosSuccess.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/modules/ciclolectivo/templates/agregarTurnosYPeriodosSuccess.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -61,7 +61,7 @@
'calendar_button_img'=>sfConfig::get('sf_admin_web_dir').'/images/date.png',
'control_name'=>'ciclolectivo[fecha_inicio]')) ?>
</td>
-<? //echo image_tag(sfConfig::get('sf_admin_web_dir').'/images/date.png', array("id" => "trigger_ciclolectivo[fecha_inicio]", "style" => "cursor: pointer", "align" => "absmiddle", "alt" => "date"));
+<?php //echo image_tag(sfConfig::get('sf_admin_web_dir').'/images/date.png', array("id" => "trigger_ciclolectivo[fecha_inicio]", "style" => "cursor: pointer", "align" => "absmiddle", "alt" => "date"));
?>
<td> <?php echo input_date_tag('ciclolectivo[fecha_fin]', $ciclolectivo->getFechaFin() , 'rich=true calendar_button_img=/sf/sf_admin/images/date.png control_name=ciclolectivo[fecha_fin]'); ?></td>
<td><?php echo ($ciclolectivo->getEstablecimiento())?$ciclolectivo->getEstablecimiento()->getNombre():"";?></td>
@@ -93,14 +93,14 @@
</tr>
</thead>
<tbody>
-<?
+<?php
$i = 0;
foreach($aTurnos as $turno){
?>
<tr class="sf_admin_row_0">
- <td><?echo input_tag("turnos[$i][descripcion]",$turno->getDescripcion());?></td>
- <td><?echo select_time_tag("turnos[$i][hora_inicio]", $turno->getHoraInicio(), array('include_second' => false, '12hour_time' => true));?></td>
- <td><?echo select_time_tag("turnos[$i][hora_fin]", $turno->getHoraFin(), array('include_second' => false, '12hour_time' => true));?></td>
+ <td><?php echo input_tag("turnos[$i][descripcion]",$turno->getDescripcion());?></td>
+ <td><?php echo select_time_tag("turnos[$i][hora_inicio]", $turno->getHoraInicio(), array('include_second' => false, '12hour_time' => true));?></td>
+ <td><?php echo select_time_tag("turnos[$i][hora_fin]", $turno->getHoraFin(), array('include_second' => false, '12hour_time' => true));?></td>
<?php echo input_hidden_tag("turnos[$i][id]", $turno->getId()); ?>
<td>
<ul class="sf_admin_td_actions">
@@ -108,12 +108,12 @@
</ul>
</td>
</tr>
- <?$i++; }?>
+ <?php $i++; }?>
<tr class="sf_admin_row_0">
- <td><?echo input_tag("turnos[$i][descripcion]",'');?></td>
- <td><?echo select_time_tag("turnos[$i][hora_inicio]",array() , array('include_second' => false, '12hour_time' => true));?></td>
- <td><?echo select_time_tag("turnos[$i][hora_fin]", array(), array('include_second' => false, '12hour_time' => true));?></td>
+ <td><?php echo input_tag("turnos[$i][descripcion]",'');?></td>
+ <td><?php echo select_time_tag("turnos[$i][hora_inicio]",array() , array('include_second' => false, '12hour_time' => true));?></td>
+ <td><?php echo select_time_tag("turnos[$i][hora_fin]", array(), array('include_second' => false, '12hour_time' => true));?></td>
<td></td>
</tr>
@@ -146,14 +146,14 @@
</tr>
</thead>
<tbody>
-<?
+<?php
$i = 0;
foreach($aPeriodo as $periodo){
?>
<tr class="sf_admin_row_0">
- <td><?echo input_tag("periodo[$i][descripcion]",$periodo->getDescripcion());?></td>
- <td><?echo input_date_tag("periodo[$i][fecha_inicio]",$periodo->getFechaInicio(), "rich=true calendar_button_img=/sf/sf_admin/images/date.png");?></td>
- <td><?echo input_date_tag("preiodo[$i][fecha_fin]",$periodo->getFechaFin(), "rich=true calendar_button_img=/sf/sf_admin/images/date.png");?></td>
+ <td><?php echo input_tag("periodo[$i][descripcion]",$periodo->getDescripcion());?></td>
+ <td><?php echo input_date_tag("periodo[$i][fecha_inicio]",$periodo->getFechaInicio(), "rich=true calendar_button_img=/sf/sf_admin/images/date.png");?></td>
+ <td><?php echo input_date_tag("preiodo[$i][fecha_fin]",$periodo->getFechaFin(), "rich=true calendar_button_img=/sf/sf_admin/images/date.png");?></td>
<?php echo input_hidden_tag("periodo[$i][id]", $periodo->getId()); ?>
<td>
<ul class="sf_admin_td_actions">
@@ -162,12 +162,12 @@
</td>
</tr>
- <?$i++; }?>
+ <?php $i++; }?>
<tr class="sf_admin_row_0">
- <td><?echo input_tag("periodo[$i][descripcion]",'');?></td>
- <td><?echo input_date_tag("periodo[$i][fecha_inicio]",'',"rich=true calendar_button_img=/sf/sf_admin/images/date.png");?></td>
- <td><?echo input_date_tag("periodo[$i][fecha_fin]",'',"rich=true calendar_button_img=/sf/sf_admin/images/date.png");?></td>
+ <td><?php echo input_tag("periodo[$i][descripcion]",'');?></td>
+ <td><?php echo input_date_tag("periodo[$i][fecha_inicio]",'',"rich=true calendar_button_img=/sf/sf_admin/images/date.png");?></td>
+ <td><?php echo input_date_tag("periodo[$i][fecha_fin]",'',"rich=true calendar_button_img=/sf/sf_admin/images/date.png");?></td>
<td></td>
</tr>
Modified: prosistem/alba/trunk/alba/apps/principal/templates/layout.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/templates/layout.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/templates/layout.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -20,12 +20,12 @@
<div id="logo">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
- <td class="fmedio"><?=image_tag("gui/index_1x1.png", array ( 'width' => '758' , 'heigth' => '77' ) )?></td>
+ <td class="fmedio"><?php echo image_tag("gui/index_1x1.png", array ( 'width' => '758' , 'heigth' => '77' ) )?></td>
<td class="fmedio" align="right"><!-- datos del usuario -->
<?php if($sf_user->isAuthenticated() == true): ?>
<table class="user-info">
<tr>
- <td nowrap="nowrap">Bienvenido, <a href="#" onmouseover="this.T_BGCOLOR='#d3e3f6';this.T_SHADOWWIDTH=3;this.T_FONTCOLOR='blue';this.T_BORDERWIDTH=2;this.T_BORDERCOLOR='#000000'; return escape('Organización: <?echo $sf_user->getAttribute("organizacion_nombre")?> ' )"><?php echo $sf_user->getAttribute('usuario')?></a>
+ <td nowrap="nowrap">Bienvenido, <a href="#" onmouseover="this.T_BGCOLOR='#d3e3f6';this.T_SHADOWWIDTH=3;this.T_FONTCOLOR='blue';this.T_BORDERWIDTH=2;this.T_BORDERCOLOR='#000000'; return escape('Organización: <?php echo $sf_user->getAttribute("organizacion_nombre")?> ' )"><?php echo $sf_user->getAttribute('usuario')?></a>
<?php if (SF_DEBUG)
echo ' #'. $sf_user->getAttribute('id');
?>
Modified: prosistem/alba/trunk/alba/apps/principal/templates/menu.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/templates/menu.php 2007-08-15 17:29:35 UTC (rev 4964)
+++ prosistem/alba/trunk/alba/apps/principal/templates/menu.php 2007-08-15 17:43:53 UTC (rev 4965)
@@ -1,7 +1,7 @@
<script>
- var my<?php echo sfConfig::get("app_alba_menutheme")?>Base = "<?echo sfContext::getInstance()->getRequest()->getRelativeUrlRoot() . '/js/jsmenu/themes/' .sfConfig::get("app_alba_menutheme"). '/'?>";
+ var my<?php echo sfConfig::get("app_alba_menutheme")?>Base = "<?php echo sfContext::getInstance()->getRequest()->getRelativeUrlRoot() . '/js/jsmenu/themes/' .sfConfig::get("app_alba_menutheme"). '/'?>";
</script>
-<script src="<?echo sfContext::getInstance()->getRequest()->getRelativeUrlRoot() . '/js/jsmenu/themes/'.sfConfig::get("app_alba_menutheme").'/theme.js'?>">
+<script src="<?php echo sfContext::getInstance()->getRequest()->getRelativeUrlRoot() . '/js/jsmenu/themes/'.sfConfig::get("app_alba_menutheme").'/theme.js'?>">
</script>
<div id="menu" align="center">
Más información sobre la lista de distribución Alba-desarrollo