[Alba-desarrollo] SVN Alba r4459 -
prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates
commits en pressenter.com.ar
commits en pressenter.com.ar
Lun Mar 12 20:20:36 CET 2007
Author: hsanchez
Date: 2007-03-12 16:20:34 -0300 (Mon, 12 Mar 2007)
New Revision: 4459
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php
Log:
Corrigiendo template e iconos de los botones
Modified: prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php 2007-03-12 19:20:08 UTC (rev 4458)
+++ prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php 2007-03-12 19:20:34 UTC (rev 4459)
@@ -1,29 +1,20 @@
<?php use_helper('DateForm') ?>
-
-
<script>
function linkTo() {
var obj = document.getElementById('idDocente');
location.href = "<?php echo url_for('docenteHorario/list', false);?>/idDocente/"+obj.options[obj.selectedIndex].value;
}
</script>
-
-
-<?
+<?php
use_helper('Misc');
echo form_tag('docenteHorario/grabarDocenteHorario', 'onSubmit="selectItem()"');
?>
-
-
-
-<div id="content">
+<div id="sf_admin_container">
<br>
<h1>Docente <?php echo select_tag('idDocente', options_for_select($optionsDocente, $sf_params->get('idDocente')), 'onChange=linkTo()'); ?></h1>
<div id="sf_admin_header"></div>
<br>
-<div id="sf_admin_content">
-
-
+<div id="sf_admin_container">
<h2>Horarios Tentativos</h2>
<table cellspacing="0" class="sf_admin_list">
<thead>
@@ -36,16 +27,15 @@
</tr>
</thead>
<tbody>
-<?
+<?php
$i = 0;
foreach($aHorario as $horario){
?>
<tr class="sf_admin_row_0">
- <td><?echo select_tag("horario[$i][dia]", options_for_select(diasDeLaSemana(), $horario->getDia() ) );?></td>
- <td><?echo select_tag("horario[$i][fk_repeticion_id]", options_for_select($aRepeticion ,$horario->getFkRepeticionId() ) );?></td>
- <td><?echo select_time_tag("horario[$i][hora_inicio]", $horario->getHoraInicio(), array('include_second' => false, '12hour_time' => true));?></td>
- <td><?echo select_time_tag("horario[$i][hora_fin]", $horario->getHoraFin(), array('include_second' => false, '12hour_time' => true));?></td>
-
+ <td><?php echo select_tag("horario[$i][dia]", options_for_select(diasDeLaSemana(), $horario->getDia() ) );?></td>
+ <td><?php echo select_tag("horario[$i][fk_repeticion_id]", options_for_select($aRepeticion ,$horario->getFkRepeticionId() ) );?></td>
+ <td><?php echo select_time_tag("horario[$i][hora_inicio]", $horario->getHoraInicio(), array('include_second' => false, '12hour_time' => true));?></td>
+ <td><?php echo select_time_tag("horario[$i][hora_fin]", $horario->getHoraFin(), array('include_second' => false, '12hour_time' => true));?></td>
<?php echo input_hidden_tag("horario[$i][id]", $horario->getId()); ?>
<td>
<ul class="sf_admin_td_actions">
@@ -53,9 +43,7 @@
</ul>
</td>
</tr>
- <?$i++; }?>
-
-
+ <?php $i++; }?>
<tr class="sf_admin_row_0">
<td><b>NUEVO</b></td>
<td></td>
@@ -63,19 +51,14 @@
<td></td>
<td></td>
</tr>
-
-
<tr class="sf_admin_row_0">
- <td><?echo select_tag("horario[$i][dia]", options_for_select(diasDeLaSemana()));?></td>
- <td><?echo select_tag("horario[$i][fk_repeticion_id]", options_for_select($aRepeticion) );?></td>
- <td><?echo select_time_tag("horario[$i][hora_inicio]", array(), array('include_second' => false, '12hour_time' => true));?></td>
- <td><?echo select_time_tag("horario[$i][hora_fin]", array(), array('include_second' => false, '12hour_time' => true));?></td>
+ <td><?php echo select_tag("horario[$i][dia]", options_for_select(diasDeLaSemana()));?></td>
+ <td><?php echo select_tag("horario[$i][fk_repeticion_id]", options_for_select($aRepeticion) );?></td>
+ <td><?php echo select_time_tag("horario[$i][hora_inicio]", array(), array('include_second' => false, '12hour_time' => true));?></td>
+ <td><?php echo select_time_tag("horario[$i][hora_fin]", array(), array('include_second' => false, '12hour_time' => true));?></td>
<td></td>
</tr>
-
-
</tbody>
-
<tfoot>
<tr>
<th colspan="9">
@@ -83,22 +66,14 @@
</tr>
</tfoot>
</table>
-
<div>
<ul class="sf_admin_actions">
<li>
- <? echo submit_tag('submit', 'class=default value=Grabar"'); ?>
+ <?php echo submit_tag('submit', 'class=sf_admin_action_save value=Grabar"')?>
<li>
<li>
- <?php echo button_to('Listado de Docentes','docente/list')?>
+ <?php echo button_to('Listado de Docentes','docente/list', array ('class' => 'sf_admin_action_list'))?>
</li>
</ul>
</div>
-
-
-
-
-
-
-
</form>
Más información sobre la lista de distribución Alba-desarrollo