[Alba-desarrollo] SVN Alba r6128 - in prosistem/alba/trunk/alba/apps/principal/modules: alumno/templates feriado/actions legajopedagogico/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Vie Abr 24 23:22:21 CEST 2009


Author: josx
Date: 2009-04-24 18:22:21 -0300 (Fri, 24 Apr 2009)
New Revision: 6128

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php
   prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions/actions.class.php
   prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/actions/actions.class.php
Log:
Cambiando metodos estaticos de i18n

Modified: prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php	2009-04-24 21:10:42 UTC (rev 6127)
+++ prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php	2009-04-24 21:22:21 UTC (rev 6128)
@@ -198,7 +198,7 @@
             <br>
             <?php
                 if(isset($datosCuenta) and $datosCuenta) {
-                    echo button_to("Cargar datos de la cuenta", "#", array("class" => "sf_admin_action_sava", "onClick" => "javascript:completaDatos()"));
+                    echo button_to("Cargar datos de la cuenta", "", array("class" => "sf_admin_action_sava", "onClick" => "javascript:completaDatos()"));
                }
             ?>
 

Modified: prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions/actions.class.php	2009-04-24 21:10:42 UTC (rev 6127)
+++ prosistem/alba/trunk/alba/apps/principal/modules/feriado/actions/actions.class.php	2009-04-24 21:22:21 UTC (rev 6128)
@@ -105,7 +105,7 @@
       {
         try
         {
-            list($d, $m, $y) = sfI18N::getDateForCulture($feriado['fecha'], $this->getUser()->getCulture());
+            list($d, $m, $y) = $this->getContext()->getI18N()->getDateForCulture($feriado['fecha'], $this->getUser()->getCulture());
             $this->feriado->setFecha("$y-$m-$d");
         }
         catch (sfException $e)

Modified: prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/actions/actions.class.php	2009-04-24 21:10:42 UTC (rev 6127)
+++ prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/actions/actions.class.php	2009-04-24 21:22:21 UTC (rev 6128)
@@ -219,7 +219,7 @@
 
         if (isset($legajopedagogico['fecha'])) {
             if ($legajopedagogico['fecha']) {
-                list($d, $m, $y) = sfI18N::getDateForCulture($legajopedagogico['fecha'], $this->getUser()->getCulture());
+                list($d, $m, $y) = $this->getContext()->getI18N()->getDateForCulture($legajopedagogico['fecha'], $this->getUser()->getCulture());
                 $this->legajopedagogico->setFecha("$y-$m-$d");
             } else {
                 $this->legajopedagogico->setFecha(null);        




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