[Alba-desarrollo] SVN Alba r4198 - in prosistem/alba/trunk/alba/apps/principal/modules: docenteHorario/templates legajopedagogico/templates

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Feb 14 22:48:13 CET 2007


Author: hsanchez
Date: 2007-02-14 18:47:38 -0300 (Wed, 14 Feb 2007)
New Revision: 4198

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php
   prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/templates/verLegajoSuccess.php
Log:
Cambiando algunos link a button_to, generaban mal los links

Modified: prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php	2007-02-14 21:46:01 UTC (rev 4197)
+++ prosistem/alba/trunk/alba/apps/principal/modules/docenteHorario/templates/listSuccess.php	2007-02-14 21:47:38 UTC (rev 4198)
@@ -87,7 +87,9 @@
             <li>
             <?  echo submit_tag('submit', 'class=default value=Grabar"'); ?>        
             <li>
-            <li><input value="Listado de Docentes" type="button" onclick="document.location.href='<?=sfContext::getInstance()->getRequest()->getRelativeUrlRoot()?>/docente/list';" /></li>
+            <li>
+             <?php echo button_to('Listado de Docentes','docente/list')?>   
+            </li>
         </ul>
       </div>
 

Modified: prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/templates/verLegajoSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/templates/verLegajoSuccess.php	2007-02-14 21:46:01 UTC (rev 4197)
+++ prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/templates/verLegajoSuccess.php	2007-02-14 21:47:38 UTC (rev 4198)
@@ -81,13 +81,17 @@
           <ul class="sf_admin_actions">
             <li>
             <input type="button" name="create" value="Nuevo" class="sf_admin_action_create" onclick="create()" />
+            </li>
             <li>
-            <li><input style="background: #ffc url(small/alumnos.png) no-repeat 3px 2px" value="Listado Alumnos" type="button" onclick="document.location.href='<?=sfContext::getInstance()->getRequest()->getRelativeUrlRoot()?>/alumno/list';" /></li>
-            <li><input style="background: #ffc url(small/alumnos.png) no-repeat 3px 2px" value="Ir a Cuenta" type="button" onclick="document.location.href='<?=sfContext::getInstance()->getRequest()->getRelativeUrlRoot()?>/cuenta/verCompleta/id/<?=$alumno->getFkCuentaId()?>';" /></li>
+                <?php echo button_to('Listado Alumnos','alumno/list')?>
+            </li>
+            <li>
+                <?php echo button_to('Ir a Cuenta','/cuenta/verCompleta?id='.$alumno->getFkCuentaId()) ?>
+            </li>
         </ul>
       </div>
 
-</div
+</div>
 
 
 <? echo javascript_include_tag('varios/wz_tooltip.js'); ?>
\ No newline at end of file




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